
From nobody Tue Jun  2 14:36:58 2015
Return-Path: <ietf@augustcellars.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1C3311A92BA for <cose@ietfa.amsl.com>; Tue,  2 Jun 2015 14:36:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.8
X-Spam-Level: 
X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z-58M0kK9LMw for <cose@ietfa.amsl.com>; Tue,  2 Jun 2015 14:36:44 -0700 (PDT)
Received: from smtp3.pacifier.net (smtp3.pacifier.net [64.255.237.177]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C25821A90AD for <cose@ietf.org>; Tue,  2 Jun 2015 14:36:44 -0700 (PDT)
Received: from hebrews (unknown [50.38.88.51]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp3.pacifier.net (Postfix) with ESMTPSA id 26CF438E6A for <cose@ietf.org>; Tue,  2 Jun 2015 14:36:44 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <cose@ietf.org>
Date: Tue, 2 Jun 2015 14:36:47 -0700
Message-ID: <007d01d09d7c$3b318130$b1948390$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AdCdewpzQYg4yg7tSHaueHe179IkPA==
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/jysYQ_1_tI22dcp-2fS2JSyXsRg>
Subject: [Cose] Updated Editors Draft
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Jun 2015 21:36:46 -0000

I have pushed up an update to my COSE draft which has several changes in it.

* I have moved to using maps at the top level
* I have starting building the tables of keys, along with IANA
considerations, that are using integers rather than strings
* I have updated the examples to match

Please look at the tables that I have started creating along with the IANA
considerations and provide input.

https://cose-wg.github.io/cose-spec/

jim



From nobody Wed Jun  3 17:43:24 2015
Return-Path: <iesg-secretary@ietf.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0C2331A8A3A; Wed,  3 Jun 2015 10:37:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.9
X-Spam-Level: 
X-Spam-Status: No, score=-101.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, USER_IN_WHITELIST=-100] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0u1ty-H1lqos; Wed,  3 Jun 2015 10:36:59 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 9A2301A9073; Wed,  3 Jun 2015 10:36:58 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: The IESG <iesg-secretary@ietf.org>
To: "IETF-Announce" <ietf-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.0.3.p2
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20150603173658.17642.80056.idtracker@ietfa.amsl.com>
Date: Wed, 03 Jun 2015 10:36:58 -0700
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/_IqydCwuMqvL9jiKMXmYYnApQm0>
X-Mailman-Approved-At: Wed, 03 Jun 2015 17:43:23 -0700
Cc: cose WG <cose@ietf.org>
Subject: [Cose] WG Action: Formed CBOR Object Signing and Encryption (cose)
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 03 Jun 2015 17:37:01 -0000

A new IETF working group has been formed in the Security Area. For
additional information please contact the Area Directors or the WG
Chairs.

CBOR Object Signing and Encryption (cose)
------------------------------------------------
Current Status: Proposed WG

Chairs:
  Justin Richer <jricher@mit.edu>
  Kepeng Li <kepeng.lkp@alibaba-inc.com>

Assigned Area Director:
  Kathleen Moriarty <Kathleen.Moriarty.ietf@gmail.com>

Mailing list
  Address: cose@ietf.org
  To Subscribe: https://www.ietf.org/mailman/listinfo/cose
  Archive: http://www.ietf.org/mail-archive/web/cose/

Charter:

Concise Binary Object Representation (CBOR, RFC 7049) is a concise binary
format for the serialization of data structured to an extended version of
the JSON data model. COSE seeks to create CBOR-based object signing and
encryption formats. One motivation for COSE was to reuse functionality
from the JOSE working group using the CBOR data representation as it is
more amenable to constrained nodes and constrained node networks (RFC
7228).

The JOSE working group recently completed producing representations for
cryptographic keys, message authentication (MACs), encryption, and
digital signatures, using JSON representation. 

The resulting formats will not be cryptographically convertible from or
to JOSE formats. This lack of a need for bit-for-bit compatibility will
enable some simplification in the adaptation process.

Criteria that should be considered in the decision making process,
changing from JSON to CBOR encoding include:
    o Maintain the current JOSE paradigms and formatting where feasible.
    o Minimize message size, code size, and computational complexity to
suit constrained environments, where this is expected to  be used.
    o Improve security
    o Provide new functionality for additional use cases that were not
required for JOSE. 

Key management and binding of keys to identities are out of scope for the
working group.  The COSE WG will not innovate in terms of cryptography. 
The specification of algorithms in COSE is limited to those in RFCs or
active IETF WG documents.

The working group will coordinate its progress with the ACE, DICE and
CORE working groups to ensure that we are fulfilling the needs of these
constituencies to the extent relevant to their work. Other groups may be
added to this list as the set of use cases is expanded.

The WG will have two deliverables:

1. A standards-track specification covering the same cryptographic
formats from JOSE, with optimizations for constrained device processing,
expressed in CBOR;
2. Registration for algorithms (such as AES-CCM-8) that are appropriate
for constrained environments.
The Working Group will use a wiki to track desired use cases for its
work, but does not intend to publish this as an RFC.

Milestones:
  Jun 2015 - Submit COSE specification as a WG item
  Jun 2015 - Submit COSE constrained-appropriate algorithms as a WG item
  Jan 2016 - Submit COSE specification to the IESG, for publication as a
Proposed Standard
  Jan 2016 - Submit COSE constrained-appropriate algorithms to the IESG,
for publication as a Proposed Standard



From nobody Thu Jun  4 09:35:04 2015
Return-Path: <ilari.liusvaara@elisanet.fi>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EAAAF1A9040 for <cose@ietfa.amsl.com>; Thu,  4 Jun 2015 09:35:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.002
X-Spam-Level: 
X-Spam-Status: No, score=-0.002 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2rebGUtE3Jwd for <cose@ietfa.amsl.com>; Thu,  4 Jun 2015 09:35:01 -0700 (PDT)
Received: from emh02.mail.saunalahti.fi (emh02.mail.saunalahti.fi [62.142.5.108]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 42E2E1B346C for <cose@ietf.org>; Thu,  4 Jun 2015 09:34:38 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh02.mail.saunalahti.fi (Postfix) with ESMTP id F1747817F5 for <cose@ietf.org>; Thu,  4 Jun 2015 19:34:35 +0300 (EEST)
Date: Thu, 4 Jun 2015 19:34:35 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: cose@ietf.org
Message-ID: <20150604163435.GA19933@LK-Perkele-VII>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/_3o5Oqucz2H7Pm8nPrQI2PCDL1s>
Subject: [Cose] Comments on draft-schaad-cose-latest (2nd June 2015)
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 04 Jun 2015 16:35:04 -0000

I read the spec, and here are some comments (hope I am not too far
in the weeds):


Section 1.1:

"Switch from using a map to using an array at the message level.
While this change means that it is no longer possible to add new
named parameters to the top level message, it also means that there
is not a need to define how older implementations are defined to
behave when new fields are present. Most of the reasons that a new
field would need to be defined are adequately addressed by defining
a new parameter instead."

Wasn't top-level message converted back to a map?


Section 1.2:

"The key words â€œMUSTâ€�, â€œMUST NOTâ€�, â€œREQUIREDâ€�, â€œSHALLâ€�, â€œSHALL NOTâ€�,
â€œSHOULDâ€�, â€œSHOULD NOTâ€�, â€œRECOMMENDEDâ€�, â€œMAYâ€�, and â€œOPTIONALâ€� in this
document are to be interpreted as described in [RFC2119]."

There's also "NOT RECOMMENDED" (synonym of "SHOULD NOT")? :-)

Section 1.3:

"There currently is no standard CBOR grammar available for use by
specifications. In this document, we use the grammar defined in the
CBOR data definition language (CDDL) [I-D.greevenbosch-appsawg-cbor-cddl]."

If anything like milestones are to be met, relying on this for final
document not likely to be a good idea. But it is fine for discussion.

Some options for later:
- Defining what is needed.
- Lots of english prose. :-)


Section 2:

"Implementations SHOULD be prepared to find an integer in the location
which does not correspond to the values 0 to 2. If this is found then
the client MUST stop attempting to parse the structure and fail.
Clients need to recognize that the set of values could be extended at
a later date, but should not provide a security service based on
guesses of what is there."

Does this refer to values of key msg_type? If so, aren't the values 1-3,
not 0-2?

Section 3:

"Both buckets are implemented as CBOR maps. The maps can be keyed by
signed integers, unsigned integers and strings. The signed and unsigned
integers are used for compactness of encoding."

Nit: The term used by CBOR itself seems to "negative integer".

Section 3.1:

"TODO: Do we need to repeat definitions for all or just for some
and refer to the JOSE documents?"

At least noting the rules for determining type of element each thing
should have, similarly as those are defined in section 7 for keys.

Section 4:

"At least one of protected and unprotected MUST be present."

Why is this requirement there (there may be good reasons, seems to come
from JOSE)?

"For body_protected and sign_protected, if the fields are not
present in their corresponding maps, an bstr of length zero should be
used."

Should? The encoding of this is interop-critical. Also, why not
use NULL for absent field here?

Section 5:

"One of the byproducts of using the same technique for encrypting
and encoding both the content and the keys using the various key
management techniques, is a requirement that all of the key management
techniques use an Authenticated Encryption (AE) algorithm. (For the
purpose of this document we use a slightly loose definition of AE
algorithms.) When encrypting the plain text, it is normal to use an
Authenticated Encryption with Additional Data (AEAD) algorithm. For
key management, either AE or AEAD algorithms can be used. See Appendix
A for more details about the different types of algorithms."

I can't parse this.

What this seems to be saying that if performing is:
- If encrypting plaintext, encryption has to be AEAD
- If encrypting keys, the encryption can either be AE or AEAD?

"protected contains the information about the plain text or encryption
process that is to be integrity protected. The field is encoded in CBOR
as a â€˜bstrâ€™ if present and the value â€˜nilâ€™ if there is no data."

Is that 'nil' leftover from using arrays? Should it be that the member
is absent if empty?

Also nit: The CBOR value seems to be named "null".

"iv contains the initialization vector (IV), or itâ€™s equivalent, if
one is needed by the encryption algorithm. If there is no IV, then
the value â€˜nilâ€™ is used."

Should be absent if IV is not needed?

"aad contains additional authenticated data (aad) supplied by the
application. This field contains information about the plain text
data that is authenticated, but not encrypted. If the application
does not provide this data, the value â€˜nilâ€™ is used."

Should be absent if no aad?

"cipherText contains the encrypted plain text. If the cipherText
is to be transported independently of the control information about
the encryption process (i.e. detached content) then the value â€˜nilâ€™
is encoded here."

Should be absent if no ciphertext?

"A â€˜nilâ€™ value if there are no recipients."

Should be absent if no recipients?

Section 5.1.1:

"The â€˜protectedâ€™, â€˜ivâ€™, â€˜aadâ€™, â€˜ciphertextâ€™ and â€˜recipientsâ€™ fields
MUST be nil."

Should be absent instead?

Section 5.1.2:

"The â€˜protectedâ€™, â€˜aadâ€™, and â€˜recipientsâ€™ fields MUST be nil."

Should be absent instead?

Section 5.1.3:

"The â€˜protectedâ€™, â€˜aadâ€™, and â€˜ivâ€™ fields all use the â€˜nilâ€™ value."

Sould be absent instead?

Section 5.1.4:

"The â€˜protectedâ€™, â€˜aadâ€™, and â€˜ivâ€™ fields all use the â€˜nilâ€™ value."

Should be absent instead?

Also, no note of ciphertext field. Should be absent? It seems like
presence or absence of ciphertext tells apart DKA (5.1.4) and
KAwKW (5.1.5).

Section 5.1.5:

"The â€˜protectedâ€™, â€˜aadâ€™, and â€˜ivâ€™ fields all use the â€˜nilâ€™ value."

Should be absent instead?

"At a minimum, the â€˜unprotectedâ€™ field SHOULD contain the â€˜algâ€™
parameter, a parameter identifying the recipient asymmetric key,
and a parameter with the senderâ€™s asymmetric public key."

Parameter with senderâ€™s asymmetric public key? Is that epk? Or
something else? Or epk or something else depending on situation?

Section 5.2:

"1. If there is protected data, CBOR encode the map to a byte string
and place in the protected field of the Enc_structure and the
COSE_Encrypt structure."

Shouldn't this be copy from message, since the field is already byte
string there?

Also, should this be null if no protected field?

"2. Copy the â€˜aadâ€™ field from the COSE_Encrypt structure to the
Enc_Structure."

Should this be null if no aad field?

Section 5.3:

"1. Verify that the â€˜protectedâ€™ field is empty.
2. Verify that the â€˜aadâ€™ field is empty."

Empty means absent?

Section 6:

"At least one of protected and unprotected MUST be present."

Why is this requirement (might be good reasons, seems to come from
JOSE)?

"1. Create a MAC_structure and copy the protected and payload
elements from the COSE_mac structure."

The protected is written as null if absent?

Section 7:

"The same fields defined in [RFC7517] are used here with the
following changes in rules:"

The formatting of block below this looks screwed.

Section 9.2:

This section looks empty (no text, no subsections)?

Section 9.3:

"NOTE: Need to review the range assignments. It does not necessarily
make sense as specification required uses 1 byte positive integers and
2 byte strings. ## COSE Header Algorithm Key Table"

There should be section break here?

Section C:

The examples could use some indentation to make easier to read?

Section C.6:

There are some null values in the dump (key 6). Are those supposed to be
signatures?

Section E:

"jwk" and "kid" might need integers?

Section G:

Some of these could use integers?

Section H:

- Since kty is mandatory, it should have integer?
- use and key_ops could have integers as values?
- important key parameters could have integer values?
- what are 'r' and 't' for RSA? And is 'dp' missing for RSA?



-Ilari


From nobody Thu Jun  4 17:32:36 2015
Return-Path: <ietf@augustcellars.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2834C1ACDD1 for <cose@ietfa.amsl.com>; Thu,  4 Jun 2015 17:32:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o-j9oH-COOQV for <cose@ietfa.amsl.com>; Thu,  4 Jun 2015 17:32:31 -0700 (PDT)
Received: from smtp1.pacifier.net (smtp1.pacifier.net [64.255.237.171]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 249011ACDD0 for <cose@ietf.org>; Thu,  4 Jun 2015 17:32:30 -0700 (PDT)
Received: from hebrews (unknown [50.109.244.255]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp1.pacifier.net (Postfix) with ESMTPSA id 2B80B2CA3D; Thu,  4 Jun 2015 17:32:28 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Ilari Liusvaara'" <ilari.liusvaara@elisanet.fi>, <cose@ietf.org>
References: <20150604163435.GA19933@LK-Perkele-VII>
In-Reply-To: <20150604163435.GA19933@LK-Perkele-VII>
Date: Thu, 4 Jun 2015 17:32:31 -0700
Message-ID: <003d01d09f27$1e1e0850$5a5a18f0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 15.0
Content-Language: en-us
Thread-Index: AQGQD/YfkP5v8dCXigsYGpwmf5tpTp4dt/PA
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/vfJ6mfHXq7bu6fw_sLD7f6XSiks>
Subject: Re: [Cose] Comments on draft-schaad-cose-latest (2nd June 2015)
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Jun 2015 00:32:34 -0000

> -----Original Message-----
> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Ilari Liusvaara
> Sent: Thursday, June 04, 2015 9:35 AM
> To: cose@ietf.org
> Subject: [Cose] Comments on draft-schaad-cose-latest (2nd June 2015)
>=20
> I read the spec, and here are some comments (hope I am not too far in =
the
> weeds):
>=20
>=20
> Section 1.1:
>=20
> "Switch from using a map to using an array at the message level.
> While this change means that it is no longer possible to add new named
> parameters to the top level message, it also means that there is not a =
need to
> define how older implementations are defined to behave when new fields =
are
> present. Most of the reasons that a new field would need to be defined =
are
> adequately addressed by defining a new parameter instead."
>=20
> Wasn't top-level message converted back to a map?

Yes it was, I just missed this place.

>=20
>=20
> Section 1.2:
>=20
> "The key words =E2=80=9CMUST=E2=80=9D, =E2=80=9CMUST NOT=E2=80=9D, =
=E2=80=9CREQUIRED=E2=80=9D, =E2=80=9CSHALL=E2=80=9D, =E2=80=9CSHALL =
NOT=E2=80=9D,
> =E2=80=9CSHOULD=E2=80=9D, =E2=80=9CSHOULD NOT=E2=80=9D, =
=E2=80=9CRECOMMENDED=E2=80=9D, =E2=80=9CMAY=E2=80=9D, and =
=E2=80=9COPTIONAL=E2=80=9D in
> this document are to be interpreted as described in [RFC2119]."
>=20
> There's also "NOT RECOMMENDED" (synonym of "SHOULD NOT")? :-)

I have never made sure the list was exhaustive.  I have just copied this =
text forward.  I can add it without problems.

>=20
> Section 1.3:
>=20
> "There currently is no standard CBOR grammar available for use by
> specifications. In this document, we use the grammar defined in the =
CBOR data
> definition language (CDDL) [I-D.greevenbosch-appsawg-cbor-cddl]."
>=20
> If anything like milestones are to be met, relying on this for final =
document not
> likely to be a good idea. But it is fine for discussion.
>=20
> Some options for later:
> - Defining what is needed.
> - Lots of english prose. :-)

Yes, this is likely to become informational at some point in the future. =
=20

>=20
>=20
> Section 2:
>=20
> "Implementations SHOULD be prepared to find an integer in the location =
which
> does not correspond to the values 0 to 2. If this is found then the =
client MUST
> stop attempting to parse the structure and fail.
> Clients need to recognize that the set of values could be extended at =
a later
> date, but should not provide a security service based on guesses of =
what is
> there."
>=20
> Does this refer to values of key msg_type? If so, aren't the values =
1-3, not 0-2?

Good catch - updated.

>=20
> Section 3:
>=20
> "Both buckets are implemented as CBOR maps. The maps can be keyed by
> signed integers, unsigned integers and strings. The signed and =
unsigned integers
> are used for compactness of encoding."
>=20
> Nit: The term used by CBOR itself seems to "negative integer".

Make sense as +9 is a "signed" number.

>=20
> Section 3.1:
>=20
> "TODO: Do we need to repeat definitions for all or just for some and =
refer to the
> JOSE documents?"
>=20
> At least noting the rules for determining type of element each thing =
should have,
> similarly as those are defined in section 7 for keys.

Yes - I could just reference the table in the appendix (or move that =
table forward) and that would take care of it.  However  there has been =
some push to not rely on the JOSE documents for this type of detail.

>=20
> Section 4:
>=20
> "At least one of protected and unprotected MUST be present."
>=20
> Why is this requirement there (there may be good reasons, seems to =
come from
> JOSE)?

This goes back to the missing text/changed text in section 3.  The =
algorithm identification header field is going to be required.  It this =
needs to have someplace to be placed and that is one of these two =
fields.

>=20
> "For body_protected and sign_protected, if the fields are not present =
in their
> corresponding maps, an bstr of length zero should be used."
>=20
> Should? The encoding of this is interop-critical. Also, why not use =
NULL for
> absent field here?

This is a lower case should and does have the same 2119 language meaning =
(see the text in 1.1 about natural language).  However 'is' will work =
just as well.

I could just as easily use NULL, but there is no size or conception =
difference.  The change from NULL to an empty bstr came about from the =
idea at one point during using arrays that it might be easier to do the =
parsing if the empty binary string was used instead.  It might also make =
checking of types easier.  This change got copied down into the =
structure to be signed as it made the code easier (just copy the item).  =
As I said, I am not wedded to either way.

>=20
> Section 5:
>=20
> "One of the byproducts of using the same technique for encrypting and =
encoding
> both the content and the keys using the various key management =
techniques, is
> a requirement that all of the key management techniques use an =
Authenticated
> Encryption (AE) algorithm. (For the purpose of this document we use a =
slightly
> loose definition of AE
> algorithms.) When encrypting the plain text, it is normal to use an =
Authenticated
> Encryption with Additional Data (AEAD) algorithm. For key management, =
either
> AE or AEAD algorithms can be used. See Appendix A for more details =
about the
> different types of algorithms."
>=20
> I can't parse this.
>=20
> What this seems to be saying that if performing is:
> - If encrypting plaintext, encryption has to be AEAD
> - If encrypting keys, the encryption can either be AE or AEAD?



>=20
> "protected contains the information about the plain text or encryption =
process
> that is to be integrity protected. The field is encoded in CBOR as a =
=E2=80=98bstr=E2=80=99 if
> present and the value =E2=80=98nil=E2=80=99 if there is no data."
>=20
> Is that 'nil' leftover from using arrays? Should it be that the member =
is absent if
> empty?

Yes it is.  I did not make a hard pass over the document looking for all =
of the changes that needed to be made for killing arrays.

>=20
> Also nit: The CBOR value seems to be named "null".
>=20
> "iv contains the initialization vector (IV), or it=E2=80=99s =
equivalent, if one is needed by
> the encryption algorithm. If there is no IV, then the value =
=E2=80=98nil=E2=80=99 is used."
>=20
> Should be absent if IV is not needed?

Again - missed this in the array kill pass.  However, I am thinking that =
IV may migrate to be a header parameter instead.

>=20
> "aad contains additional authenticated data (aad) supplied by the =
application.
> This field contains information about the plain text data that is =
authenticated,
> but not encrypted. If the application does not provide this data, the =
value =E2=80=98nil=E2=80=99 is
> used."
>=20
> Should be absent if no aad?

Again - missed in array kill pass

>=20
> "cipherText contains the encrypted plain text. If the cipherText is to =
be
> transported independently of the control information about the =
encryption
> process (i.e. detached content) then the value =E2=80=98nil=E2=80=99
> is encoded here."
>=20
> Should be absent if no ciphertext?
>=20
> "A =E2=80=98nil=E2=80=99 value if there are no recipients."
>=20
> Should be absent if no recipients?
>=20
> Section 5.1.1:
>=20
> "The =E2=80=98protected=E2=80=99, =E2=80=98iv=E2=80=99, =
=E2=80=98aad=E2=80=99, =E2=80=98ciphertext=E2=80=99 and =
=E2=80=98recipients=E2=80=99 fields MUST be nil."
>=20
> Should be absent instead?
>=20
> Section 5.1.2:
>=20
> "The =E2=80=98protected=E2=80=99, =E2=80=98aad=E2=80=99, and =
=E2=80=98recipients=E2=80=99 fields MUST be nil."
>=20
> Should be absent instead?
>=20
> Section 5.1.3:
>=20
> "The =E2=80=98protected=E2=80=99, =E2=80=98aad=E2=80=99, and =
=E2=80=98iv=E2=80=99 fields all use the =E2=80=98nil=E2=80=99 value."
>=20
> Sould be absent instead?
>=20
> Section 5.1.4:
>=20
> "The =E2=80=98protected=E2=80=99, =E2=80=98aad=E2=80=99, and =
=E2=80=98iv=E2=80=99 fields all use the =E2=80=98nil=E2=80=99 value."
>=20
> Should be absent instead?
>=20
> Also, no note of ciphertext field. Should be absent? It seems like =
presence or
> absence of ciphertext tells apart DKA (5.1.4) and KAwKW (5.1.5).

Currently the difference is based on different algorithm identifiers.  =
ECDH-ES vs. ECDH-ES+A128KW

>=20
> Section 5.1.5:
>=20
> "The =E2=80=98protected=E2=80=99, =E2=80=98aad=E2=80=99, and =
=E2=80=98iv=E2=80=99 fields all use the =E2=80=98nil=E2=80=99 value."
>=20
> Should be absent instead?
>=20
> "At a minimum, the =E2=80=98unprotected=E2=80=99 field SHOULD contain =
the =E2=80=98alg=E2=80=99
> parameter, a parameter identifying the recipient asymmetric key, and a
> parameter with the sender=E2=80=99s asymmetric public key."
>=20
> Parameter with sender=E2=80=99s asymmetric public key? Is that epk? Or =
something else?
> Or epk or something else depending on situation?

That is going to depend on if we only support ephemeral-static or also =
support static-static.  In the latter case it may be any method of =
identifying a key such as a 'kid'.

>=20
> Section 5.2:
>=20
> "1. If there is protected data, CBOR encode the map to a byte string =
and place in
> the protected field of the Enc_structure and the COSE_Encrypt =
structure."
>=20
> Shouldn't this be copy from message, since the field is already byte =
string there?

It is there for received messages, but no necessary created yet for =
sending.  But yes that would work as text as well.  At some point in =
time I will need to do a pass for textual consistency of how I write =
this type of step.

>=20
> Also, should this be null if no protected field?
>=20
> "2. Copy the =E2=80=98aad=E2=80=99 field from the COSE_Encrypt =
structure to the Enc_Structure."
>=20
> Should this be null if no aad field?
>=20
> Section 5.3:
>=20
> "1. Verify that the =E2=80=98protected=E2=80=99 field is empty.
> 2. Verify that the =E2=80=98aad=E2=80=99 field is empty."
>=20
> Empty means absent?

Yes

>=20
> Section 6:
>=20
> "At least one of protected and unprotected MUST be present."
>=20
> Why is this requirement (might be good reasons, seems to come from =
JOSE)?
>=20
> "1. Create a MAC_structure and copy the protected and payload elements =
from
> the COSE_mac structure."
>=20
> The protected is written as null if absent?


>=20
> Section 7:
>=20
> "The same fields defined in [RFC7517] are used here with the following =
changes
> in rules:"
>=20
> The formatting of block below this looks screwed.

One day I will learn correct markdown for RFCs.  I am more used to doing =
xml and have not figured everything out yet.

>=20
> Section 9.2:
>=20
> This section looks empty (no text, no subsections)?

Yes - I have not filled this section in yet.

>=20
> Section 9.3:
>=20
> "NOTE: Need to review the range assignments. It does not necessarily =
make
> sense as specification required uses 1 byte positive integers and
> 2 byte strings. ## COSE Header Algorithm Key Table"
>=20
> There should be section break here?

Yes -mark down error.

>=20
> Section C:
>=20
> The examples could use some indentation to make easier to read?
>=20
> Section C.6:
>=20
> There are some null values in the dump (key 6). Are those supposed to =
be
> signatures?

My examples generation program was broken.  I think this will be fixed =
in the next version

>=20
> Section E:
>=20
> "jwk" and "kid" might need integers?

'kid' now has an integer.  Do we believe that jwk is something that =
makes lots of sense to keep?  How used do we believe that it will be?  =
i.e. should it be a one byte or a two byte integer value.

>=20
> Section G:
>=20
> Some of these could use integers?

Need to get some ideas of what algorithms should have one byte integer =
encoding and which should be two byte integer encoding.  Which are =
important algorithms?

>=20
> Section H:
>=20
> - Since kty is mandatory, it should have integer?
> - use and key_ops could have integers as values?
> - important key parameters could have integer values?
> - what are 'r' and 't' for RSA? And is 'dp' missing for RSA?

I have just started a pass working on the key structure. =20

There was a typo with an extra 1 being put into the table for dp, it is =
there but shifted over by one column.  This has been fixed.

Jim

>=20
>=20
>=20
> -Ilari
>=20
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose


From nobody Fri Jun  5 17:38:13 2015
Return-Path: <ietf@augustcellars.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CD2C41AC3DC for <cose@ietfa.amsl.com>; Fri,  5 Jun 2015 17:38:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ECUMM3LhgEgC for <cose@ietfa.amsl.com>; Fri,  5 Jun 2015 17:38:10 -0700 (PDT)
Received: from smtp4.pacifier.net (smtp4.pacifier.net [64.255.237.176]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2CD871A9134 for <cose@ietf.org>; Fri,  5 Jun 2015 17:38:10 -0700 (PDT)
Received: from hebrews (unknown [104.240.61.209]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp4.pacifier.net (Postfix) with ESMTPSA id 0E72A38F30 for <cose@ietf.org>; Fri,  5 Jun 2015 17:38:08 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <cose@ietf.org>
References: <20150606002142.32321.49197.idtracker@ietfa.amsl.com>
In-Reply-To: <20150606002142.32321.49197.idtracker@ietfa.amsl.com>
Date: Fri, 5 Jun 2015 17:37:57 -0700
Message-ID: <004b01d09ff1$134973e0$39dc5ba0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQHs3SFPLVzw5hg1zG+0aW4rgK6ix51mJzyg
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/7OP_MGzwJi-BpSnJDnklebozPOE>
Subject: [Cose] FW: New Version Notification for draft-schaad-cose-02.txt
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 06 Jun 2015 00:38:12 -0000

Since we now have an official working group.  I will propose this as a =
candidate draft to address the specification milestone.

I am willing to add the algorithms piece to this document if that is the =
desire of the group, or it can be done as an independent document (my =
initial preference).

Jim
=20

> -----Original Message-----
> From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org]
> Sent: Friday, June 05, 2015 5:22 PM
> To: Jim Schaad; Jim Schaad
> Subject: New Version Notification for draft-schaad-cose-02.txt
>=20
>=20
> A new version of I-D, draft-schaad-cose-02.txt has been successfully =
submitted
> by Jim Schaad and posted to the IETF repository.
>=20
> Name:		draft-schaad-cose
> Revision:	02
> Title:		CBOR Encoded Message Syntax
> Document date:	2015-06-05
> Group:		Individual Submission
> Pages:		35
> URL:            =
https://www.ietf.org/internet-drafts/draft-schaad-cose-02.txt
> Status:         https://datatracker.ietf.org/doc/draft-schaad-cose/
> Htmlized:       https://tools.ietf.org/html/draft-schaad-cose-02
> Diff:           =
https://www.ietf.org/rfcdiff?url2=3Ddraft-schaad-cose-02
>=20
> Abstract:
>    Concise Binary Object Representation (CBOR) is data format designed
>    for small code size and small message size.  There is a need for =
the
>    ability to have the basic security services defined for this data
>    format.  This document specifies how to do signatures, message
>    authentication codes and encryption using this data format.  The =
work
>    in this document is derived in part from the JSON web security
>    documents using the same parameters and algorithm identifiers as =
they
>    do.
>=20
>=20
>=20
>=20
> Please note that it may take a couple of minutes from the time of =
submission
> until the htmlized version and diff are available at tools.ietf.org.
>=20
> The IETF Secretariat


From nobody Fri Jun  5 18:48:46 2015
Return-Path: <kepeng.lkp@alibaba-inc.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 73B381ACD28 for <cose@ietfa.amsl.com>; Fri,  5 Jun 2015 18:48:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.451
X-Spam-Level: 
X-Spam-Status: No, score=0.451 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, MIME_CHARSET_FARAWAY=2.45, MIME_QP_LONG_LINE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q8aOVGEOljes for <cose@ietfa.amsl.com>; Fri,  5 Jun 2015 18:48:43 -0700 (PDT)
Received: from out4133-146.mail.aliyun.com (out4133-146.mail.aliyun.com [42.120.133.146]) by ietfa.amsl.com (Postfix) with ESMTP id 913011A8905 for <cose@ietf.org>; Fri,  5 Jun 2015 18:48:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alibaba-inc.com; s=default; t=1433555322; h=Date:Subject:From:To:Message-ID:Mime-version:Content-type; bh=CFMzjmaDG1JzqU9QrbicSmyPl7u1dllyVFEJYPs3p/g=; b=N0ggTHkX0ohcETXG9L0i1ucEUuusN03IOgFSxYxUz9ZX/ueLCcV1MjjFQflmfbBm1rSqVXGBPhwwmsPOSia7cOop8Rpu/3pNsAtIOAXXFAJT/y+0T2dCzKpvEHKyigb3oM+BDW3CtoysVUdh1hQhG1YnY60sduBNSFqj5zOq+Dw=
X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R561e4; FP=0|-1|-1|-1|0|-1|-1|-1; HT=r41f05043; MF=kepeng.lkp@alibaba-inc.com; PH=DS;  RN=2; RT=2; SR=0; 
Received: from 10.22.40.252(mailfrom:kepeng.lkp@alibaba-inc.com ip:42.120.73.207) by smtp.aliyun-inc.com(127.0.0.1); Sat, 06 Jun 2015 09:48:38 +0800
User-Agent: Microsoft-MacOutlook/14.4.8.150116
Date: Sat, 06 Jun 2015 09:48:34 +0800
From: "Kepeng Li" <kepeng.lkp@alibaba-inc.com>
To: Jim Schaad <ietf@augustcellars.com>, <cose@ietf.org>
Message-ID: <D1987201.CD45%kepeng.lkp@alibaba-inc.com>
Thread-Topic: [Cose] FW: New Version Notification for draft-schaad-cose-02.txt
References: <20150606002142.32321.49197.idtracker@ietfa.amsl.com> <004b01d09ff1$134973e0$39dc5ba0$@augustcellars.com>
In-Reply-To: <004b01d09ff1$134973e0$39dc5ba0$@augustcellars.com>
Mime-version: 1.0
Content-type: text/plain; charset="GB2312"
Content-transfer-encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/wYIPdhkxnmUiCiGbgKqPAyL7bIo>
Subject: Re: [Cose] FW: New Version Notification for draft-schaad-cose-02.txt
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 06 Jun 2015 01:48:45 -0000

Hi Jim,

Thanks for the draft.

>I am willing to add the algorithms piece to this document if that is the
>desire of the group, or it can be done as an independent document (my
>initial preference).edx


According to our milestones, the algorithm piece is a separate item.

Jun 2015 - Submit COSE specification as a WG item
  Jun 2015 - Submit COSE constrained-appropriate algorithms as a WG item


Kind Regards
Kepeng

=D4=DA 6/6/15 8:37 am=A3=AC "Jim Schaad" <ietf@augustcellars.com> =D0=B4=C8=EB:

>Since we now have an official working group.  I will propose this as a
>candidate draft to address the specification milestone.
>
>I am willing to add the algorithms piece to this document if that is the
>desire of the group, or it can be done as an independent document (my
>initial preference).
>
>Jim
>=20
>
>> -----Original Message-----
>> From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org]
>> Sent: Friday, June 05, 2015 5:22 PM
>> To: Jim Schaad; Jim Schaad
>> Subject: New Version Notification for draft-schaad-cose-02.txt
>>=20
>>=20
>> A new version of I-D, draft-schaad-cose-02.txt has been successfully
>>submitted
>> by Jim Schaad and posted to the IETF repository.
>>=20
>> Name:		draft-schaad-cose
>> Revision:	02
>> Title:		CBOR Encoded Message Syntax
>> Document date:	2015-06-05
>> Group:		Individual Submission
>> Pages:		35
>> URL:           =20
>>https://www.ietf.org/internet-drafts/draft-schaad-cose-02.txt
>> Status:         https://datatracker.ietf.org/doc/draft-schaad-cose/
>> Htmlized:       https://tools.ietf.org/html/draft-schaad-cose-02
>> Diff:           https://www.ietf.org/rfcdiff?url2=3Ddraft-schaad-cose-02
>>=20
>> Abstract:
>>    Concise Binary Object Representation (CBOR) is data format designed
>>    for small code size and small message size.  There is a need for the
>>    ability to have the basic security services defined for this data
>>    format.  This document specifies how to do signatures, message
>>    authentication codes and encryption using this data format.  The work
>>    in this document is derived in part from the JSON web security
>>    documents using the same parameters and algorithm identifiers as they
>>    do.
>>=20
>>=20
>>=20
>>=20
>> Please note that it may take a couple of minutes from the time of
>>submission
>> until the htmlized version and diff are available at tools.ietf.org.
>>=20
>> The IETF Secretariat
>
>_______________________________________________
>Cose mailing list
>Cose@ietf.org
>https://www.ietf.org/mailman/listinfo/cose



From nobody Fri Jun  5 19:31:33 2015
Return-Path: <ietf@augustcellars.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BD2311A90C0 for <cose@ietfa.amsl.com>; Fri,  5 Jun 2015 19:31:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ew8uG0va2uuX for <cose@ietfa.amsl.com>; Fri,  5 Jun 2015 19:31:29 -0700 (PDT)
Received: from smtp2.pacifier.net (smtp2.pacifier.net [64.255.237.172]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D53871A8F4E for <cose@ietf.org>; Fri,  5 Jun 2015 19:31:29 -0700 (PDT)
Received: from hebrews (unknown [104.240.61.209]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp2.pacifier.net (Postfix) with ESMTPSA id 8564C2C9C5; Fri,  5 Jun 2015 19:31:26 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Kepeng Li'" <kepeng.lkp@alibaba-inc.com>, <cose@ietf.org>
References: <20150606002142.32321.49197.idtracker@ietfa.amsl.com> <004b01d09ff1$134973e0$39dc5ba0$@augustcellars.com> <D1987201.CD45%kepeng.lkp@alibaba-inc.com>
In-Reply-To: <D1987201.CD45%kepeng.lkp@alibaba-inc.com>
Date: Fri, 5 Jun 2015 19:31:00 -0700
Message-ID: <006401d0a000$e8366ef0$b8a34cd0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQHs3SFPLVzw5hg1zG+0aW4rgK6ixwM2MA3XAk4irUGdOiSiUA==
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/8d3YouSTV5wcya24V2vO9JVQm_o>
Subject: Re: [Cose] FW: New Version Notification for draft-schaad-cose-02.txt
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 06 Jun 2015 02:31:31 -0000

> -----Original Message-----
> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kepeng Li
> Sent: Friday, June 05, 2015 6:49 PM
> To: Jim Schaad; cose@ietf.org
> Subject: Re: [Cose] FW: New Version Notification for draft-schaad-cose-02.
txt
>
> Hi Jim,
>
> Thanks for the draft.
>
> >I am willing to add the algorithms piece to this document if that is
> >the desire of the group, or it can be done as an independent document
> >(my initial preference).edx
>
>
> According to our milestones, the algorithm piece is a separate item.

That just says that we need a document to cover that milestone.  It can be a
single document or a combined document as the working group feels best.

Jim

>
> Jun 2015 - Submit COSE specification as a WG item
>   Jun 2015 - Submit COSE constrained-appropriate algorithms as a WG item
>
>
> Kind Regards
> Kepeng
>
> $B:_(B 6/6/15 8:37 am$B!$(B "Jim Schaad" <ietf@augustcellars.com> $B<LF~(B:
>
> >Since we now have an official working group.  I will propose this as a
> >candidate draft to address the specification milestone.
> >
> >I am willing to add the algorithms piece to this document if that is
> >the desire of the group, or it can be done as an independent document
> >(my initial preference).
> >
> >Jim
> >
> >
> >> -----Original Message-----
> >> From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org]
> >> Sent: Friday, June 05, 2015 5:22 PM
> >> To: Jim Schaad; Jim Schaad
> >> Subject: New Version Notification for draft-schaad-cose-02.txt
> >>
> >>
> >> A new version of I-D, draft-schaad-cose-02.txt has been successfully
> >>submitted  by Jim Schaad and posted to the IETF repository.
> >>
> >> Name:		draft-schaad-cose
> >> Revision:	02
> >> Title:		CBOR Encoded Message Syntax
> >> Document date:	2015-06-05
> >> Group:		Individual Submission
> >> Pages:		35
> >> URL:
> >>https://www.ietf.org/internet-drafts/draft-schaad-cose-02.txt
> >> Status:         https://datatracker.ietf.org/doc/draft-schaad-cose/
> >> Htmlized:       https://tools.ietf.org/html/draft-schaad-cose-02
> >> Diff:           https://www.ietf.org/rfcdiff?url2=draft-schaad-cose-02
> >>
> >> Abstract:
> >>    Concise Binary Object Representation (CBOR) is data format designed
> >>    for small code size and small message size.  There is a need for the
> >>    ability to have the basic security services defined for this data
> >>    format.  This document specifies how to do signatures, message
> >>    authentication codes and encryption using this data format.  The
work
> >>    in this document is derived in part from the JSON web security
> >>    documents using the same parameters and algorithm identifiers as
they
> >>    do.
> >>
> >>
> >>
> >>
> >> Please note that it may take a couple of minutes from the time of
> >>submission  until the htmlized version and diff are available at
> >>tools.ietf.org.
> >>
> >> The IETF Secretariat
> >
> >_______________________________________________
> >Cose mailing list
> >Cose@ietf.org
> >https://www.ietf.org/mailman/listinfo/cose
>
>
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose


From nobody Fri Jun  5 20:04:52 2015
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 85B8F1ACD36 for <cose@ietfa.amsl.com>; Fri,  5 Jun 2015 20:04:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q6LJvcWDSqLZ for <cose@ietfa.amsl.com>; Fri,  5 Jun 2015 20:04:49 -0700 (PDT)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0144.outbound.protection.outlook.com [207.46.100.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 64E991ACD2F for <cose@ietf.org>; Fri,  5 Jun 2015 20:04:49 -0700 (PDT)
Received: from BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) by BY2PR03MB443.namprd03.prod.outlook.com (10.141.141.152) with Microsoft SMTP Server (TLS) id 15.1.184.10; Sat, 6 Jun 2015 03:04:48 +0000
Received: from BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) by BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) with mapi id 15.01.0184.014; Sat, 6 Jun 2015 03:04:48 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, 'Kepeng Li' <kepeng.lkp@alibaba-inc.com>, "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [Cose] FW: New Version Notification for draft-schaad-cose-02.txt
Thread-Index: AQHs3SFPLVzw5hg1zG+0aW4rgK6ix51mJzyggAAUTQCAAAvbAIAAB/+g
Date: Sat, 6 Jun 2015 03:04:47 +0000
Message-ID: <BY2PR03MB442A9F5C31BE651A16BFB8CF5B10@BY2PR03MB442.namprd03.prod.outlook.com>
References: <20150606002142.32321.49197.idtracker@ietfa.amsl.com> <004b01d09ff1$134973e0$39dc5ba0$@augustcellars.com> <D1987201.CD45%kepeng.lkp@alibaba-inc.com> <006401d0a000$e8366ef0$b8a34cd0$@augustcellars.com>
In-Reply-To: <006401d0a000$e8366ef0$b8a34cd0$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: augustcellars.com; dkim=none (message not signed) header.d=none;
x-originating-ip: [50.47.90.173]
x-microsoft-exchange-diagnostics: 1; BY2PR03MB443; 3:E1FnX+FiyxlubPM6HS4rMuwSgXCUOheH7D09jmPyc6WQ1x5c6Nlcv3HZv0DEcs6YNVtetm99FBiYMZNPhGW/lUQvEovKKXBbnNBxpBnNXvhx4FjVRitdFjR3gE+rFP8et1asKaYPN3ckLyMcOy2jdQ==; 10:5TPdBhcnc1TYOydsLVebh239L25tnrjIxPiEsIleXSHYfAbrO2e3wnbvhySh2hcKaHNqsd5xCO1epHMu8UwSGeikLG2bcOOw2JscHETSEYA=; 6:e6vicIJwv50z8ydKRQhlXR9Z9Mqe4LSsQdqYITd6knpHQ2615QLj0uT+2zBqrOMl
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB443;
x-microsoft-antispam-prvs: <BY2PR03MB44377B052C34B0789181346F5B10@BY2PR03MB443.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(520003)(5005006)(3002001); SRVR:BY2PR03MB443; BCL:0;  PCL:0; RULEID:; SRVR:BY2PR03MB443; 
x-forefront-prvs: 05991796DF
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(479174004)(13464003)(377424004)(51914003)(377454003)(71364002)(86612001)(19580405001)(5001770100001)(2656002)(87936001)(5001960100002)(2501003)(189998001)(107886002)(76576001)(5002640100001)(122556002)(50986999)(54356999)(66066001)(76176999)(62966003)(2900100001)(2950100001)(74316001)(77156002)(106116001)(40100003)(93886004)(33656002)(46102003)(92566002)(77096005)(230783001)(99286002)(19580395003)(102836002)(86362001)(15975445007); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB443; H:BY2PR03MB442.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: text/plain; charset="iso-2022-jp"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jun 2015 03:04:47.6338 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB443
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/QFKtN4yqgK520S8SMs9XpbujGHc>
Subject: Re: [Cose] FW: New Version Notification for draft-schaad-cose-02.txt
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 06 Jun 2015 03:04:51 -0000

For what it's worth, I'd advocate having a separate algorithm document for =
the same reasons that JOSE did.  For one, it enables that document to be re=
vised in the future without having to then revise the underlying signature/=
MAC/encryption/key representations.

Also, based on my experience as a JOSE editor, I think the result was clean=
er because we separated the algorithm descriptions from the descriptions of=
 how to perform cryptographic operations.  It was good discipline to have t=
o describe the steps to create and use the data structures without falling =
back on particulars of specific algorithms.

Also, the single-purpose nature of an algorithms doc can make it easier to =
read and use a reference.  You're not having to sort out what are data desc=
riptions and what are algorithm descriptions.  It's just algorithms.

				Cheers,
				-- Mike

P.S.  I agree with Jim's procedural point that the charter allows the worki=
ng group to produce deliverables either in combined or separated documents.

-----Original Message-----
From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Friday, June 05, 2015 7:31 PM
To: 'Kepeng Li'; cose@ietf.org
Subject: Re: [Cose] FW: New Version Notification for draft-schaad-cose-02.t=
xt



> -----Original Message-----
> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kepeng Li
> Sent: Friday, June 05, 2015 6:49 PM
> To: Jim Schaad; cose@ietf.org
> Subject: Re: [Cose] FW: New Version Notification for draft-schaad-cose-02=
.
txt
>
> Hi Jim,
>
> Thanks for the draft.
>
> >I am willing to add the algorithms piece to this document if that is=20
> >the desire of the group, or it can be done as an independent document=20
> >(my initial preference).edx
>
>
> According to our milestones, the algorithm piece is a separate item.

That just says that we need a document to cover that milestone.  It can be =
a single document or a combined document as the working group feels best.

Jim

>
> Jun 2015 - Submit COSE specification as a WG item
>   Jun 2015 - Submit COSE constrained-appropriate algorithms as a WG=20
> item
>
>
> Kind Regards
> Kepeng
>
> =1B$B:_=1B(B 6/6/15 8:37 am=1B$B!$=1B(B "Jim Schaad" <ietf@augustcellars.=
com> =1B$B<LF~=1B(B:
>
> >Since we now have an official working group.  I will propose this as=20
> >a candidate draft to address the specification milestone.
> >
> >I am willing to add the algorithms piece to this document if that is=20
> >the desire of the group, or it can be done as an independent document=20
> >(my initial preference).
> >
> >Jim
> >
> >
> >> -----Original Message-----
> >> From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org]
> >> Sent: Friday, June 05, 2015 5:22 PM
> >> To: Jim Schaad; Jim Schaad
> >> Subject: New Version Notification for draft-schaad-cose-02.txt
> >>
> >>
> >> A new version of I-D, draft-schaad-cose-02.txt has been=20
> >>successfully submitted  by Jim Schaad and posted to the IETF repository=
.
> >>
> >> Name:		draft-schaad-cose
> >> Revision:	02
> >> Title:		CBOR Encoded Message Syntax
> >> Document date:	2015-06-05
> >> Group:		Individual Submission
> >> Pages:		35
> >> URL:
> >>https://www.ietf.org/internet-drafts/draft-schaad-cose-02.txt
> >> Status:         https://datatracker.ietf.org/doc/draft-schaad-cose/
> >> Htmlized:       https://tools.ietf.org/html/draft-schaad-cose-02
> >> Diff:           https://www.ietf.org/rfcdiff?url2=3Ddraft-schaad-cose-=
02
> >>
> >> Abstract:
> >>    Concise Binary Object Representation (CBOR) is data format designed
> >>    for small code size and small message size.  There is a need for th=
e
> >>    ability to have the basic security services defined for this data
> >>    format.  This document specifies how to do signatures, message
> >>    authentication codes and encryption using this data format.  The
work
> >>    in this document is derived in part from the JSON web security
> >>    documents using the same parameters and algorithm identifiers as
they
> >>    do.
> >>
> >>
> >>
> >>
> >> Please note that it may take a couple of minutes from the time of=20
> >>submission  until the htmlized version and diff are available at=20
> >>tools.ietf.org.
> >>
> >> The IETF Secretariat
> >
> >_______________________________________________
> >Cose mailing list
> >Cose@ietf.org
> >https://www.ietf.org/mailman/listinfo/cose
>
>
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose

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


From nobody Sat Jun  6 00:39:41 2015
Return-Path: <ilari.liusvaara@elisanet.fi>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A57611B29C5 for <cose@ietfa.amsl.com>; Sat,  6 Jun 2015 00:39:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id E6hgZo5F5R64 for <cose@ietfa.amsl.com>; Sat,  6 Jun 2015 00:39:35 -0700 (PDT)
Received: from emh07.mail.saunalahti.fi (emh07.mail.saunalahti.fi [62.142.5.117]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 562D61B29C4 for <cose@ietf.org>; Sat,  6 Jun 2015 00:39:34 -0700 (PDT)
Received: from LK-Perkele-VII (a91-155-194-207.elisa-laajakaista.fi [91.155.194.207]) by emh07.mail.saunalahti.fi (Postfix) with ESMTP id 4FFA13FD4; Sat,  6 Jun 2015 10:39:32 +0300 (EEST)
Date: Sat, 6 Jun 2015 10:39:31 +0300
From: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
To: Jim Schaad <ietf@augustcellars.com>
Message-ID: <20150606073931.GA5970@LK-Perkele-VII>
References: <20150606002142.32321.49197.idtracker@ietfa.amsl.com> <004b01d09ff1$134973e0$39dc5ba0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <004b01d09ff1$134973e0$39dc5ba0$@augustcellars.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: Ilari Liusvaara <ilari.liusvaara@elisanet.fi>
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/bOOFC_W1L5xCpdUPhGoX0L6gRlk>
Cc: cose@ietf.org
Subject: Re: [Cose] FW: New Version Notification for draft-schaad-cose-02.txt
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 06 Jun 2015 07:39:38 -0000

On Fri, Jun 05, 2015 at 05:37:57PM -0700, Jim Schaad wrote:
> > Subject: New Version Notification for draft-schaad-cose-02.txt
> > 
> > URL:            https://www.ietf.org/internet-drafts/draft-schaad-cose-02.txt
> > Status:         https://datatracker.ietf.org/doc/draft-schaad-cose/
> > Htmlized:       https://tools.ietf.org/html/draft-schaad-cose-02
> > Diff:           https://www.ietf.org/rfcdiff?url2=draft-schaad-cose-02

Did a quick review (some of the stuff is new, some is still standing
from previous review (I did go through the reply briefly):


1) Section 5:

"  recipients  contains the recipient information.  The field can have
      one of two data types:

   o  An array of COSE_encrypt elements, one for each recipient.
"

Err... Expected list of 2 items, found 1.


2) Section 5.1.2:

"The 'protected', 'iv', 'aad', 'ciphertext' and 'recipients' fields
MUST be absent."

Apeendix B contains some text about applying RSA-KEM. It says
there are three layers. Wouldn't the middle layer be key wrapping,
and thus seemingly violate that MUST not have recipients?

3) Sections 5.1.3, 5.1.4 and 5.1.5:

"The 'protected', 'aad', and 'iv' fields MUST be absent."

Recipients is allowed? What semantics does that have?
Decrypts to private key of appropriate type, to be used
for decryption?

4) Section 5.1.4:

"The 'protected', 'aad', and 'iv' fields MUST be absent."

Can ciphertext field be present, depending on the algorithm?
Epk has to be present, wouldn't that contain the key agreement
values?

5) Section 5.1.5:

"At a minimum, the 'unprotected' field SHOULD contain the 'alg'
parameter, a parameter identifying the recipient asymmetric key,
and a parameter with the sender's asymmetric public key."

I realize this is written to allow ECDH static-static. However,
as comment of adding ECDH static-static, if one does that, one
either has to either:

- Include a nonce field, to be mixed in at KDF stage.
- Be careful what key wrapping algorithms one uses.

The reason for that is that many encryption algorithms have
nonces that are:

- Too short to randomly generate without unacceptably high risk
  of collision (and used too long to reliably count).
- Catastrophically break the algorithm if repeated.

e.g. AES-KW is ok, since it lacks nonce entierely. e.g. AES-GCM is not,
because its 12 byte nonce is too short for random generation.

6) Section 5.2:

"If there is protected data, CBOR encode the map to a byte string
and place in the protected field of the Enc_structure and the
COSE_Encrypt structure."

And what if there isn't, what is written into Enc_structure?
- Nonexistent?
- 0xF6 (null)?
- 0x60 (empty string)?
- 0x61 0xA0 (empty map)?

7) Section 5.2:

"Copy the 'aad' field from the COSE_Encrypt structure to the
Enc_Structure."

And what if 'aad' is absent, what is copied?
- Nonexistent (creates problems if protected also can be nonexistent)?
- 0xF6 (null)?
- 0x60 (empty string, but to me it seems nonexistent != empty string)?

8) Section 6:

"Create a MAC_structure and copy the protected and payload
elements from the COSE_mac structure."

What if protected element is missing (the choices seem to be the same
as in 6)? 

9) Section C:

It might be possible to format those examples in way that is easier to
read (TODO: Try various formattings).

10) Section C.1:

Maybe add TODO note about ECDH-SS. Does not seem to be defined
anywhere (I searched this draft, JWA, JWK, JWE and JWS).

[TODO: ECDH-SS and spk parameter are to be defined]

Or something like that.

11) Section D:

It occurs to me that if using "decode to pointer table", the technique
is more efficient the smaller the largest understood key is (or the
less understood keys there are).

OTOH, dunno to what extent overlaps in the table complicate
implementations. Encryption, Signatures and MACs seem quite separate.

The idea of "decode to pointer table" is to first do scan pass where
pointers to values of various fields are written into table, and then
operate on those pointers, decoding appropriate values (this is since
values can appear in any order in maps).


12) (general, algorithms draft stuff):

How would ECDH using CFRG curves (that should be stable now) be done?
The public keys have only one 32/56 byte octet string (and the private
keys too).

While ECDH part should be stable, that is part of larger document, where
at least signature parts are under work, so I don't know about the
schedule of that draft.


-Ilari


From nobody Sat Jun  6 16:50:11 2015
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 832B21A0029; Sat,  6 Jun 2015 16:50:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.799
X-Spam-Level: 
X-Spam-Status: No, score=0.799 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dbciL5Gv-G0U; Sat,  6 Jun 2015 16:50:07 -0700 (PDT)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0143.outbound.protection.outlook.com [207.46.100.143]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C65BE1A001C; Sat,  6 Jun 2015 16:50:07 -0700 (PDT)
Received: from BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) by BY2PR03MB443.namprd03.prod.outlook.com (10.141.141.152) with Microsoft SMTP Server (TLS) id 15.1.184.10; Sat, 6 Jun 2015 23:50:06 +0000
Received: from BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) by BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) with mapi id 15.01.0184.014; Sat, 6 Jun 2015 23:50:06 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, "jose@ietf.org" <jose@ietf.org>, "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [Cose] Use of supplied authenticated information with AEAD algorithms
Thread-Index: AdCgs4SjUrfkds2zS0eiti0pLyx2hA==
Date: Sat, 6 Jun 2015 23:50:05 +0000
Message-ID: <BY2PR03MB44219EF2DB00A613AFFB028F5B10@BY2PR03MB442.namprd03.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: augustcellars.com; dkim=none (message not signed) header.d=none;
x-originating-ip: [66.194.79.10]
x-microsoft-exchange-diagnostics: 1; BY2PR03MB443; 3:hYw4zKjRtUOxdseURvFRY23EI95ra7F5cYEjkxPkvVqtimRe9sv9olUjFOBP36ujab2Rnpn6YDRy9JmnNNCwN4wJiWrBs5RtpHJPwiob0sQP61P3Iz+zmKpM6Z7+Iqw/1LCUnDS+jyLuRbG8M3v/Qg==; 10:nDnnAdrUL1ZrJPldhN/FaHSbLNGz+BDG5jF6bEMp+MaXI2XPrKUmu6KvTPZjhMq77aor3mMEcpNXp2ydRfzDPhxpERAW2TlhGhJC4tC0QHc=; 6:Bh1iP6eqtwSV72LmVxUTSfwjA+sHNAf7CcitsVhzMXDamLsb6WoUM3owwdOciOp8
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB443;
x-microsoft-antispam-prvs: <BY2PR03MB443975A44A32E2FC50C4667F5B10@BY2PR03MB443.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(520003)(5005006)(3002001); SRVR:BY2PR03MB443; BCL:0;  PCL:0; RULEID:; SRVR:BY2PR03MB443; 
x-forefront-prvs: 05991796DF
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(52604005)(377454003)(2900100001)(19625215002)(62966003)(74316001)(77156002)(50986999)(19609705001)(122556002)(66066001)(54356999)(86362001)(19580395003)(19300405004)(102836002)(15975445007)(92566002)(2201001)(99286002)(40100003)(33656002)(77096005)(46102003)(2656002)(87936001)(19617315012)(86612001)(19580405001)(5001770100001)(76576001)(107886002)(5002640100001)(16236675004)(5001920100001)(5001960100002)(189998001)(2501003); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB443; H:BY2PR03MB442.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: multipart/alternative; boundary="_000_BY2PR03MB44219EF2DB00A613AFFB028F5B10BY2PR03MB442namprd_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jun 2015 23:50:05.3257 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB443
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/I-862dCTKf9-rkblt1CGAsa_pJg>
Subject: Re: [Cose] Use of supplied authenticated information with AEAD algorithms
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 06 Jun 2015 23:50:10 -0000

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

I'd overlooked this note earlier, so am just replying now.  Jim, the case o=
f detached additional authenticated data is an interesting one.  Thanks for=
 bringing this up.

As an initial reaction, is there a reason this couldn't be handled in the s=
ame manner as detached payloads, as is done in JWS Appendix F http://tools.=
ietf.org/html/rfc7515#appendix-F, by omitting the AAD value in the transmit=
ted form but including it in the integrity computation?

                                                            -- Mike

From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Wednesday, April 08, 2015 4:19 PM
To: jose@ietf.org; cose@ietf.org
Subject: [Cose] Use of supplied authenticated information with AEAD algorit=
hms

In the process of going through the use cases that have arisen for dealing =
with the COSE world in ACE.  I have come to a realization that we have perh=
aps messed up the paradigm for additional data when dealing with AEAD algor=
ithms.  I don't think this is an issue for the world which JOSE came out of=
, but it may be an issue going in the future and is definitely an issue for=
 the world of CoAP.

In JOSE we make the assumption that all of the additional authenticated dat=
a is transmitted as part of the JOSE message.  This makes sense because we =
did not have a large number of cases where it would not be.  However, if on=
e looks at the CoAP/ACE world this is not always true.  In their case they =
are going to want to potentially have both authenticated data carried as pa=
rt of the message, but also have authenticated data which is carried in the=
 envelope.

Case of sending a JWT, this would be the equivalent of needing to send the =
name of the originator in the headers and still wanting to have it validate=
d as part of the token.  (As opposed to just sending it in the body of the =
JWT.)

I don't know of any cases currently where this is a problem for JOSE.  I do=
 know that it is a potential problem for COSE.

Can any body think of a use case for JOSE where this paradigm needs to be f=
ixed?

Jim


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">I&#8217;d overlooked t=
his note earlier, so am just replying now.&nbsp; Jim, the case of detached =
additional authenticated data is an interesting one.&nbsp; Thanks for bring=
ing this up.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">As an initial reaction=
, is there a reason this couldn&#8217;t be handled in the same manner as de=
tached payloads, as is done in JWS Appendix F
<a href=3D"http://tools.ietf.org/html/rfc7515#appendix-F">http://tools.ietf=
.org/html/rfc7515#appendix-F</a>, by omitting the AAD value in the transmit=
ted form but including it in the integrity computation?<o:p></o:p></span></=
p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Cose [ma=
ilto:cose-bounces@ietf.org]
<b>On Behalf Of </b>Jim Schaad<br>
<b>Sent:</b> Wednesday, April 08, 2015 4:19 PM<br>
<b>To:</b> jose@ietf.org; cose@ietf.org<br>
<b>Subject:</b> [Cose] Use of supplied authenticated information with AEAD =
algorithms<o:p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In the process of going through the use cases that h=
ave arisen for dealing with the COSE world in ACE.&nbsp; I have come to a r=
ealization that we have perhaps messed up the paradigm for additional data =
when dealing with AEAD algorithms.&nbsp; I don&#8217;t
 think this is an issue for the world which JOSE came out of, but it may be=
 an issue going in the future and is definitely an issue for the world of C=
oAP.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In JOSE we make the assumption that all of the addit=
ional authenticated data is transmitted as part of the JOSE message.&nbsp; =
This makes sense because we did not have a large number of cases where it w=
ould not be.&nbsp; However, if one looks at
 the CoAP/ACE world this is not always true.&nbsp; In their case they are g=
oing to want to potentially have both authenticated data carried as part of=
 the message, but also have authenticated data which is carried in the enve=
lope.&nbsp;
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Case of sending a JWT, this would be the equivalent =
of needing to send the name of the originator in the headers and still want=
ing to have it validated as part of the token.&nbsp; (As opposed to just se=
nding it in the body of the JWT.)<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I don&#8217;t know of any cases currently where this=
 is a problem for JOSE.&nbsp; I do know that it is a potential problem for =
COSE.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Can any body think of a use case for JOSE where this=
 paradigm needs to be fixed?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Jim<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_BY2PR03MB44219EF2DB00A613AFFB028F5B10BY2PR03MB442namprd_--


From nobody Sat Jun  6 17:33:35 2015
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0D5571A1B4A for <cose@ietfa.amsl.com>; Sat,  6 Jun 2015 17:33:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.798
X-Spam-Level: 
X-Spam-Status: No, score=0.798 tagged_above=-999 required=5 tests=[BAYES_50=0.8, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id dY11Icb83OMS for <cose@ietfa.amsl.com>; Sat,  6 Jun 2015 17:33:31 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0774.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::1:774]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 095901A1B49 for <cose@ietf.org>; Sat,  6 Jun 2015 17:33:30 -0700 (PDT)
Received: from BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) by BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) with Microsoft SMTP Server (TLS) id 15.1.184.10; Sun, 7 Jun 2015 00:33:09 +0000
Received: from BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) by BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) with mapi id 15.01.0184.014; Sun, 7 Jun 2015 00:33:09 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Derek Atkins <derek@ihtfp.com>
Thread-Topic: [Cose] Issue:  Reuse the Enrypt structure for recipients
Thread-Index: AQHQjN+10lJyO1ENSaipAaz9l4o5Tp2gVqpg
Date: Sun, 7 Jun 2015 00:33:08 +0000
Message-ID: <BY2PR03MB442E7F209FFBF0B4D9B2FA7F5B00@BY2PR03MB442.namprd03.prod.outlook.com>
References: <001c01d08399$642ed490$2c8c7db0$@augustcellars.com> <sjmlhgv16m0.fsf@securerf.ihtfp.org> <008401d08c33$504feb60$f0efc220$@augustcellars.com> <BY2PR03MB44239554F035F86FAF90F13F5DB0@BY2PR03MB442.namprd03.prod.outlook.com> <008601d08c3c$6049a570$20dcf050$@augustcellars.com> <BY2PR03MB4421062B90DED9C1C38C45AF5DB0@BY2PR03MB442.namprd03.prod.outlook.com> <sjm8uct1x22.fsf@securerf.ihtfp.org>
In-Reply-To: <sjm8uct1x22.fsf@securerf.ihtfp.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: ihtfp.com; dkim=none (message not signed) header.d=none;
x-originating-ip: [66.194.79.10]
x-microsoft-exchange-diagnostics: 1; BY2PR03MB442; 3:aCC71U/9l1QcIWaS4LsN/86NRnxlpToJKhGMUjXgFwhm2zxrrhbdGNIH2oW+PpkMroA3Tm4EdMR/IfqXbenCxRgxEMSjlOS45pLL2MVb6orQctFdmBS3e/mpgv+N0lFPCSwvanJkZk5rwnO031Hp+Q==; 10:mYAW9ShdC77Nw92v64SbasRdaOr92JW4HRV+g9WSmNs43f431D1+zYViVdJADpa/2y30tEXZlI1TlVq+E8lZoJ/EqTB68AEpYjW0xe4PBL4=; 6:aPtifTcE6xuhL/ZpMRDuBBfL81Hy+C3N5gKopU7bUhIv3FdA+Q0cPzpLY4/GuR2B
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB442;
x-microsoft-antispam-prvs: <BY2PR03MB442F85951E7B4E58380FEBCF5B00@BY2PR03MB442.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(520003)(5005006)(3002001); SRVR:BY2PR03MB442; BCL:0;  PCL:0; RULEID:; SRVR:BY2PR03MB442; 
x-forefront-prvs: 0600F93FE1
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(51704005)(377454003)(13464003)(54356999)(76176999)(46102003)(50986999)(66066001)(5001920100001)(92566002)(189998001)(5001960100002)(110136002)(106116001)(99286002)(76576001)(15974865002)(86612001)(19580405001)(19580395003)(5002640100001)(93886004)(74316001)(122556002)(561944003)(33656002)(2656002)(87936001)(40100003)(62966003)(77156002)(86362001)(77096005)(2900100001)(15975445007)(2950100001)(102836002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB442; H:BY2PR03MB442.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jun 2015 00:33:08.2583 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB442
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/oT89_INw8xoztyPImf3U6689bpw>
Cc: Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Issue:  Reuse the Enrypt structure for recipients
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Jun 2015 00:33:34 -0000

Replying to Derek's question " I guess my question to you (not being as int=
imately familiar with JWKs) is whether the algorithm of the wrapped (encryp=
ted) key is exposed somewhere outside the wrapping?"...

Yes, in JOSE, the key wrap algorithm is always explicitly declared in the J=
WE "alg" header parameter http://tools.ietf.org/html/rfc7516#section-4.1.1.=
  Repeating the algorithm in the equivalent of a JWK "alg" member http://to=
ols.ietf.org/html/rfc7517#section-4.4 would only add redundant information,=
 both increasing the message size, and possibly worse, creating new error c=
ases that would have to be checked for.  For instance, a new error that thi=
s approach would introduce that is impossible for JWE encrypted_key values =
is for the two algorithm declarations not to match.  It's simpler and less =
error prone when the data structure can't represent such inconsistent state=
s in the first place.

				Cheers,
				-- Mike

-----Original Message-----
From: Derek Atkins [mailto:derek@ihtfp.com]=20
Sent: Tuesday, May 12, 2015 11:16 AM
To: Mike Jones
Cc: Jim Schaad; 'Derek Atkins'; cose@ietf.org
Subject: Re: [Cose] Issue: Reuse the Enrypt structure for recipients

Mike Jones <Michael.Jones@microsoft.com> writes:

> What was presented to the JOSE working group in Denver by Richard Barnes =
was the option of representing encrypted keys as encrypted JWK structures, =
rather than just encrypted bare keys.  The choice is between encrypting:
>     {"kty":"oct",
>      "alg":"A128KW",
>      "k":"GawgguFyGrWKav7AX4VKUg"}
> or simply the bytes that "k" represents in base64url encoded form.  Encry=
pting just the bytes is smaller, and contains no redundant information that=
 will simply be discarded.

Is it necesarily redundant?  What says that the key being encrypted
(wrapped) is of the exact same algorithm/size/mode as the method being used=
 to encrypt/wrap it?

E.g., I can certainly posit a situation where I am encrypting an AES-128-CC=
M key with an AES-256-GCM key (Or even more, I could see encrypting a 3DES =
key with AES).  In this case the extra information is definitely not redund=
ant, and is certainly not derivable just from 'k'.

I guess my question to you (not being as intimately familiar with JWKs) is =
whether the algorithm of the wrapped (encrypted) key is exposed somewhere o=
utside the wrapping?

> That's why the JOSE working group rejected using encrypted JWKs as the en=
crypted_key representation.  If the "encrypt structure" you're referring to=
 is different than this, it would probably be good to explain what it is, h=
ow you're proposing to reuse it, and why reusing it doesn't add extraneous =
unused information, as Richard's proposal in Denver did.

...

> 				-- Mike

-derek

> -----Original Message-----
> From: Jim Schaad [mailto:ietf@augustcellars.com]
> Sent: Monday, May 11, 2015 11:47 PM
> To: Mike Jones; 'Derek Atkins'
> Cc: cose@ietf.org
> Subject: RE: [Cose] Issue: Reuse the Enrypt structure for recipients
>
> I don't understand what you are arguing for or against.
>
> Are you saying don't do the reuse of the structure?
> Are you saying don't do the extra tagging of encrypted key vs encrypted c=
ontent?
> Are you saying something completely different?
>
> jim
>
>> -----Original Message-----
>> From: Mike Jones [mailto:Michael.Jones@microsoft.com]
>> Sent: Monday, May 11, 2015 3:25 PM
>> To: Jim Schaad; 'Derek Atkins'
>> Cc: cose@ietf.org
>> Subject: RE: [Cose] Issue: Reuse the Enrypt structure for recipients
>>=20
>> From my point of view, the JOSE WG didn't reject encrypting a JWK to=20
>> represent the encrypted key because it was a change.  The working=20
>> group rejected it because there was no need to carry any data that=20
>> would remain unused about the encrypted key, when just the the=20
>> encrypted key value
> itself
>> would do.  Particularly in a space-constrained environment, carrying=20
>> extra metadata about a key that will only be discarded seems wasteful=20
>> in the extreme.
>>=20
>> I would advocate having the encrypted_key value remain only an=20
>> encrypted form of the CEK value, adding nothing extra.
>>=20
>> 				- Mike
>>=20
>> -----Original Message-----
>> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
>> Sent: Monday, May 11, 2015 10:42 PM
>> To: 'Derek Atkins'
>> Cc: cose@ietf.org
>> Subject: Re: [Cose] Issue: Reuse the Enrypt structure for recipients
>>=20
>> At the present time, that information can easily be inferred by context.
> In the
>> event that we want to talk about use the "recipient" structure as a=20
>> top
> level
>> object then I think this question would need to be revisited.
>>=20
>> Jim
>>=20
>>=20
>> > -----Original Message-----
>> > From: Derek Atkins [mailto:derek@ihtfp.com]
>> > Sent: Monday, May 11, 2015 8:23 AM
>> > To: Jim Schaad
>> > Cc: cose@ietf.org
>> > Subject: Re: [Cose] Issue: Reuse the Enrypt structure for=20
>> > recipients
>> >
>> > I believe that yes, the map should be reused, however if we do that=20
>> > I wonder whether you need to add a tag that says whether it's an=20
>> > encrypted key or encrypted 'data'?
>> >
>> > -derek
>> >
>> > "Jim Schaad" <ietf@augustcellars.com> writes:
>> >
>> > > Question:  Reuse Encrypt body map for recipients
>> > >
>> > > Discussion:
>> > >
>> > > The concept of using the same structure for both recipients and=20
>> > > the base encryption map was introduced to the JOSE working group=20
>> > > at the Denver meeting.  The JOSE working group rejected the idea=20
>> > > as being too much of a change to make in the current working code.
>> > > The concept is that the same data structure, with the same=20
>> > > elements is used to encode both the content encryption and each=20
>> > > of the recipient
>> structures.
>> > > While in JOSE, many of the same elements are not present in the=20
>> > > recipient structure (i.e. iv and aad), some of these elements=20
>> > > later appeared as part of algorithm descriptions (iv is a header=20
>> > > parameter
>> > defined for AES-GCM key wrapping).
>> > >
>> > > Using the same structure for encrypting content as well as=20
>> > > encrypting keys allows for some neat tricks to be played at a=20
>> > > later date if needed.  One example is that you could separate the=20
>> > > key wrapping algorithm, and the ECDH-KDF algorithm pair into=20
>> > > separate layers.  This allows one to move towards a Chinese Menu=20
>> > > method of selecting and using algorithms rather than the current=20
>> > > algorithm suite
>> method.
>> > > While I would not recommend that this happen in the current=20
>> > > specification, it might be nice to keep it open as an option to=20
>> > > be used
>> in the
>> > future as new algorithms are added.
>> > >
>> > > Another advantage of doing this folding is in code size.  In my=20
>> > > implementation, I have created the recipient class as inheriting=20
>> > > from the encryption body class.  The recipient class contains=20
>> > > only code that deals with the cryptography of key management. =20
>> > > All of the
>> > encoding/decoding is
>> > > handled by the base encryption class.   If the structures are kept
>> separate
>> > > as they are today then that code would need to be added to the=20
>> > > recipient class.  While my code does not currently deal with idea=20
>> > > of having multiple layers of key management.  I believe that this=20
>> > > would be a minimal addition to the current code base.
>> > >
>> > >
>> > > _______________________________________________
>> > > Cose mailing list
>> > > Cose@ietf.org
>> > > https://www.ietf.org/mailman/listinfo/cose
>> > >
>> > >
>> >
>> > --
>> >        Derek Atkins                 617-623-3745
>> >        derek@ihtfp.com             www.ihtfp.com
>> >        Computer and Internet Security Consultant
>>=20
>> _______________________________________________
>> Cose mailing list
>> Cose@ietf.org
>> https://www.ietf.org/mailman/listinfo/cose
>
>
>

--=20
       Derek Atkins                 617-623-3745
       derek@ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant


From nobody Sat Jun  6 18:09:30 2015
Return-Path: <ietf@augustcellars.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9FFCE1A1BB5; Sat,  6 Jun 2015 18:09:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.801
X-Spam-Level: 
X-Spam-Status: No, score=0.801 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5iu8fiRG7FQW; Sat,  6 Jun 2015 18:09:25 -0700 (PDT)
Received: from smtp3.pacifier.net (smtp3.pacifier.net [64.255.237.177]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D87621A1BB1; Sat,  6 Jun 2015 18:09:25 -0700 (PDT)
Received: from hebrews (unknown [104.240.61.209]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp3.pacifier.net (Postfix) with ESMTPSA id B590E38EFE; Sat,  6 Jun 2015 18:09:24 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Mike Jones'" <Michael.Jones@microsoft.com>, <jose@ietf.org>, <cose@ietf.org>
References: <BY2PR03MB44219EF2DB00A613AFFB028F5B10@BY2PR03MB442.namprd03.prod.outlook.com>
In-Reply-To: <BY2PR03MB44219EF2DB00A613AFFB028F5B10@BY2PR03MB442.namprd03.prod.outlook.com>
Date: Sat, 6 Jun 2015 18:09:08 -0700
Message-ID: <009801d0a0be$9bb2c880$d3185980$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0099_01D0A083.EF548CC0"
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQICb9aFkiTXAgeTegYz4it7vRUZe508nUBA
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/uKSA9XE35SorZzVnItg7jtLwCQY>
Subject: Re: [Cose] Use of supplied authenticated information with AEAD algorithms
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Jun 2015 01:09:28 -0000

This is a multipart message in MIME format.

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

You would have a potential flexibility issue of not having both types, other
than that it would not be an issue.

 

From: Mike Jones [mailto:Michael.Jones@microsoft.com] 
Sent: Saturday, June 06, 2015 4:50 PM
To: Jim Schaad; jose@ietf.org; cose@ietf.org
Subject: RE: [Cose] Use of supplied authenticated information with AEAD
algorithms

 

I'd overlooked this note earlier, so am just replying now.  Jim, the case of
detached additional authenticated data is an interesting one.  Thanks for
bringing this up.

 

As an initial reaction, is there a reason this couldn't be handled in the
same manner as detached payloads, as is done in JWS Appendix F
http://tools.ietf.org/html/rfc7515#appendix-F, by omitting the AAD value in
the transmitted form but including it in the integrity computation?

 

                                                            -- Mike

 

From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Wednesday, April 08, 2015 4:19 PM
To: jose@ietf.org <mailto:jose@ietf.org> ; cose@ietf.org
<mailto:cose@ietf.org> 
Subject: [Cose] Use of supplied authenticated information with AEAD
algorithms

 

In the process of going through the use cases that have arisen for dealing
with the COSE world in ACE.  I have come to a realization that we have
perhaps messed up the paradigm for additional data when dealing with AEAD
algorithms.  I don't think this is an issue for the world which JOSE came
out of, but it may be an issue going in the future and is definitely an
issue for the world of CoAP.

 

In JOSE we make the assumption that all of the additional authenticated data
is transmitted as part of the JOSE message.  This makes sense because we did
not have a large number of cases where it would not be.  However, if one
looks at the CoAP/ACE world this is not always true.  In their case they are
going to want to potentially have both authenticated data carried as part of
the message, but also have authenticated data which is carried in the
envelope.  

 

Case of sending a JWT, this would be the equivalent of needing to send the
name of the originator in the headers and still wanting to have it validated
as part of the token.  (As opposed to just sending it in the body of the
JWT.)

 

I don't know of any cases currently where this is a problem for JOSE.  I do
know that it is a potential problem for COSE.

 

Can any body think of a use case for JOSE where this paradigm needs to be
fixed?

 

Jim

 


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><META =
HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 15 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
span.EmailStyle18
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'color:#1F497D'>You would have a potential flexibility issue of =
not having both types, other than that it would not be an =
issue.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #E1E1E1 =
1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b>From:</b> Mike =
Jones [mailto:Michael.Jones@microsoft.com] <br><b>Sent:</b> Saturday, =
June 06, 2015 4:50 PM<br><b>To:</b> Jim Schaad; jose@ietf.org; =
cose@ietf.org<br><b>Subject:</b> RE: [Cose] Use of supplied =
authenticated information with AEAD =
algorithms<o:p></o:p></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'>I&#8217;d overlooked this note earlier, so am =
just replying now.&nbsp; Jim, the case of detached additional =
authenticated data is an interesting one.&nbsp; Thanks for bringing this =
up.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:#1F497D'>As an initial reaction, =
is there a reason this couldn&#8217;t be handled in the same manner as =
detached payloads, as is done in JWS Appendix F <a =
href=3D"http://tools.ietf.org/html/rfc7515#appendix-F">http://tools.ietf.=
org/html/rfc7515#appendix-F</a>, by omitting the AAD value in the =
transmitted form but including it in the integrity =
computation?<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp; -- Mike<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div =
style=3D'border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma",sans-serif'>From:</span></=
b><span style=3D'font-size:10.0pt;font-family:"Tahoma",sans-serif'> Cose =
[<a =
href=3D"mailto:cose-bounces@ietf.org">mailto:cose-bounces@ietf.org</a>] =
<b>On Behalf Of </b>Jim Schaad<br><b>Sent:</b> Wednesday, April 08, 2015 =
4:19 PM<br><b>To:</b> <a =
href=3D"mailto:jose@ietf.org">jose@ietf.org</a>; <a =
href=3D"mailto:cose@ietf.org">cose@ietf.org</a><br><b>Subject:</b> =
[Cose] Use of supplied authenticated information with AEAD =
algorithms<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>In the =
process of going through the use cases that have arisen for dealing with =
the COSE world in ACE.&nbsp; I have come to a realization that we have =
perhaps messed up the paradigm for additional data when dealing with =
AEAD algorithms.&nbsp; I don&#8217;t think this is an issue for the =
world which JOSE came out of, but it may be an issue going in the future =
and is definitely an issue for the world of CoAP.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>In JOSE we =
make the assumption that all of the additional authenticated data is =
transmitted as part of the JOSE message.&nbsp; This makes sense because =
we did not have a large number of cases where it would not be.&nbsp; =
However, if one looks at the CoAP/ACE world this is not always =
true.&nbsp; In their case they are going to want to potentially have =
both authenticated data carried as part of the message, but also have =
authenticated data which is carried in the envelope.&nbsp; =
<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Case of sending a JWT, this would be the equivalent of =
needing to send the name of the originator in the headers and still =
wanting to have it validated as part of the token.&nbsp; (As opposed to =
just sending it in the body of the JWT.)<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I =
don&#8217;t know of any cases currently where this is a problem for =
JOSE.&nbsp; I do know that it is a potential problem for =
COSE.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Can any body think of a use case for JOSE where this =
paradigm needs to be fixed?<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Jim<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></body></html>
------=_NextPart_000_0099_01D0A083.EF548CC0--


From nobody Sun Jun  7 10:59:40 2015
Return-Path: <jricher@mit.edu>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E982C1ACCE8 for <cose@ietfa.amsl.com>; Sun,  7 Jun 2015 10:59:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.511
X-Spam-Level: 
X-Spam-Status: No, score=-1.511 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TNrhPWqGdnbx for <cose@ietfa.amsl.com>; Sun,  7 Jun 2015 10:59:38 -0700 (PDT)
Received: from dmz-mailsec-scanner-1.mit.edu (dmz-mailsec-scanner-1.mit.edu [18.9.25.12]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 768D11ACCE2 for <cose@ietf.org>; Sun,  7 Jun 2015 10:59:37 -0700 (PDT)
X-AuditID: 1209190c-f79936d000000dc6-37-55748687dcd7
Received: from mailhub-auth-3.mit.edu ( [18.9.21.43]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-1.mit.edu (Symantec Messaging Gateway) with SMTP id 41.CA.03526.78684755; Sun,  7 Jun 2015 13:59:36 -0400 (EDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-3.mit.edu (8.13.8/8.9.2) with ESMTP id t57HxZJM010011 for <cose@ietf.org>; Sun, 7 Jun 2015 13:59:35 -0400
Received: from [172.20.0.173] (rrcs-74-62-50-2.west.biz.rr.com [74.62.50.2]) (authenticated bits=0) (User authenticated as jricher@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id t57HxWvV003752 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <cose@ietf.org>; Sun, 7 Jun 2015 13:59:34 -0400
From: Justin Richer <jricher@MIT.EDU>
X-Pgp-Agent: GPGMail 2.5b6
Content-Type: multipart/signed; boundary="Apple-Mail=_892C2A09-0960-4ABC-9F79-0244AAAB7DE6"; protocol="application/pgp-signature"; micalg=pgp-sha256
Date: Sun, 7 Jun 2015 10:59:34 -0700
Message-Id: <AB43A99A-6FD2-417B-87BE-75F4CE513472@mit.edu>
To: "cose@ietf.org" <cose@ietf.org>
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprEKsWRmVeSWpSXmKPExsUixCmqrdvRVhJqcJzfYtrWqawOjB5Llvxk CmCM4rJJSc3JLEst0rdL4Mr4vOEda8EhgYp3C74wNTDO4Oti5OSQEDCRWHRnHROELSZx4d56 ti5GLg4hgcVMEuv7prJCOEcYJb6vm84I4dxhkti26SwbSAubgKrE/JW3oNqlJJpeHwMrYhaY wijx7PBsRpCEsICoRNuCL+wgNouAisScBzNYuhg5OHgFrCQOv9cCCYsIKEtMOtbMCmLzCuhJ PHr6mB2kREJAVuLrVrkJjHyzkE2dhaQMxGYW0JZYtvA1M4StKbG/ezkLhC0vsf3tHKi4pcTi mTeg4rYSt/oWMEHYdhKPpi1iXcDIsYpRNiW3Sjc3MTOnODVZtzg5MS8vtUjXUC83s0QvNaV0 EyM4uCV5djC+Oah0iFGAg1GJh/fFzOJQIdbEsuLK3EOMkhxMSqK813NKQoX4kvJTKjMSizPi i0pzUosPMaoA7Xq0YfUFRimWvPy8VCURXhVuoDrelMTKqtSifJgyaQ4WJXHeTT/4QoQE0hNL UrNTUwtSi2CyMhwcShK8mq1AjYJFqempFWmZOSUIaSYOzkOMEhw8QMOjW0CGFxck5hZnpkPk TzEqSonzyoI0C4AkMkrz4HphSekVozjQW8K8RiBVPMCEBtf9CmgwE9Dg71+LQQaXJCKkpBoY mV9zyz02fxzp94inbfnEeft81Aw0jQzn2rmFLZs5uXgWk0TQxy3cJVHc/8q7398KkIrhTbq3 eFnvrecLXwWwlaSZ+rRcTGhVaq9J91gc9emEWnDi+uLEvCtyW4QSJ69RqLr4fV57mMe3awed u00Zvwur+f3m2LW36rP5z87KTns7j5kGntuUWIozEg21mIuKEwGGln/xJQMAAA==
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/_N5oxmRyGCupNmLhd7FwZw-9dnw>
Subject: [Cose] Introduction
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 07 Jun 2015 17:59:40 -0000

--Apple-Mail=_892C2A09-0960-4ABC-9F79-0244AAAB7DE6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi everybody,

As many of you have seen, I=E2=80=99m one of your chairs in the =
newly-formed COSE working group. I=E2=80=99ve been an active member of =
several groups here in the IETF, most notably the OAuth and JOSE groups =
for a number of years, as well as participating in other standards =
groups in other SDO=E2=80=99s. I=E2=80=99ve edited several RFC-track =
documents and contributed to several published specifications. =
Additionally, I=E2=80=99m also a software engineer with submission =
credits on many open source projects, most relevant to here being the =
Nimbus JOSE JWT library for Java.

I=E2=80=99m here not to drive any particular implementation or agenda, =
but as chair I=E2=80=99m here to facilitate the group, to help it work =
efficiently and work well. That said, I do believe there=E2=80=99s a lot =
that we can lean on from past efforts (especially JOSE, from which this =
group has sprung), and if at all possible I would like this new effort =
to avoid taking the 4.5 years that JOSE did from inception to RFC.

I will be at the Prague meeting in person, and I look forward to working =
with you all.

 =E2=80=94 Justin

--Apple-Mail=_892C2A09-0960-4ABC-9F79-0244AAAB7DE6
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----

iQEcBAEBCAAGBQJVdIaHAAoJEDPAngkbd+w94ukH/2YSjZkCU7jlcIsg0WhFqAV3
cNDxVljisSR4CL4gVRymqC1HCP6d2hkqQdYnqhd2rzwjqyk/IG+tPOgdE727cVln
+aZn1UgEvznWEVYCH5Qev7eM+9rgeps6lOA0afWAdyjq4/mL+h76lm4WALES/Xhd
gpmRnMQER7fhRDzKxkVQSI+C0o3MqDg+t9DlytEHEq/cO1OR7BZJujB0zFSGHudk
++W5xBzDvfLzQ3ERJ5hvpZPMTbeiT3pgXcZ09gCQ3i+kTxX74url8fkuUlWraLsp
pVgUYLzYYy1S58bbP62E+M5V8WsPOpEfvJK1aFoXrB03h2v/sMCJwghKBTRF5n4=
=pwS/
-----END PGP SIGNATURE-----

--Apple-Mail=_892C2A09-0960-4ABC-9F79-0244AAAB7DE6--


From nobody Sun Jun  7 18:37:00 2015
Return-Path: <kepeng.lkp@alibaba-inc.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 836D81A8952 for <cose@ietfa.amsl.com>; Sun,  7 Jun 2015 18:36:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 3.151
X-Spam-Level: ***
X-Spam-Status: No, score=3.151 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, MIME_CHARSET_FARAWAY=2.45, MIME_QP_LONG_LINE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gF4GH2DdBHSv for <cose@ietfa.amsl.com>; Sun,  7 Jun 2015 18:36:57 -0700 (PDT)
Received: from out4133-50.mail.aliyun.com (out4133-50.mail.aliyun.com [42.120.133.50]) by ietfa.amsl.com (Postfix) with ESMTP id CE4551B2A21 for <cose@ietf.org>; Sun,  7 Jun 2015 18:36:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alibaba-inc.com; s=default; t=1433727415; h=Date:Subject:From:To:Message-ID:Mime-version:Content-type; bh=vlOfj8ufV4ePHxFjzE/oPByHWikvP5QbPxGJxXTRUEA=; b=OHgDGMV/4eGx8cB/5t+J/LoyFYo1eMTtLohmlhjnd7IGDwYKGlXlDy0Ih8ydtPDWdNFZaROuGV+VKp0IfbqsHSbhIfRprcnQk8mEMuBTme0fE+b1jT06yOvsMxnzs+n9OYaiVuG5INQizrGDkAJL+l9Hwf7QNihr0EM3lxEGr/4=
X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R451e4; FP=0|-1|-1|-1|0|-1|-1|-1; HT=r41g08151; MF=kepeng.lkp@alibaba-inc.com; PH=DS;  RN=2; RT=2; SR=0; 
Received: from 10.1.147.12(mailfrom:kepeng.lkp@alibaba-inc.com ip:42.120.74.158) by smtp.aliyun-inc.com(127.0.0.1); Mon, 08 Jun 2015 09:36:51 +0800
User-Agent: Microsoft-MacOutlook/14.4.8.150116
Date: Mon, 08 Jun 2015 09:36:45 +0800
From: "Kepeng Li" <kepeng.lkp@alibaba-inc.com>
To: Justin Richer <jricher@MIT.EDU>, "cose@ietf.org" <cose@ietf.org>
Message-ID: <D19B079C.CDA1%kepeng.lkp@alibaba-inc.com>
Thread-Topic: [Cose] Introduction
References: <AB43A99A-6FD2-417B-87BE-75F4CE513472@mit.edu>
In-Reply-To: <AB43A99A-6FD2-417B-87BE-75F4CE513472@mit.edu>
Mime-version: 1.0
Content-type: text/plain; charset="GB2312"
Content-transfer-encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/23xGqE1WB11f43CSrqXxnDDmiuU>
Subject: Re: [Cose] Introduction
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Jun 2015 01:36:59 -0000

Hi Justin,

Welcome on board!

I am the other co-chair for COSE working group, and I am also co-chairing
ACE working group.=20

I have been an active member of CoRE for several years, and my past
experience in IETF is mainly about Internet Of Things and security.

One of the COSE goals is to coordinate its progress with the ACE, DICE and
CORE working groups to ensure that we are fulfilling the needs of these
constituencies. I hope I can help these coordinations, and help the COSE
work to make progress efficiently.


I will also attend Prague F2F meeting, and I look forward to working with
you and our group participants.

BTW, I have requested one hour session for COSE in Prague, and let=A1=AFs have
the first WG meeting there.

Thanks,

Kind Regards
Kepeng

=D4=DA 8/6/15 1:59 am=A3=AC "Justin Richer" <jricher@MIT.EDU> =D0=B4=C8=EB:

>Hi everybody,
>
>As many of you have seen, I=A1=AFm one of your chairs in the newly-formed COSE
>working group. I=A1=AFve been an active member of several groups here in the
>IETF, most notably the OAuth and JOSE groups for a number of years, as
>well as participating in other standards groups in other SDO=A1=AFs. I=A1=AFve
>edited several RFC-track documents and contributed to several published
>specifications. Additionally, I=A1=AFm also a software engineer with
>submission credits on many open source projects, most relevant to here
>being the Nimbus JOSE JWT library for Java.
>
>I=A1=AFm here not to drive any particular implementation or agenda, but as
>chair I=A1=AFm here to facilitate the group, to help it work efficiently and
>work well. That said, I do believe there=A1=AFs a lot that we can lean on from
>past efforts (especially JOSE, from which this group has sprung), and if
>at all possible I would like this new effort to avoid taking the 4.5
>years that JOSE did from inception to RFC.
>
>I will be at the Prague meeting in person, and I look forward to working
>with you all.
>
> =A1=AA Justin
>_______________________________________________
>Cose mailing list
>Cose@ietf.org
>https://www.ietf.org/mailman/listinfo/cose



From nobody Mon Jun  8 08:38:46 2015
Return-Path: <derek@ihtfp.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7ACC81B2F59 for <cose@ietfa.amsl.com>; Mon,  8 Jun 2015 08:38:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.7
X-Spam-Level: 
X-Spam-Status: No, score=0.7 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZaYkoxojRVSP for <cose@ietfa.amsl.com>; Mon,  8 Jun 2015 08:38:36 -0700 (PDT)
Received: from mail2.ihtfp.org (mail2.ihtfp.org [IPv6:2001:4830:143:1::3a11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D5A1F1B2F79 for <cose@ietf.org>; Mon,  8 Jun 2015 08:37:37 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id AA587E2036; Mon,  8 Jun 2015 11:37:35 -0400 (EDT)
Received: from mail2.ihtfp.org ([127.0.0.1]) by localhost (mail2.ihtfp.org [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 32388-06; Mon,  8 Jun 2015 11:37:31 -0400 (EDT)
Received: from securerf.ihtfp.org (unknown [IPv6:fe80::ea2a:eaff:fe7d:235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mocana.ihtfp.org", Issuer "IHTFP Consulting Certification Authority" (verified OK)) by mail2.ihtfp.org (Postfix) with ESMTPS id AC382E2035; Mon,  8 Jun 2015 11:37:31 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1433777851; bh=GUeOiCu+5Vt+ODOxkMC8tdfb0OAmERDVqEyfF/nAgHY=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=AP1GtV+igpwVC5PPZzEsEIG91heG05EuA4v4NBfvuZtEbO7rwkSM6lCHov7KbqXvX Gb0/tJgkpAgkGY7ydCaviIdSXxu0BXC5t1RPNGu8WMsNuq+6/zzrh5ZuSBzux3aMio b6ZlqziOcY/+URTxzw4B+8BEpMwmDg6QZy0slxZs=
Received: (from warlord@localhost) by securerf.ihtfp.org (8.14.8/8.14.8/Submit) id t58FbVvV007804; Mon, 8 Jun 2015 11:37:31 -0400
From: Derek Atkins <derek@ihtfp.com>
To: Mike Jones <Michael.Jones@microsoft.com>
References: <001c01d08399$642ed490$2c8c7db0$@augustcellars.com> <sjmlhgv16m0.fsf@securerf.ihtfp.org> <008401d08c33$504feb60$f0efc220$@augustcellars.com> <BY2PR03MB44239554F035F86FAF90F13F5DB0@BY2PR03MB442.namprd03.prod.outlook.com> <008601d08c3c$6049a570$20dcf050$@augustcellars.com> <BY2PR03MB4421062B90DED9C1C38C45AF5DB0@BY2PR03MB442.namprd03.prod.outlook.com> <sjm8uct1x22.fsf@securerf.ihtfp.org> <BY2PR03MB442E7F209FFBF0B4D9B2FA7F5B00@BY2PR03MB442.namprd03.prod.outlook.com>
Date: Mon, 08 Jun 2015 11:37:31 -0400
In-Reply-To: <BY2PR03MB442E7F209FFBF0B4D9B2FA7F5B00@BY2PR03MB442.namprd03.prod.outlook.com> (Mike Jones's message of "Sun, 7 Jun 2015 00:33:08 +0000")
Message-ID: <sjmvbeygqis.fsf@securerf.ihtfp.org>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Virus-Scanned: Maia Mailguard 1.0.2a
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/RzEACgJKJ8ZFo1EhX5aUqFBg5CU>
Cc: Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Issue:  Reuse the Enrypt structure for recipients
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 08 Jun 2015 15:38:44 -0000

I guess I'm still confused...

What would the structure look like for encrypting an AES-128 key with
AES-256 encryption?

I would expect it to look something like:

JWE: { alg: aes256,
       data: <key> }

where <key> is the following data, encrypted and base64 encoded:

<key> : { alg: aes128,
          key: <hex or base64 of aes128 key> }

If the key used for the encryption of the JWE is not the same algorithm
as the key being encrypted then you NEED to be explicit.

Again, maybe I'm being confused by something because I'm not intimately
familiar with the data structures.  But I'll point out that this is why
Kerberos has both a KeyType and EncType, because the key being encrypted
could be for a different algorithm than the weapping of said key.

-derek

Mike Jones <Michael.Jones@microsoft.com> writes:

> Replying to Derek's question " I guess my question to you (not being
> as intimately familiar with JWKs) is whether the algorithm of the
> wrapped (encrypted) key is exposed somewhere outside the wrapping?"...
>
> Yes, in JOSE, the key wrap algorithm is always explicitly declared in
> the JWE "alg" header parameter
> http://tools.ietf.org/html/rfc7516#section-4.1.1.  Repeating the
> algorithm in the equivalent of a JWK "alg" member
> http://tools.ietf.org/html/rfc7517#section-4.4 would only add
> redundant information, both increasing the message size, and possibly
> worse, creating new error cases that would have to be checked for.
> For instance, a new error that this approach would introduce that is
> impossible for JWE encrypted_key values is for the two algorithm
> declarations not to match.  It's simpler and less error prone when the
> data structure can't represent such inconsistent states in the first
> place.
>
> 				Cheers,
> 				-- Mike
>
> -----Original Message-----
> From: Derek Atkins [mailto:derek@ihtfp.com] 
> Sent: Tuesday, May 12, 2015 11:16 AM
> To: Mike Jones
> Cc: Jim Schaad; 'Derek Atkins'; cose@ietf.org
> Subject: Re: [Cose] Issue: Reuse the Enrypt structure for recipients
>
> Mike Jones <Michael.Jones@microsoft.com> writes:
>
>> What was presented to the JOSE working group in Denver by Richard Barnes was the option of representing encrypted keys as encrypted JWK structures, rather than just encrypted bare keys.  The choice is between encrypting:
>>     {"kty":"oct",
>>      "alg":"A128KW",
>>      "k":"GawgguFyGrWKav7AX4VKUg"}
>> or simply the bytes that "k" represents in base64url encoded form.  Encrypting just the bytes is smaller, and contains no redundant information that will simply be discarded.
>
> Is it necesarily redundant?  What says that the key being encrypted
> (wrapped) is of the exact same algorithm/size/mode as the method being used to encrypt/wrap it?
>
> E.g., I can certainly posit a situation where I am encrypting an AES-128-CCM key with an AES-256-GCM key (Or even more, I could see encrypting a 3DES key with AES).  In this case the extra information is definitely not redundant, and is certainly not derivable just from 'k'.
>
> I guess my question to you (not being as intimately familiar with JWKs) is whether the algorithm of the wrapped (encrypted) key is exposed somewhere outside the wrapping?
>
>> That's why the JOSE working group rejected using encrypted JWKs as
>> the encrypted_key representation.  If the "encrypt structure" you're
>> referring to is different than this, it would probably be good to
>> explain what it is, how you're proposing to reuse it, and why
>> reusing it doesn't add extraneous unused information, as Richard's
>> proposal in Denver did.
>
> ...
>
>> 				-- Mike
>
> -derek
>
>> -----Original Message-----
>> From: Jim Schaad [mailto:ietf@augustcellars.com]
>> Sent: Monday, May 11, 2015 11:47 PM
>> To: Mike Jones; 'Derek Atkins'
>> Cc: cose@ietf.org
>> Subject: RE: [Cose] Issue: Reuse the Enrypt structure for recipients
>>
>> I don't understand what you are arguing for or against.
>>
>> Are you saying don't do the reuse of the structure?
>> Are you saying don't do the extra tagging of encrypted key vs
>> encrypted content?
>> Are you saying something completely different?
>>
>> jim
>>
>>> -----Original Message-----
>>> From: Mike Jones [mailto:Michael.Jones@microsoft.com]
>>> Sent: Monday, May 11, 2015 3:25 PM
>>> To: Jim Schaad; 'Derek Atkins'
>>> Cc: cose@ietf.org
>>> Subject: RE: [Cose] Issue: Reuse the Enrypt structure for recipients
>>> 
>>> From my point of view, the JOSE WG didn't reject encrypting a JWK to 
>>> represent the encrypted key because it was a change.  The working 
>>> group rejected it because there was no need to carry any data that 
>>> would remain unused about the encrypted key, when just the the 
>>> encrypted key value
>> itself
>>> would do.  Particularly in a space-constrained environment, carrying 
>>> extra metadata about a key that will only be discarded seems wasteful 
>>> in the extreme.
>>> 
>>> I would advocate having the encrypted_key value remain only an 
>>> encrypted form of the CEK value, adding nothing extra.
>>> 
>>> 				- Mike
>>> 
>>> -----Original Message-----
>>> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
>>> Sent: Monday, May 11, 2015 10:42 PM
>>> To: 'Derek Atkins'
>>> Cc: cose@ietf.org
>>> Subject: Re: [Cose] Issue: Reuse the Enrypt structure for recipients
>>> 
>>> At the present time, that information can easily be inferred by context.
>> In the
>>> event that we want to talk about use the "recipient" structure as a 
>>> top
>> level
>>> object then I think this question would need to be revisited.
>>> 
>>> Jim
>>> 
>>> 
>>> > -----Original Message-----
>>> > From: Derek Atkins [mailto:derek@ihtfp.com]
>>> > Sent: Monday, May 11, 2015 8:23 AM
>>> > To: Jim Schaad
>>> > Cc: cose@ietf.org
>>> > Subject: Re: [Cose] Issue: Reuse the Enrypt structure for 
>>> > recipients
>>> >
>>> > I believe that yes, the map should be reused, however if we do that 
>>> > I wonder whether you need to add a tag that says whether it's an 
>>> > encrypted key or encrypted 'data'?
>>> >
>>> > -derek
>>> >
>>> > "Jim Schaad" <ietf@augustcellars.com> writes:
>>> >
>>> > > Question:  Reuse Encrypt body map for recipients
>>> > >
>>> > > Discussion:
>>> > >
>>> > > The concept of using the same structure for both recipients and 
>>> > > the base encryption map was introduced to the JOSE working group 
>>> > > at the Denver meeting.  The JOSE working group rejected the idea 
>>> > > as being too much of a change to make in the current working code.
>>> > > The concept is that the same data structure, with the same 
>>> > > elements is used to encode both the content encryption and each 
>>> > > of the recipient
>>> structures.
>>> > > While in JOSE, many of the same elements are not present in the 
>>> > > recipient structure (i.e. iv and aad), some of these elements 
>>> > > later appeared as part of algorithm descriptions (iv is a header 
>>> > > parameter
>>> > defined for AES-GCM key wrapping).
>>> > >
>>> > > Using the same structure for encrypting content as well as 
>>> > > encrypting keys allows for some neat tricks to be played at a 
>>> > > later date if needed.  One example is that you could separate the 
>>> > > key wrapping algorithm, and the ECDH-KDF algorithm pair into 
>>> > > separate layers.  This allows one to move towards a Chinese Menu 
>>> > > method of selecting and using algorithms rather than the current 
>>> > > algorithm suite
>>> method.
>>> > > While I would not recommend that this happen in the current 
>>> > > specification, it might be nice to keep it open as an option to 
>>> > > be used
>>> in the
>>> > future as new algorithms are added.
>>> > >
>>> > > Another advantage of doing this folding is in code size.  In my 
>>> > > implementation, I have created the recipient class as inheriting 
>>> > > from the encryption body class.  The recipient class contains 
>>> > > only code that deals with the cryptography of key management.  
>>> > > All of the
>>> > encoding/decoding is
>>> > > handled by the base encryption class.   If the structures are kept
>>> separate
>>> > > as they are today then that code would need to be added to the 
>>> > > recipient class.  While my code does not currently deal with idea 
>>> > > of having multiple layers of key management.  I believe that this 
>>> > > would be a minimal addition to the current code base.
>>> > >
>>> > >
>>> > > _______________________________________________
>>> > > Cose mailing list
>>> > > Cose@ietf.org
>>> > > https://www.ietf.org/mailman/listinfo/cose
>>> > >
>>> > >
>>> >
>>> > --
>>> >        Derek Atkins                 617-623-3745
>>> >        derek@ihtfp.com             www.ihtfp.com
>>> >        Computer and Internet Security Consultant
>>> 
>>> _______________________________________________
>>> Cose mailing list
>>> Cose@ietf.org
>>> https://www.ietf.org/mailman/listinfo/cose
>>
>>
>>

-- 
       Derek Atkins                 617-623-3745
       derek@ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant


From nobody Wed Jun 10 18:02:46 2015
Return-Path: <kepeng.lkp@alibaba-inc.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3E2B31A0235 for <cose@ietfa.amsl.com>; Wed, 10 Jun 2015 18:02:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.451
X-Spam-Level: 
X-Spam-Status: No, score=0.451 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, MIME_CHARSET_FARAWAY=2.45, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Be4SQJ3-IIAu for <cose@ietfa.amsl.com>; Wed, 10 Jun 2015 18:02:43 -0700 (PDT)
Received: from out4133-98.mail.aliyun.com (out4133-98.mail.aliyun.com [42.120.133.98]) by ietfa.amsl.com (Postfix) with ESMTP id B98FC1A038D for <cose@ietf.org>; Wed, 10 Jun 2015 18:02:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alibaba-inc.com; s=default; t=1433984561; h=Date:Subject:From:To:Message-ID:Mime-version:Content-type; bh=fWJLPcoGPRNoLmaKyXZeHnR9iz7FYLeQhKo4rPwYleM=; b=cyYGOa7OrBARqJF7rLDjG8+oMFTyx2EaHSqCVwDGCBWjLPVbDLaakqy7m9ZPTYVB4G3rFp5s/Y4YYrKCxypvYfZT82aOHMGT5J+ctFz3t270xjjpiSzG4NmZov/uxDD86N/TL8wh/5Rlpa6Ekzc+05PEljI9tOL9qkol1XF/cuo=
X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R171e4; FP=0|-1|-1|-1|0|-1|-1|-1; HT=r41f05021; MF=kepeng.lkp@alibaba-inc.com; PH=DS;  RN=3; RT=3; SR=0; 
Received: from 10.1.147.12(mailfrom:kepeng.lkp@alibaba-inc.com ip:42.120.74.162) by smtp.aliyun-inc.com(127.0.0.1); Thu, 11 Jun 2015 09:02:37 +0800
User-Agent: Microsoft-MacOutlook/14.4.8.150116
Date: Thu, 11 Jun 2015 09:02:34 +0800
From: "Kepeng Li" <kepeng.lkp@alibaba-inc.com>
To: Mike Jones <Michael.Jones@microsoft.com>, Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Message-ID: <D19EFDB7.D9D6%kepeng.lkp@alibaba-inc.com>
Thread-Topic: Algorithm draft
Mime-version: 1.0
Content-type: text/plain; charset="GB2312"
Content-transfer-encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/6Y4pUlHYevCEb4BgoEQekGG4L34>
Subject: [Cose] Algorithm draft
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Jun 2015 01:02:45 -0000

Currently, we have received feedback from Mike to have a separate
algorithm draft.=20

Any other feedback?

Also, we need to find somebody to write the algorithm draft, if we decide
to have a separate one.

Any volunteers?

Thanks,

Kind Regards
Kepeng

=D4=DA 6/6/15 11:04 am=A3=AC "Mike Jones" <Michael.Jones@microsoft.com> =D0=B4=C8=EB:

>For what it's worth, I'd advocate having a separate algorithm document
>for the same reasons that JOSE did.  For one, it enables that document to
>be revised in the future without having to then revise the underlying
>signature/MAC/encryption/key representations.
>
>Also, based on my experience as a JOSE editor, I think the result was
>cleaner because we separated the algorithm descriptions from the
>descriptions of how to perform cryptographic operations.  It was good
>discipline to have to describe the steps to create and use the data
>structures without falling back on particulars of specific algorithms.
>
>Also, the single-purpose nature of an algorithms doc can make it easier
>to read and use a reference.  You're not having to sort out what are data
>descriptions and what are algorithm descriptions.  It's just algorithms.
>
>				Cheers,
>				-- Mike
>
>P.S.  I agree with Jim's procedural point that the charter allows the
>working group to produce deliverables either in combined or separated
>documents.
>
>-----Original Message-----
>From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
>Sent: Friday, June 05, 2015 7:31 PM
>To: 'Kepeng Li'; cose@ietf.org
>Subject: Re: [Cose] FW: New Version Notification for
>draft-schaad-cose-02.txt
>
>
>> -----Original Message-----
>> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kepeng Li
>> Sent: Friday, June 05, 2015 6:49 PM
>> To: Jim Schaad; cose@ietf.org
>> Subject: Re: [Cose] FW: New Version Notification for
>>draft-schaad-cose-02.
>txt
>>
>> Hi Jim,
>>
>> Thanks for the draft.
>>
>> >I am willing to add the algorithms piece to this document if that is
>> >the desire of the group, or it can be done as an independent document
>> >(my initial preference).edx
>>
>>
>> According to our milestones, the algorithm piece is a separate item.
>
>That just says that we need a document to cover that milestone.  It can
>be a single document or a combined document as the working group feels
>best.
>
>Jim
>
>>
>> Jun 2015 - Submit COSE specification as a WG item
>>   Jun 2015 - Submit COSE constrained-appropriate algorithms as a WG
>> item
>>
>>
>> Kind Regards
>> Kepeng
>>
>> =D4=DA 6/6/15 8:37 am=A3=AC "Jim Schaad" <ietf@augustcellars.com> =D0=B4=C8=EB:
>>
>> >Since we now have an official working group.  I will propose this as
>> >a candidate draft to address the specification milestone.
>> >
>> >I am willing to add the algorithms piece to this document if that is
>> >the desire of the group, or it can be done as an independent document
>> >(my initial preference).
>> >
>> >Jim
>> >
>> >
>> >> -----Original Message-----
>> >> From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org]
>> >> Sent: Friday, June 05, 2015 5:22 PM
>> >> To: Jim Schaad; Jim Schaad
>> >> Subject: New Version Notification for draft-schaad-cose-02.txt
>> >>
>> >>
>> >> A new version of I-D, draft-schaad-cose-02.txt has been
>> >>successfully submitted  by Jim Schaad and posted to the IETF
>>repository.
>> >>
>> >> Name:		draft-schaad-cose
>> >> Revision:	02
>> >> Title:		CBOR Encoded Message Syntax
>> >> Document date:	2015-06-05
>> >> Group:		Individual Submission
>> >> Pages:		35
>> >> URL:
>> >>https://www.ietf.org/internet-drafts/draft-schaad-cose-02.txt
>> >> Status:         https://datatracker.ietf.org/doc/draft-schaad-cose/
>> >> Htmlized:       https://tools.ietf.org/html/draft-schaad-cose-02
>> >> Diff:       =20
>>https://www.ietf.org/rfcdiff?url2=3Ddraft-schaad-cose-02
>> >>
>> >> Abstract:
>> >>    Concise Binary Object Representation (CBOR) is data format
>>designed
>> >>    for small code size and small message size.  There is a need for
>>the
>> >>    ability to have the basic security services defined for this data
>> >>    format.  This document specifies how to do signatures, message
>> >>    authentication codes and encryption using this data format.  The
>work
>> >>    in this document is derived in part from the JSON web security
>> >>    documents using the same parameters and algorithm identifiers as
>they
>> >>    do.
>> >>
>> >>
>> >>
>> >>
>> >> Please note that it may take a couple of minutes from the time of
>> >>submission  until the htmlized version and diff are available at
>> >>tools.ietf.org.
>> >>
>> >> The IETF Secretariat
>> >
>> >_______________________________________________
>> >Cose mailing list
>> >Cose@ietf.org
>> >https://www.ietf.org/mailman/listinfo/cose
>>
>>
>> _______________________________________________
>> Cose mailing list
>> Cose@ietf.org
>> https://www.ietf.org/mailman/listinfo/cose
>
>_______________________________________________
>Cose mailing list
>Cose@ietf.org
>https://www.ietf.org/mailman/listinfo/cose



From nobody Wed Jun 10 22:18:09 2015
Return-Path: <ietf@augustcellars.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 32FEA1A90B3 for <cose@ietfa.amsl.com>; Wed, 10 Jun 2015 22:18:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 647McZtgwR7H for <cose@ietfa.amsl.com>; Wed, 10 Jun 2015 22:18:06 -0700 (PDT)
Received: from smtp2.pacifier.net (smtp2.pacifier.net [64.255.237.172]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2883A1A90AE for <cose@ietf.org>; Wed, 10 Jun 2015 22:18:06 -0700 (PDT)
Received: from hebrews (unknown [50.109.226.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp2.pacifier.net (Postfix) with ESMTPSA id 5714D2C9E7; Wed, 10 Jun 2015 22:17:54 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Kepeng Li'" <kepeng.lkp@alibaba-inc.com>, <cose@ietf.org>
References: <D19EFDB7.D9D6%kepeng.lkp@alibaba-inc.com>
In-Reply-To: <D19EFDB7.D9D6%kepeng.lkp@alibaba-inc.com>
Date: Wed, 10 Jun 2015 22:17:50 -0700
Message-ID: <004701d0a406$01b088d0$05119a70$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-2022-jp"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 15.0
thread-index: AQFYUUpjDoi1hjauk2Dx1fFZPoh2XJ6XaPIw
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/_jLbCmPD-ZtGTkj_zprDQte7Qmc>
Subject: Re: [Cose] Algorithm draft
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Jun 2015 05:18:08 -0000

> -----Original Message-----
> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kepeng Li
> Sent: Wednesday, June 10, 2015 6:03 PM
> To: Mike Jones; Jim Schaad; cose@ietf.org
> Subject: [Cose] Algorithm draft
>
> Currently, we have received feedback from Mike to have a separate
algorithm
> draft.
>
> Any other feedback?
>
> Also, we need to find somebody to write the algorithm draft, if we decide
to
> have a separate one.
>
> Any volunteers?

While I am willing to do this, I would prefer if it were somebody else if
the document is separate.  I object going to WG meetings where you only have
one person who is doing the presentations.  On the other hand, please
remember the aggressive schedule that we are trying to keep for this group.

Jim

>
> Thanks,
>
> Kind Regards
> Kepeng
>
> $B:_(B 6/6/15 11:04 am$B!$(B "Mike Jones" <Michael.Jones@microsoft.com> $B<LF~(B:
>
> >For what it's worth, I'd advocate having a separate algorithm document
> >for the same reasons that JOSE did.  For one, it enables that document
> >to be revised in the future without having to then revise the
> >underlying signature/MAC/encryption/key representations.
> >
> >Also, based on my experience as a JOSE editor, I think the result was
> >cleaner because we separated the algorithm descriptions from the
> >descriptions of how to perform cryptographic operations.  It was good
> >discipline to have to describe the steps to create and use the data
> >structures without falling back on particulars of specific algorithms.
> >
> >Also, the single-purpose nature of an algorithms doc can make it easier
> >to read and use a reference.  You're not having to sort out what are
> >data descriptions and what are algorithm descriptions.  It's just
algorithms.
> >
> >				Cheers,
> >				-- Mike
> >
> >P.S.  I agree with Jim's procedural point that the charter allows the
> >working group to produce deliverables either in combined or separated
> >documents.
> >
> >-----Original Message-----
> >From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
> >Sent: Friday, June 05, 2015 7:31 PM
> >To: 'Kepeng Li'; cose@ietf.org
> >Subject: Re: [Cose] FW: New Version Notification for
> >draft-schaad-cose-02.txt
> >
> >
> >> -----Original Message-----
> >> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kepeng Li
> >> Sent: Friday, June 05, 2015 6:49 PM
> >> To: Jim Schaad; cose@ietf.org
> >> Subject: Re: [Cose] FW: New Version Notification for
> >>draft-schaad-cose-02.
> >txt
> >>
> >> Hi Jim,
> >>
> >> Thanks for the draft.
> >>
> >> >I am willing to add the algorithms piece to this document if that is
> >> >the desire of the group, or it can be done as an independent
> >> >document (my initial preference).edx
> >>
> >>
> >> According to our milestones, the algorithm piece is a separate item.
> >
> >That just says that we need a document to cover that milestone.  It can
> >be a single document or a combined document as the working group feels
> >best.
> >
> >Jim
> >
> >>
> >> Jun 2015 - Submit COSE specification as a WG item
> >>   Jun 2015 - Submit COSE constrained-appropriate algorithms as a WG
> >> item
> >>
> >>
> >> Kind Regards
> >> Kepeng
> >>
> >> $B:_(B 6/6/15 8:37 am$B!$(B "Jim Schaad" <ietf@augustcellars.com> $B<LF~(B:
> >>
> >> >Since we now have an official working group.  I will propose this as
> >> >a candidate draft to address the specification milestone.
> >> >
> >> >I am willing to add the algorithms piece to this document if that is
> >> >the desire of the group, or it can be done as an independent
> >> >document (my initial preference).
> >> >
> >> >Jim
> >> >
> >> >
> >> >> -----Original Message-----
> >> >> From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org]
> >> >> Sent: Friday, June 05, 2015 5:22 PM
> >> >> To: Jim Schaad; Jim Schaad
> >> >> Subject: New Version Notification for draft-schaad-cose-02.txt
> >> >>
> >> >>
> >> >> A new version of I-D, draft-schaad-cose-02.txt has been
> >> >>successfully submitted  by Jim Schaad and posted to the IETF
> >>repository.
> >> >>
> >> >> Name:		draft-schaad-cose
> >> >> Revision:	02
> >> >> Title:		CBOR Encoded Message Syntax
> >> >> Document date:	2015-06-05
> >> >> Group:		Individual Submission
> >> >> Pages:		35
> >> >> URL:
> >> >>https://www.ietf.org/internet-drafts/draft-schaad-cose-02.txt
> >> >> Status:         https://datatracker.ietf.org/doc/draft-schaad-cose/
> >> >> Htmlized:       https://tools.ietf.org/html/draft-schaad-cose-02
> >> >> Diff:
> >>https://www.ietf.org/rfcdiff?url2=draft-schaad-cose-02
> >> >>
> >> >> Abstract:
> >> >>    Concise Binary Object Representation (CBOR) is data format
> >>designed
> >> >>    for small code size and small message size.  There is a need
> >> >> for
> >>the
> >> >>    ability to have the basic security services defined for this data
> >> >>    format.  This document specifies how to do signatures, message
> >> >>    authentication codes and encryption using this data format.
> >> >> The
> >work
> >> >>    in this document is derived in part from the JSON web security
> >> >>    documents using the same parameters and algorithm identifiers
> >> >> as
> >they
> >> >>    do.
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> Please note that it may take a couple of minutes from the time of
> >> >>submission  until the htmlized version and diff are available at
> >> >>tools.ietf.org.
> >> >>
> >> >> The IETF Secretariat
> >> >
> >> >_______________________________________________
> >> >Cose mailing list
> >> >Cose@ietf.org
> >> >https://www.ietf.org/mailman/listinfo/cose
> >>
> >>
> >> _______________________________________________
> >> Cose mailing list
> >> Cose@ietf.org
> >> https://www.ietf.org/mailman/listinfo/cose
> >
> >_______________________________________________
> >Cose mailing list
> >Cose@ietf.org
> >https://www.ietf.org/mailman/listinfo/cose
>
>
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose


From nobody Thu Jun 11 10:10:39 2015
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 410201A03C7 for <cose@ietfa.amsl.com>; Thu, 11 Jun 2015 10:10:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id APzg2DkfnVvY for <cose@ietfa.amsl.com>; Thu, 11 Jun 2015 10:10:36 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0773.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::773]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8D8B01A0145 for <cose@ietf.org>; Thu, 11 Jun 2015 10:10:35 -0700 (PDT)
Received: from BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) by BY2PR03MB443.namprd03.prod.outlook.com (10.141.141.152) with Microsoft SMTP Server (TLS) id 15.1.195.6; Thu, 11 Jun 2015 17:10:18 +0000
Received: from BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) by BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) with mapi id 15.01.0195.005; Thu, 11 Jun 2015 17:10:18 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, 'Kepeng Li' <kepeng.lkp@alibaba-inc.com>, "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [Cose] Algorithm draft
Thread-Index: AQHQo+JULTFPLWJliECVCdPyo+Ygop2mxCcAgADGdTA=
Date: Thu, 11 Jun 2015 17:10:18 +0000
Message-ID: <BY2PR03MB442621626B67F96CB3715FCF5BC0@BY2PR03MB442.namprd03.prod.outlook.com>
References: <D19EFDB7.D9D6%kepeng.lkp@alibaba-inc.com> <004701d0a406$01b088d0$05119a70$@augustcellars.com>
In-Reply-To: <004701d0a406$01b088d0$05119a70$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: augustcellars.com; dkim=none (message not signed) header.d=none;
x-originating-ip: [2001:4898:80e8:ee31::2]
x-microsoft-exchange-diagnostics: 1; BY2PR03MB443; 5:RCOVD0qMhqhK/80buRwrEEVP3/r3YNWl7kIRJKW7Xe8x81EhvQGXjQH7yZbIIkryiWcL3mpWbTCVFeRhIlWlT9mQDVsH56EzslB/XqsgkvGJWBbckU6UlOpwU0T9sxrM3+6ToX95L3IZZZFZSSUzbw==; 24:HH8+nDI3uw1+/r9EwG0z67SBFeaaKKUC0tJjPoWCpnGmIo/fy/37P6t08hnIA+BmNjtcFOsFuxO3tz5NE6ae2s6Z7acz+ui7eAfWlaeDBPY=; 20:PYfIccpSC+JUym4kP0NMeO1GuvNdbQ+p9NKRMsBPIVJXHmp5/agbn+flDSJfbT5Ep0DoQmxnHRk70aVowckHSg==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB443;
x-microsoft-antispam-prvs: <BY2PR03MB443939146E373B160A39175F5BC0@BY2PR03MB443.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BY2PR03MB443; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB443; 
x-forefront-prvs: 0604AFA86B
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(479174004)(51414003)(51914003)(377454003)(13464003)(377424004)(51704005)(71364002)(164054003)(19580405001)(76176999)(2900100001)(15975445007)(19580395003)(77096005)(102836002)(40100003)(2656002)(54356999)(50986999)(2950100001)(86362001)(74316001)(189998001)(5001770100001)(2501003)(5002640100001)(106116001)(77156002)(62966003)(92566002)(87936001)(107886002)(5001960100002)(5001920100001)(5003600100002)(33656002)(76576001)(46102003)(122556002)(3826002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB443; H:BY2PR03MB442.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: text/plain; charset="iso-2022-jp"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jun 2015 17:10:18.8095 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB443
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/feCwXb9PB-GBzvTc5H2EDoQ5qJ0>
Subject: Re: [Cose] Algorithm draft
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Jun 2015 17:10:38 -0000

I'd be glad to do this.  I look forward to helping us get these specs out q=
uickly in ways that meet the use cases people have.

				Cheers,
				-- Mike

-----Original Message-----
From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Wednesday, June 10, 2015 10:18 PM
To: 'Kepeng Li'; cose@ietf.org
Subject: Re: [Cose] Algorithm draft



> -----Original Message-----
> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kepeng Li
> Sent: Wednesday, June 10, 2015 6:03 PM
> To: Mike Jones; Jim Schaad; cose@ietf.org
> Subject: [Cose] Algorithm draft
>
> Currently, we have received feedback from Mike to have a separate
algorithm
> draft.
>
> Any other feedback?
>
> Also, we need to find somebody to write the algorithm draft, if we=20
> decide
to
> have a separate one.
>
> Any volunteers?

While I am willing to do this, I would prefer if it were somebody else if t=
he document is separate.  I object going to WG meetings where you only have=
 one person who is doing the presentations.  On the other hand, please reme=
mber the aggressive schedule that we are trying to keep for this group.

Jim

>
> Thanks,
>
> Kind Regards
> Kepeng
>
> =1B$B:_=1B(B 6/6/15 11:04 am=1B$B!$=1B(B "Mike Jones" <Michael.Jones@micr=
osoft.com> =1B$B<LF~=1B(B:
>
> >For what it's worth, I'd advocate having a separate algorithm=20
> >document for the same reasons that JOSE did.  For one, it enables=20
> >that document to be revised in the future without having to then=20
> >revise the underlying signature/MAC/encryption/key representations.
> >
> >Also, based on my experience as a JOSE editor, I think the result was=20
> >cleaner because we separated the algorithm descriptions from the=20
> >descriptions of how to perform cryptographic operations.  It was good=20
> >discipline to have to describe the steps to create and use the data=20
> >structures without falling back on particulars of specific algorithms.
> >
> >Also, the single-purpose nature of an algorithms doc can make it=20
> >easier to read and use a reference.  You're not having to sort out=20
> >what are data descriptions and what are algorithm descriptions.  It's=20
> >just
algorithms.
> >
> >				Cheers,
> >				-- Mike
> >
> >P.S.  I agree with Jim's procedural point that the charter allows the=20
> >working group to produce deliverables either in combined or separated=20
> >documents.
> >
> >-----Original Message-----
> >From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
> >Sent: Friday, June 05, 2015 7:31 PM
> >To: 'Kepeng Li'; cose@ietf.org
> >Subject: Re: [Cose] FW: New Version Notification for=20
> >draft-schaad-cose-02.txt
> >
> >
> >> -----Original Message-----
> >> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kepeng Li
> >> Sent: Friday, June 05, 2015 6:49 PM
> >> To: Jim Schaad; cose@ietf.org
> >> Subject: Re: [Cose] FW: New Version Notification for=20
> >>draft-schaad-cose-02.
> >txt
> >>
> >> Hi Jim,
> >>
> >> Thanks for the draft.
> >>
> >> >I am willing to add the algorithms piece to this document if that=20
> >> >is the desire of the group, or it can be done as an independent=20
> >> >document (my initial preference).edx
> >>
> >>
> >> According to our milestones, the algorithm piece is a separate item.
> >
> >That just says that we need a document to cover that milestone.  It=20
> >can be a single document or a combined document as the working group=20
> >feels best.
> >
> >Jim
> >
> >>
> >> Jun 2015 - Submit COSE specification as a WG item
> >>   Jun 2015 - Submit COSE constrained-appropriate algorithms as a WG=20
> >> item
> >>
> >>
> >> Kind Regards
> >> Kepeng
> >>
> >> =1B$B:_=1B(B 6/6/15 8:37 am=1B$B!$=1B(B "Jim Schaad" <ietf@augustcella=
rs.com> =1B$B<LF~=1B(B:
> >>
> >> >Since we now have an official working group.  I will propose this=20
> >> >as a candidate draft to address the specification milestone.
> >> >
> >> >I am willing to add the algorithms piece to this document if that=20
> >> >is the desire of the group, or it can be done as an independent=20
> >> >document (my initial preference).
> >> >
> >> >Jim
> >> >
> >> >
> >> >> -----Original Message-----
> >> >> From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org]
> >> >> Sent: Friday, June 05, 2015 5:22 PM
> >> >> To: Jim Schaad; Jim Schaad
> >> >> Subject: New Version Notification for draft-schaad-cose-02.txt
> >> >>
> >> >>
> >> >> A new version of I-D, draft-schaad-cose-02.txt has been=20
> >> >>successfully submitted  by Jim Schaad and posted to the IETF
> >>repository.
> >> >>
> >> >> Name:		draft-schaad-cose
> >> >> Revision:	02
> >> >> Title:		CBOR Encoded Message Syntax
> >> >> Document date:	2015-06-05
> >> >> Group:		Individual Submission
> >> >> Pages:		35
> >> >> URL:
> >> >>https://www.ietf.org/internet-drafts/draft-schaad-cose-02.txt
> >> >> Status:         https://datatracker.ietf.org/doc/draft-schaad-cose/
> >> >> Htmlized:       https://tools.ietf.org/html/draft-schaad-cose-02
> >> >> Diff:
> >>https://www.ietf.org/rfcdiff?url2=3Ddraft-schaad-cose-02
> >> >>
> >> >> Abstract:
> >> >>    Concise Binary Object Representation (CBOR) is data format
> >>designed
> >> >>    for small code size and small message size.  There is a need=20
> >> >> for
> >>the
> >> >>    ability to have the basic security services defined for this dat=
a
> >> >>    format.  This document specifies how to do signatures, message
> >> >>    authentication codes and encryption using this data format.
> >> >> The
> >work
> >> >>    in this document is derived in part from the JSON web security
> >> >>    documents using the same parameters and algorithm identifiers=20
> >> >> as
> >they
> >> >>    do.
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> Please note that it may take a couple of minutes from the time=20
> >> >>of submission  until the htmlized version and diff are available=20
> >> >>at tools.ietf.org.
> >> >>
> >> >> The IETF Secretariat
> >> >
> >> >_______________________________________________
> >> >Cose mailing list
> >> >Cose@ietf.org
> >> >https://www.ietf.org/mailman/listinfo/cose
> >>
> >>
> >> _______________________________________________
> >> Cose mailing list
> >> Cose@ietf.org
> >> https://www.ietf.org/mailman/listinfo/cose
> >
> >_______________________________________________
> >Cose mailing list
> >Cose@ietf.org
> >https://www.ietf.org/mailman/listinfo/cose
>
>
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose

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


From nobody Thu Jun 11 10:33:20 2015
Return-Path: <jricher@mit.edu>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E963F1A8887 for <cose@ietfa.amsl.com>; Thu, 11 Jun 2015 10:33:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.311
X-Spam-Level: 
X-Spam-Status: No, score=-2.311 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Kw2LqpxUXjDN for <cose@ietfa.amsl.com>; Thu, 11 Jun 2015 10:33:17 -0700 (PDT)
Received: from dmz-mailsec-scanner-8.mit.edu (dmz-mailsec-scanner-8.mit.edu [18.7.68.37]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 251051A886B for <cose@ietf.org>; Thu, 11 Jun 2015 10:33:15 -0700 (PDT)
X-AuditID: 12074425-f79076d000000db5-0d-5579c65a6c17
Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-8.mit.edu (Symantec Messaging Gateway) with SMTP id 84.2A.03509.A56C9755; Thu, 11 Jun 2015 13:33:14 -0400 (EDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id t5BHXDHk003882 for <cose@ietf.org>; Thu, 11 Jun 2015 13:33:14 -0400
Received: from [192.168.2.154] ([12.217.69.145]) (authenticated bits=0) (User authenticated as jricher@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id t5BHXBIH026298 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <cose@ietf.org>; Thu, 11 Jun 2015 13:33:13 -0400
From: Justin Richer <jricher@MIT.EDU>
Content-Type: multipart/alternative; boundary="Apple-Mail=_298D9FB9-3AD9-4063-8712-DFBBD45ED6A0"
Message-Id: <3032DD54-1B5B-4CD7-A72C-2CA8517B5E5F@mit.edu>
Date: Thu, 11 Jun 2015 10:33:10 -0700
To: cose@ietf.org
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrAIsWRmVeSWpSXmKPExsUixCmqrBt1rDLUYGOjiMW0rVNZHRg9liz5 yRTAGMVlk5Kak1mWWqRvl8CV8ezXNsaCi1IVE7ccZW5gPCnWxcjJISFgIrFoZTszhC0mceHe erYuRi4OIYHFTBKP3kxghHCOMkr8+HWaCaRKSOAgk8SUVUkgNpuAqsT8lbfA4swCCRJ/X/0D s4UFFCRer5nFCmLzClhJ/L17FCzOAlT/694b9i5GDg4RAUGJu53mECV6Eo+ePgYLSwjISnzd KjeBkXcWkqGzkFRBxLUlli18zQxha0rs717OgimuIdH5bSLrAka2VYyyKblVurmJmTnFqcm6 xcmJeXmpRboWermZJXqpKaWbGEEBye6iuoNxwiGlQ4wCHIxKPLwVJypChVgTy4orcw8xSnIw KYnyNh6sDBXiS8pPqcxILM6ILyrNSS0+xCjBwawkwtu5FSjHm5JYWZValA+TkuZgURLn3fSD L0RIID2xJDU7NbUgtQgmK8PBoSTBy3gUqFGwKDU9tSItM6cEIc3EwQkynAdouC5IDW9xQWJu cWY6RP4Uo6KUOC8/SEIAJJFRmgfXC0sYrxjFgV4R5v14BKiKB5hs4LpfAQ1mAhq8kLkcZHBJ IkJKqoGR6Z0Lh8Q/bmGfQw/Wm0ya3HHzbOuZtZIii3++FUtn6No265x6gmHZ/oZFL9xr1y6d mztnAaPX65Ru543qex+Xz9v44/uXjWuc1+0r37s161iy3asTfJtvO0dLBpvdK/2ld+LWPPe7 oXtzff7NmHao1G7TRt1oVTZuz+qz37i+7gnQKs6eox4QqsRSnJFoqMVcVJwIABQhTPzzAgAA
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/M7GjYU5RLbwMLQb1pYCwheyjUmE>
Subject: [Cose] Call for Draft Adoption
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Jun 2015 17:33:19 -0000

--Apple-Mail=_298D9FB9-3AD9-4063-8712-DFBBD45ED6A0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

We=E2=80=99re starting a two week review period to determine a potential =
starting draft for the COSE work. So far, there has been one potential =
draft submitted:

https://tools.ietf.org/html/draft-schaad-cose-02 =
<https://tools.ietf.org/html/draft-schaad-cose-02>

During this two week period, please review the above draft and comment =
to the list whether you think it is a reasonable starting point for the =
COSE work, or not. If not, please submit an alternative draft and =
present it to the list.

At the end of the two week period, the chairs will do a consensus call. =
If there=E2=80=99s rough consensus to adopt this (or another) draft, =
we=E2=80=99ll turn it into a working group document and get it started =
before Prague.

Things to keep in mind during this review:

 - This draft will be the starting point, not the ending point.=20
 - There will be many opportunities to edit and alter the document =
before it=E2=80=99s final.
 - If you have major contentions with the document, please bring them =
up, particularly if you have a way to fix them.
 - Please be willing to submit text as well as ideas.

 =E2=80=94 Justin=

--Apple-Mail=_298D9FB9-3AD9-4063-8712-DFBBD45ED6A0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">We=E2=80=99re starting a two week review period to determine =
a potential starting draft for the COSE work. So far, there has been one =
potential draft submitted:<br class=3D""><div class=3D""><br =
class=3D""></div><div class=3D""><a =
href=3D"https://tools.ietf.org/html/draft-schaad-cose-02" =
class=3D"">https://tools.ietf.org/html/draft-schaad-cose-02</a></div><div =
class=3D""><br class=3D""></div><div class=3D"">During this two week =
period, please review the above draft and comment to the list whether =
you think it is a reasonable starting point for the COSE work, or not. =
If not, please submit an alternative draft and present it to the =
list.</div><div class=3D""><br class=3D""></div><div class=3D"">At the =
end of the two week period, the chairs will do a consensus call. If =
there=E2=80=99s rough consensus to adopt this (or another) draft, =
we=E2=80=99ll turn it into a working group document and get it started =
before Prague.</div><div class=3D""><br class=3D""></div><div =
class=3D"">Things to keep in mind during this review:</div><div =
class=3D""><br class=3D""></div><div class=3D"">&nbsp;- This draft will =
be the starting point, not the ending point.&nbsp;</div><div =
class=3D"">&nbsp;- There will be many opportunities to edit and alter =
the document before it=E2=80=99s final.</div><div class=3D"">&nbsp;- If =
you have major contentions with the document, please bring them up, =
particularly if you have a way to fix them.</div><div class=3D"">&nbsp;- =
Please be willing to submit text as well as ideas.</div><div =
class=3D""><br class=3D""></div><div class=3D"">&nbsp;=E2=80=94 =
Justin</div></body></html>=

--Apple-Mail=_298D9FB9-3AD9-4063-8712-DFBBD45ED6A0--


From nobody Thu Jun 11 14:29:19 2015
Return-Path: <bcampbell@pingidentity.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8E5AE1AD244 for <cose@ietfa.amsl.com>; Thu, 11 Jun 2015 14:29:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.578
X-Spam-Level: 
X-Spam-Status: No, score=-3.578 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VB8pLmeP7-Nw for <cose@ietfa.amsl.com>; Thu, 11 Jun 2015 14:29:14 -0700 (PDT)
Received: from mail-ig0-f179.google.com (na3sys009aog108.obsmtp.com [74.125.149.199]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 11E1A1A8851 for <cose@ietf.org>; Thu, 11 Jun 2015 14:29:14 -0700 (PDT)
Received: from mail-ig0-f179.google.com ([209.85.213.179]) (using TLSv1) by na3sys009aob108.postini.com ([74.125.148.12]) with SMTP ID DSNKVXn9qUJqDfErjrIPx+2/vFBp6LT224XU@postini.com; Thu, 11 Jun 2015 14:29:14 PDT
Received: by igblz2 with SMTP id lz2so12994027igb.1 for <cose@ietf.org>; Thu, 11 Jun 2015 14:29:13 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=7Mhp82QylF8F0mquOaiIoLCO8QFI/KVZ9Yyj90eLEvY=; b=dvIZ2jq/So8378NWd2PJIIrenuJgaA4E51+/jk8hJWI1U9HOScQEWqp6y6FRLcKwCR yy/6tf4KawQ27g8IdShUelJ29RijbFBdq0neRkUM9ji0dqoxamUSMzoY27OLaP3qYEBZ nizuOQrx2F7R5cpKHGRXdOQnHiEFpgXYBo89ixv2MD8gcAFXhKfdXKRmA2EzTkPv/FUV 4/EFJen94aQv/GPgRibKlu4oDDEDGs9Uut9nW1LqzMdYp030zGiyhwkg+tQERFboH/U0 VF2oGTLihsqh237dXa2nP4KjSgkCnkwnGJoNax5S004FqQM3LATcZAeLxqQFINi0AU1t UluQ==
X-Gm-Message-State: ALoCoQkbaK7oiNJ4kiBeqg4WFjQiGa4aI1ptbY7IJhag6Yss+zkoTwd0Jk/5n15g8yciC5Qc7O7UIWn1fq/1VWK5oYkC9PpYQwSsJ1LeAdDQIZtY48EnmJEIWisOO5RMXMTtkm6VXyS3
X-Received: by 10.50.78.170 with SMTP id c10mr486357igx.0.1434058153177; Thu, 11 Jun 2015 14:29:13 -0700 (PDT)
X-Received: by 10.50.78.170 with SMTP id c10mr486347igx.0.1434058153031; Thu, 11 Jun 2015 14:29:13 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.79.64.209 with HTTP; Thu, 11 Jun 2015 14:28:42 -0700 (PDT)
In-Reply-To: <BY2PR03MB442621626B67F96CB3715FCF5BC0@BY2PR03MB442.namprd03.prod.outlook.com>
References: <D19EFDB7.D9D6%kepeng.lkp@alibaba-inc.com> <004701d0a406$01b088d0$05119a70$@augustcellars.com> <BY2PR03MB442621626B67F96CB3715FCF5BC0@BY2PR03MB442.namprd03.prod.outlook.com>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Thu, 11 Jun 2015 14:28:42 -0700
Message-ID: <CA+k3eCQGDHiXJs7MXm6FU4EcDRVhTjPHdBVrpvSS9h_X31sOHg@mail.gmail.com>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: multipart/alternative; boundary=089e0122e688cc9704051844aed8
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/Na7dlcT8gQU1VeyBlQim0NBKT6s>
Cc: Jim Schaad <ietf@augustcellars.com>, Kepeng Li <kepeng.lkp@alibaba-inc.com>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Algorithm draft
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Jun 2015 21:29:17 -0000

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

I=E2=80=99d be willing to help Mike with a separate algorithms draft.

On Thu, Jun 11, 2015 at 10:10 AM, Mike Jones <Michael.Jones@microsoft.com>
wrote:

> I'd be glad to do this.  I look forward to helping us get these specs out
> quickly in ways that meet the use cases people have.
>
>                                 Cheers,
>                                 -- Mike
>
> -----Original Message-----
> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
> Sent: Wednesday, June 10, 2015 10:18 PM
> To: 'Kepeng Li'; cose@ietf.org
> Subject: Re: [Cose] Algorithm draft
>
>
>
> > -----Original Message-----
> > From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kepeng Li
> > Sent: Wednesday, June 10, 2015 6:03 PM
> > To: Mike Jones; Jim Schaad; cose@ietf.org
> > Subject: [Cose] Algorithm draft
> >
> > Currently, we have received feedback from Mike to have a separate
> algorithm
> > draft.
> >
> > Any other feedback?
> >
> > Also, we need to find somebody to write the algorithm draft, if we
> > decide
> to
> > have a separate one.
> >
> > Any volunteers?
>
> While I am willing to do this, I would prefer if it were somebody else if
> the document is separate.  I object going to WG meetings where you only
> have one person who is doing the presentations.  On the other hand, pleas=
e
> remember the aggressive schedule that we are trying to keep for this grou=
p.
>
> Jim
>
> >
> > Thanks,
> >
> > Kind Regards
> > Kepeng
> >
> > =E5=9C=A8 6/6/15 11:04 am=EF=BC=8C "Mike Jones" <Michael.Jones@microsof=
t.com> =E5=86=99=E5=85=A5:
> >
> > >For what it's worth, I'd advocate having a separate algorithm
> > >document for the same reasons that JOSE did.  For one, it enables
> > >that document to be revised in the future without having to then
> > >revise the underlying signature/MAC/encryption/key representations.
> > >
> > >Also, based on my experience as a JOSE editor, I think the result was
> > >cleaner because we separated the algorithm descriptions from the
> > >descriptions of how to perform cryptographic operations.  It was good
> > >discipline to have to describe the steps to create and use the data
> > >structures without falling back on particulars of specific algorithms.
> > >
> > >Also, the single-purpose nature of an algorithms doc can make it
> > >easier to read and use a reference.  You're not having to sort out
> > >what are data descriptions and what are algorithm descriptions.  It's
> > >just
> algorithms.
> > >
> > >                             Cheers,
> > >                             -- Mike
> > >
> > >P.S.  I agree with Jim's procedural point that the charter allows the
> > >working group to produce deliverables either in combined or separated
> > >documents.
> > >
> > >-----Original Message-----
> > >From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
> > >Sent: Friday, June 05, 2015 7:31 PM
> > >To: 'Kepeng Li'; cose@ietf.org
> > >Subject: Re: [Cose] FW: New Version Notification for
> > >draft-schaad-cose-02.txt
> > >
> > >
> > >> -----Original Message-----
> > >> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kepeng Li
> > >> Sent: Friday, June 05, 2015 6:49 PM
> > >> To: Jim Schaad; cose@ietf.org
> > >> Subject: Re: [Cose] FW: New Version Notification for
> > >>draft-schaad-cose-02.
> > >txt
> > >>
> > >> Hi Jim,
> > >>
> > >> Thanks for the draft.
> > >>
> > >> >I am willing to add the algorithms piece to this document if that
> > >> >is the desire of the group, or it can be done as an independent
> > >> >document (my initial preference).edx
> > >>
> > >>
> > >> According to our milestones, the algorithm piece is a separate item.
> > >
> > >That just says that we need a document to cover that milestone.  It
> > >can be a single document or a combined document as the working group
> > >feels best.
> > >
> > >Jim
> > >
> > >>
> > >> Jun 2015 - Submit COSE specification as a WG item
> > >>   Jun 2015 - Submit COSE constrained-appropriate algorithms as a WG
> > >> item
> > >>
> > >>
> > >> Kind Regards
> > >> Kepeng
> > >>
> > >> =E5=9C=A8 6/6/15 8:37 am=EF=BC=8C "Jim Schaad" <ietf@augustcellars.c=
om> =E5=86=99=E5=85=A5:
> > >>
> > >> >Since we now have an official working group.  I will propose this
> > >> >as a candidate draft to address the specification milestone.
> > >> >
> > >> >I am willing to add the algorithms piece to this document if that
> > >> >is the desire of the group, or it can be done as an independent
> > >> >document (my initial preference).
> > >> >
> > >> >Jim
> > >> >
> > >> >
> > >> >> -----Original Message-----
> > >> >> From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org]
> > >> >> Sent: Friday, June 05, 2015 5:22 PM
> > >> >> To: Jim Schaad; Jim Schaad
> > >> >> Subject: New Version Notification for draft-schaad-cose-02.txt
> > >> >>
> > >> >>
> > >> >> A new version of I-D, draft-schaad-cose-02.txt has been
> > >> >>successfully submitted  by Jim Schaad and posted to the IETF
> > >>repository.
> > >> >>
> > >> >> Name:           draft-schaad-cose
> > >> >> Revision:       02
> > >> >> Title:          CBOR Encoded Message Syntax
> > >> >> Document date:  2015-06-05
> > >> >> Group:          Individual Submission
> > >> >> Pages:          35
> > >> >> URL:
> > >> >>https://www.ietf.org/internet-drafts/draft-schaad-cose-02.txt
> > >> >> Status:
> https://datatracker.ietf.org/doc/draft-schaad-cose/
> > >> >> Htmlized:       https://tools.ietf.org/html/draft-schaad-cose-02
> > >> >> Diff:
> > >>https://www.ietf.org/rfcdiff?url2=3Ddraft-schaad-cose-02
> > >> >>
> > >> >> Abstract:
> > >> >>    Concise Binary Object Representation (CBOR) is data format
> > >>designed
> > >> >>    for small code size and small message size.  There is a need
> > >> >> for
> > >>the
> > >> >>    ability to have the basic security services defined for this
> data
> > >> >>    format.  This document specifies how to do signatures, message
> > >> >>    authentication codes and encryption using this data format.
> > >> >> The
> > >work
> > >> >>    in this document is derived in part from the JSON web security
> > >> >>    documents using the same parameters and algorithm identifiers
> > >> >> as
> > >they
> > >> >>    do.
> > >> >>
> > >> >>
> > >> >>
> > >> >>
> > >> >> Please note that it may take a couple of minutes from the time
> > >> >>of submission  until the htmlized version and diff are available
> > >> >>at tools.ietf.org.
> > >> >>
> > >> >> The IETF Secretariat
> > >> >
> > >> >_______________________________________________
> > >> >Cose mailing list
> > >> >Cose@ietf.org
> > >> >https://www.ietf.org/mailman/listinfo/cose
> > >>
> > >>
> > >> _______________________________________________
> > >> Cose mailing list
> > >> Cose@ietf.org
> > >> https://www.ietf.org/mailman/listinfo/cose
> > >
> > >_______________________________________________
> > >Cose mailing list
> > >Cose@ietf.org
> > >https://www.ietf.org/mailman/listinfo/cose
> >
> >
> > _______________________________________________
> > Cose mailing list
> > Cose@ietf.org
> > https://www.ietf.org/mailman/listinfo/cose
>
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose
>
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose
>

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

<div dir=3D"ltr">I=E2=80=99d be willing to help Mike with a separate algori=
thms draft.</div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On Thu, Jun 11, 2015 at 10:10 AM, Mike Jones <span dir=3D"ltr">&lt;<a href=
=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank">Michael.Jones@mic=
rosoft.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=
=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;d =
be glad to do this.=C2=A0 I look forward to helping us get these specs out =
quickly in ways that meet the use cases people have.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Cheers,<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 -- Mike<br>
<span class=3D"im HOEnZb"><br>
-----Original Message-----<br>
From: Cose [mailto:<a href=3D"mailto:cose-bounces@ietf.org">cose-bounces@ie=
tf.org</a>] On Behalf Of Jim Schaad<br>
</span><span class=3D"im HOEnZb">Sent: Wednesday, June 10, 2015 10:18 PM<br=
>
To: &#39;Kepeng Li&#39;; <a href=3D"mailto:cose@ietf.org">cose@ietf.org</a>=
<br>
</span><div class=3D"HOEnZb"><div class=3D"h5">Subject: Re: [Cose] Algorith=
m draft<br>
<br>
<br>
<br>
&gt; -----Original Message-----<br>
&gt; From: Cose [mailto:<a href=3D"mailto:cose-bounces@ietf.org">cose-bounc=
es@ietf.org</a>] On Behalf Of Kepeng Li<br>
&gt; Sent: Wednesday, June 10, 2015 6:03 PM<br>
&gt; To: Mike Jones; Jim Schaad; <a href=3D"mailto:cose@ietf.org">cose@ietf=
.org</a><br>
&gt; Subject: [Cose] Algorithm draft<br>
&gt;<br>
&gt; Currently, we have received feedback from Mike to have a separate<br>
algorithm<br>
&gt; draft.<br>
&gt;<br>
&gt; Any other feedback?<br>
&gt;<br>
&gt; Also, we need to find somebody to write the algorithm draft, if we<br>
&gt; decide<br>
to<br>
&gt; have a separate one.<br>
&gt;<br>
&gt; Any volunteers?<br>
<br>
While I am willing to do this, I would prefer if it were somebody else if t=
he document is separate.=C2=A0 I object going to WG meetings where you only=
 have one person who is doing the presentations.=C2=A0 On the other hand, p=
lease remember the aggressive schedule that we are trying to keep for this =
group.<br>
<br>
Jim<br>
<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Kind Regards<br>
&gt; Kepeng<br>
&gt;<br>
&gt; =E5=9C=A8 6/6/15 11:04 am=EF=BC=8C &quot;Mike Jones&quot; &lt;<a href=
=3D"mailto:Michael.Jones@microsoft.com">Michael.Jones@microsoft.com</a>&gt;=
 =E5=86=99=E5=85=A5:<br>
&gt;<br>
&gt; &gt;For what it&#39;s worth, I&#39;d advocate having a separate algori=
thm<br>
&gt; &gt;document for the same reasons that JOSE did.=C2=A0 For one, it ena=
bles<br>
&gt; &gt;that document to be revised in the future without having to then<b=
r>
&gt; &gt;revise the underlying signature/MAC/encryption/key representations=
.<br>
&gt; &gt;<br>
&gt; &gt;Also, based on my experience as a JOSE editor, I think the result =
was<br>
&gt; &gt;cleaner because we separated the algorithm descriptions from the<b=
r>
&gt; &gt;descriptions of how to perform cryptographic operations.=C2=A0 It =
was good<br>
&gt; &gt;discipline to have to describe the steps to create and use the dat=
a<br>
&gt; &gt;structures without falling back on particulars of specific algorit=
hms.<br>
&gt; &gt;<br>
&gt; &gt;Also, the single-purpose nature of an algorithms doc can make it<b=
r>
&gt; &gt;easier to read and use a reference.=C2=A0 You&#39;re not having to=
 sort out<br>
&gt; &gt;what are data descriptions and what are algorithm descriptions.=C2=
=A0 It&#39;s<br>
&gt; &gt;just<br>
algorithms.<br>
&gt; &gt;<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Cheers,<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-- Mike<br>
&gt; &gt;<br>
&gt; &gt;P.S.=C2=A0 I agree with Jim&#39;s procedural point that the charte=
r allows the<br>
&gt; &gt;working group to produce deliverables either in combined or separa=
ted<br>
&gt; &gt;documents.<br>
&gt; &gt;<br>
&gt; &gt;-----Original Message-----<br>
&gt; &gt;From: Cose [mailto:<a href=3D"mailto:cose-bounces@ietf.org">cose-b=
ounces@ietf.org</a>] On Behalf Of Jim Schaad<br>
&gt; &gt;Sent: Friday, June 05, 2015 7:31 PM<br>
&gt; &gt;To: &#39;Kepeng Li&#39;; <a href=3D"mailto:cose@ietf.org">cose@iet=
f.org</a><br>
&gt; &gt;Subject: Re: [Cose] FW: New Version Notification for<br>
&gt; &gt;draft-schaad-cose-02.txt<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;&gt; -----Original Message-----<br>
&gt; &gt;&gt; From: Cose [mailto:<a href=3D"mailto:cose-bounces@ietf.org">c=
ose-bounces@ietf.org</a>] On Behalf Of Kepeng Li<br>
&gt; &gt;&gt; Sent: Friday, June 05, 2015 6:49 PM<br>
&gt; &gt;&gt; To: Jim Schaad; <a href=3D"mailto:cose@ietf.org">cose@ietf.or=
g</a><br>
&gt; &gt;&gt; Subject: Re: [Cose] FW: New Version Notification for<br>
&gt; &gt;&gt;draft-schaad-cose-02.<br>
&gt; &gt;txt<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Hi Jim,<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Thanks for the draft.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;I am willing to add the algorithms piece to this document=
 if that<br>
&gt; &gt;&gt; &gt;is the desire of the group, or it can be done as an indep=
endent<br>
&gt; &gt;&gt; &gt;document (my initial preference).edx<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; According to our milestones, the algorithm piece is a separat=
e item.<br>
&gt; &gt;<br>
&gt; &gt;That just says that we need a document to cover that milestone.=C2=
=A0 It<br>
&gt; &gt;can be a single document or a combined document as the working gro=
up<br>
&gt; &gt;feels best.<br>
&gt; &gt;<br>
&gt; &gt;Jim<br>
&gt; &gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Jun 2015 - Submit COSE specification as a WG item<br>
&gt; &gt;&gt;=C2=A0 =C2=A0Jun 2015 - Submit COSE constrained-appropriate al=
gorithms as a WG<br>
&gt; &gt;&gt; item<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Kind Regards<br>
&gt; &gt;&gt; Kepeng<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; =E5=9C=A8 6/6/15 8:37 am=EF=BC=8C &quot;Jim Schaad&quot; &lt;=
<a href=3D"mailto:ietf@augustcellars.com">ietf@augustcellars.com</a>&gt; =
=E5=86=99=E5=85=A5:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;Since we now have an official working group.=C2=A0 I will=
 propose this<br>
&gt; &gt;&gt; &gt;as a candidate draft to address the specification milesto=
ne.<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;I am willing to add the algorithms piece to this document=
 if that<br>
&gt; &gt;&gt; &gt;is the desire of the group, or it can be done as an indep=
endent<br>
&gt; &gt;&gt; &gt;document (my initial preference).<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;Jim<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;&gt; -----Original Message-----<br>
&gt; &gt;&gt; &gt;&gt; From: <a href=3D"mailto:internet-drafts@ietf.org">in=
ternet-drafts@ietf.org</a> [mailto:<a href=3D"mailto:internet-drafts@ietf.o=
rg">internet-drafts@ietf.org</a>]<br>
&gt; &gt;&gt; &gt;&gt; Sent: Friday, June 05, 2015 5:22 PM<br>
&gt; &gt;&gt; &gt;&gt; To: Jim Schaad; Jim Schaad<br>
&gt; &gt;&gt; &gt;&gt; Subject: New Version Notification for draft-schaad-c=
ose-02.txt<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; A new version of I-D, draft-schaad-cose-02.txt has b=
een<br>
&gt; &gt;&gt; &gt;&gt;successfully submitted=C2=A0 by Jim Schaad and posted=
 to the IETF<br>
&gt; &gt;&gt;repository.<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; Name:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0draft-=
schaad-cose<br>
&gt; &gt;&gt; &gt;&gt; Revision:=C2=A0 =C2=A0 =C2=A0 =C2=A002<br>
&gt; &gt;&gt; &gt;&gt; Title:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 CBOR Encode=
d Message Syntax<br>
&gt; &gt;&gt; &gt;&gt; Document date:=C2=A0 2015-06-05<br>
&gt; &gt;&gt; &gt;&gt; Group:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Individual =
Submission<br>
&gt; &gt;&gt; &gt;&gt; Pages:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 35<br>
&gt; &gt;&gt; &gt;&gt; URL:<br>
&gt; &gt;&gt; &gt;&gt;<a href=3D"https://www.ietf.org/internet-drafts/draft=
-schaad-cose-02.txt" target=3D"_blank">https://www.ietf.org/internet-drafts=
/draft-schaad-cose-02.txt</a><br>
&gt; &gt;&gt; &gt;&gt; Status:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"=
https://datatracker.ietf.org/doc/draft-schaad-cose/" target=3D"_blank">http=
s://datatracker.ietf.org/doc/draft-schaad-cose/</a><br>
&gt; &gt;&gt; &gt;&gt; Htmlized:=C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"https=
://tools.ietf.org/html/draft-schaad-cose-02" target=3D"_blank">https://tool=
s.ietf.org/html/draft-schaad-cose-02</a><br>
&gt; &gt;&gt; &gt;&gt; Diff:<br>
&gt; &gt;&gt;<a href=3D"https://www.ietf.org/rfcdiff?url2=3Ddraft-schaad-co=
se-02" target=3D"_blank">https://www.ietf.org/rfcdiff?url2=3Ddraft-schaad-c=
ose-02</a><br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; Abstract:<br>
&gt; &gt;&gt; &gt;&gt;=C2=A0 =C2=A0 Concise Binary Object Representation (C=
BOR) is data format<br>
&gt; &gt;&gt;designed<br>
&gt; &gt;&gt; &gt;&gt;=C2=A0 =C2=A0 for small code size and small message s=
ize.=C2=A0 There is a need<br>
&gt; &gt;&gt; &gt;&gt; for<br>
&gt; &gt;&gt;the<br>
&gt; &gt;&gt; &gt;&gt;=C2=A0 =C2=A0 ability to have the basic security serv=
ices defined for this data<br>
&gt; &gt;&gt; &gt;&gt;=C2=A0 =C2=A0 format.=C2=A0 This document specifies h=
ow to do signatures, message<br>
&gt; &gt;&gt; &gt;&gt;=C2=A0 =C2=A0 authentication codes and encryption usi=
ng this data format.<br>
&gt; &gt;&gt; &gt;&gt; The<br>
&gt; &gt;work<br>
&gt; &gt;&gt; &gt;&gt;=C2=A0 =C2=A0 in this document is derived in part fro=
m the JSON web security<br>
&gt; &gt;&gt; &gt;&gt;=C2=A0 =C2=A0 documents using the same parameters and=
 algorithm identifiers<br>
&gt; &gt;&gt; &gt;&gt; as<br>
&gt; &gt;they<br>
&gt; &gt;&gt; &gt;&gt;=C2=A0 =C2=A0 do.<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; Please note that it may take a couple of minutes fro=
m the time<br>
&gt; &gt;&gt; &gt;&gt;of submission=C2=A0 until the htmlized version and di=
ff are available<br>
&gt; &gt;&gt; &gt;&gt;at <a href=3D"http://tools.ietf.org" target=3D"_blank=
">tools.ietf.org</a>.<br>
&gt; &gt;&gt; &gt;&gt;<br>
&gt; &gt;&gt; &gt;&gt; The IETF Secretariat<br>
&gt; &gt;&gt; &gt;<br>
&gt; &gt;&gt; &gt;_______________________________________________<br>
&gt; &gt;&gt; &gt;Cose mailing list<br>
&gt; &gt;&gt; &gt;<a href=3D"mailto:Cose@ietf.org">Cose@ietf.org</a><br>
&gt; &gt;&gt; &gt;<a href=3D"https://www.ietf.org/mailman/listinfo/cose" ta=
rget=3D"_blank">https://www.ietf.org/mailman/listinfo/cose</a><br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; _______________________________________________<br>
&gt; &gt;&gt; Cose mailing list<br>
&gt; &gt;&gt; <a href=3D"mailto:Cose@ietf.org">Cose@ietf.org</a><br>
&gt; &gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/cose" target=
=3D"_blank">https://www.ietf.org/mailman/listinfo/cose</a><br>
&gt; &gt;<br>
&gt; &gt;_______________________________________________<br>
&gt; &gt;Cose mailing list<br>
&gt; &gt;<a href=3D"mailto:Cose@ietf.org">Cose@ietf.org</a><br>
&gt; &gt;<a href=3D"https://www.ietf.org/mailman/listinfo/cose" target=3D"_=
blank">https://www.ietf.org/mailman/listinfo/cose</a><br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Cose mailing list<br>
&gt; <a href=3D"mailto:Cose@ietf.org">Cose@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/cose" target=3D"_blan=
k">https://www.ietf.org/mailman/listinfo/cose</a><br>
<br>
_______________________________________________<br>
Cose mailing list<br>
<a href=3D"mailto:Cose@ietf.org">Cose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/cose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/cose</a><br>
<br>
_______________________________________________<br>
Cose mailing list<br>
<a href=3D"mailto:Cose@ietf.org">Cose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/cose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/cose</a><br>
</div></div></blockquote></div><br></div>

--089e0122e688cc9704051844aed8--


From nobody Thu Jun 11 14:30:57 2015
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BBD391A9112 for <cose@ietfa.amsl.com>; Thu, 11 Jun 2015 14:30:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KJFxjOGAPcs0 for <cose@ietfa.amsl.com>; Thu, 11 Jun 2015 14:30:52 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0752.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::752]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1D4461A8821 for <cose@ietf.org>; Thu, 11 Jun 2015 14:30:52 -0700 (PDT)
Received: from BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) by BY2PR03MB443.namprd03.prod.outlook.com (10.141.141.152) with Microsoft SMTP Server (TLS) id 15.1.195.6; Thu, 11 Jun 2015 21:30:33 +0000
Received: from BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) by BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) with mapi id 15.01.0195.005; Thu, 11 Jun 2015 21:30:33 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Brian Campbell <bcampbell@pingidentity.com>
Thread-Topic: [Cose] Algorithm draft
Thread-Index: AQHQo+JULTFPLWJliECVCdPyo+Ygop2mxCcAgADGdTCAAEjMAIAAAGGQ
Date: Thu, 11 Jun 2015 21:30:33 +0000
Message-ID: <BY2PR03MB4425DAD7A9BAFE9989ACAC3F5BC0@BY2PR03MB442.namprd03.prod.outlook.com>
References: <D19EFDB7.D9D6%kepeng.lkp@alibaba-inc.com> <004701d0a406$01b088d0$05119a70$@augustcellars.com> <BY2PR03MB442621626B67F96CB3715FCF5BC0@BY2PR03MB442.namprd03.prod.outlook.com> <CA+k3eCQGDHiXJs7MXm6FU4EcDRVhTjPHdBVrpvSS9h_X31sOHg@mail.gmail.com>
In-Reply-To: <CA+k3eCQGDHiXJs7MXm6FU4EcDRVhTjPHdBVrpvSS9h_X31sOHg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: pingidentity.com; dkim=none (message not signed) header.d=none;
x-originating-ip: [2001:4898:80e8:ee31::2]
x-microsoft-exchange-diagnostics: 1; BY2PR03MB443; 5:t/bKonBpbNvRhw/akdgAvk0zxHcfsKif9L3xPdbjYQI6ZcOOzRs29lG7fAFAaqOahLHxwJYbdW5iv9KmojlejyhrCxxEV/23Uwyy0RERWmSU6iea1Mn0UBpNwBEwyWQtOna+tZ5HzgalTbLRMxN+xQ==; 24:Hlqj46qzif0eVChkjF/4aYY0XlzYBCdNuHHnSZhgEqMaPwMCmWXo2m/CRpCogRfBuNwhF/5/bixPUVvpMRwO2iP2/cq85/TGIL2OTJclI00=; 20:uQ/79V7AOst1vwkLW+UCqmBWpPxzySIVObfZz+a87weLZTwQGLZfHdt7j2xFLfLVJ8KPYzOOpuZvSedIAMX7qg==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB443;
x-microsoft-antispam-prvs: <BY2PR03MB44358956138D4B09BC698C3F5BC0@BY2PR03MB443.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BY2PR03MB443; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB443; 
x-forefront-prvs: 0604AFA86B
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(479174004)(51414003)(24454002)(377454003)(13464003)(377424004)(51704005)(71364002)(164054003)(54356999)(86612001)(102836002)(16236675004)(76176999)(15975445007)(19580395003)(19580405001)(77096005)(2950100001)(2656002)(99286002)(40100003)(50986999)(86362001)(2900100001)(74316001)(189998001)(62966003)(106116001)(77156002)(5002640100001)(92566002)(87936001)(5001960100002)(5001920100001)(14971765001)(19625215002)(16601075003)(5003600100002)(19609705001)(19617315012)(76576001)(19300405004)(33656002)(46102003)(93886004)(122556002)(3826002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB443; H:BY2PR03MB442.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: multipart/alternative; boundary="_000_BY2PR03MB4425DAD7A9BAFE9989ACAC3F5BC0BY2PR03MB442namprd_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Jun 2015 21:30:33.0650 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB443
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/uVYr71mdN6yQLviYb6zPBw8b6Co>
Cc: Jim Schaad <ietf@augustcellars.com>, Kepeng Li <kepeng.lkp@alibaba-inc.com>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Algorithm draft
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Jun 2015 21:30:56 -0000

--_000_BY2PR03MB4425DAD7A9BAFE9989ACAC3F5BC0BY2PR03MB442namprd_
Content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29zZUBpZXRmLm9yZyI+Q29zZUBpZXRmLm9y
ZzwvYT48YnI+DQo8YSBocmVmPSJodHRwczovL3d3dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZv
L2Nvc2UiIHRhcmdldD0iX2JsYW5rIj5odHRwczovL3d3dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3Rp
bmZvL2Nvc2U8L2E+PG86cD48L286cD48L3A+DQo8L2Rpdj4NCjwvZGl2Pg0KPC9kaXY+DQo8cCBj
bGFzcz0iTXNvTm9ybWFsIj48bzpwPiZuYnNwOzwvbzpwPjwvcD4NCjwvZGl2Pg0KPC9kaXY+DQo8
L2JvZHk+DQo8L2h0bWw+DQo=

--_000_BY2PR03MB4425DAD7A9BAFE9989ACAC3F5BC0BY2PR03MB442namprd_--


From nobody Thu Jun 11 19:21:22 2015
Return-Path: <kepeng.lkp@alibaba-inc.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 105B51B3618 for <cose@ietfa.amsl.com>; Thu, 11 Jun 2015 19:21:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.452
X-Spam-Level: 
X-Spam-Status: No, score=0.452 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MIME_CHARSET_FARAWAY=2.45, MIME_QP_LONG_LINE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WExg84OxfAes for <cose@ietfa.amsl.com>; Thu, 11 Jun 2015 19:21:20 -0700 (PDT)
Received: from out4133-50.mail.aliyun.com (out4133-50.mail.aliyun.com [42.120.133.50]) by ietfa.amsl.com (Postfix) with ESMTP id 71A0A1B3616 for <cose@ietf.org>; Thu, 11 Jun 2015 19:21:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alibaba-inc.com; s=default; t=1434075678; h=Date:Subject:From:To:Message-ID:Mime-version:Content-type; bh=1c4r1OCQd7q4eM78NDTa7PhyfAR1c3aewyZ5mg67de0=; b=kYwNms8l22qv3cL7DzD6iPETrSJiyVrPPQnpBWB3KrAMUYzDKROqmH3IJWpcT1A+fvzsmfS2Y3okgdSpQlza42zse9FQMmxDk/9OMYa53I7895MeFMl+xC+iuxmwfLPc5wAebHmeBkyHr/5BOPuY1SrVQUp4D0k57WH+JK+3hss=
X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R691e4; FP=0|-1|-1|-1|0|-1|-1|-1; HT=r46d02010; MF=kepeng.lkp@alibaba-inc.com; PH=DS;  RN=2; RT=2; SR=0; 
Received: from 10.1.157.169(mailfrom:kepeng.lkp@alibaba-inc.com ip:42.120.74.163) by smtp.aliyun-inc.com(127.0.0.1); Fri, 12 Jun 2015 10:21:16 +0800
User-Agent: Microsoft-MacOutlook/14.4.8.150116
Date: Fri, 12 Jun 2015 10:21:07 +0800
From: "Kepeng Li" <kepeng.lkp@alibaba-inc.com>
To: Justin Richer <jricher@MIT.EDU>, <cose@ietf.org>
Message-ID: <D1A0534B.DC68%kepeng.lkp@alibaba-inc.com>
Thread-Topic: [Cose] Call for Draft Adoption
References: <3032DD54-1B5B-4CD7-A72C-2CA8517B5E5F@mit.edu>
In-Reply-To: <3032DD54-1B5B-4CD7-A72C-2CA8517B5E5F@mit.edu>
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3516949276_9365697"
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/Ys7QtqBDpnmwc-pZkz-12Fv3udQ>
Subject: Re: [Cose] Call for Draft Adoption
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Jun 2015 02:21:22 -0000

> ´ËÓÊ¼þÊ¹ÓÃ MIME ¸ñÊ½¡£ÓÉÓÚÓÊ¼þÔÄ¶Á³ÌÐò²»ÄÜÊ¶±ð
´Ë¸ñÊ½£¬Òò´Ë£¬¿ÉÄÜÎÞ·¨Ê¶±ð¸ÃÓÊ¼þµÄ·Ö²¿»ò²¿·ÖÄÚÈÝ¡£

--B_3516949276_9365697
Content-type: text/plain;
	charset="GB2312"
Content-transfer-encoding: quoted-printable

>https://tools.ietf.org/html/draft-schaad-cose-02

In case that people can=A1=AFt find it on the WG page, here it is:
https://tools.ietf.org/html/draft-schaad-cose-msg-00

The contents are the same.  Only document names are different.

Thanks,

Kind Regards
Kepeng=20

=B7=A2=BC=FE=C8=CB:  Justin Richer <jricher@MIT.EDU>
=C8=D5=C6=DA:  Friday, 12 June, 2015 1:33 am
=D6=C1:  <cose@ietf.org>
=D6=F7=CC=E2:  [Cose] Call for Draft Adoption

We=A1=AFre starting a two week review period to determine a potential starting
draft for the COSE work. So far, there has been one potential draft
submitted:

https://tools.ietf.org/html/draft-schaad-cose-02

During this two week period, please review the above draft and comment to
the list whether you think it is a reasonable starting point for the COSE
work, or not. If not, please submit an alternative draft and present it to
the list.

At the end of the two week period, the chairs will do a consensus call. If
there=A1=AFs rough consensus to adopt this (or another) draft, we=A1=AFll turn it i=
nto
a working group document and get it started before Prague.

Things to keep in mind during this review:

 - This draft will be the starting point, not the ending point.
 - There will be many opportunities to edit and alter the document before
it=A1=AFs final.
 - If you have major contentions with the document, please bring them up,
particularly if you have a way to fix them.
 - Please be willing to submit text as well as ideas.

 =A1=AA Justin
_______________________________________________ Cose mailing list
Cose@ietf.org https://www.ietf.org/mailman/listinfo/cose


--B_3516949276_9365697
Content-type: text/html;
	charset="GB2312"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size:=
 14px; font-family: =CB=CE=CC=E5, sans-serif;"><div>&gt;<a href=3D"https://tools.ietf.=
org/html/draft-schaad-cose-02" class=3D"">https://tools.ietf.org/html/draft-sc=
haad-cose-02</a></div><div><br></div><div>In case that people can&#8217;t fi=
nd it on the WG page, here it is:</div><div><a href=3D"https://tools.ietf.org/=
html/draft-schaad-cose-msg-00">https://tools.ietf.org/html/draft-schaad-cose=
-msg-00</a></div><div><br></div><div>The contents are the same. &nbsp;Only d=
ocument names are different.</div><div><br></div><div>Thanks,</div><div><br>=
</div><div>Kind Regards</div><div>Kepeng&nbsp;</div><div><br></div><span id=3D=
"OLK_SRC_BODY_SECTION"><div style=3D"font-family:Calibri; font-size:11pt; text=
-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium no=
ne; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: =
#b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style=3D=
"font-weight:bold">=B7=A2=BC=FE=C8=CB: </span> Justin Richer &lt;<a href=3D"mailto:jricher=
@MIT.EDU">jricher@MIT.EDU</a>&gt;<br><span style=3D"font-weight:bold">=C8=D5=C6=DA: </=
span> Friday, 12 June, 2015 1:33 am<br><span style=3D"font-weight:bold">=D6=C1: </=
span> &lt;<a href=3D"mailto:cose@ietf.org">cose@ietf.org</a>&gt;<br><span styl=
e=3D"font-weight:bold">=D6=F7=CC=E2: </span> [Cose] Call for Draft Adoption<br></div><=
div><br></div><div><meta http-equiv=3D"Content-Type" content=3D"text/html charse=
t=3Dutf-8"><div style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webki=
t-line-break: after-white-space;" class=3D"">We&#8217;re starting a two week r=
eview period to determine a potential starting draft for the COSE work. So f=
ar, there has been one potential draft submitted:<br class=3D""><div class=3D"">=
<br class=3D""></div><div class=3D""><a href=3D"https://tools.ietf.org/html/draft-=
schaad-cose-02" class=3D"">https://tools.ietf.org/html/draft-schaad-cose-02</a=
></div><div class=3D""><br class=3D""></div><div class=3D"">During this two week p=
eriod, please review the above draft and comment to the list whether you thi=
nk it is a reasonable starting point for the COSE work, or not. If not, plea=
se submit an alternative draft and present it to the list.</div><div class=3D"=
"><br class=3D""></div><div class=3D"">At the end of the two week period, the ch=
airs will do a consensus call. If there&#8217;s rough consensus to adopt thi=
s (or another) draft, we&#8217;ll turn it into a working group document and =
get it started before Prague.</div><div class=3D""><br class=3D""></div><div cla=
ss=3D"">Things to keep in mind during this review:</div><div class=3D""><br clas=
s=3D""></div><div class=3D"">&nbsp;- This draft will be the starting point, not =
the ending point.&nbsp;</div><div class=3D"">&nbsp;- There will be many opport=
unities to edit and alter the document before it&#8217;s final.</div><div cl=
ass=3D"">&nbsp;- If you have major contentions with the document, please bring=
 them up, particularly if you have a way to fix them.</div><div class=3D"">&nb=
sp;- Please be willing to submit text as well as ideas.</div><div class=3D""><=
br class=3D""></div><div class=3D"">&nbsp;&#8212; Justin</div></div></div>______=
_________________________________________
Cose mailing list
<a href=3D"mailto:Cose@ietf.org">Cose@ietf.org</a>
<a href=3D"https://www.ietf.org/mailman/listinfo/cose">https://www.ietf.org/m=
ailman/listinfo/cose</a>
</span></body></html>

--B_3516949276_9365697--



From nobody Fri Jun 12 09:40:40 2015
Return-Path: <ietf@augustcellars.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E240A1ABD3C for <cose@ietfa.amsl.com>; Fri, 12 Jun 2015 09:40:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.701
X-Spam-Level: 
X-Spam-Status: No, score=-0.701 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0WdBqR_WOF7O for <cose@ietfa.amsl.com>; Fri, 12 Jun 2015 09:40:36 -0700 (PDT)
Received: from smtp1.pacifier.net (smtp1.pacifier.net [64.255.237.171]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CA26E1A92DD for <cose@ietf.org>; Fri, 12 Jun 2015 09:40:36 -0700 (PDT)
Received: from hebrews (unknown [50.109.240.20]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp1.pacifier.net (Postfix) with ESMTPSA id F13262C9F7 for <cose@ietf.org>; Fri, 12 Jun 2015 09:40:35 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <cose@ietf.org>
Date: Fri, 12 Jun 2015 09:40:42 -0700
Message-ID: <000f01d0a52e$8673a970$935afc50$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AdClK45u0z0NNIHKRwK7W3rpe7Ahcw==
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/zy95YdoHz2WntrrBplRbO4bTOrg>
Subject: [Cose] Thoughts about the use of AAD in COSE
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Jun 2015 16:40:39 -0000

I have been thinking about the use of AAD in some different applications and
how the field was created during the JOSE WG process.

There are two different ways that AAD is expected to be supplied by
applications.  It is either going to be data that is carried as part of the
message structure, or it is going to be data that the application has
external from our message structure.  This would include both implied data
(i.e. information from a conversation that is carried forward but is implied
in the message) and information  that is part of the containing message but
not part of the COSE message.  

In the creation of JOSE, it was determined that applications might have
additional data they wanted to have verified and carried as part of the
message.  The obvious way to do this is to create an item that is placed in
the protected header field.  The problem with this for JOSE is that the data
might be binary rather than textual.  This means that the data would need to
be base64 encoded in order to put it into the protected header.  The
protected header is then base64 encoded when the message is created to be
sent.  This means that the AAD data supplied by the application is double
base64 encoded.  To prevent this, an independent field 'aad' was created to
carry the potential binary data instead.

Since COSE has the ability to carry binary data directly without doing the
double base64 encoding (actually without any base64 encoding), there is no
reason to keep the separate AAD data field for data that is carried in the
message.  Instead it can just be placed in the protected header section of
the message.  There is still a need to deal with the question of AAD that is
not carried in the message.  But that is a different issue.

One question that is open for discussion is "Should we define a generic
program supplied AAD protected header field, or should we say that this is
an application's responsibility?"

The reason not defining a generic field is that it makes more sense to keep
the pieces of the AAD data separated rather than having an extra encoding
level. 

Jim



From nobody Fri Jun 12 10:13:45 2015
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D83641A8934 for <cose@ietfa.amsl.com>; Fri, 12 Jun 2015 10:13:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hQQ8YWMcNZbO for <cose@ietfa.amsl.com>; Fri, 12 Jun 2015 10:13:43 -0700 (PDT)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0126.outbound.protection.outlook.com [65.55.169.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B173C1A8728 for <cose@ietf.org>; Fri, 12 Jun 2015 10:13:42 -0700 (PDT)
Received: from BY2PR03MB441.namprd03.prod.outlook.com (10.141.141.142) by BY2PR03MB572.namprd03.prod.outlook.com (10.141.143.152) with Microsoft SMTP Server (TLS) id 15.1.184.17; Fri, 12 Jun 2015 17:13:41 +0000
Received: from BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) by BY2PR03MB441.namprd03.prod.outlook.com (10.141.141.142) with Microsoft SMTP Server (TLS) id 15.1.195.6; Fri, 12 Jun 2015 17:13:40 +0000
Received: from BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) by BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) with mapi id 15.01.0195.005; Fri, 12 Jun 2015 17:13:40 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [Cose] Thoughts about the use of AAD in COSE
Thread-Index: AdClK45u0z0NNIHKRwK7W3rpe7AhcwABtjEg
Date: Fri, 12 Jun 2015 17:13:40 +0000
Message-ID: <BY2PR03MB4420FBB4397DA7A35323264F5BB0@BY2PR03MB442.namprd03.prod.outlook.com>
References: <000f01d0a52e$8673a970$935afc50$@augustcellars.com>
In-Reply-To: <000f01d0a52e$8673a970$935afc50$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: augustcellars.com; dkim=none (message not signed) header.d=none;
x-originating-ip: [50.47.90.173]
x-microsoft-exchange-diagnostics: 1; BY2PR03MB441; 5:W5NYBnM9AVX0XhxhhzTrFiBcA3QpxOq0ufgTPtTwjm7QVn2t6beS3Un39+KhcFY66KaNMqpeYLXRQyOs6seCsn8SryN2XZsVtOPiD6t4cyIuTS/dUyPZhCb9r02RGFVOmI7WzFjl3gMotINlBv25tg==; 24:P0lH/PQFuLgFRfwBsdcNn3kxGAbhU6CuWBpKJuuxLWd5GB6kh3iMnOFqlSYWEcplJ8thaL/LCqrYcgZ9p8yJu/cjXUMjo/oDDIIMXBQ2U38=; 20:W6YqEyD2fhM+6PNTCWYl4GjLtvVQ2kVDThpyhBrVN8q0TVz7X8zDyp3Zw1NH6MaUsFOFqJ83fIKt+teMHJLyIw==
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB441; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB572; 
x-microsoft-antispam-prvs: <BY2PR03MB44131767131CEC0CE77480EF5BB0@BY2PR03MB441.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BY2PR03MB441; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB441; 
x-forefront-prvs: 060503E79B
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(13464003)(377454003)(76576001)(19580395003)(19580405001)(5003600100002)(2501003)(92566002)(107886002)(2950100001)(102836002)(99286002)(5001770100001)(5001960100002)(189998001)(77096005)(74316001)(33656002)(15975445007)(2900100001)(5002640100001)(54356999)(50986999)(87936001)(76176999)(77156002)(62966003)(86362001)(40100003)(122556002)(2656002)(46102003)(66066001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB441; H:BY2PR03MB442.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Jun 2015 17:13:40.5874 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB441
X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB572; 2:H0gotvI8dmfxeE+jV21B2deoIWpSUn3jNJFxEaQjhxV1T2gVdtBCStqlMQ8KaMSn; 2:S+K7RQvUmIYCb52zIRwjv4lz7x9QUiucthrvcrikdlORA4dpXgmOLqyRa94Np5x//+M6TnrgD2NClt6EiHK3PXZYWvXUrzOxnIWNTFIpkyVm8cxsQYCIoPJkJu/AwvT+bmiBKY3ciW1e9uxU99IZUg==; 9:/lMARcMm2+zWHQR9Ryl/YtZrL07zXnkFIb43ZheZrMXoQG5RJLwUEeR79qHvlwIG7I6FLqT98d9NUvFad9JWhX/zlYSUlS7hwR4yRe4Qg3NIEXHjiK7PIeyk1meBZFnz+erfaLBxSFel/E8tSRV22A==
X-OriginatorOrg: microsoft.com
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/aaEcrqI1mpBGqfaCGU-2e6fK1uk>
Subject: Re: [Cose] Thoughts about the use of AAD in COSE
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 12 Jun 2015 17:13:45 -0000

I agree that there's no need to carry forward the JOSE top-level "aad" memb=
er, for the reasons you cite.

I also agree that there's no requirement to define a specific AAD header fi=
eld, since any fields placed in the protected header will be integrity-prot=
ected, and there may be multiple such fields used by the application.  On t=
he other hand, we could reserve a header parameter value for the applicatio=
n to use in the common case that it needs only one application AAD value - =
with the definition clearly saying that the contents are application-define=
d.

				-- Mike

-----Original Message-----
From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Friday, June 12, 2015 9:41 AM
To: cose@ietf.org
Subject: [Cose] Thoughts about the use of AAD in COSE

I have been thinking about the use of AAD in some different applications an=
d how the field was created during the JOSE WG process.

There are two different ways that AAD is expected to be supplied by applica=
tions.  It is either going to be data that is carried as part of the messag=
e structure, or it is going to be data that the application has external fr=
om our message structure.  This would include both implied data (i.e. infor=
mation from a conversation that is carried forward but is implied in the me=
ssage) and information  that is part of the containing message but not part=
 of the COSE message. =20

In the creation of JOSE, it was determined that applications might have add=
itional data they wanted to have verified and carried as part of the messag=
e.  The obvious way to do this is to create an item that is placed in the p=
rotected header field.  The problem with this for JOSE is that the data mig=
ht be binary rather than textual.  This means that the data would need to b=
e base64 encoded in order to put it into the protected header.  The protect=
ed header is then base64 encoded when the message is created to be sent.  T=
his means that the AAD data supplied by the application is double
base64 encoded.  To prevent this, an independent field 'aad' was created to=
 carry the potential binary data instead.

Since COSE has the ability to carry binary data directly without doing the =
double base64 encoding (actually without any base64 encoding), there is no =
reason to keep the separate AAD data field for data that is carried in the =
message.  Instead it can just be placed in the protected header section of =
the message.  There is still a need to deal with the question of AAD that i=
s not carried in the message.  But that is a different issue.

One question that is open for discussion is "Should we define a generic pro=
gram supplied AAD protected header field, or should we say that this is an =
application's responsibility?"

The reason not defining a generic field is that it makes more sense to keep=
 the pieces of the AAD data separated rather than having an extra encoding =
level.=20

Jim


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


From nobody Sat Jun 13 00:34:08 2015
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A5AD91A6F17 for <cose@ietfa.amsl.com>; Sat, 13 Jun 2015 00:34:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.15
X-Spam-Level: 
X-Spam-Status: No, score=-0.15 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, HELO_EQ_DE=0.35] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zq9RWLsBhyQp for <cose@ietfa.amsl.com>; Sat, 13 Jun 2015 00:34:05 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 795261A1E0E for <cose@ietf.org>; Sat, 13 Jun 2015 00:33:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [134.102.201.11]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id t5D7X24t010278 for <cose@ietf.org>; Sat, 13 Jun 2015 09:33:02 +0200 (CEST)
Received: from alma.local (p5DCCC91B.dip0.t-ipconnect.de [93.204.201.27]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3m7rHf21B0z9B19; Sat, 13 Jun 2015 09:33:02 +0200 (CEST)
Message-ID: <557BDCA9.1090308@tzi.org>
Date: Sat, 13 Jun 2015 09:32:57 +0200
From: Carsten Bormann <cabo@tzi.org>
User-Agent: Postbox 4.0.1 (Macintosh/20150514)
MIME-Version: 1.0
To: cose@ietf.org
X-Enigmail-Version: 1.2.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/xSJfzM76R9lMF0eQ1KIAV-VB-ek>
Subject: [Cose] Editorial: New term "label"
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Jun 2015 07:34:06 -0000

Justin Richer wrote:
> Weâ€™re starting a two week review period to determine a potential
> starting draft for the COSE work. 
> At the end of the two week period, the chairs will do a consensus call.

So you want to play this safe RFC 2418 wise.  OK.
But let's not get stuck with a month of dead time.
(Also, let's get the WG draft in before the I-D cutoff.)

I'm assuming we will actively work on Jim's draft during this time (for
most of us under the assumption that this will be the WG draft after the
various timeouts have passed).

In the next couple of weeks, I will post a number of change proposals,
some editorial, some at the level of encoding, and maybe some with
deeper impact.

Today's proposal is editorial, motivated by our overloading of the term
"key".
"Key" is used both as a cryptographic key (which is then further
specialized as COSE_Key), and as the thing indexing a map ("map key").
The latter are not only strings, but integers in COSE.  There often is a
need for "string or integer used in an identifying role", not just for
map keys, but also for algorithm identifiers etc.

So I propose we introduce the term "label" for these.  This allows us to
talk about labels and values in a map.  For these, and also for the
places where a label is used in the value position (e.g., under the
label kty) we don't constantly need to say "integer or string".
Introducing a CDDL production for label also simplifies the CDDL a lot.

I'll propose detailed text later today; just throwing out the idea now.

GrÃ¼ÃŸe, Carsten


From nobody Sat Jun 13 07:38:02 2015
Return-Path: <ietf@augustcellars.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 751171A9048 for <cose@ietfa.amsl.com>; Sat, 13 Jun 2015 07:37:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.701
X-Spam-Level: 
X-Spam-Status: No, score=-0.701 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PK0bjVMMr4fl for <cose@ietfa.amsl.com>; Sat, 13 Jun 2015 07:37:58 -0700 (PDT)
Received: from smtp2.pacifier.net (smtp2.pacifier.net [64.255.237.172]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EB6121A9047 for <cose@ietf.org>; Sat, 13 Jun 2015 07:37:57 -0700 (PDT)
Received: from hebrews (unknown [50.109.240.20]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp2.pacifier.net (Postfix) with ESMTPSA id E48ED2CA15; Sat, 13 Jun 2015 07:37:56 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Carsten Bormann'" <cabo@tzi.org>, <cose@ietf.org>
References: <557BDCA9.1090308@tzi.org>
In-Reply-To: <557BDCA9.1090308@tzi.org>
Date: Sat, 13 Jun 2015 07:38:04 -0700
Message-ID: <002b01d0a5e6$8ed94850$ac8bd8f0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQH8U6MrgwBGyu21t+BNKuZ0X0SMTJ1TJAsg
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/NRCQz6diNLtycVX3S8GKALcWc90>
Subject: Re: [Cose] Editorial: New term "label"
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Jun 2015 14:37:59 -0000

> -----Original Message-----
> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Carsten Bormann
> Sent: Saturday, June 13, 2015 12:33 AM
> To: cose@ietf.org
> Subject: [Cose] Editorial: New term "label"
>=20
> Justin Richer wrote:
> > We=E2=80=99re starting a two week review period to determine a =
potential
> > starting draft for the COSE work.
> > At the end of the two week period, the chairs will do a consensus =
call.
>=20
> So you want to play this safe RFC 2418 wise.  OK.
> But let's not get stuck with a month of dead time.
> (Also, let's get the WG draft in before the I-D cutoff.)
>=20
> I'm assuming we will actively work on Jim's draft during this time =
(for most
> of us under the assumption that this will be the WG draft after the =
various
> timeouts have passed).
>=20
> In the next couple of weeks, I will post a number of change proposals, =
some
> editorial, some at the level of encoding, and maybe some with deeper
> impact.
>=20
> Today's proposal is editorial, motivated by our overloading of the =
term
> "key".
> "Key" is used both as a cryptographic key (which is then further =
specialized
> as COSE_Key), and as the thing indexing a map ("map key").
> The latter are not only strings, but integers in COSE.  There often is =
a need
> for "string or integer used in an identifying role", not just for map =
keys, but
> also for algorithm identifiers etc.
>=20
> So I propose we introduce the term "label" for these.  This allows us =
to talk
> about labels and values in a map.  For these, and also for the places =
where a
> label is used in the value position (e.g., under the label kty) we =
don't
> constantly need to say "integer or string".
> Introducing a CDDL production for label also simplifies the CDDL a =
lot.

The idea of separating the uses of the word key and using different =
terms makes complete sense to me.  I agree that this would make things =
much easier. I am leery about the idea of using the same term in a =
generic manner for both map keys and map values as a general rule.  It =
makes sense for something like the 'crit' protected header where the =
value is intended to be a set of map keys, but for something like 'kty' =
where you are just using the type I don't know that I agree.

It might make more sense for us to define two different things:

*  label - replaces the term 'cbor map key'
*  iors - a locally defined cbor type of integer or string

I am not wedded to either of those terms if anybody comes up with =
something better.

Jim

>=20
> I'll propose detailed text later today; just throwing out the idea =
now.
>=20
> Gr=C3=BC=C3=9Fe, Carsten
>=20
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose


From nobody Sat Jun 13 09:17:53 2015
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EF57E1AC417 for <cose@ietfa.amsl.com>; Sat, 13 Jun 2015 09:17:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.701
X-Spam-Level: 
X-Spam-Status: No, score=-0.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, J_CHICKENPOX_45=0.6, J_CHICKENPOX_55=0.6, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u0hUjKLxI0gF for <cose@ietfa.amsl.com>; Sat, 13 Jun 2015 09:17:51 -0700 (PDT)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0107.outbound.protection.outlook.com [207.46.100.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EDD251AC411 for <cose@ietf.org>; Sat, 13 Jun 2015 09:17:50 -0700 (PDT)
Received: from BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) by BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) with Microsoft SMTP Server (TLS) id 15.1.195.6; Sat, 13 Jun 2015 16:17:49 +0000
Received: from BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) by BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) with mapi id 15.01.0195.005; Sat, 13 Jun 2015 16:17:49 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, 'Carsten Bormann' <cabo@tzi.org>, "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [Cose] Editorial: New term "label"
Thread-Index: AQHQpatZ9WeHKwZD4EyojavvdG42XJ2qgcUAgAAb3co=
Date: Sat, 13 Jun 2015 16:17:47 +0000
Message-ID: <BY2PR03MB442B3AE460B395856AB66C6F5BA0@BY2PR03MB442.namprd03.prod.outlook.com>
References: <557BDCA9.1090308@tzi.org>, <002b01d0a5e6$8ed94850$ac8bd8f0$@augustcellars.com>
In-Reply-To: <002b01d0a5e6$8ed94850$ac8bd8f0$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: augustcellars.com; dkim=none (message not signed) header.d=none;
x-originating-ip: [50.47.90.173]
x-microsoft-exchange-diagnostics: 1; BY2PR03MB442; 5:IJXzm79cW+VIfr/7gsS2Ut2+SHY+ui3vFKIrhZXN/t6jneHxJ/qvPczjQ8A/1piW6J/Ccbcg/u1xyucwclhuSCimYiftztZGKGY/+4py2McuT4fq8WFlovyxVT9flqtzt8IUhClBjrwgQEVMcjZbOA==; 24:aYi+flp42TqEDJNTEw/8SDqXH0ga/JSLJrKisE5J+bGUK7lYNsUwmI2dmyCgEZ08ROGjx6sLb39GDTlVxmMKncekAA6qmOOdxvI7/ZHqNv0=; 20:Dh7LmAQfWxFYcgFpjNYtPkcnkwYyDt4X6VAKUVI0ddPybJmVNmuGKqMpbuYVNtQERGhV/RKTNOu8DIpp+79JWw==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB442;
x-microsoft-antispam-prvs: <BY2PR03MB442DF71EF8F241B3F27CBC5F5BA0@BY2PR03MB442.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BY2PR03MB442; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB442; 
x-forefront-prvs: 0606BBEB39
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(24454002)(13464003)(377454003)(51704005)(561944003)(19625215002)(33656002)(66066001)(19580395003)(19580405001)(74316001)(40100003)(19617315012)(77156002)(62966003)(122556002)(5002640100001)(5001770100001)(2501003)(5003600100002)(92566002)(189998001)(107886002)(5001960100002)(2900100001)(2950100001)(15975445007)(16236675004)(76176999)(54356999)(50986999)(87936001)(2656002)(86612001)(77096005)(102836002)(86362001)(99286002)(106116001)(46102003)(76576001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB442; H:BY2PR03MB442.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: multipart/alternative; boundary="_000_BY2PR03MB442B3AE460B395856AB66C6F5BA0BY2PR03MB442namprd_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jun 2015 16:17:48.0118 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB442
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/BafkMCj0mVU3wAhZRaLV7CWt_Io>
Subject: Re: [Cose] Editorial: New term "label"
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Jun 2015 16:17:53 -0000

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

T2Z0ZW4sIG9uZSB0YWxrcyBvZiBOYW1lOlZhbHVlIHBhaXJzLiBUaGF0J3MgaW50dWl0aXZlLCBh
bmQgbWF0Y2hlcyB0aGUgdGVybWlub2xvZ3kgdXNlZCBmb3IgSk9TRSAmIEpXVC4gIEkgdW5kZXJz
dGFuZCB0aGF0IGl0IG1pZ2h0IGJlIGEgYml0IG9kZCB3aGVuIG51bWJlcnMgYXJlIHVzZWQgYXMg
dGhlIE5hbWUuDQoNCkkgd291bGQgYmUgb2sgd2l0aCB1c2luZyB0aGUgdGVybSBMYWJlbCBhbmQg
TGFiZWw6VmFsdWUgcGFpcnMgaWYgd2UgZXhwbGljaXRseSBwcm92aWRlIGEgZGVmaW5pdGlvbiBm
b3Igb3VyIHVzZSBvZiB0aGUgdGVybSBpbiB0aGUgVGVybWlub2xvZ3kgc2VjdGlvbi4gIChJbmRl
ZWQsIHRoYXQncyB3aGF0IEkgdGhvdWdodCBDYXJzdGVuIHdhcyBwcm9wb3NpbmcuKQ0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2ZvbnQ+
DQo8L2JvZHk+DQo8L2h0bWw+DQo=

--_000_BY2PR03MB442B3AE460B395856AB66C6F5BA0BY2PR03MB442namprd_--


From nobody Sat Jun 13 09:46:55 2015
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D62F61ACCFD for <cose@ietfa.amsl.com>; Sat, 13 Jun 2015 09:46:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.95
X-Spam-Level: 
X-Spam-Status: No, score=-0.95 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, J_CHICKENPOX_55=0.6] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5NPaa57zR9LK for <cose@ietfa.amsl.com>; Sat, 13 Jun 2015 09:46:51 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5DA101ACCFA for <cose@ietf.org>; Sat, 13 Jun 2015 09:46:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::b]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id t5DGkh8p014240; Sat, 13 Jun 2015 18:46:43 +0200 (CEST)
Received: from alma.local (p5DCCC91B.dip0.t-ipconnect.de [93.204.201.27]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3m84ZW2wpTz99B1; Sat, 13 Jun 2015 18:46:43 +0200 (CEST)
Message-ID: <557C5E6D.9020308@tzi.org>
Date: Sat, 13 Jun 2015 18:46:37 +0200
From: Carsten Bormann <cabo@tzi.org>
User-Agent: Postbox 4.0.1 (Macintosh/20150514)
MIME-Version: 1.0
To: Mike Jones <Michael.Jones@microsoft.com>
References: <557BDCA9.1090308@tzi.org>, <002b01d0a5e6$8ed94850$ac8bd8f0$@augustcellars.com> <BY2PR03MB442B3AE460B395856AB66C6F5BA0@BY2PR03MB442.namprd03.prod.outlook.com>
In-Reply-To: <BY2PR03MB442B3AE460B395856AB66C6F5BA0@BY2PR03MB442.namprd03.prod.outlook.com>
X-Enigmail-Version: 1.2.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/pKvRwbweS-CJfUHdKICOHplUIGc>
Cc: Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Editorial: New term "label"
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Jun 2015 16:46:54 -0000

Mike Jones wrote:
> I would be ok with using the term Label and Label:Value pairs if we
> explicitly provide a definition for our use of the term in the
> Terminology section.  (Indeed, that's what I thought Carsten was proposing.)

Right.  Below is the pertinent section 1 text in my current draft PR
(which is not yet quite finished).

GrÃ¼ÃŸe, Carsten


## CBOR related terminology {#label}

In JSON, maps are called objects and only have one kind of map key: a
string.
In COSE, we use both strings and integers (both unsigned and negative
integers) as map keys, as well as data items to identify specific
choices.
The (negative and unsigned) integers are used for compactness of
encoding and easy comparison.
Since the word "key" is mainly used in its other meaning as a
cryptographic key, we use the term "label" for this usage of either an
integer or a string to identify map keys and choice data items.

~~~~ CDDL

label = int / tstr

~~~~


From nobody Sat Jun 13 12:32:29 2015
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1E51D1ACDF1 for <cose@ietfa.amsl.com>; Sat, 13 Jun 2015 12:32:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.301
X-Spam-Level: 
X-Spam-Status: No, score=-1.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, J_CHICKENPOX_55=0.6, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8hF9W6yYr4fx for <cose@ietfa.amsl.com>; Sat, 13 Jun 2015 12:32:26 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0720.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::720]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E4CC41ACDED for <cose@ietf.org>; Sat, 13 Jun 2015 12:32:25 -0700 (PDT)
Received: from BY2PR03MB441.namprd03.prod.outlook.com (10.141.141.142) by BY2PR03MB222.namprd03.prod.outlook.com (10.242.36.146) with Microsoft SMTP Server (TLS) id 15.1.190.9; Sat, 13 Jun 2015 19:32:21 +0000
Received: from BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) by BY2PR03MB441.namprd03.prod.outlook.com (10.141.141.142) with Microsoft SMTP Server (TLS) id 15.1.195.6; Sat, 13 Jun 2015 19:32:21 +0000
Received: from BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) by BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) with mapi id 15.01.0195.005; Sat, 13 Jun 2015 19:32:20 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Carsten Bormann <cabo@tzi.org>
Thread-Topic: [Cose] Editorial: New term "label"
Thread-Index: AQHQpatZ9WeHKwZD4EyojavvdG42XJ2qgcUAgAAb3cqAAAgOgIAALk1d
Date: Sat, 13 Jun 2015 19:32:20 +0000
Message-ID: <BY2PR03MB4421A35A4AB84A97F992749F5BA0@BY2PR03MB442.namprd03.prod.outlook.com>
References: <557BDCA9.1090308@tzi.org>, <002b01d0a5e6$8ed94850$ac8bd8f0$@augustcellars.com> <BY2PR03MB442B3AE460B395856AB66C6F5BA0@BY2PR03MB442.namprd03.prod.outlook.com>, <557C5E6D.9020308@tzi.org>
In-Reply-To: <557C5E6D.9020308@tzi.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: tzi.org; dkim=none (message not signed) header.d=none; 
x-originating-ip: [50.47.90.173]
x-microsoft-exchange-diagnostics: 1; BY2PR03MB441; 5:EKdbXh4Bb2JfEgucDfLIc9h6R8Qg0MD+Fe+nmE3gG+zMiP74meCkMLhP30MctC1KWIsKI1Ts3WeQ+YccUi2GRlwHOnxo87yWaJTLVk/ILx6H15wjMBUp3B6NpAY0kmmkd84v9f5mj4A4sHy8WHLARw==; 24:RDs+PQJAnJMQIqXux7c0y65YjEpd5taY0EtpJYhQcObcRPADFX856tQTJprTyUHD4Bc9odDK0tgxHWIBiXPpEC01gMTtNi9UpJBsBxpD/b0=; 20:6a09iEo75PW238h00hJoVmgwrRN0uGlDVNemYhqBIErLGc5A8qjirYgvc50MJPszEmVhQT9Qfj3VmINq4QJicg==
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB441; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB222; 
x-microsoft-antispam-prvs: <BY2PR03MB4410B395DC8DA3540AC0244F5BA0@BY2PR03MB441.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BY2PR03MB441; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB441; 
x-forefront-prvs: 0606BBEB39
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(377454003)(24454002)(122556002)(76176999)(54356999)(99286002)(5003600100002)(2950100001)(2900100001)(19580405001)(106116001)(19580395003)(15975445007)(40100003)(102836002)(77096005)(50986999)(66066001)(19625215002)(77156002)(62966003)(16236675004)(5001920100001)(5001960100002)(110136002)(189998001)(33656002)(87936001)(2656002)(93886004)(86612001)(86362001)(76576001)(5002640100001)(74316001)(92566002)(19617315012)(46102003); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB441; H:BY2PR03MB442.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: multipart/alternative; boundary="_000_BY2PR03MB4421A35A4AB84A97F992749F5BA0BY2PR03MB442namprd_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jun 2015 19:32:20.5754 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB441
X-Microsoft-Exchange-Diagnostics: 1; BY2PR03MB222; 2:3gze2Gvsh1cSdKPIUZ37fYvs3LTfFpXq0UIuuIl9b9HjN8FR5rc+d6fr5WApbfcX; 2:Kbbf0EXU1+Ci9/QzcFoErCvaYj7ndbzJuwohNjnkwSqXrqXx0QDtTkS7NDOPHLsYoS2Sjv+XdjExmMgEJr6qnhKpRb+zZarRaATmCW7z0opWhgreXrzC+1Q0sXD0hnjZK4hbeUXfP/IC/fRz5H8NaQ==; 9:2Snjtai8t3IikMDHnG6cuxDRv9e+gP+Gu5O0e1SJDuk2GUfoNWAMe0QBwqn/Lrde/cmmk9WQ/+UE1rekfieRy+JbOUOkytgzcRVk6VXTnDgf1KAFrwQVmc4JojR+Qrva57soRIO8PMYD67E0otyRAg==
X-OriginatorOrg: microsoft.com
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/WF7hNOXaKqtQBq1IkG04KvdfEQY>
Cc: Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Editorial: New term "label"
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 13 Jun 2015 19:32:28 -0000

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

KzENCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fDQpGcm9tOiBDYXJzdGVuIEJvcm1h
bm48bWFpbHRvOmNhYm9AdHppLm9yZz4NClNlbnQ6IOKAjjYv4oCOMTMv4oCOMjAxNSA5OjQ2IEFN
DQpUbzogTWlrZSBKb25lczxtYWlsdG86TWljaGFlbC5Kb25lc0BtaWNyb3NvZnQuY29tPg0KQ2M6
IEppbSBTY2hhYWQ8bWFpbHRvOmlldGZAYXVndXN0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IGFuPGJyPg0KaW50ZWdlciBvciBhIHN0cmluZyB0byBpZGVudGlmeSBtYXAga2V5cyBhbmQg
Y2hvaWNlIGRhdGEgaXRlbXMuPGJyPg0KPGJyPg0Kfn5+fiBDRERMPGJyPg0KPGJyPg0KbGFiZWwg
PSBpbnQgLyB0c3RyPGJyPg0KPGJyPg0Kfn5+fjxicj4NCjxicj4NCl9fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fPGJyPg0KQ29zZSBtYWlsaW5nIGxpc3Q8YnI+
DQpDb3NlQGlldGYub3JnPGJyPg0KPGEgaHJlZj0iaHR0cHM6Ly93d3cuaWV0Zi5vcmcvbWFpbG1h
bi9saXN0aW5mby9jb3NlIj5odHRwczovL3d3dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2Nv
c2U8L2E+PGJyPg0KPC9kaXY+DQo8L3NwYW4+PC9mb250Pg0KPC9ib2R5Pg0KPC9odG1sPg0K

--_000_BY2PR03MB4421A35A4AB84A97F992749F5BA0BY2PR03MB442namprd_--


From nobody Thu Jun 18 12:15:12 2015
Return-Path: <ietf@augustcellars.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 481A11B33F7 for <cose@ietfa.amsl.com>; Thu, 18 Jun 2015 12:15:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.4
X-Spam-Level: *
X-Spam-Status: No, score=1.4 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  J_CHICKENPOX_55=0.6, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6QOeOA2VAbgW for <cose@ietfa.amsl.com>; Thu, 18 Jun 2015 12:15:10 -0700 (PDT)
Received: from smtp3.pacifier.net (smtp3.pacifier.net [64.255.237.177]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3C10F1B33F5 for <cose@ietf.org>; Thu, 18 Jun 2015 12:15:10 -0700 (PDT)
Received: from hebrews (unknown [50.109.240.20]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp3.pacifier.net (Postfix) with ESMTPSA id 70E5738F4E; Thu, 18 Jun 2015 12:15:09 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Carsten Bormann'" <cabo@tzi.org>
References: <557BDCA9.1090308@tzi.org>, <002b01d0a5e6$8ed94850$ac8bd8f0$@augustcellars.com> <BY2PR03MB442B3AE460B395856AB66C6F5BA0@BY2PR03MB442.namprd03.prod.outlook.com> <557C5E6D.9020308@tzi.org>
In-Reply-To: <557C5E6D.9020308@tzi.org>
Date: Thu, 18 Jun 2015 12:15:18 -0700
Message-ID: <026b01d0a9fb$1e3639a0$5aa2ace0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 15.0
Content-Language: en-us
Thread-Index: AQH8U6MrgwBGyu21t+BNKuZ0X0SMTAHd/k3cAfwJDG0CCfM9np0sLYrA
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/WVC5nw85u37TzmCjWjDEtUaDYKU>
Cc: cose@ietf.org
Subject: Re: [Cose] Editorial: New term "label"
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Jun 2015 19:15:11 -0000

Carsten,

Looking at your pull request, I find that you basically did do the one =
thing that I referred to in my original message about potentially having =
a new confusion develop.

Looking at your definition for COSE_KEY

Label =3D> int / tstr

COSE_Key =3D {
    kty =3D> label,
    ? key_ops =3D> [+label ],
    ? alg =3D> label,
     ? kid =3D> bstr,
     * keys =3D> values
 }

You are suggesting using label as the value portion of kty, key_ops and =
alg.   However the value that is placed in these fields is never used as =
a map key in any location.  We are therefore having the term lable (or =
at least the type) used both where it is referring to something that =
would be a key as well as something that is just a value.

I do believe that the use of label is completely correct for something =
type 'crit' as what it refers to is labels.  Thus
    crit =3D> [+label]=20
Is a totally reasonable CDDL for that item.

I would prefer to keep these the term for key and the type of int/tstr =
separate.

Jim


> -----Original Message-----
> From: Carsten Bormann [mailto:cabo@tzi.org]
> Sent: Saturday, June 13, 2015 9:47 AM
> To: Mike Jones
> Cc: Jim Schaad; cose@ietf.org
> Subject: Re: [Cose] Editorial: New term "label"
>=20
> Mike Jones wrote:
> > I would be ok with using the term Label and Label:Value pairs if we
> > explicitly provide a definition for our use of the term in the
> > Terminology section.  (Indeed, that's what I thought Carsten was
> > proposing.)
>=20
> Right.  Below is the pertinent section 1 text in my current draft PR =
(which is
> not yet quite finished).
>=20
> Gr=C3=BC=C3=9Fe, Carsten
>=20
>=20
> ## CBOR related terminology {#label}
>=20
> In JSON, maps are called objects and only have one kind of map key: a
> string.
> In COSE, we use both strings and integers (both unsigned and negative
> integers) as map keys, as well as data items to identify specific =
choices.
> The (negative and unsigned) integers are used for compactness of =
encoding
> and easy comparison.
> Since the word "key" is mainly used in its other meaning as a =
cryptographic
> key, we use the term "label" for this usage of either an integer or a =
string to
> identify map keys and choice data items.
>=20
> ~~~~ CDDL
>=20
> label =3D int / tstr
>=20
> ~~~~


From nobody Thu Jun 18 12:39:35 2015
Return-Path: <derek@ihtfp.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AD9561B3414 for <cose@ietfa.amsl.com>; Thu, 18 Jun 2015 12:39:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.3
X-Spam-Level: *
X-Spam-Status: No, score=1.3 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, J_CHICKENPOX_55=0.6] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QJ0In53n8R1c for <cose@ietfa.amsl.com>; Thu, 18 Jun 2015 12:39:33 -0700 (PDT)
Received: from mail2.ihtfp.org (mail2.ihtfp.org [IPv6:2001:4830:143:1::3a11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D18981B341D for <cose@ietf.org>; Thu, 18 Jun 2015 12:39:17 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id 5AEF4E2035; Thu, 18 Jun 2015 15:39:16 -0400 (EDT)
Received: from mail2.ihtfp.org ([127.0.0.1]) by localhost (mail2.ihtfp.org [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 16266-05; Thu, 18 Jun 2015 15:39:13 -0400 (EDT)
Received: by mail2.ihtfp.org (Postfix, from userid 48) id D0E09E2036; Thu, 18 Jun 2015 15:39:12 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1434656352; bh=Vn249a6B+pyrlSCx1v9Wat/fsNWu3084JItpqRKYR/0=; h=In-Reply-To:References:Date:Subject:From:To:Cc; b=P36dNHCR8dbtSMbhbTqEX060XMtu+hFMl065SDl08vVGuOSUE6kJf/rn+3/+L0xeH CpNBvAbVxRSrvAcd2KnmIkiDbQd/k7mjxm+9dQ5t0YQTK07cAAs3+ivmgzqZ8Achvk DwEhFfcxmAdFF83vTvhSI19Nt9JxxRjNlIcO2W2c=
Received: from 192.168.248.204 (SquirrelMail authenticated user warlord) by mail2.ihtfp.org with HTTP; Thu, 18 Jun 2015 15:39:12 -0400
Message-ID: <543905cf2e4cadbe8429f4d948b62f98.squirrel@mail2.ihtfp.org>
In-Reply-To: <026b01d0a9fb$1e3639a0$5aa2ace0$@augustcellars.com>
References: <557BDCA9.1090308@tzi.org>, <002b01d0a5e6$8ed94850$ac8bd8f0$@augustcellars.com> <BY2PR03MB442B3AE460B395856AB66C6F5BA0@BY2PR03MB442.namprd03.prod.outlook.com> <557C5E6D.9020308@tzi.org> <026b01d0a9fb$1e3639a0$5aa2ace0$@augustcellars.com>
Date: Thu, 18 Jun 2015 15:39:12 -0400
From: "Derek Atkins" <derek@ihtfp.com>
To: "Jim Schaad" <ietf@augustcellars.com>
User-Agent: SquirrelMail/1.4.22-14.fc20
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
X-Virus-Scanned: Maia Mailguard 1.0.2a
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/YxAMh-7bNgrdBFszpDw1b4TLgYI>
Cc: 'Carsten Bormann' <cabo@tzi.org>, cose@ietf.org
Subject: Re: [Cose] Editorial: New term "label"
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Jun 2015 19:39:34 -0000

Jim,

Do you think you'd prefer something that looks more like:

label => int / tstr
value => int / tstr

COSE_Key = {
    kty => value,
    ? key_ops => [+value ],
    ? alg => value,
    ? kid => bstr,
    * keys => values
 }


(I'm not sure if "value" is the appropriate name to use, and I'm not sure
if "keys" should be changed to "label" in the last line)

-derek

On Thu, June 18, 2015 3:15 pm, Jim Schaad wrote:
> Carsten,
>
> Looking at your pull request, I find that you basically did do the one
> thing that I referred to in my original message about potentially having a
> new confusion develop.
>
> Looking at your definition for COSE_KEY
>
> Label => int / tstr
>
> COSE_Key = {
>     kty => label,
>     ? key_ops => [+label ],
>     ? alg => label,
>      ? kid => bstr,
>      * keys => values
>  }
>
> You are suggesting using label as the value portion of kty, key_ops and
> alg.   However the value that is placed in these fields is never used as a
> map key in any location.  We are therefore having the term lable (or at
> least the type) used both where it is referring to something that would be
> a key as well as something that is just a value.
>
> I do believe that the use of label is completely correct for something
> type 'crit' as what it refers to is labels.  Thus
>     crit => [+label]
> Is a totally reasonable CDDL for that item.
>
> I would prefer to keep these the term for key and the type of int/tstr
> separate.
>
> Jim
>
>
>> -----Original Message-----
>> From: Carsten Bormann [mailto:cabo@tzi.org]
>> Sent: Saturday, June 13, 2015 9:47 AM
>> To: Mike Jones
>> Cc: Jim Schaad; cose@ietf.org
>> Subject: Re: [Cose] Editorial: New term "label"
>>
>> Mike Jones wrote:
>> > I would be ok with using the term Label and Label:Value pairs if we
>> > explicitly provide a definition for our use of the term in the
>> > Terminology section.  (Indeed, that's what I thought Carsten was
>> > proposing.)
>>
>> Right.  Below is the pertinent section 1 text in my current draft PR
>> (which is
>> not yet quite finished).
>>
>> GrÃ¼ÃŸe, Carsten
>>
>>
>> ## CBOR related terminology {#label}
>>
>> In JSON, maps are called objects and only have one kind of map key: a
>> string.
>> In COSE, we use both strings and integers (both unsigned and negative
>> integers) as map keys, as well as data items to identify specific
>> choices.
>> The (negative and unsigned) integers are used for compactness of
>> encoding
>> and easy comparison.
>> Since the word "key" is mainly used in its other meaning as a
>> cryptographic
>> key, we use the term "label" for this usage of either an integer or a
>> string to
>> identify map keys and choice data items.
>>
>> ~~~~ CDDL
>>
>> label = int / tstr
>>
>> ~~~~
>
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose
>


-- 
       Derek Atkins                 617-623-3745
       derek@ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant


From nobody Thu Jun 18 12:53:43 2015
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9B8FB1B3442 for <cose@ietfa.amsl.com>; Thu, 18 Jun 2015 12:53:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.597
X-Spam-Level: 
X-Spam-Status: No, score=0.597 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, J_CHICKENPOX_55=0.6, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3FUJpwTDMXdD for <cose@ietfa.amsl.com>; Thu, 18 Jun 2015 12:53:40 -0700 (PDT)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0122.outbound.protection.outlook.com [65.55.169.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DB8DB1A90AB for <cose@ietf.org>; Thu, 18 Jun 2015 12:53:39 -0700 (PDT)
Received: from BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) by BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) with Microsoft SMTP Server (TLS) id 15.1.195.6; Thu, 18 Jun 2015 19:53:37 +0000
Received: from BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) by BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) with mapi id 15.01.0195.005; Thu, 18 Jun 2015 19:53:37 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Derek Atkins <derek@ihtfp.com>, Jim Schaad <ietf@augustcellars.com>
Thread-Topic: [Cose] Editorial: New term "label"
Thread-Index: AQHQpatZ9WeHKwZD4EyojavvdG42XJ2qgcUAgAAb3cqAAAgOgIAIBTMAgAAGrQCAAAOrEA==
Date: Thu, 18 Jun 2015 19:53:36 +0000
Message-ID: <BY2PR03MB44251708C5F09DAD53CD256F5A50@BY2PR03MB442.namprd03.prod.outlook.com>
References: <557BDCA9.1090308@tzi.org>, <002b01d0a5e6$8ed94850$ac8bd8f0$@augustcellars.com> <BY2PR03MB442B3AE460B395856AB66C6F5BA0@BY2PR03MB442.namprd03.prod.outlook.com> <557C5E6D.9020308@tzi.org> <026b01d0a9fb$1e3639a0$5aa2ace0$@augustcellars.com> <543905cf2e4cadbe8429f4d948b62f98.squirrel@mail2.ihtfp.org>
In-Reply-To: <543905cf2e4cadbe8429f4d948b62f98.squirrel@mail2.ihtfp.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: ihtfp.com; dkim=none (message not signed) header.d=none;
x-originating-ip: [50.47.90.173]
x-microsoft-exchange-diagnostics: 1; BY2PR03MB442; 5:fevUnO+DJmnVEWHerpSavNAclBlSONAnXq5UNklqQWyjNLDmyx7oj0oAB30vs8XNJregbYNhRfANKU+GgDtL4701Dj8DLg8F/V+SbD4aLyVZYGK86xJXAFqd6V6CuARc91MpXyOBDWS7P2gEbWDIYQ==; 24:sY+JsX8MbckTHbv6zchNIw8H8rg4XhX4cHB72FTuW5PnWB+WzeqmlqhCHIvUocYpk0p8uZz/PGVahDEw0kMcwAY0xNM3CgwvcPnS+wuYisE=; 20:8sshdnYTpwIZrVH79W1VaaI9SMknWRFv8lCLe9fbIvwzSJtmivPJyUa/2CPMFgVJ4wpDX0+63FmhXCeNkbSwmw==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB442;
x-microsoft-antispam-prvs: <BY2PR03MB44248F89CD79F4FE13E5499F5A50@BY2PR03MB442.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BY2PR03MB442; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB442; 
x-forefront-prvs: 0611A21987
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(24454002)(13464003)(377454003)(51704005)(15974865002)(33656002)(66066001)(5002640100001)(5003600100002)(74316001)(19580395003)(77156002)(62966003)(5001770100001)(40100003)(92566002)(5001960100002)(189998001)(122556002)(19580405001)(2950100001)(2900100001)(54356999)(50986999)(76176999)(2656002)(87936001)(86612001)(102836002)(15975445007)(77096005)(86362001)(106116001)(46102003)(93886004)(76576001)(99286002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB442; H:BY2PR03MB442.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jun 2015 19:53:36.9561 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB442
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/BhyBJT9fUDfyBbAIg0gagqWylDM>
Cc: 'Carsten Bormann' <cabo@tzi.org>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Editorial: New term "label"
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Jun 2015 19:53:41 -0000

VmFsdWUgY2FuIGJlIGFueSBDQk9SIHR5cGUsIGluY2x1ZGluZyBhcnJheXMsIHN0cnVjdHVyZXMs
IEJvb2xlYW5zLCBhbmQgbnVsbCwgbm90IGp1c3QgaW50IG9yIHRzdHIuDQoNCi0tLS0tT3JpZ2lu
YWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBDb3NlIFttYWlsdG86Y29zZS1ib3VuY2VzQGlldGYub3Jn
XSBPbiBCZWhhbGYgT2YgRGVyZWsgQXRraW5zDQpTZW50OiBUaHVyc2RheSwgSnVuZSAxOCwgMjAx
NSAxMjozOSBQTQ0KVG86IEppbSBTY2hhYWQNCkNjOiAnQ2Fyc3RlbiBCb3JtYW5uJzsgY29zZUBp
ZXRmLm9yZw0KU3ViamVjdDogUmU6IFtDb3NlXSBFZGl0b3JpYWw6IE5ldyB0ZXJtICJsYWJlbCIN
Cg0KSmltLA0KDQpEbyB5b3UgdGhpbmsgeW91J2QgcHJlZmVyIHNvbWV0aGluZyB0aGF0IGxvb2tz
IG1vcmUgbGlrZToNCg0KbGFiZWwgPT4gaW50IC8gdHN0cg0KdmFsdWUgPT4gaW50IC8gdHN0cg0K
DQpDT1NFX0tleSA9IHsNCiAgICBrdHkgPT4gdmFsdWUsDQogICAgPyBrZXlfb3BzID0+IFsrdmFs
dWUgXSw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BhY3RuZXNzIG9mIA0KPj4gZW5jb2RpbmcgYW5kIGVhc3kgY29tcGFyaXNvbi4NCj4+IFNp
bmNlIHRoZSB3b3JkICJrZXkiIGlzIG1haW5seSB1c2VkIGluIGl0cyBvdGhlciBtZWFuaW5nIGFz
IGEgDQo+PiBjcnlwdG9ncmFwaGljIGtleSwgd2UgdXNlIHRoZSB0ZXJtICJsYWJlbCIgZm9yIHRo
aXMgdXNhZ2Ugb2YgZWl0aGVyIA0KPj4gYW4gaW50ZWdlciBvciBhIHN0cmluZyB0byBpZGVudGlm
eSBtYXAga2V5cyBhbmQgY2hvaWNlIGRhdGEgaXRlbXMuDQo+Pg0KPj4gfn5+fiBDRERMDQo+Pg0K
Pj4gbGFiZWwgPSBpbnQgLyB0c3RyDQo+Pg0KPj4gfn5+fg0KPg0KPiBfX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0KPiBDb3NlIG1haWxpbmcgbGlzdA0KPiBD
b3NlQGlldGYub3JnDQo+IGh0dHBzOi8vd3d3LmlldGYub3JnL21haWxtYW4vbGlzdGluZm8vY29z
ZQ0KPg0KDQoNCi0tIA0KICAgICAgIERlcmVrIEF0a2lucyAgICAgICAgICAgICAgICAgNjE3LTYy
My0zNzQ1DQogICAgICAgZGVyZWtAaWh0ZnAuY29tICAgICAgICAgICAgIHd3dy5paHRmcC5jb20N
CiAgICAgICBDb21wdXRlciBhbmQgSW50ZXJuZXQgU2VjdXJpdHkgQ29uc3VsdGFudA0KDQpfX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXw0KQ29zZSBtYWlsaW5n
IGxpc3QNCkNvc2VAaWV0Zi5vcmcNCmh0dHBzOi8vd3d3LmlldGYub3JnL21haWxtYW4vbGlzdGlu
Zm8vY29zZQ0K


From nobody Thu Jun 18 13:02:26 2015
Return-Path: <derek@ihtfp.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 896231B2D5E for <cose@ietfa.amsl.com>; Thu, 18 Jun 2015 13:02:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.121
X-Spam-Level: **
X-Spam-Status: No, score=2.121 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, HELO_MISMATCH_ORG=0.611, J_CHICKENPOX_55=0.6, T_DKIM_INVALID=0.01] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 64HRj87nrvCp for <cose@ietfa.amsl.com>; Thu, 18 Jun 2015 13:02:24 -0700 (PDT)
Received: from mail2.ihtfp.org (MAIL2.IHTFP.ORG [204.107.200.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C84431A0084 for <cose@ietf.org>; Thu, 18 Jun 2015 13:02:23 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id 5AD6AE2035; Thu, 18 Jun 2015 16:02:22 -0400 (EDT)
Received: from mail2.ihtfp.org ([127.0.0.1]) by localhost (mail2.ihtfp.org [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 16266-09; Thu, 18 Jun 2015 16:02:19 -0400 (EDT)
Received: by mail2.ihtfp.org (Postfix, from userid 48) id 72368E2036; Thu, 18 Jun 2015 16:02:19 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1434657739; bh=TR7XwydoI9VrhxIeBVdZ38MOMxqKFTlJKKWp0L+u0Vs=; h=In-Reply-To:References:Date:Subject:From:To:Cc; b=rVq1bh1dU14FsZ5eHne7OMYb5itLQXGx3SrtBfGBiHP58TL1PUCk9ttyULHGEFJF3 6y2nwYLOhc8kVVmwRD4TF89o+JKbh4VDMKwWNlzzxLsR4zuzt57LDNqieDhjxL3/G7 VFNe4D/siHPS2A6Eg4OlKZp9mL6heLGKBKLvTTrw=
Received: from 192.168.248.204 (SquirrelMail authenticated user warlord) by mail2.ihtfp.org with HTTP; Thu, 18 Jun 2015 16:02:19 -0400
Message-ID: <3301a7f05d5bec8ce19217e063f494d2.squirrel@mail2.ihtfp.org>
In-Reply-To: <BY2PR03MB44251708C5F09DAD53CD256F5A50@BY2PR03MB442.namprd03.prod.outlook.com>
References: <557BDCA9.1090308@tzi.org>, <002b01d0a5e6$8ed94850$ac8bd8f0$@augustcellars.com> <BY2PR03MB442B3AE460B395856AB66C6F5BA0@BY2PR03MB442.namprd03.prod.outlook.com> <557C5E6D.9020308@tzi.org> <026b01d0a9fb$1e3639a0$5aa2ace0$@augustcellars.com> <543905cf2e4cadbe8429f4d948b62f98.squirrel@mail2.ihtfp.org> <BY2PR03MB44251708C5F09DAD53CD256F5A50@BY2PR03MB442.namprd03.prod.outlook.com>
Date: Thu, 18 Jun 2015 16:02:19 -0400
From: "Derek Atkins" <derek@ihtfp.com>
To: "Mike Jones" <Michael.Jones@microsoft.com>
User-Agent: SquirrelMail/1.4.22-14.fc20
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
X-Virus-Scanned: Maia Mailguard 1.0.2a
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/-xIjSdWiI79llQdhJ-Yr8QtLYj0>
Cc: Jim Schaad <ietf@augustcellars.com>, 'Carsten Bormann' <cabo@tzi.org>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Editorial: New term "label"
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Jun 2015 20:02:25 -0000

Would you rather I called it "int_or_string_value"?

The kty label can only have an int or tstr value, but we don't want to
label it "label".

-derek

On Thu, June 18, 2015 3:53 pm, Mike Jones wrote:
> Value can be any CBOR type, including arrays, structures, Booleans, and
> null, not just int or tstr.
>
> -----Original Message-----
> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Derek Atkins
> Sent: Thursday, June 18, 2015 12:39 PM
> To: Jim Schaad
> Cc: 'Carsten Bormann'; cose@ietf.org
> Subject: Re: [Cose] Editorial: New term "label"
>
> Jim,
>
> Do you think you'd prefer something that looks more like:
>
> label => int / tstr
> value => int / tstr
>
> COSE_Key = {
>     kty => value,
>     ? key_ops => [+value ],
>     ? alg => value,
>     ? kid => bstr,
>     * keys => values
>  }
>
>
> (I'm not sure if "value" is the appropriate name to use, and I'm not sure
> if "keys" should be changed to "label" in the last line)
>
> -derek
>
> On Thu, June 18, 2015 3:15 pm, Jim Schaad wrote:
>> Carsten,
>>
>> Looking at your pull request, I find that you basically did do the one
>> thing that I referred to in my original message about potentially
>> having a new confusion develop.
>>
>> Looking at your definition for COSE_KEY
>>
>> Label => int / tstr
>>
>> COSE_Key = {
>>     kty => label,
>>     ? key_ops => [+label ],
>>     ? alg => label,
>>      ? kid => bstr,
>>      * keys => values
>>  }
>>
>> You are suggesting using label as the value portion of kty, key_ops and
>> alg.   However the value that is placed in these fields is never used as
>> a
>> map key in any location.  We are therefore having the term lable (or
>> at least the type) used both where it is referring to something that
>> would be a key as well as something that is just a value.
>>
>> I do believe that the use of label is completely correct for something
>> type 'crit' as what it refers to is labels.  Thus
>>     crit => [+label]
>> Is a totally reasonable CDDL for that item.
>>
>> I would prefer to keep these the term for key and the type of int/tstr
>> separate.
>>
>> Jim
>>
>>
>>> -----Original Message-----
>>> From: Carsten Bormann [mailto:cabo@tzi.org]
>>> Sent: Saturday, June 13, 2015 9:47 AM
>>> To: Mike Jones
>>> Cc: Jim Schaad; cose@ietf.org
>>> Subject: Re: [Cose] Editorial: New term "label"
>>>
>>> Mike Jones wrote:
>>> > I would be ok with using the term Label and Label:Value pairs if we
>>> > explicitly provide a definition for our use of the term in the
>>> > Terminology section.  (Indeed, that's what I thought Carsten was
>>> > proposing.)
>>>
>>> Right.  Below is the pertinent section 1 text in my current draft PR
>>> (which is not yet quite finished).
>>>
>>> GrÃ¼ÃŸe, Carsten
>>>
>>>
>>> ## CBOR related terminology {#label}
>>>
>>> In JSON, maps are called objects and only have one kind of map key: a
>>> string.
>>> In COSE, we use both strings and integers (both unsigned and negative
>>> integers) as map keys, as well as data items to identify specific
>>> choices.
>>> The (negative and unsigned) integers are used for compactness of
>>> encoding and easy comparison.
>>> Since the word "key" is mainly used in its other meaning as a
>>> cryptographic key, we use the term "label" for this usage of either
>>> an integer or a string to identify map keys and choice data items.
>>>
>>> ~~~~ CDDL
>>>
>>> label = int / tstr
>>>
>>> ~~~~
>>
>> _______________________________________________
>> Cose mailing list
>> Cose@ietf.org
>> https://www.ietf.org/mailman/listinfo/cose
>>
>
>
> --
>        Derek Atkins                 617-623-3745
>        derek@ihtfp.com             www.ihtfp.com
>        Computer and Internet Security Consultant
>
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose
>


-- 
       Derek Atkins                 617-623-3745
       derek@ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant


From nobody Thu Jun 18 13:16:19 2015
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8AB991B34D2 for <cose@ietfa.amsl.com>; Thu, 18 Jun 2015 13:16:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.598
X-Spam-Level: 
X-Spam-Status: No, score=0.598 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, HTML_MESSAGE=0.001, J_CHICKENPOX_55=0.6, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IMkNk8nq1khI for <cose@ietfa.amsl.com>; Thu, 18 Jun 2015 13:16:16 -0700 (PDT)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0133.outbound.protection.outlook.com [207.46.100.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4FFF61B34D0 for <cose@ietf.org>; Thu, 18 Jun 2015 13:16:16 -0700 (PDT)
Received: from BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) by BY2PR03MB443.namprd03.prod.outlook.com (10.141.141.152) with Microsoft SMTP Server (TLS) id 15.1.195.6; Thu, 18 Jun 2015 20:16:13 +0000
Received: from BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) by BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) with mapi id 15.01.0195.005; Thu, 18 Jun 2015 20:16:13 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Derek Atkins <derek@ihtfp.com>
Thread-Topic: [Cose] Editorial: New term "label"
Thread-Index: AQHQpatZ9WeHKwZD4EyojavvdG42XJ2qgcUAgAAb3cqAAAgOgIAIBTMAgAAGrQCAAAOrEIAAAsqAgAAD4y8=
Date: Thu, 18 Jun 2015 20:16:13 +0000
Message-ID: <BY2PR03MB442DFEF3520868C090BBAB2F5A50@BY2PR03MB442.namprd03.prod.outlook.com>
References: <557BDCA9.1090308@tzi.org>, <002b01d0a5e6$8ed94850$ac8bd8f0$@augustcellars.com> <BY2PR03MB442B3AE460B395856AB66C6F5BA0@BY2PR03MB442.namprd03.prod.outlook.com> <557C5E6D.9020308@tzi.org> <026b01d0a9fb$1e3639a0$5aa2ace0$@augustcellars.com> <543905cf2e4cadbe8429f4d948b62f98.squirrel@mail2.ihtfp.org> <BY2PR03MB44251708C5F09DAD53CD256F5A50@BY2PR03MB442.namprd03.prod.outlook.com>, <3301a7f05d5bec8ce19217e063f494d2.squirrel@mail2.ihtfp.org>
In-Reply-To: <3301a7f05d5bec8ce19217e063f494d2.squirrel@mail2.ihtfp.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: ihtfp.com; dkim=none (message not signed) header.d=none;
x-originating-ip: [166.176.184.210]
x-microsoft-exchange-diagnostics: 1; BY2PR03MB443; 5:KIOv8BypDxuleAc2H2FzYQjrjqQzo91ED6yd8ofUNUjey4uSacWKhVk3EggzsR7N8S+GxPGycP4P9Cq4iP7YiECYeTjatkosyXzaK7WNmcWM0HurnJJv4mcPscmTVYBusMY/VQ2xoRf0jA+NIRl7bA==; 24:kislbq3z6AcR3VDa7rf7IVYZNbSqojJZ3Ze25E20rDbe2XUOFqSRVk1/a6rGQGy6legMzKua4BzYSCgT+0lEkyhDqJCOEaWRp58JHUICMrI=; 20:x9H6Y2TXWWEITZPIjyvoqaxn3tfMBe9/zhxZItebUSI2nsMwJMjiAfzCNcg4PE8deJB33SzjAj0FZIpPKh1/2w==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB443;
x-microsoft-antispam-prvs: <BY2PR03MB443510C8B49A98D713DF472F5A50@BY2PR03MB443.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BY2PR03MB443; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB443; 
x-forefront-prvs: 0611A21987
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(51704005)(377454003)(24454002)(13464003)(5002640100001)(19625215002)(77156002)(106116001)(62966003)(93886004)(76576001)(19617315012)(66066001)(33656002)(189998001)(92566002)(561944003)(99286002)(110136002)(5001960100002)(16601075003)(86362001)(77096005)(54356999)(102836002)(15975445007)(19580395003)(46102003)(2950100001)(40100003)(122556002)(5003600100002)(74316001)(87936001)(86612001)(19580405001)(2656002)(16236675004)(76176999)(50986999)(2900100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB443; H:BY2PR03MB442.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: multipart/alternative; boundary="_000_BY2PR03MB442DFEF3520868C090BBAB2F5A50BY2PR03MB442namprd_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jun 2015 20:16:13.4887 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB443
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/tKoDmrcvm3nd1jfAqriXFa4EGoE>
Cc: Jim Schaad <ietf@augustcellars.com>, 'Carsten Bormann' <cabo@tzi.org>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Editorial: New term "label"
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Jun 2015 20:16:18 -0000

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

SSB0aGluayBJJ20gbWlzc2luZyBzb21ldGhpbmcgaGVyZS4gSSB0aG91Z2h0IHRoYXQgd2hhdCB3
ZSB3ZXJlIGRpc2N1c3NpbmcgaW4gdGhpcyB0aHJlYWQgd2FzIGEgcHJvcG9zYWwgdG8gdXNlIHRo
ZSB0ZXJtICJsYWJlbCIgZm9yIENCT1Igb2JqZWN0IGtleXMgaW4gb3VyIHNwZWNzLCBzbyB0aGF0
IG9iamVjdHMgd291bGQgYmUgZGVzY3JpYmVkIGFzIGNvbnRhaW5pbmcgbGFiZWw6dmFsdWUgcGFp
cnMuDQoNClRoaXMgaXMgdHJ1ZSBvZiBhbGwgbGFiZWxzIC0gbm90IGp1c3Qga3R5IGxhYmVscy4g
IFNvIEkgZG9uJ3Qga25vdyB3aHkgeW91IHdvdWxkbid0IHdhbnQgdG8gY2FsbCBhIHNwZWNpZmlj
IGxhYmVsIGEgbGFiZWwsIGFzc3VtaW5nIHdlIGFkb3B0IHRoYXQgdGVybWlub2xvZ3kuDQoNCi0t
IE1pa2UNCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fDQpGcm9tOiBEZXJlayBBdGtp
bnM8bWFpbHRvOmRlcmVrQGlodGZwLmNvbT4NClNlbnQ6IOKAjjYv4oCOMTgv4oCOMjAxNSAxOjAy
IFBNDQpUbzogTWlrZSBKb25lczxtYWlsdG86TWljaGFlbC5Kb25lc0BtaWNyb3NvZnQuY29tPg0K
Q2M6IEppbSBTY2hhYWQ8bWFpbHRvOmlldGZAYXVndXN0Y2VsbGFycy5jb20+OyAnQ2Fyc3RlbiBC
b3JtYW5uJzxtYWlsdG86Y2Fib0B0emkub3JnPjsgY29zZUBpZXRmLm9yZzxtYWlsdG86Y29zZUB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o+DQo+IF9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fDQo+IENvc2UgbWFpbGluZyBsaXN0DQo+IENvc2VAaWV0Zi5vcmcNCj4g
aHR0cHM6Ly93d3cuaWV0Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9jb3NlDQo+DQoNCg0KLS0NCiAg
ICAgICBEZXJlayBBdGtpbnMgICAgICAgICAgICAgICAgIDYxNy02MjMtMzc0NQ0KICAgICAgIGRl
cmVrQGlodGZwLmNvbSAgICAgICAgICAgICB3d3cuaWh0ZnAuY29tPGh0dHA6Ly93d3cuaWh0ZnAu
Y29tPg0KICAgICAgIENvbXB1dGVyIGFuZCBJbnRlcm5ldCBTZWN1cml0eSBDb25zdWx0YW50DQoN
Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fDQpDb3NlIG1h
aWxpbmcgbGlzdA0KQ29zZUBpZXRmLm9yZw0KaHR0cHM6Ly93d3cuaWV0Zi5vcmcvbWFpbG1hbi9s
aXN0aW5mby9jb3NlDQo=

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

PGh0bWw+DQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIgY29udGVudD0i
dGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ij4NCjxtZXRhIG5hbWU9IkdlbmVyYXRvciIgY29udGVu
dD0iTWljcm9zb2Z0IEV4Y2hhbmdlIFNlcnZlciI+DQo8IS0tIGNvbnZlcnRlZCBmcm9tIHRleHQg
LS0+PHN0eWxlPjwhLS0gLkVtYWlsUXVvdGUgeyBtYXJnaW4tbGVmdDogMXB0OyBwYWRkaW5nLWxl
ZnQ6IDRwdDsgYm9yZGVyLWxlZnQ6ICM4MDAwMDAgMnB4IHNvbGlkOyB9IC0tPjwvc3R5bGU+DQo8
L2hl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29z
ZSBtYWlsaW5nIGxpc3Q8YnI+DQpDb3NlQGlldGYub3JnPGJyPg0KPGEgaHJlZj0iaHR0cHM6Ly93
d3cuaWV0Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9jb3NlIj5odHRwczovL3d3dy5pZXRmLm9yZy9t
YWlsbWFuL2xpc3RpbmZvL2Nvc2U8L2E+PGJyPg0KPC9kaXY+DQo8L3NwYW4+PC9mb250Pg0KPC9i
b2R5Pg0KPC9odG1sPg0K

--_000_BY2PR03MB442DFEF3520868C090BBAB2F5A50BY2PR03MB442namprd_--


From nobody Thu Jun 18 13:16:50 2015
Return-Path: <ietf@augustcellars.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1D11C1B2BC0 for <cose@ietfa.amsl.com>; Thu, 18 Jun 2015 13:16:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.7
X-Spam-Level: 
X-Spam-Status: No, score=0.7 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  J_CHICKENPOX_55=0.6, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4n0u71uJqDfk for <cose@ietfa.amsl.com>; Thu, 18 Jun 2015 13:16:47 -0700 (PDT)
Received: from smtp2.pacifier.net (smtp2.pacifier.net [64.255.237.172]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1D7541A1A24 for <cose@ietf.org>; Thu, 18 Jun 2015 13:16:47 -0700 (PDT)
Received: from hebrews (unknown [50.109.240.20]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp2.pacifier.net (Postfix) with ESMTPSA id 386BF2CA57; Thu, 18 Jun 2015 13:16:46 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Derek Atkins'" <derek@ihtfp.com>
References: <557BDCA9.1090308@tzi.org>, <002b01d0a5e6$8ed94850$ac8bd8f0$@augustcellars.com> <BY2PR03MB442B3AE460B395856AB66C6F5BA0@BY2PR03MB442.namprd03.prod.outlook.com> <557C5E6D.9020308@tzi.org> <026b01d0a9fb$1e3639a0$5aa2ace0$@augustcellars.com> <543905cf2e4cadbe8429f4d948b62f98.squirrel@mail2.ihtfp.org>
In-Reply-To: <543905cf2e4cadbe8429f4d948b62f98.squirrel@mail2.ihtfp.org>
Date: Thu, 18 Jun 2015 13:16:55 -0700
Message-ID: <027601d0aa03$b9b783e0$2d268ba0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 15.0
Content-Language: en-us
Thread-Index: AQH8U6MrgwBGyu21t+BNKuZ0X0SMTAHd/k3cAfwJDG0CCfM9ngKfeZSwAnDlb2mdA7uroA==
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/ArSzcFSVToXBs860YBiEtRUJT_4>
Cc: 'Carsten Bormann' <cabo@tzi.org>, cose@ietf.org
Subject: Re: [Cose] Editorial: New term "label"
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Jun 2015 20:16:49 -0000

Yes that is more what I would like to see, although the problem is that =
value is a bit too restrictive.  I would want to distinguish between =
cases where the value is going to be either an int/tstr or it can be any =
cbor type object.  Value vs values is probably not a good distinguisher.

torn =3D> int/tstring
label=3D> torn

(torn is a really bad name for this.  I wish I could come up with =
something good.  Tint does not work nor does tori.  Perhaps if I stop =
trying to encode the type and use something like simple_value.)

I would agree that the last line needs to be changed as well.   That got =
missed in the pull request.

Jim


> -----Original Message-----
> From: Derek Atkins [mailto:derek@ihtfp.com]
> Sent: Thursday, June 18, 2015 12:39 PM
> To: Jim Schaad
> Cc: 'Carsten Bormann'; cose@ietf.org
> Subject: Re: [Cose] Editorial: New term "label"
>=20
> Jim,
>=20
> Do you think you'd prefer something that looks more like:
>=20
> label =3D> int / tstr
> value =3D> int / tstr
>=20
> COSE_Key =3D {
>     kty =3D> value,
>     ? key_ops =3D> [+value ],
>     ? alg =3D> value,
>     ? kid =3D> bstr,
>     * keys =3D> values
>  }
>=20
>=20
> (I'm not sure if "value" is the appropriate name to use, and I'm not =
sure if
> "keys" should be changed to "label" in the last line)
>=20
> -derek
>=20
> On Thu, June 18, 2015 3:15 pm, Jim Schaad wrote:
> > Carsten,
> >
> > Looking at your pull request, I find that you basically did do the =
one
> > thing that I referred to in my original message about potentially
> > having a new confusion develop.
> >
> > Looking at your definition for COSE_KEY
> >
> > Label =3D> int / tstr
> >
> > COSE_Key =3D {
> >     kty =3D> label,
> >     ? key_ops =3D> [+label ],
> >     ? alg =3D> label,
> >      ? kid =3D> bstr,
> >      * keys =3D> values
> >  }
> >
> > You are suggesting using label as the value portion of kty, key_ops =
and
> > alg.   However the value that is placed in these fields is never =
used as a
> > map key in any location.  We are therefore having the term lable (or
> > at least the type) used both where it is referring to something that
> > would be a key as well as something that is just a value.
> >
> > I do believe that the use of label is completely correct for =
something
> > type 'crit' as what it refers to is labels.  Thus
> >     crit =3D> [+label]
> > Is a totally reasonable CDDL for that item.
> >
> > I would prefer to keep these the term for key and the type of =
int/tstr
> > separate.
> >
> > Jim
> >
> >
> >> -----Original Message-----
> >> From: Carsten Bormann [mailto:cabo@tzi.org]
> >> Sent: Saturday, June 13, 2015 9:47 AM
> >> To: Mike Jones
> >> Cc: Jim Schaad; cose@ietf.org
> >> Subject: Re: [Cose] Editorial: New term "label"
> >>
> >> Mike Jones wrote:
> >> > I would be ok with using the term Label and Label:Value pairs if =
we
> >> > explicitly provide a definition for our use of the term in the
> >> > Terminology section.  (Indeed, that's what I thought Carsten was
> >> > proposing.)
> >>
> >> Right.  Below is the pertinent section 1 text in my current draft =
PR
> >> (which is not yet quite finished).
> >>
> >> Gr=C3=BC=C3=9Fe, Carsten
> >>
> >>
> >> ## CBOR related terminology {#label}
> >>
> >> In JSON, maps are called objects and only have one kind of map key: =
a
> >> string.
> >> In COSE, we use both strings and integers (both unsigned and =
negative
> >> integers) as map keys, as well as data items to identify specific
> >> choices.
> >> The (negative and unsigned) integers are used for compactness of
> >> encoding and easy comparison.
> >> Since the word "key" is mainly used in its other meaning as a
> >> cryptographic key, we use the term "label" for this usage of either
> >> an integer or a string to identify map keys and choice data items.
> >>
> >> ~~~~ CDDL
> >>
> >> label =3D int / tstr
> >>
> >> ~~~~
> >
> > _______________________________________________
> > Cose mailing list
> > Cose@ietf.org
> > https://www.ietf.org/mailman/listinfo/cose
> >
>=20
>=20
> --
>        Derek Atkins                 617-623-3745
>        derek@ihtfp.com             www.ihtfp.com
>        Computer and Internet Security Consultant


From nobody Thu Jun 18 13:27:17 2015
Return-Path: <ietf@augustcellars.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 18B5A1B2D5D for <cose@ietfa.amsl.com>; Thu, 18 Jun 2015 13:27:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, J_CHICKENPOX_55=0.6, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CfA2f78oL1Xi for <cose@ietfa.amsl.com>; Thu, 18 Jun 2015 13:27:14 -0700 (PDT)
Received: from smtp1.pacifier.net (smtp1.pacifier.net [64.255.237.171]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3FE0A1B2D2F for <cose@ietf.org>; Thu, 18 Jun 2015 13:27:14 -0700 (PDT)
Received: from hebrews (unknown [50.109.240.20]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp1.pacifier.net (Postfix) with ESMTPSA id C2E872CA55; Thu, 18 Jun 2015 13:27:12 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Mike Jones'" <Michael.Jones@microsoft.com>, "'Derek Atkins'" <derek@ihtfp.com>
References: <557BDCA9.1090308@tzi.org>, <002b01d0a5e6$8ed94850$ac8bd8f0$@augustcellars.com> <BY2PR03MB442B3AE460B395856AB66C6F5BA0@BY2PR03MB442.namprd03.prod.outlook.com> <557C5E6D.9020308@tzi.org> <026b01d0a9fb$1e3639a0$5aa2ace0$@augustcellars.com> <543905cf2e4cadbe8429f4d948b62f98.squirrel@mail2.ihtfp.org> <BY2PR03MB44251708C5F09DAD53CD256F5A50@BY2PR03MB442.namprd03.prod.outlook.com>, <3301a7f05d5bec8ce19217e063f494d2.squirrel@mail2.ihtfp.org> <BY2PR03MB442DFEF3520868C090BBAB2F5A50@BY2PR03MB442.namprd03.prod.outlook.com>
In-Reply-To: <BY2PR03MB442DFEF3520868C090BBAB2F5A50@BY2PR03MB442.namprd03.prod.outlook.com>
Date: Thu, 18 Jun 2015 13:27:22 -0700
Message-ID: <000001d0aa05$2f3d4f90$8db7eeb0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0001_01D0A9CA.82E1ABE0"
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQH8U6MrgwBGyu21t+BNKuZ0X0SMTAHd/k3cAfwJDG0CCfM9ngKfeZSwAnDlb2kBygIHYwKKDxgGAYd1Dmmc1OMf4A==
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/8-CfzRJ_KzbA7RV_Dni0FJDbo60>
Cc: 'Carsten Bormann' <cabo@tzi.org>, cose@ietf.org
Subject: Re: [Cose] Editorial: New term "label"
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Jun 2015 20:27:17 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0001_01D0A9CA.82E1ABE0
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

If you look at the CDDL rule

=20

Cose_key: {

kty=3D>label

}

=20

you end up with=20

kty is the key in a map.  We want to refer to this as the label of the =
field in the map.  So =E2=80=98kty=E2=80=99 is a label.   The type of =
the label in the map is restricted to being an integer (negative or =
non-negative) or a string.

label is the value associated with the key =E2=80=98kty=E2=80=99 in the =
map. We also want to restrict the types allowed to being either an =
integer or a string.

=20

If we use the term =E2=80=98label=E2=80=99 to represent both the map key =
and the type of the map value, there is a potential for getting confused =
here.  I want to make these distinguishable by allowing for one term for =
the map key and one term for the type object.

=20

Jim

=20

=20

From: Mike Jones [mailto:Michael.Jones@microsoft.com]=20
Sent: Thursday, June 18, 2015 1:16 PM
To: Derek Atkins
Cc: Jim Schaad; 'Carsten Bormann'; cose@ietf.org
Subject: RE: [Cose] Editorial: New term "label"

=20

I think I'm missing something here. I thought that what we were =
discussing in this thread was a proposal to use the term "label" for =
CBOR object keys in our specs, so that objects would be described as =
containing label:value pairs.

This is true of all labels - not just kty labels.  So I don't know why =
you wouldn't want to call a specific label a label, assuming we adopt =
that terminology.

-- Mike

  _____ =20

From: Derek Atkins <mailto:derek@ihtfp.com>=20
Sent: =E2=80=8E6/=E2=80=8E18/=E2=80=8E2015 1:02 PM
To: Mike Jones <mailto:Michael.Jones@microsoft.com>=20
Cc: Jim Schaad <mailto:ietf@augustcellars.com> ; 'Carsten Bormann' =
<mailto:cabo@tzi.org> ; cose@ietf.org <mailto:cose@ietf.org>=20
Subject: Re: [Cose] Editorial: New term "label"

Would you rather I called it "int_or_string_value"?

The kty label can only have an int or tstr value, but we don't want to
label it "label".

-derek

On Thu, June 18, 2015 3:53 pm, Mike Jones wrote:
> Value can be any CBOR type, including arrays, structures, Booleans, =
and
> null, not just int or tstr.
>
> -----Original Message-----
> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Derek Atkins
> Sent: Thursday, June 18, 2015 12:39 PM
> To: Jim Schaad
> Cc: 'Carsten Bormann'; cose@ietf.org <mailto:cose@ietf.org>=20
> Subject: Re: [Cose] Editorial: New term "label"
>
> Jim,
>
> Do you think you'd prefer something that looks more like:
>
> label =3D> int / tstr
> value =3D> int / tstr
>
> COSE_Key =3D {
>     kty =3D> value,
>     ? key_ops =3D> [+value ],
>     ? alg =3D> value,
>     ? kid =3D> bstr,
>     * keys =3D> values
>  }
>
>
> (I'm not sure if "value" is the appropriate name to use, and I'm not =
sure
> if "keys" should be changed to "label" in the last line)
>
> -derek
>
> On Thu, June 18, 2015 3:15 pm, Jim Schaad wrote:
>> Carsten,
>>
>> Looking at your pull request, I find that you basically did do the =
one
>> thing that I referred to in my original message about potentially
>> having a new confusion develop.
>>
>> Looking at your definition for COSE_KEY
>>
>> Label =3D> int / tstr
>>
>> COSE_Key =3D {
>>     kty =3D> label,
>>     ? key_ops =3D> [+label ],
>>     ? alg =3D> label,
>>      ? kid =3D> bstr,
>>      * keys =3D> values
>>  }
>>
>> You are suggesting using label as the value portion of kty, key_ops =
and
>> alg.   However the value that is placed in these fields is never used =
as
>> a
>> map key in any location.  We are therefore having the term lable (or
>> at least the type) used both where it is referring to something that
>> would be a key as well as something that is just a value.
>>
>> I do believe that the use of label is completely correct for =
something
>> type 'crit' as what it refers to is labels.  Thus
>>     crit =3D> [+label]
>> Is a totally reasonable CDDL for that item.
>>
>> I would prefer to keep these the term for key and the type of =
int/tstr
>> separate.
>>
>> Jim
>>
>>
>>> -----Original Message-----
>>> From: Carsten Bormann [mailto:cabo@tzi.org]
>>> Sent: Saturday, June 13, 2015 9:47 AM
>>> To: Mike Jones
>>> Cc: Jim Schaad; cose@ietf.org <mailto:cose@ietf.org>=20
>>> Subject: Re: [Cose] Editorial: New term "label"
>>>
>>> Mike Jones wrote:
>>> > I would be ok with using the term Label and Label:Value pairs if =
we
>>> > explicitly provide a definition for our use of the term in the
>>> > Terminology section.  (Indeed, that's what I thought Carsten was
>>> > proposing.)
>>>
>>> Right.  Below is the pertinent section 1 text in my current draft PR
>>> (which is not yet quite finished).
>>>
>>> Gr=C3=BC=C3=9Fe, Carsten
>>>
>>>
>>> ## CBOR related terminology {#label}
>>>
>>> In JSON, maps are called objects and only have one kind of map key: =
a
>>> string.
>>> In COSE, we use both strings and integers (both unsigned and =
negative
>>> integers) as map keys, as well as data items to identify specific
>>> choices.
>>> The (negative and unsigned) integers are used for compactness of
>>> encoding and easy comparison.
>>> Since the word "key" is mainly used in its other meaning as a
>>> cryptographic key, we use the term "label" for this usage of either
>>> an integer or a string to identify map keys and choice data items.
>>>
>>> ~~~~ CDDL
>>>
>>> label =3D int / tstr
>>>
>>> ~~~~
>>
>> _______________________________________________
>> Cose mailing list
>> Cose@ietf.org <mailto:Cose@ietf.org>=20
>> https://www.ietf.org/mailman/listinfo/cose
>>
>
>
> --
>        Derek Atkins                 617-623-3745
>        derek@ihtfp.com <mailto:derek@ihtfp.com>              =
www.ihtfp.com <http://www.ihtfp.com>=20
>        Computer and Internet Security Consultant
>
> _______________________________________________
> Cose mailing list
> Cose@ietf.org <mailto:Cose@ietf.org>=20
> https://www.ietf.org/mailman/listinfo/cose
>


--=20
       Derek Atkins                 617-623-3745
       derek@ihtfp.com <mailto:derek@ihtfp.com>              =
www.ihtfp.com <http://www.ihtfp.com>=20
       Computer and Internet Security Consultant

_______________________________________________
Cose mailing list
Cose@ietf.org <mailto:Cose@ietf.org>=20
https://www.ietf.org/mailman/listinfo/cose


------=_NextPart_000_0001_01D0A9CA.82E1ABE0
Content-Type: text/html;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta =
name=3DGenerator content=3D"Microsoft Word 15 (filtered medium)"><!--[if =
!mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.emailquote, li.emailquote, div.emailquote
	{mso-style-name:emailquote;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:1.0pt;
	border:none;
	padding:0in;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
span.EmailStyle18
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>If you look at the CDDL rule<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>Cose_key: {<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>kty=3D&gt;label<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>}<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>you end up with <o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>kty is the key in a map.=C2=A0 We want to refer to this as the label of =
the field in the map.=C2=A0 So =E2=80=98kty=E2=80=99 is a =
label.=C2=A0=C2=A0 The type of the label in the map is restricted to =
being an integer (negative or non-negative) or a =
string.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>label is the value associated with the key =E2=80=98kty=E2=80=99 in the =
map. We also want to restrict the types allowed to being either an =
integer or a string.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>If we use the term =E2=80=98label=E2=80=99 to represent both the map =
key and the type of the map value, there is a potential for getting =
confused here.=C2=A0 I want to make these distinguishable by allowing =
for one term for the map key and one term for the type =
object.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>Jim<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><div style=3D'border:none;border-left:solid =
blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div =
style=3D'border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span><=
/b><span style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> =
Mike Jones [mailto:Michael.Jones@microsoft.com] <br><b>Sent:</b> =
Thursday, June 18, 2015 1:16 PM<br><b>To:</b> Derek Atkins<br><b>Cc:</b> =
Jim Schaad; 'Carsten Bormann'; cose@ietf.org<br><b>Subject:</b> RE: =
[Cose] Editorial: New term =
&quot;label&quot;<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><div><div><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>I think I'm =
missing something here. I thought that what we were discussing in this =
thread was a proposal to use the term &quot;label&quot; for CBOR object =
keys in our specs, so that objects would be described as containing =
label:value pairs.<br><br>This is true of all labels - not just kty =
labels.&nbsp; So I don't know why you wouldn't want to call a specific =
label a label, assuming we adopt that terminology.<br><br>-- =
Mike<o:p></o:p></span></p></div></div><div><div class=3DMsoNormal =
align=3Dcenter style=3D'text-align:center'><hr size=3D3 width=3D"100%" =
align=3Dcenter></div><p class=3DMsoNormal =
style=3D'margin-bottom:12.0pt'><b><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>From: =
</span></b><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'><a =
href=3D"mailto:derek@ihtfp.com">Derek Atkins</a></span><br><b><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Sent: =
</span></b><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>=E2=80=8E6/=E2=
=80=8E18/=E2=80=8E2015 1:02 PM</span><br><b><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>To: =
</span></b><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'><a =
href=3D"mailto:Michael.Jones@microsoft.com">Mike =
Jones</a></span><br><b><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Cc: =
</span></b><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'><a =
href=3D"mailto:ietf@augustcellars.com">Jim Schaad</a>; <a =
href=3D"mailto:cabo@tzi.org">'Carsten Bormann'</a>; <a =
href=3D"mailto:cose@ietf.org">cose@ietf.org</a></span><br><b><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Subject: =
</span></b><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>Re: [Cose] =
Editorial: New term =
&quot;label&quot;</span><o:p></o:p></p></div></div><div><p =
class=3DMsoNormal><span style=3D'font-size:10.0pt'>Would you rather I =
called it &quot;int_or_string_value&quot;?<br><br>The kty label can only =
have an int or tstr value, but we don't want to<br>label it =
&quot;label&quot;.<br><br>-derek<br><br>On Thu, June 18, 2015 3:53 pm, =
Mike Jones wrote:<br>&gt; Value can be any CBOR type, including arrays, =
structures, Booleans, and<br>&gt; null, not just int or =
tstr.<br>&gt;<br>&gt; -----Original Message-----<br>&gt; From: Cose [<a =
href=3D"mailto:cose-bounces@ietf.org">mailto:cose-bounces@ietf.org</a>] =
On Behalf Of Derek Atkins<br>&gt; Sent: Thursday, June 18, 2015 12:39 =
PM<br>&gt; To: Jim Schaad<br>&gt; Cc: 'Carsten Bormann'; <a =
href=3D"mailto:cose@ietf.org">cose@ietf.org</a><br>&gt; Subject: Re: =
[Cose] Editorial: New term &quot;label&quot;<br>&gt;<br>&gt; =
Jim,<br>&gt;<br>&gt; Do you think you'd prefer something that looks more =
like:<br>&gt;<br>&gt; label =3D&gt; int / tstr<br>&gt; value =3D&gt; int =
/ tstr<br>&gt;<br>&gt; COSE_Key =3D {<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; =
kty =3D&gt; value,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; ? key_ops =3D&gt; =
[+value ],<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; ? alg =3D&gt; =
value,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; ? kid =3D&gt; =
bstr,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; * keys =3D&gt; =
values<br>&gt;&nbsp; }<br>&gt;<br>&gt;<br>&gt; (I'm not sure if =
&quot;value&quot; is the appropriate name to use, and I'm not =
sure<br>&gt; if &quot;keys&quot; should be changed to &quot;label&quot; =
in the last line)<br>&gt;<br>&gt; -derek<br>&gt;<br>&gt; On Thu, June =
18, 2015 3:15 pm, Jim Schaad wrote:<br>&gt;&gt; =
Carsten,<br>&gt;&gt;<br>&gt;&gt; Looking at your pull request, I find =
that you basically did do the one<br>&gt;&gt; thing that I referred to =
in my original message about potentially<br>&gt;&gt; having a new =
confusion develop.<br>&gt;&gt;<br>&gt;&gt; Looking at your definition =
for COSE_KEY<br>&gt;&gt;<br>&gt;&gt; Label =3D&gt; int / =
tstr<br>&gt;&gt;<br>&gt;&gt; COSE_Key =3D =
{<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; kty =3D&gt; =
label,<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; ? key_ops =3D&gt; [+label =
],<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; ? alg =3D&gt; =
label,<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ? kid =3D&gt; =
bstr,<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * keys =3D&gt; =
values<br>&gt;&gt;&nbsp; }<br>&gt;&gt;<br>&gt;&gt; You are suggesting =
using label as the value portion of kty, key_ops and<br>&gt;&gt; =
alg.&nbsp;&nbsp; However the value that is placed in these fields is =
never used as<br>&gt;&gt; a<br>&gt;&gt; map key in any location.&nbsp; =
We are therefore having the term lable (or<br>&gt;&gt; at least the =
type) used both where it is referring to something that<br>&gt;&gt; =
would be a key as well as something that is just a =
value.<br>&gt;&gt;<br>&gt;&gt; I do believe that the use of label is =
completely correct for something<br>&gt;&gt; type 'crit' as what it =
refers to is labels.&nbsp; Thus<br>&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; crit =
=3D&gt; [+label]<br>&gt;&gt; Is a totally reasonable CDDL for that =
item.<br>&gt;&gt;<br>&gt;&gt; I would prefer to keep these the term for =
key and the type of int/tstr<br>&gt;&gt; =
separate.<br>&gt;&gt;<br>&gt;&gt; =
Jim<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;&gt; -----Original =
Message-----<br>&gt;&gt;&gt; From: Carsten Bormann [<a =
href=3D"mailto:cabo@tzi.org">mailto:cabo@tzi.org</a>]<br>&gt;&gt;&gt; =
Sent: Saturday, June 13, 2015 9:47 AM<br>&gt;&gt;&gt; To: Mike =
Jones<br>&gt;&gt;&gt; Cc: Jim Schaad; <a =
href=3D"mailto:cose@ietf.org">cose@ietf.org</a><br>&gt;&gt;&gt; Subject: =
Re: [Cose] Editorial: New term =
&quot;label&quot;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Mike Jones =
wrote:<br>&gt;&gt;&gt; &gt; I would be ok with using the term Label and =
Label:Value pairs if we<br>&gt;&gt;&gt; &gt; explicitly provide a =
definition for our use of the term in the<br>&gt;&gt;&gt; &gt; =
Terminology section.&nbsp; (Indeed, that's what I thought Carsten =
was<br>&gt;&gt;&gt; &gt; proposing.)<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; =
Right.&nbsp; Below is the pertinent section 1 text in my current draft =
PR<br>&gt;&gt;&gt; (which is not yet quite =
finished).<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; Gr=C3=BC=C3=9Fe, =
Carsten<br>&gt;&gt;&gt;<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; ## CBOR related =
terminology {#label}<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; In JSON, maps are =
called objects and only have one kind of map key: a<br>&gt;&gt;&gt; =
string.<br>&gt;&gt;&gt; In COSE, we use both strings and integers (both =
unsigned and negative<br>&gt;&gt;&gt; integers) as map keys, as well as =
data items to identify specific<br>&gt;&gt;&gt; choices.<br>&gt;&gt;&gt; =
The (negative and unsigned) integers are used for compactness =
of<br>&gt;&gt;&gt; encoding and easy comparison.<br>&gt;&gt;&gt; Since =
the word &quot;key&quot; is mainly used in its other meaning as =
a<br>&gt;&gt;&gt; cryptographic key, we use the term &quot;label&quot; =
for this usage of either<br>&gt;&gt;&gt; an integer or a string to =
identify map keys and choice data items.<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; =
~~~~ CDDL<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; label =3D int / =
tstr<br>&gt;&gt;&gt;<br>&gt;&gt;&gt; ~~~~<br>&gt;&gt;<br>&gt;&gt; =
_______________________________________________<br>&gt;&gt; Cose mailing =
list<br>&gt;&gt; <a =
href=3D"mailto:Cose@ietf.org">Cose@ietf.org</a><br>&gt;&gt; <a =
href=3D"https://www.ietf.org/mailman/listinfo/cose">https://www.ietf.org/=
mailman/listinfo/cose</a><br>&gt;&gt;<br>&gt;<br>&gt;<br>&gt; =
--<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Derek =
Atkins&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
617-623-3745<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a =
href=3D"mailto:derek@ihtfp.com">derek@ihtfp.com</a>&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a =
href=3D"http://www.ihtfp.com">www.ihtfp.com</a><br>&gt;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp; Computer and Internet Security =
Consultant<br>&gt;<br>&gt; =
_______________________________________________<br>&gt; Cose mailing =
list<br>&gt; <a href=3D"mailto:Cose@ietf.org">Cose@ietf.org</a><br>&gt; =
<a =
href=3D"https://www.ietf.org/mailman/listinfo/cose">https://www.ietf.org/=
mailman/listinfo/cose</a><br>&gt;<br><br><br>-- =
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Derek =
Atkins&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
617-623-3745<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a =
href=3D"mailto:derek@ihtfp.com">derek@ihtfp.com</a>&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a =
href=3D"http://www.ihtfp.com">www.ihtfp.com</a><br>&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp; Computer and Internet Security =
Consultant<br><br>_______________________________________________<br>Cose=
 mailing list<br><a =
href=3D"mailto:Cose@ietf.org">Cose@ietf.org</a><br><a =
href=3D"https://www.ietf.org/mailman/listinfo/cose">https://www.ietf.org/=
mailman/listinfo/cose</a><o:p></o:p></span></p></div></div></div></body><=
/html>
------=_NextPart_000_0001_01D0A9CA.82E1ABE0--


From nobody Thu Jun 18 13:36:08 2015
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B0AAE1B3501 for <cose@ietfa.amsl.com>; Thu, 18 Jun 2015 13:36:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.301
X-Spam-Level: 
X-Spam-Status: No, score=-1.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, J_CHICKENPOX_55=0.6, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D0mX9R9xV3fL for <cose@ietfa.amsl.com>; Thu, 18 Jun 2015 13:36:04 -0700 (PDT)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0112.outbound.protection.outlook.com [207.46.100.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 021DE1B3500 for <cose@ietf.org>; Thu, 18 Jun 2015 13:36:03 -0700 (PDT)
Received: from BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) by BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) with Microsoft SMTP Server (TLS) id 15.1.195.6; Thu, 18 Jun 2015 20:36:01 +0000
Received: from BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) by BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) with mapi id 15.01.0195.005; Thu, 18 Jun 2015 20:36:01 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, 'Derek Atkins' <derek@ihtfp.com>
Thread-Topic: [Cose] Editorial: New term "label"
Thread-Index: AQHQpatZ9WeHKwZD4EyojavvdG42XJ2qgcUAgAAb3cqAAAgOgIAIBTMAgAAGrQCAAAOrEIAAAsqAgAAD4y+AAAMdAIAAAmuH
Date: Thu, 18 Jun 2015 20:36:01 +0000
Message-ID: <BY2PR03MB442E014DDCB084A395CD014F5A50@BY2PR03MB442.namprd03.prod.outlook.com>
References: <557BDCA9.1090308@tzi.org>, <002b01d0a5e6$8ed94850$ac8bd8f0$@augustcellars.com> <BY2PR03MB442B3AE460B395856AB66C6F5BA0@BY2PR03MB442.namprd03.prod.outlook.com> <557C5E6D.9020308@tzi.org> <026b01d0a9fb$1e3639a0$5aa2ace0$@augustcellars.com> <543905cf2e4cadbe8429f4d948b62f98.squirrel@mail2.ihtfp.org> <BY2PR03MB44251708C5F09DAD53CD256F5A50@BY2PR03MB442.namprd03.prod.outlook.com>, <3301a7f05d5bec8ce19217e063f494d2.squirrel@mail2.ihtfp.org> <BY2PR03MB442DFEF3520868C090BBAB2F5A50@BY2PR03MB442.namprd03.prod.outlook.com>, <000001d0aa05$2f3d4f90$8db7eeb0$@augustcellars.com>
In-Reply-To: <000001d0aa05$2f3d4f90$8db7eeb0$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Michael.Jones@microsoft.com; 
x-originating-ip: [209.206.162.148]
x-microsoft-exchange-diagnostics: 1; BY2PR03MB442; 5:RUS8Zd4dSlbilbshSomvap8E7pJ9bHbMzMHEFKY+ulAl5np0ZSvh4DVymGC2+G/jAgSMO9i7n9PvCP9FJlm3dI0zVk7iyp3X2TkCUHL8SdU5aAeXJmirMyIPXbK4hVAhpRLezGZXlQOuTYzKqJEA2A==; 24:3rbeQbOspjmL+kVQpI5fWUYYb/3LEyqWAEVPxZKfW8jbvsMBH8SeKxmDpTTr4Pr+94dG56uPLwkBu9z0YH2NSrbKD9Rqzt0E4TgSrUhbArA=; 20:1YjqfeDuGu0Oxojb8sIkq9QK/0TQjrEg3Pdrt6AOMYAim9LUyWXM9W6BmYpDoKck3ONzDUCuBy6+vh6GjbcIXw==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB442;
x-microsoft-antispam-prvs: <BY2PR03MB442875C9B1AEB31AF649031F5A50@BY2PR03MB442.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BY2PR03MB442; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB442; 
x-forefront-prvs: 0611A21987
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(979002)(377454003)(51704005)(199003)(189002)(24454002)(13464003)(106116001)(86362001)(77096005)(46102003)(54356999)(16236675004)(2950100001)(2900100001)(86612001)(102836002)(15975445007)(76176999)(50986999)(87936001)(2656002)(99286002)(93886004)(16601075003)(76576001)(19580395003)(74316001)(19617315012)(19625215002)(33656002)(15974865002)(561944003)(66066001)(5002640100001)(5003600100002)(5001960100002)(40100003)(5001920100001)(122556002)(19580405001)(189998001)(92566002)(62966003)(77156002)(5001770100001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB442; H:BY2PR03MB442.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; A:1; MX:1; LANG:en; 
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
Content-Type: multipart/alternative; boundary="_000_BY2PR03MB442E014DDCB084A395CD014F5A50BY2PR03MB442namprd_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Jun 2015 20:36:01.4320 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB442
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/-8mt5nmRnOQNoFLrWSw7VgizR_A>
Cc: 'Carsten Bormann' <cabo@tzi.org>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Editorial: New term "label"
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Jun 2015 20:36:06 -0000

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

Ok. Then introduce a string-or-int production and define label as that. May=
be that's what you were thinking already. :-)
________________________________
From: Jim Schaad<mailto:ietf@augustcellars.com>
Sent: =FD6/=FD18/=FD2015 1:27 PM
To: Mike Jones<mailto:Michael.Jones@microsoft.com>; 'Derek Atkins'<mailto:d=
erek@ihtfp.com>
Cc: 'Carsten Bormann'<mailto:cabo@tzi.org>; cose@ietf.org<mailto:cose@ietf.=
org>
Subject: RE: [Cose] Editorial: New term "label"

If you look at the CDDL rule

Cose_key: {
kty=3D>label
}

you end up with
kty is the key in a map.  We want to refer to this as the label of the fiel=
d in the map.  So =91kty=92 is a label.   The type of the label in the map =
is restricted to being an integer (negative or non-negative) or a string.
label is the value associated with the key =91kty=92 in the map. We also wa=
nt to restrict the types allowed to being either an integer or a string.

If we use the term =91label=92 to represent both the map key and the type o=
f the map value, there is a potential for getting confused here.  I want to=
 make these distinguishable by allowing for one term for the map key and on=
e term for the type object.

Jim


From: Mike Jones [mailto:Michael.Jones@microsoft.com]
Sent: Thursday, June 18, 2015 1:16 PM
To: Derek Atkins
Cc: Jim Schaad; 'Carsten Bormann'; cose@ietf.org
Subject: RE: [Cose] Editorial: New term "label"

I think I'm missing something here. I thought that what we were discussing =
in this thread was a proposal to use the term "label" for CBOR object keys =
in our specs, so that objects would be described as containing label:value =
pairs.

This is true of all labels - not just kty labels.  So I don't know why you =
wouldn't want to call a specific label a label, assuming we adopt that term=
inology.

-- Mike
________________________________
From: Derek Atkins<mailto:derek@ihtfp.com>
Sent: =FD6/=FD18/=FD2015 1:02 PM
To: Mike Jones<mailto:Michael.Jones@microsoft.com>
Cc: Jim Schaad<mailto:ietf@augustcellars.com>; 'Carsten Bormann'<mailto:cab=
o@tzi.org>; cose@ietf.org<mailto:cose@ietf.org>
Subject: Re: [Cose] Editorial: New term "label"
Would you rather I called it "int_or_string_value"?

The kty label can only have an int or tstr value, but we don't want to
label it "label".

-derek

On Thu, June 18, 2015 3:53 pm, Mike Jones wrote:
> Value can be any CBOR type, including arrays, structures, Booleans, and
> null, not just int or tstr.
>
> -----Original Message-----
> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Derek Atkins
> Sent: Thursday, June 18, 2015 12:39 PM
> To: Jim Schaad
> Cc: 'Carsten Bormann'; cose@ietf.org<mailto:cose@ietf.org>
> Subject: Re: [Cose] Editorial: New term "label"
>
> Jim,
>
> Do you think you'd prefer something that looks more like:
>
> label =3D> int / tstr
> value =3D> int / tstr
>
> COSE_Key =3D {
>     kty =3D> value,
>     ? key_ops =3D> [+value ],
>     ? alg =3D> value,
>     ? kid =3D> bstr,
>     * keys =3D> values
>  }
>
>
> (I'm not sure if "value" is the appropriate name to use, and I'm not sure
> if "keys" should be changed to "label" in the last line)
>
> -derek
>
> On Thu, June 18, 2015 3:15 pm, Jim Schaad wrote:
>> Carsten,
>>
>> Looking at your pull request, I find that you basically did do the one
>> thing that I referred to in my original message about potentially
>> having a new confusion develop.
>>
>> Looking at your definition for COSE_KEY
>>
>> Label =3D> int / tstr
>>
>> COSE_Key =3D {
>>     kty =3D> label,
>>     ? key_ops =3D> [+label ],
>>     ? alg =3D> label,
>>      ? kid =3D> bstr,
>>      * keys =3D> values
>>  }
>>
>> You are suggesting using label as the value portion of kty, key_ops and
>> alg.   However the value that is placed in these fields is never used as
>> a
>> map key in any location.  We are therefore having the term lable (or
>> at least the type) used both where it is referring to something that
>> would be a key as well as something that is just a value.
>>
>> I do believe that the use of label is completely correct for something
>> type 'crit' as what it refers to is labels.  Thus
>>     crit =3D> [+label]
>> Is a totally reasonable CDDL for that item.
>>
>> I would prefer to keep these the term for key and the type of int/tstr
>> separate.
>>
>> Jim
>>
>>
>>> -----Original Message-----
>>> From: Carsten Bormann [mailto:cabo@tzi.org]
>>> Sent: Saturday, June 13, 2015 9:47 AM
>>> To: Mike Jones
>>> Cc: Jim Schaad; cose@ietf.org<mailto:cose@ietf.org>
>>> Subject: Re: [Cose] Editorial: New term "label"
>>>
>>> Mike Jones wrote:
>>> > I would be ok with using the term Label and Label:Value pairs if we
>>> > explicitly provide a definition for our use of the term in the
>>> > Terminology section.  (Indeed, that's what I thought Carsten was
>>> > proposing.)
>>>
>>> Right.  Below is the pertinent section 1 text in my current draft PR
>>> (which is not yet quite finished).
>>>
>>> Gr=FC?e, Carsten
>>>
>>>
>>> ## CBOR related terminology {#label}
>>>
>>> In JSON, maps are called objects and only have one kind of map key: a
>>> string.
>>> In COSE, we use both strings and integers (both unsigned and negative
>>> integers) as map keys, as well as data items to identify specific
>>> choices.
>>> The (negative and unsigned) integers are used for compactness of
>>> encoding and easy comparison.
>>> Since the word "key" is mainly used in its other meaning as a
>>> cryptographic key, we use the term "label" for this usage of either
>>> an integer or a string to identify map keys and choice data items.
>>>
>>> ~~~~ CDDL
>>>
>>> label =3D int / tstr
>>>
>>> ~~~~
>>
>> _______________________________________________
>> Cose mailing list
>> Cose@ietf.org<mailto:Cose@ietf.org>
>> https://www.ietf.org/mailman/listinfo/cose
>>
>
>
> --
>        Derek Atkins                 617-623-3745
>        derek@ihtfp.com<mailto:derek@ihtfp.com>             www.ihtfp.com<=
http://www.ihtfp.com>
>        Computer and Internet Security Consultant
>
> _______________________________________________
> Cose mailing list
> Cose@ietf.org<mailto:Cose@ietf.org>
> https://www.ietf.org/mailman/listinfo/cose
>


--
       Derek Atkins                 617-623-3745
       derek@ihtfp.com<mailto:derek@ihtfp.com>             www.ihtfp.com<ht=
tp://www.ihtfp.com>
       Computer and Internet Security Consultant

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

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

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dwindows-1=
256">
<meta content=3D"text/html; charset=3Dutf-8">
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style>
<!--
@font-face
	{font-family:"Cambria Math"}
@font-face
	{font-family:Calibri}
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman",serif}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline}
p.emailquote, li.emailquote, div.emailquote
	{margin-right:0in;
	margin-left:1.0pt;
	border:none;
	padding:0in;
	font-size:12.0pt;
	font-family:"Times New Roman",serif}
span.EmailStyle18
	{font-family:"Calibri",sans-serif;
	color:#1F497D}
.MsoChpDefault
	{font-size:10.0pt}
@page WordSection1
	{margin:1.0in 1.0in 1.0in 1.0in}
div.WordSection1
	{}
-->
</style>
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<div style=3D"font-family:Calibri,sans-serif; font-size:11pt">Ok. Then intr=
oduce a string-or-int production and define label as that. Maybe that's wha=
t you were thinking already. :-)<br>
</div>
</div>
<div dir=3D"ltr">
<hr>
<span style=3D"font-family:Calibri,sans-serif; font-size:11pt; font-weight:=
bold">From:
</span><span style=3D"font-family:Calibri,sans-serif; font-size:11pt"><a hr=
ef=3D"mailto:ietf@augustcellars.com">Jim Schaad</a></span><br>
<span style=3D"font-family:Calibri,sans-serif; font-size:11pt; font-weight:=
bold">Sent:
</span><span style=3D"font-family:Calibri,sans-serif; font-size:11pt">=FD6/=
=FD18/=FD2015 1:27 PM</span><br>
<span style=3D"font-family:Calibri,sans-serif; font-size:11pt; font-weight:=
bold">To:
</span><span style=3D"font-family:Calibri,sans-serif; font-size:11pt"><a hr=
ef=3D"mailto:Michael.Jones@microsoft.com">Mike Jones</a>;
<a href=3D"mailto:derek@ihtfp.com">'Derek Atkins'</a></span><br>
<span style=3D"font-family:Calibri,sans-serif; font-size:11pt; font-weight:=
bold">Cc:
</span><span style=3D"font-family:Calibri,sans-serif; font-size:11pt"><a hr=
ef=3D"mailto:cabo@tzi.org">'Carsten Bormann'</a>;
<a href=3D"mailto:cose@ietf.org">cose@ietf.org</a></span><br>
<span style=3D"font-family:Calibri,sans-serif; font-size:11pt; font-weight:=
bold">Subject:
</span><span style=3D"font-family:Calibri,sans-serif; font-size:11pt">RE: [=
Cose] Editorial: New term &quot;label&quot;</span><br>
<br>
</div>
<div>
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,sans-serif; color:#1F497D">If you look at the CDDL rule</span>=
</p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,sans-serif; color:#1F497D">&nbsp;</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,sans-serif; color:#1F497D">Cose_key: {</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,sans-serif; color:#1F497D">kty=3D&gt;label</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,sans-serif; color:#1F497D">}</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,sans-serif; color:#1F497D">&nbsp;</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,sans-serif; color:#1F497D">you end up with
</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,sans-serif; color:#1F497D">kty is the key in a map.&nbsp; We w=
ant to refer to this as the label of the field in the map.&nbsp; So =91kty=
=92 is a label.&nbsp;&nbsp; The type of the label in the map is restricted
 to being an integer (negative or non-negative) or a string.</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,sans-serif; color:#1F497D">label is the value associated with =
the key =91kty=92 in the map. We also want to restrict the types allowed to=
 being either an integer or a string.</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,sans-serif; color:#1F497D">&nbsp;</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,sans-serif; color:#1F497D">If we use the term =91label=92 to r=
epresent both the map key and the type of the map value, there is a potenti=
al for getting confused here.&nbsp; I want to make these
 distinguishable by allowing for one term for the map key and one term for =
the type object.</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,sans-serif; color:#1F497D">&nbsp;</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,sans-serif; color:#1F497D">Jim</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,sans-serif; color:#1F497D">&nbsp;</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,sans-serif; color:#1F497D">&nbsp;</span></p>
<div style=3D"border:none; border-left:solid blue 1.5pt; padding:0in 0in 0i=
n 4.0pt">
<div>
<div style=3D"border:none; border-top:solid #E1E1E1 1.0pt; padding:3.0pt 0i=
n 0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:11.0pt; font-family:&quo=
t;Calibri&quot;,sans-serif">From:</span></b><span style=3D"font-size:11.0pt=
; font-family:&quot;Calibri&quot;,sans-serif"> Mike Jones [mailto:Michael.J=
ones@microsoft.com]
<br>
<b>Sent:</b> Thursday, June 18, 2015 1:16 PM<br>
<b>To:</b> Derek Atkins<br>
<b>Cc:</b> Jim Schaad; 'Carsten Bormann'; cose@ietf.org<br>
<b>Subject:</b> RE: [Cose] Editorial: New term &quot;label&quot;</span></p>
</div>
</div>
<p class=3D"MsoNormal">&nbsp;</p>
<div>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt; font-family:&quot;C=
alibri&quot;,sans-serif">I think I'm missing something here. I thought that=
 what we were discussing in this thread was a proposal to use the term &quo=
t;label&quot; for CBOR object keys in our specs, so that
 objects would be described as containing label:value pairs.<br>
<br>
This is true of all labels - not just kty labels.&nbsp; So I don't know why=
 you wouldn't want to call a specific label a label, assuming we adopt that=
 terminology.<br>
<br>
-- Mike</span></p>
</div>
</div>
<div>
<div class=3D"MsoNormal" align=3D"center" style=3D"text-align:center">
<hr size=3D"3" width=3D"100%" align=3D"center">
</div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><b><span style=3D"fon=
t-size:11.0pt; font-family:&quot;Calibri&quot;,sans-serif">From:
</span></b><span style=3D"font-size:11.0pt; font-family:&quot;Calibri&quot;=
,sans-serif"><a href=3D"mailto:derek@ihtfp.com">Derek Atkins</a></span><br>
<b><span style=3D"font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-se=
rif">Sent: </span>
</b><span style=3D"font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-s=
erif">=FD6/=FD18/=FD2015 1:02 PM</span><br>
<b><span style=3D"font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-se=
rif">To: </span></b><span style=3D"font-size:11.0pt; font-family:&quot;Cali=
bri&quot;,sans-serif"><a href=3D"mailto:Michael.Jones@microsoft.com">Mike J=
ones</a></span><br>
<b><span style=3D"font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-se=
rif">Cc: </span></b><span style=3D"font-size:11.0pt; font-family:&quot;Cali=
bri&quot;,sans-serif"><a href=3D"mailto:ietf@augustcellars.com">Jim Schaad<=
/a>;
<a href=3D"mailto:cabo@tzi.org">'Carsten Bormann'</a>; <a href=3D"mailto:co=
se@ietf.org">
cose@ietf.org</a></span><br>
<b><span style=3D"font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-se=
rif">Subject: </span>
</b><span style=3D"font-size:11.0pt; font-family:&quot;Calibri&quot;,sans-s=
erif">Re: [Cose] Editorial: New term &quot;label&quot;</span></p>
</div>
</div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt">Would you rather I =
called it &quot;int_or_string_value&quot;?<br>
<br>
The kty label can only have an int or tstr value, but we don't want to<br>
label it &quot;label&quot;.<br>
<br>
-derek<br>
<br>
On Thu, June 18, 2015 3:53 pm, Mike Jones wrote:<br>
&gt; Value can be any CBOR type, including arrays, structures, Booleans, an=
d<br>
&gt; null, not just int or tstr.<br>
&gt;<br>
&gt; -----Original Message-----<br>
&gt; From: Cose [<a href=3D"mailto:cose-bounces@ietf.org">mailto:cose-bounc=
es@ietf.org</a>] On Behalf Of Derek Atkins<br>
&gt; Sent: Thursday, June 18, 2015 12:39 PM<br>
&gt; To: Jim Schaad<br>
&gt; Cc: 'Carsten Bormann'; <a href=3D"mailto:cose@ietf.org">cose@ietf.org<=
/a><br>
&gt; Subject: Re: [Cose] Editorial: New term &quot;label&quot;<br>
&gt;<br>
&gt; Jim,<br>
&gt;<br>
&gt; Do you think you'd prefer something that looks more like:<br>
&gt;<br>
&gt; label =3D&gt; int / tstr<br>
&gt; value =3D&gt; int / tstr<br>
&gt;<br>
&gt; COSE_Key =3D {<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; kty =3D&gt; value,<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; ? key_ops =3D&gt; [&#43;value ],<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; ? alg =3D&gt; value,<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; ? kid =3D&gt; bstr,<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp; * keys =3D&gt; values<br>
&gt;&nbsp; }<br>
&gt;<br>
&gt;<br>
&gt; (I'm not sure if &quot;value&quot; is the appropriate name to use, and=
 I'm not sure<br>
&gt; if &quot;keys&quot; should be changed to &quot;label&quot; in the last=
 line)<br>
&gt;<br>
&gt; -derek<br>
&gt;<br>
&gt; On Thu, June 18, 2015 3:15 pm, Jim Schaad wrote:<br>
&gt;&gt; Carsten,<br>
&gt;&gt;<br>
&gt;&gt; Looking at your pull request, I find that you basically did do the=
 one<br>
&gt;&gt; thing that I referred to in my original message about potentially<=
br>
&gt;&gt; having a new confusion develop.<br>
&gt;&gt;<br>
&gt;&gt; Looking at your definition for COSE_KEY<br>
&gt;&gt;<br>
&gt;&gt; Label =3D&gt; int / tstr<br>
&gt;&gt;<br>
&gt;&gt; COSE_Key =3D {<br>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; kty =3D&gt; label,<br>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; ? key_ops =3D&gt; [&#43;label ],<br>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; ? alg =3D&gt; label,<br>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ? kid =3D&gt; bstr,<br>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; * keys =3D&gt; values<br>
&gt;&gt;&nbsp; }<br>
&gt;&gt;<br>
&gt;&gt; You are suggesting using label as the value portion of kty, key_op=
s and<br>
&gt;&gt; alg.&nbsp;&nbsp; However the value that is placed in these fields =
is never used as<br>
&gt;&gt; a<br>
&gt;&gt; map key in any location.&nbsp; We are therefore having the term la=
ble (or<br>
&gt;&gt; at least the type) used both where it is referring to something th=
at<br>
&gt;&gt; would be a key as well as something that is just a value.<br>
&gt;&gt;<br>
&gt;&gt; I do believe that the use of label is completely correct for somet=
hing<br>
&gt;&gt; type 'crit' as what it refers to is labels.&nbsp; Thus<br>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp; crit =3D&gt; [&#43;label]<br>
&gt;&gt; Is a totally reasonable CDDL for that item.<br>
&gt;&gt;<br>
&gt;&gt; I would prefer to keep these the term for key and the type of int/=
tstr<br>
&gt;&gt; separate.<br>
&gt;&gt;<br>
&gt;&gt; Jim<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;&gt; -----Original Message-----<br>
&gt;&gt;&gt; From: Carsten Bormann [<a href=3D"mailto:cabo@tzi.org">mailto:=
cabo@tzi.org</a>]<br>
&gt;&gt;&gt; Sent: Saturday, June 13, 2015 9:47 AM<br>
&gt;&gt;&gt; To: Mike Jones<br>
&gt;&gt;&gt; Cc: Jim Schaad; <a href=3D"mailto:cose@ietf.org">cose@ietf.org=
</a><br>
&gt;&gt;&gt; Subject: Re: [Cose] Editorial: New term &quot;label&quot;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Mike Jones wrote:<br>
&gt;&gt;&gt; &gt; I would be ok with using the term Label and Label:Value p=
airs if we<br>
&gt;&gt;&gt; &gt; explicitly provide a definition for our use of the term i=
n the<br>
&gt;&gt;&gt; &gt; Terminology section.&nbsp; (Indeed, that's what I thought=
 Carsten was<br>
&gt;&gt;&gt; &gt; proposing.)<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Right.&nbsp; Below is the pertinent section 1 text in my curre=
nt draft PR<br>
&gt;&gt;&gt; (which is not yet quite finished).<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Gr=FC&szlig;e, Carsten<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ## CBOR related terminology {#label}<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; In JSON, maps are called objects and only have one kind of map=
 key: a<br>
&gt;&gt;&gt; string.<br>
&gt;&gt;&gt; In COSE, we use both strings and integers (both unsigned and n=
egative<br>
&gt;&gt;&gt; integers) as map keys, as well as data items to identify speci=
fic<br>
&gt;&gt;&gt; choices.<br>
&gt;&gt;&gt; The (negative and unsigned) integers are used for compactness =
of<br>
&gt;&gt;&gt; encoding and easy comparison.<br>
&gt;&gt;&gt; Since the word &quot;key&quot; is mainly used in its other mea=
ning as a<br>
&gt;&gt;&gt; cryptographic key, we use the term &quot;label&quot; for this =
usage of either<br>
&gt;&gt;&gt; an integer or a string to identify map keys and choice data it=
ems.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ~~~~ CDDL<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; label =3D int / tstr<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; ~~~~<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Cose mailing list<br>
&gt;&gt; <a href=3D"mailto:Cose@ietf.org">Cose@ietf.org</a><br>
&gt;&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/cose">https://www=
.ietf.org/mailman/listinfo/cose</a><br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Derek Atkins&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; 617-623-3745<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href=3D"mailto:derek@ihtf=
p.com">derek@ihtfp.com</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp; <a href=3D"http://www.ihtfp.com">
www.ihtfp.com</a><br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Computer and Internet Securi=
ty Consultant<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Cose mailing list<br>
&gt; <a href=3D"mailto:Cose@ietf.org">Cose@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/cose">https://www.iet=
f.org/mailman/listinfo/cose</a><br>
&gt;<br>
<br>
<br>
-- <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Derek Atkins&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 617-=
623-3745<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href=3D"mailto:derek@ihtfp.com">der=
ek@ihtfp.com</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp; <a href=3D"http://www.ihtfp.com">
www.ihtfp.com</a><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Computer and Internet Security Consult=
ant<br>
<br>
_______________________________________________<br>
Cose mailing list<br>
<a href=3D"mailto:Cose@ietf.org">Cose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/cose">https://www.ietf.org=
/mailman/listinfo/cose</a></span></p>
</div>
</div>
</div>
</div>
</body>
</html>

--_000_BY2PR03MB442E014DDCB084A395CD014F5A50BY2PR03MB442namprd_--


From nobody Thu Jun 18 14:38:52 2015
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 255AE1B3595 for <cose@ietfa.amsl.com>; Thu, 18 Jun 2015 14:38:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.55
X-Spam-Level: 
X-Spam-Status: No, score=-1.55 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PSeSvOWNQzyO for <cose@ietfa.amsl.com>; Thu, 18 Jun 2015 14:38:49 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 438FD1B3594 for <cose@ietf.org>; Thu, 18 Jun 2015 14:38:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [134.102.201.11]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id t5ILcfLC015299; Thu, 18 Jun 2015 23:38:41 +0200 (CEST)
Received: from alma.local (p5DC7EA60.dip0.t-ipconnect.de [93.199.234.96]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3mCGq514vQz9B0V; Thu, 18 Jun 2015 23:38:41 +0200 (CEST)
Message-ID: <55833A5F.3060908@tzi.org>
Date: Thu, 18 Jun 2015 23:38:39 +0200
From: Carsten Bormann <cabo@tzi.org>
User-Agent: Postbox 4.0.1 (Macintosh/20150514)
MIME-Version: 1.0
To: Mike Jones <Michael.Jones@microsoft.com>
References: <557BDCA9.1090308@tzi.org>, <002b01d0a5e6$8ed94850$ac8bd8f0$@augustcellars.com> <BY2PR03MB442B3AE460B395856AB66C6F5BA0@BY2PR03MB442.namprd03.prod.outlook.com> <557C5E6D.9020308@tzi.org> <026b01d0a9fb$1e3639a0$5aa2ace0$@augustcellars.com> <543905cf2e4cadbe8429f4d948b62f98.squirrel@mail2.ihtfp.org> <BY2PR03MB44251708C5F09DAD53CD256F5A50@BY2PR03MB442.namprd03.prod.outlook.com>, <3301a7f05d5bec8ce19217e063f494d2.squirrel@mail2.ihtfp.org> <BY2PR03MB442DFEF3520868C090BBAB2F5A50@BY2PR03MB442.namprd03.prod.outlook.com>, <000001d0aa05$2f3d4f90$8db7eeb0$@augustcellars.com> <BY2PR03MB442E014DDCB084A395CD014F5A50@BY2PR03MB442.namprd03.prod.outlook.com>
In-Reply-To: <BY2PR03MB442E014DDCB084A395CD014F5A50@BY2PR03MB442.namprd03.prod.outlook.com>
X-Enigmail-Version: 1.2.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/SM2fSSAAJptfuSQgsgsdcKw1Urk>
Cc: Jim Schaad <ietf@augustcellars.com>, 'Derek Atkins' <derek@ihtfp.com>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Editorial: New term "label"
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Jun 2015 21:38:51 -0000

Mike Jones wrote:
> Ok. Then introduce a string-or-int production and define label as that.
> Maybe that's what you were thinking already. :-)

Indeed.

My text proposal is at

https://github.com/cabo/cose-spec/blob/editorial/draft-schaad-cose.md#cbor-related-terminology-label

(and below). (Unfortunately, github's flavor of markdown is somewhat
limited; this should still be mostly readable except for the tables.)

GrÃ¼ÃŸe, Carsten


From nobody Thu Jun 18 14:42:53 2015
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 148A21A1B23 for <cose@ietfa.amsl.com>; Thu, 18 Jun 2015 14:42:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.55
X-Spam-Level: 
X-Spam-Status: No, score=-1.55 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1IVW3FCnmuUD for <cose@ietfa.amsl.com>; Thu, 18 Jun 2015 14:42:51 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 15EA21A1B2D for <cose@ietf.org>; Thu, 18 Jun 2015 14:42:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::b]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id t5ILgjRF025369; Thu, 18 Jun 2015 23:42:45 +0200 (CEST)
Received: from alma.local (p5DC7EA60.dip0.t-ipconnect.de [93.199.234.96]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3mCGvn1GNkz9B0X; Thu, 18 Jun 2015 23:42:44 +0200 (CEST)
Message-ID: <55833B53.2020407@tzi.org>
Date: Thu, 18 Jun 2015 23:42:43 +0200
From: Carsten Bormann <cabo@tzi.org>
User-Agent: Postbox 4.0.1 (Macintosh/20150514)
MIME-Version: 1.0
To: Mike Jones <Michael.Jones@microsoft.com>
References: <557BDCA9.1090308@tzi.org>, <002b01d0a5e6$8ed94850$ac8bd8f0$@augustcellars.com> <BY2PR03MB442B3AE460B395856AB66C6F5BA0@BY2PR03MB442.namprd03.prod.outlook.com> <557C5E6D.9020308@tzi.org> <026b01d0a9fb$1e3639a0$5aa2ace0$@augustcellars.com> <543905cf2e4cadbe8429f4d948b62f98.squirrel@mail2.ihtfp.org> <BY2PR03MB44251708C5F09DAD53CD256F5A50@BY2PR03MB442.namprd03.prod.outlook.com>, <3301a7f05d5bec8ce19217e063f494d2.squirrel@mail2.ihtfp.org> <BY2PR03MB442DFEF3520868C090BBAB2F5A50@BY2PR03MB442.namprd03.prod.outlook.com>, <000001d0aa05$2f3d4f90$8db7eeb0$@augustcellars.com> <BY2PR03MB442E014DDCB084A395CD014F5A50@BY2PR03MB442.namprd03.prod.outlook.com> <55833A5F.3060908@tzi.org>
In-Reply-To: <55833A5F.3060908@tzi.org>
X-Enigmail-Version: 1.2.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/KoUZiQm8gvqTEzvPWUlEnnBX9Wo>
Cc: Jim Schaad <ietf@augustcellars.com>, 'Derek Atkins' <derek@ihtfp.com>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Editorial: New term "label"
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 18 Jun 2015 21:42:52 -0000

Oh, and we can always use another term for a label that is not in a map
key position.
"designator" is the most bureaucratic term I could find (not yet used in
the below text proposal).

GrÃ¼ÃŸe, Carsten


Carsten Bormann wrote:
> Mike Jones wrote:
>> Ok. Then introduce a string-or-int production and define label as that.
>> Maybe that's what you were thinking already. :-)
> 
> Indeed.
> 
> My text proposal is at
> 
> https://github.com/cabo/cose-spec/blob/editorial/draft-schaad-cose.md#cbor-related-terminology-label
> 
> (and below). (Unfortunately, github's flavor of markdown is somewhat
> limited; this should still be mostly readable except for the tables.)
> 
> GrÃ¼ÃŸe, Carsten
> 
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose
> 
> 


From nobody Fri Jun 19 12:21:16 2015
Return-Path: <ietf@augustcellars.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D55E11AD0BA for <cose@ietfa.amsl.com>; Fri, 19 Jun 2015 12:21:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aY_hMq6-wNqY for <cose@ietfa.amsl.com>; Fri, 19 Jun 2015 12:21:13 -0700 (PDT)
Received: from smtp2.pacifier.net (smtp2.pacifier.net [64.255.237.172]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3D3CE1AD0B4 for <cose@ietf.org>; Fri, 19 Jun 2015 12:21:13 -0700 (PDT)
Received: from hebrews (unknown [50.109.240.20]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp2.pacifier.net (Postfix) with ESMTPSA id 7262F2C9F5 for <cose@ietf.org>; Fri, 19 Jun 2015 12:21:12 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <cose@ietf.org>
References: <20150619181004.23248.63878.idtracker@ietfa.amsl.com>
In-Reply-To: <20150619181004.23248.63878.idtracker@ietfa.amsl.com>
Date: Fri, 19 Jun 2015 12:21:19 -0700
Message-ID: <008b01d0aac5$212cae80$63860b80$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQIKwry+2aGpGyS3Pc1hYbGwi42iQp1AAG0Q
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/t761QCXhFhDWEcx3QlIYeMmm6mM>
Subject: [Cose] FW: New Version Notification for draft-schaad-cose-msg-01.txt
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 19:21:15 -0000

I have posted an updated version of the document.  This includes:

Merging in the label/key separation change - except for where it was =
using label for values
Add Media type registrations for 4 new media types
Add an example to the "Three levels of Recipient Information" appendix
Start making changes so that the CDDL spec can become informational =
rather than normative
Fill in some of the COSE Headers section with protected/unprotected =
items
Make IV a protected/unprotected item rather than a message item.
Remove aad as a message item.
Various editorial and real changes.

Jim


> -----Original Message-----
> From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org]
> Sent: Friday, June 19, 2015 11:10 AM
> To: Jim Schaad; Jim Schaad
> Subject: New Version Notification for draft-schaad-cose-msg-01.txt
>=20
>=20
> A new version of I-D, draft-schaad-cose-msg-01.txt has been =
successfully
> submitted by Jim Schaad and posted to the IETF repository.
>=20
> Name:		draft-schaad-cose-msg
> Revision:	01
> Title:		CBOR Encoded Message Syntax
> Document date:	2015-06-19
> Group:		Individual Submission
> Pages:		48
> URL:            =
https://www.ietf.org/internet-drafts/draft-schaad-cose-msg-
> 01.txt
> Status:         =
https://datatracker.ietf.org/doc/draft-schaad-cose-msg/
> Htmlized:       https://tools.ietf.org/html/draft-schaad-cose-msg-01
> Diff:           =
https://www.ietf.org/rfcdiff?url2=3Ddraft-schaad-cose-msg-01
>=20
> Abstract:
>    Concise Binary Object Representation (CBOR) is data format designed
>    for small code size and small message size.  There is a need for =
the
>    ability to have the basic security services defined for this data
>    format.  This document specifies how to do signatures, message
>    authentication codes and encryption using this data format.
>=20
>=20
>=20
>=20
> Please note that it may take a couple of minutes from the time of
> submission until the htmlized version and diff are available at =
tools.ietf.org.
>=20
> The IETF Secretariat


From nobody Fri Jun 19 12:33:18 2015
Return-Path: <derek@ihtfp.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 23BCA1ACCE7 for <cose@ietfa.amsl.com>; Fri, 19 Jun 2015 12:33:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.389
X-Spam-Level: 
X-Spam-Status: No, score=-1.389 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HELO_MISMATCH_ORG=0.611] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q-Sc8NcsEZWW for <cose@ietfa.amsl.com>; Fri, 19 Jun 2015 12:33:15 -0700 (PDT)
Received: from mail2.ihtfp.org (MAIL2.IHTFP.ORG [204.107.200.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 721421AD367 for <cose@ietf.org>; Fri, 19 Jun 2015 12:33:14 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id B99CBE2035; Fri, 19 Jun 2015 15:33:12 -0400 (EDT)
Received: from mail2.ihtfp.org ([127.0.0.1]) by localhost (mail2.ihtfp.org [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 24466-06; Fri, 19 Jun 2015 15:33:10 -0400 (EDT)
Received: by mail2.ihtfp.org (Postfix, from userid 48) id D355FE2036; Fri, 19 Jun 2015 15:33:09 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1434742389; bh=dAsxGCOSc3IYlZmjEixPNi6pydmKOC0zXNDu1kcjUsI=; h=In-Reply-To:References:Date:Subject:From:To:Cc; b=Df9rfhLrzPYN2CMPtxG9fx0ZTq+6RRCIG49IvcLSeqD9MdqmVgBwIxThnNhu+NXHC 0Qe2KXetaxhl5mvfzyPzJZs8gnttkqaeb6qUyJAJbAG8rlyB97X47myVTwHujdtA37 1tBBB6tUypea8nvQMaMqP++lQNkUhQHQzMZ4tEnw=
Received: from 192.168.248.204 (SquirrelMail authenticated user warlord) by mail2.ihtfp.org with HTTP; Fri, 19 Jun 2015 15:33:09 -0400
Message-ID: <265e1f399e6a0f9fbf7c7eb772b3240a.squirrel@mail2.ihtfp.org>
In-Reply-To: <008b01d0aac5$212cae80$63860b80$@augustcellars.com>
References: <20150619181004.23248.63878.idtracker@ietfa.amsl.com> <008b01d0aac5$212cae80$63860b80$@augustcellars.com>
Date: Fri, 19 Jun 2015 15:33:09 -0400
From: "Derek Atkins" <derek@ihtfp.com>
To: "Jim Schaad" <ietf@augustcellars.com>
User-Agent: SquirrelMail/1.4.22-14.fc20
MIME-Version: 1.0
Content-Type: text/plain;charset=utf-8
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
X-Virus-Scanned: Maia Mailguard 1.0.2a
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/ztNBP79kOevA2-qYSpFoJAxETpk>
Cc: cose@ietf.org
Subject: Re: [Cose] FW: New Version Notification for draft-schaad-cose-msg-01.txt
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 19:33:17 -0000

Hi,

One thing I failed to find in the document (granted, I haven't read this
update yet) is:  exactly how does one encode e.g. an ECDSA signature for
inclusion into the COSE_Sign object?  One of my developers is trying to
implement this and the issue arose:  how do you encode r and s in a COSE
Signature?

I had to reverse engineer the example, but I *think* it's just the
byte-strings of r and s concatenated together (and not e.g. the ASN1
output).  but I couldn't find anywhere in the COSE spec where this is
actually specified?

Did I miss a reference?

-derek

On Fri, June 19, 2015 3:21 pm, Jim Schaad wrote:
> I have posted an updated version of the document.  This includes:
>
> Merging in the label/key separation change - except for where it was using
> label for values
> Add Media type registrations for 4 new media types
> Add an example to the "Three levels of Recipient Information" appendix
> Start making changes so that the CDDL spec can become informational rather
> than normative
> Fill in some of the COSE Headers section with protected/unprotected items
> Make IV a protected/unprotected item rather than a message item.
> Remove aad as a message item.
> Various editorial and real changes.
>
> Jim
>
>
>> -----Original Message-----
>> From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org]
>> Sent: Friday, June 19, 2015 11:10 AM
>> To: Jim Schaad; Jim Schaad
>> Subject: New Version Notification for draft-schaad-cose-msg-01.txt
>>
>>
>> A new version of I-D, draft-schaad-cose-msg-01.txt has been successfully
>> submitted by Jim Schaad and posted to the IETF repository.
>>
>> Name:		draft-schaad-cose-msg
>> Revision:	01
>> Title:		CBOR Encoded Message Syntax
>> Document date:	2015-06-19
>> Group:		Individual Submission
>> Pages:		48
>> URL:
>> https://www.ietf.org/internet-drafts/draft-schaad-cose-msg-
>> 01.txt
>> Status:         https://datatracker.ietf.org/doc/draft-schaad-cose-msg/
>> Htmlized:       https://tools.ietf.org/html/draft-schaad-cose-msg-01
>> Diff:
>> https://www.ietf.org/rfcdiff?url2=draft-schaad-cose-msg-01
>>
>> Abstract:
>>    Concise Binary Object Representation (CBOR) is data format designed
>>    for small code size and small message size.  There is a need for the
>>    ability to have the basic security services defined for this data
>>    format.  This document specifies how to do signatures, message
>>    authentication codes and encryption using this data format.
>>
>>
>>
>>
>> Please note that it may take a couple of minutes from the time of
>> submission until the htmlized version and diff are available at
>> tools.ietf.org.
>>
>> The IETF Secretariat
>
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose
>


-- 
       Derek Atkins                 617-623-3745
       derek@ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant


From nobody Fri Jun 19 12:57:02 2015
Return-Path: <ietf@augustcellars.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6064F1AD49D for <cose@ietfa.amsl.com>; Fri, 19 Jun 2015 12:57:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NNcxFQ78C8a2 for <cose@ietfa.amsl.com>; Fri, 19 Jun 2015 12:56:58 -0700 (PDT)
Received: from smtp1.pacifier.net (smtp1.pacifier.net [64.255.237.171]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9361E1AD47E for <cose@ietf.org>; Fri, 19 Jun 2015 12:56:58 -0700 (PDT)
Received: from hebrews (unknown [50.109.240.20]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp1.pacifier.net (Postfix) with ESMTPSA id CF8492CA08; Fri, 19 Jun 2015 12:56:57 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Derek Atkins'" <derek@ihtfp.com>
References: <20150619181004.23248.63878.idtracker@ietfa.amsl.com> <008b01d0aac5$212cae80$63860b80$@augustcellars.com> <265e1f399e6a0f9fbf7c7eb772b3240a.squirrel@mail2.ihtfp.org>
In-Reply-To: <265e1f399e6a0f9fbf7c7eb772b3240a.squirrel@mail2.ihtfp.org>
Date: Fri, 19 Jun 2015 12:57:07 -0700
Message-ID: <000001d0aaca$1ffb4120$5ff1c360$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQIKwry+2aGpGyS3Pc1hYbGwi42iQgMudcYmAmckIxGdE2G0wA==
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/5Wkrje3YMEtsEDR9LNO7n30Mk_k>
Cc: cose@ietf.org
Subject: Re: [Cose] FW: New Version Notification for draft-schaad-cose-msg-01.txt
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 19:57:00 -0000

Technically speaking that is not in this draft but in the algorithms =
draft.

However, yes I have encoded this as r || s where both r and s are the =
length of the hash.  (i.e. don't remove leading zeros)

Jim


> -----Original Message-----
> From: Derek Atkins [mailto:derek@ihtfp.com]
> Sent: Friday, June 19, 2015 12:33 PM
> To: Jim Schaad
> Cc: cose@ietf.org
> Subject: Re: [Cose] FW: New Version Notification for =
draft-schaad-cose-msg-
> 01.txt
>=20
> Hi,
>=20
> One thing I failed to find in the document (granted, I haven't read =
this
> update yet) is:  exactly how does one encode e.g. an ECDSA signature =
for
> inclusion into the COSE_Sign object?  One of my developers is trying =
to
> implement this and the issue arose:  how do you encode r and s in a =
COSE
> Signature?
>=20
> I had to reverse engineer the example, but I *think* it's just the =
byte-strings
> of r and s concatenated together (and not e.g. the ASN1 output).  but =
I
> couldn't find anywhere in the COSE spec where this is actually =
specified?
>=20
> Did I miss a reference?
>=20
> -derek
>=20
> On Fri, June 19, 2015 3:21 pm, Jim Schaad wrote:
> > I have posted an updated version of the document.  This includes:
> >
> > Merging in the label/key separation change - except for where it was
> > using label for values Add Media type registrations for 4 new media
> > types Add an example to the "Three levels of Recipient Information"
> > appendix Start making changes so that the CDDL spec can become
> > informational rather than normative Fill in some of the COSE Headers
> > section with protected/unprotected items Make IV a
> > protected/unprotected item rather than a message item.
> > Remove aad as a message item.
> > Various editorial and real changes.
> >
> > Jim
> >
> >
> >> -----Original Message-----
> >> From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org]
> >> Sent: Friday, June 19, 2015 11:10 AM
> >> To: Jim Schaad; Jim Schaad
> >> Subject: New Version Notification for draft-schaad-cose-msg-01.txt
> >>
> >>
> >> A new version of I-D, draft-schaad-cose-msg-01.txt has been
> >> successfully submitted by Jim Schaad and posted to the IETF =
repository.
> >>
> >> Name:		draft-schaad-cose-msg
> >> Revision:	01
> >> Title:		CBOR Encoded Message Syntax
> >> Document date:	2015-06-19
> >> Group:		Individual Submission
> >> Pages:		48
> >> URL:
> >> https://www.ietf.org/internet-drafts/draft-schaad-cose-msg-
> >> 01.txt
> >> Status:         =
https://datatracker.ietf.org/doc/draft-schaad-cose-msg/
> >> Htmlized:       =
https://tools.ietf.org/html/draft-schaad-cose-msg-01
> >> Diff:
> >> https://www.ietf.org/rfcdiff?url2=3Ddraft-schaad-cose-msg-01
> >>
> >> Abstract:
> >>    Concise Binary Object Representation (CBOR) is data format =
designed
> >>    for small code size and small message size.  There is a need for =
the
> >>    ability to have the basic security services defined for this =
data
> >>    format.  This document specifies how to do signatures, message
> >>    authentication codes and encryption using this data format.
> >>
> >>
> >>
> >>
> >> Please note that it may take a couple of minutes from the time of
> >> submission until the htmlized version and diff are available at
> >> tools.ietf.org.
> >>
> >> The IETF Secretariat
> >
> > _______________________________________________
> > Cose mailing list
> > Cose@ietf.org
> > https://www.ietf.org/mailman/listinfo/cose
> >
>=20
>=20
> --
>        Derek Atkins                 617-623-3745
>        derek@ihtfp.com             www.ihtfp.com
>        Computer and Internet Security Consultant


From nobody Fri Jun 19 13:28:09 2015
Return-Path: <ietf@augustcellars.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BC5461B2A17 for <cose@ietfa.amsl.com>; Fri, 19 Jun 2015 13:28:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IjCH9PAkz5Me for <cose@ietfa.amsl.com>; Fri, 19 Jun 2015 13:28:06 -0700 (PDT)
Received: from smtp3.pacifier.net (smtp3.pacifier.net [64.255.237.177]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E42211B2A16 for <cose@ietf.org>; Fri, 19 Jun 2015 13:28:05 -0700 (PDT)
Received: from hebrews (173-8-216-38-Oregon.hfc.comcastbusiness.net [173.8.216.38]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp3.pacifier.net (Postfix) with ESMTPSA id 3EE6A38F70; Fri, 19 Jun 2015 13:28:05 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Derek Atkins'" <derek@ihtfp.com>
References: <20150619181004.23248.63878.idtracker@ietfa.amsl.com> <008b01d0aac5$212cae80$63860b80$@augustcellars.com> <265e1f399e6a0f9fbf7c7eb772b3240a.squirrel@mail2.ihtfp.org>
In-Reply-To: <265e1f399e6a0f9fbf7c7eb772b3240a.squirrel@mail2.ihtfp.org>
Date: Fri, 19 Jun 2015 13:28:15 -0700
Message-ID: <000101d0aace$79010800$6b031800$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQIKwry+2aGpGyS3Pc1hYbGwi42iQgMudcYmAmckIxGdE2psEA==
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/MWmG_zATzHUmGJL7AFcbk5FqUSU>
Cc: cose@ietf.org
Subject: Re: [Cose] FW: New Version Notification for draft-schaad-cose-msg-01.txt
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 19 Jun 2015 20:28:08 -0000

I should have mentioned,  If I was writing the algorithm draft I would =
mostly be stealing the basics from the JOSE algorithm draft and cleaning =
things up.    I don't like the KDF functions, but much of the rest is =
going to be similar.

Jim


> -----Original Message-----
> From: Derek Atkins [mailto:derek@ihtfp.com]
> Sent: Friday, June 19, 2015 12:33 PM
> To: Jim Schaad
> Cc: cose@ietf.org
> Subject: Re: [Cose] FW: New Version Notification for =
draft-schaad-cose-msg-
> 01.txt
>=20
> Hi,
>=20
> One thing I failed to find in the document (granted, I haven't read =
this
> update yet) is:  exactly how does one encode e.g. an ECDSA signature =
for
> inclusion into the COSE_Sign object?  One of my developers is trying =
to
> implement this and the issue arose:  how do you encode r and s in a =
COSE
> Signature?
>=20
> I had to reverse engineer the example, but I *think* it's just the =
byte-strings
> of r and s concatenated together (and not e.g. the ASN1 output).  but =
I
> couldn't find anywhere in the COSE spec where this is actually =
specified?
>=20
> Did I miss a reference?
>=20
> -derek
>=20
> On Fri, June 19, 2015 3:21 pm, Jim Schaad wrote:
> > I have posted an updated version of the document.  This includes:
> >
> > Merging in the label/key separation change - except for where it was
> > using label for values Add Media type registrations for 4 new media
> > types Add an example to the "Three levels of Recipient Information"
> > appendix Start making changes so that the CDDL spec can become
> > informational rather than normative Fill in some of the COSE Headers
> > section with protected/unprotected items Make IV a
> > protected/unprotected item rather than a message item.
> > Remove aad as a message item.
> > Various editorial and real changes.
> >
> > Jim
> >
> >
> >> -----Original Message-----
> >> From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org]
> >> Sent: Friday, June 19, 2015 11:10 AM
> >> To: Jim Schaad; Jim Schaad
> >> Subject: New Version Notification for draft-schaad-cose-msg-01.txt
> >>
> >>
> >> A new version of I-D, draft-schaad-cose-msg-01.txt has been
> >> successfully submitted by Jim Schaad and posted to the IETF =
repository.
> >>
> >> Name:		draft-schaad-cose-msg
> >> Revision:	01
> >> Title:		CBOR Encoded Message Syntax
> >> Document date:	2015-06-19
> >> Group:		Individual Submission
> >> Pages:		48
> >> URL:
> >> https://www.ietf.org/internet-drafts/draft-schaad-cose-msg-
> >> 01.txt
> >> Status:         =
https://datatracker.ietf.org/doc/draft-schaad-cose-msg/
> >> Htmlized:       =
https://tools.ietf.org/html/draft-schaad-cose-msg-01
> >> Diff:
> >> https://www.ietf.org/rfcdiff?url2=3Ddraft-schaad-cose-msg-01
> >>
> >> Abstract:
> >>    Concise Binary Object Representation (CBOR) is data format =
designed
> >>    for small code size and small message size.  There is a need for =
the
> >>    ability to have the basic security services defined for this =
data
> >>    format.  This document specifies how to do signatures, message
> >>    authentication codes and encryption using this data format.
> >>
> >>
> >>
> >>
> >> Please note that it may take a couple of minutes from the time of
> >> submission until the htmlized version and diff are available at
> >> tools.ietf.org.
> >>
> >> The IETF Secretariat
> >
> > _______________________________________________
> > Cose mailing list
> > Cose@ietf.org
> > https://www.ietf.org/mailman/listinfo/cose
> >
>=20
>=20
> --
>        Derek Atkins                 617-623-3745
>        derek@ihtfp.com             www.ihtfp.com
>        Computer and Internet Security Consultant


From nobody Fri Jun 19 17:12:56 2015
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CEBFD1A9045; Fri, 19 Jun 2015 17:12:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.55
X-Spam-Level: 
X-Spam-Status: No, score=-1.55 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wjdzfq8U-Pec; Fri, 19 Jun 2015 17:12:49 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6BAA61A9076; Fri, 19 Jun 2015 17:12:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::b]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id t5K0Cjhh001196; Sat, 20 Jun 2015 02:12:45 +0200 (CEST)
Received: from alma.local (p5DC7EA60.dip0.t-ipconnect.de [93.199.234.96]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3mCyBP02qJz99ST; Sat, 20 Jun 2015 02:12:44 +0200 (CEST)
Message-ID: <5584AFFA.7030507@tzi.org>
Date: Sat, 20 Jun 2015 02:12:42 +0200
From: Carsten Bormann <cabo@tzi.org>
User-Agent: Postbox 4.0.1 (Macintosh/20150514)
MIME-Version: 1.0
To: dtls-iot@ietf.org, core@ietf.org, ace@ietf.org, cose@ietf.org, t2trg@irtf.org
X-Enigmail-Version: 1.2.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/vLbrncBCp35py9ouRVmy9nGb9CI>
Subject: [Cose] Constrained Node/Network Cluster @ IETF93, early draft version
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Jun 2015 00:12:52 -0000

A first draft version of the IETF93 agenda is out.
** THIS IS GOING TO CHANGE ** for conflict resolution,
so please don't make travel arrangements based on it.

Here is my usual eclectic condensed agenda built from that.
(Bye, bye, appsawg.  lwig over roll is interesting; at least we do
have a roll meeting at all.)
Note that the t2trg meeting on Monday is a "summary" meeting for those
who haven't been able to join during the weekend (conflicts with
Hackathon, ICNRG, etc.)

All times are CEST (UTC+0200) (the browser timezone function appears
to have vanished from https://datatracker.ietf.org/meeting/agenda-utc,
but maybe we can reinstate that for those who want to listen from
remote).

Sorry for the duplicate posting, the IETF mail system does not allow
sending to all 9 mailing lists at the same time.

GrÃ¼ÃŸe, Carsten

SATURDAY, July 18, 2015

1000-1800  Session I
(TBD)   	IRTF*** t2trg   Proposed Thing-to-thing Research Group
0900-2100  IETF Hackathon - Chez Louis

SUNDAY, July 19, 2015

0900-1600  Session II
(TBD)   	IRTF*** t2trg   Proposed Thing-to-thing Research Group
1000-1800  IETF Hackathon - Chez Louis
1600-1700  Newcomers' Meet and Greet (open to Newcomers and WG chairs
only) - Garden Terrace
1700-1900  Welcome Reception - Grand Hilton Ballroom

MONDAY, July 20, 2015

0900-1130  Morning Session I
Grand Hilton BR	ART	appsawg	Applications Area Working Group WG
Karlin I/II	OPS	anima	Autonomic Networking Integrated Model and Approach WG
Berlin/Brussels	SEC ***	cose	CBOR Object Signing and Encryption WG
Congress H II	TSV	rmcat	RTP Media Congestion Avoidance Techniques WG

1300-1500  Afternoon Session I
Congress H III	INT	6man	IPv6 Maintenance WG
Grand Hilton BR	RTG	detnet	Deterministic Networking BOF

1520-1720  Afternoon Session II
Berlin/Brussels	IRTF***	t2trg	Proposed Thing-to-Thing Research Group
Congress H III	TSV	tcpinc	TCP Increased Security WG

1740-1840  Afternoon Session III
Congress H II	INT ***	6lo	IPv6 over Networks of Resource-constrained
Nodes WG
Karlin I/II	SEC	httpauth	Hypertext Transfer Protocol Authentication WG

1850-1950  Afternoon Session IV
Congress H I	INT	intarea	Internet Area Working Group WG

TUESDAY, July 21, 2015

1300-1500  Afternoon Session I
Karlin I/II	ART	httpbis	Hypertext Transfer Protocol WG
Congress H II	INT ***	6lo	IPv6 over Networks of Resource-constrained
Nodes WG
Grand Hilton BR	OPS	v6ops	IPv6 Operations WG

1520-1720  Afternoon Session II
Karlin I/II	ART ***	core	Constrained RESTful Environments WG
Congress H II	RTG	rtgarea	Routing Area Open Meeting
Congress H III	SEC	tls	Transport Layer Security WG

1740-1840  Afternoon Session III
Congress H III	ART	uta	Using TLS in Applications WG
Berlin/Brussels	INT ***	lwig	Light-Weight Implementation Guidance WG
Congress H I	RTG ***	roll	Routing Over Low power and Lossy networks WG

WEDNESDAY, July 22, 2015

0900-1130  Morning Session I
Athens/Barcel.	INT	dnssd	Extensions for Scalable DNS Service Discovery  WG
Karlin I/II	SEC ***	ace	Authentication and Authorization for Constrained
Environments WG
Grand Hilton BR	SEC	tls	Transport Layer Security WG

1300-1530  Afternoon Session I
Grand Hilton BR	INT	homenet	Home Networking WG
Berlin/Brussels	RTG	bier	Bit Indexed Explicit Replication WG

1740-1940  Afternoon Session III
Athens/Barcel.	SEC	oauth	Web Authorization Protocol WG
Congress H III	TSV	tsvwg	Transport Area Working Group WG

THURSDAY, July 23, 2015

1300-1500  Afternoon Session I
Congress H II	SEC	saag	Security Area Open Meeting
Karlin I/II	TSV	taps	Transport Services WG

1520-1720  Afternoon Session II
Athens/Barcel.	INT ***	6tisch	IPv6 over the TSCH mode of IEEE 802.15.4e WG
Congress H III	SEC	acme	Automated Certificate Management Environment WG
Grand Hilton BR	TSV	tsvwg	Transport Area Working Group WG

1740-1910  Afternoon Session III
Athens/Barcel.	ART	webpush	Web-Based Push Notifications WG
Karlin I/II	OPS	anima	Autonomic Networking Integrated Model and Approach WG
Grand Hilton BR	TSV	tsvarea	Transport Area Open Meeting

FRIDAY, July 24, 2015

0900-1130  Morning Session I
Grand Hilton BR	OPS	v6ops	IPv6 Operations WG
Karlin I/II	SEC	openpgp	Open Specification for Pretty Good Privacy WG

1150-1320  Afternoon Session I
Karlin I/II	ART ***	core	Constrained RESTful Environments WG
Congress H I	SEC	tokbind	Token Binding WG


From nobody Fri Jun 19 18:39:18 2015
Return-Path: <jricher@mit.edu>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8EB391B2C5B for <cose@ietfa.amsl.com>; Fri, 19 Jun 2015 18:39:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.511
X-Spam-Level: 
X-Spam-Status: No, score=-1.511 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o3OirGF2r8ZT for <cose@ietfa.amsl.com>; Fri, 19 Jun 2015 18:39:16 -0700 (PDT)
Received: from dmz-mailsec-scanner-2.mit.edu (dmz-mailsec-scanner-2.mit.edu [18.9.25.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 01BFC1B2C4D for <cose@ietf.org>; Fri, 19 Jun 2015 18:39:14 -0700 (PDT)
X-AuditID: 1209190d-f796f6d000005314-07-5584c441492e
Received: from mailhub-auth-2.mit.edu ( [18.7.62.36]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP id 75.F8.21268.144C4855; Fri, 19 Jun 2015 21:39:13 -0400 (EDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-2.mit.edu (8.13.8/8.9.2) with ESMTP id t5K1dCCO012758 for <cose@ietf.org>; Fri, 19 Jun 2015 21:39:13 -0400
Received: from [192.168.128.56] (static-96-237-195-53.bstnma.fios.verizon.net [96.237.195.53]) (authenticated bits=0) (User authenticated as jricher@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id t5K1dB6q008337 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT) for <cose@ietf.org>; Fri, 19 Jun 2015 21:39:12 -0400
Message-ID: <5584C435.3020106@mit.edu>
Date: Fri, 19 Jun 2015 21:39:01 -0400
From: Justin Richer <jricher@mit.edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: cose@ietf.org
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGIsWRmVeSWpSXmKPExsUixG6nout4pCXUYOVaDYtpW6eyOjB6LFny kymAMYrLJiU1J7MstUjfLoErY//ddraCfawV+6YcY29g3MjSxcjJISFgIvFhQjM7hC0mceHe erYuRi4OIYHFTBITfjxhhXCOMkpM3zqdBcJ5zyRxdPIFNpAWXgE1idPnINpZBFQlVm/bwApi swHZ09e0MIHYogJRElMfr2OBqBeUODnzCZDNwSECZN/tNAcJCwuoSHw6eh+shFnATGLe5ofM ELa8xPa3c5gnMPLNQtI9C0nZLCRlCxiZVzHKpuRW6eYmZuYUpybrFicn5uWlFuka6eVmluil ppRuYgQFGack7w7GdweVDjEKcDAq8fAuWNwSKsSaWFZcmXuIUZKDSUmU9/QhoBBfUn5KZUZi cUZ8UWlOavEhRgkOZiUR3rmzgXK8KYmVValF+TApaQ4WJXHeTT/4QoQE0hNLUrNTUwtSi2Cy MhwcShK8j0CGChalpqdWpGXmlCCkmTg4QYbzAA0/CFLDW1yQmFucmQ6RP8Woy7Hgx+21TEIs efl5qVLivEqHgYoEQIoySvPg5sCSwytGcaC3hHldQap4gIkFbtIroCVMQEsmlDeBLClJREhJ NTBqnKyztzrJ3/g/IaEig+NV896NZid0/zOIyodv2bjw+rPp6xNr5l7t/PLu4/2ulYdbVLeL GV8qcbZavfDAkuPLP6alnuScaJ3MYcC5Pvr/rnKueQvs4v6c/x4XaLdzztZfP4X1jqoel09Z UjG9dMK57XFz3H71mcveOFb00YIr/u/6tw9/uG36qsRSnJFoqMVcVJwIAAO1uELpAgAA
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/0Pv3NE2LzYA1Rlm-mxqfQr5Y0-c>
Subject: [Cose] IETF93 Preliminary Schedule
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Jun 2015 01:39:17 -0000

The preliminary schedule for IETF93 has been posted, and at the moment 
we're on for the first slot: Monday morning at 9-11:30. I think that so 
far we're avoiding our main conflicts, and we've got a big 2.5h slot to 
get this group off the ground properly.

We'll be looking for input on the agenda soon, so if you want to 
pontificate on something hopefully-COSE-related, let the chairs know: 
cose-chairs@tools.ietf.org

(Side note, "cose-chairs" is probably the best email address in all of 
IETF.)

And finally, a reminder that we're looking to gather consensus and/or 
alternatives to draft-schaad-cose-msg as a WG input document by this 
coming Wednesday, June 24.

  -- Justin


From nobody Fri Jun 19 20:47:37 2015
Return-Path: <ietf@augustcellars.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A06A91B2CE4 for <cose@ietfa.amsl.com>; Fri, 19 Jun 2015 20:47:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NIqG-0r8ZJlG for <cose@ietfa.amsl.com>; Fri, 19 Jun 2015 20:47:35 -0700 (PDT)
Received: from smtp3.pacifier.net (smtp3.pacifier.net [64.255.237.177]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1C2FF1ACE72 for <cose@ietf.org>; Fri, 19 Jun 2015 20:47:34 -0700 (PDT)
Received: from hebrews (unknown [50.109.240.20]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp3.pacifier.net (Postfix) with ESMTPSA id B9E9838F62; Fri, 19 Jun 2015 20:47:32 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Justin Richer'" <jricher@mit.edu>, <cose@ietf.org>
References: <5584C435.3020106@mit.edu>
In-Reply-To: <5584C435.3020106@mit.edu>
Date: Fri, 19 Jun 2015 20:47:33 -0700
Message-ID: <002801d0ab0b$de3bdf00$9ab39d00$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQJswfYikRPO7lPSbby02Dzhrvq0jJx8k6jQ
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/o2kNe7vD_luwXP84tQeREvPO7FY>
Subject: Re: [Cose] IETF93 Preliminary Schedule
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Jun 2015 03:47:36 -0000

Look at the schedule again.  We only get half of that time.  The other half
goes to IPSECME.

Jim


> -----Original Message-----
> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Justin Richer
> Sent: Friday, June 19, 2015 6:39 PM
> To: cose@ietf.org
> Subject: [Cose] IETF93 Preliminary Schedule
> 
> The preliminary schedule for IETF93 has been posted, and at the moment
> we're on for the first slot: Monday morning at 9-11:30. I think that so
far
> we're avoiding our main conflicts, and we've got a big 2.5h slot to get
this
> group off the ground properly.
> 
> We'll be looking for input on the agenda soon, so if you want to
pontificate
> on something hopefully-COSE-related, let the chairs know:
> cose-chairs@tools.ietf.org
> 
> (Side note, "cose-chairs" is probably the best email address in all of
> IETF.)
> 
> And finally, a reminder that we're looking to gather consensus and/or
> alternatives to draft-schaad-cose-msg as a WG input document by this
> coming Wednesday, June 24.
> 
>   -- Justin
> 
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose


From nobody Sat Jun 20 05:25:17 2015
Return-Path: <jricher@mit.edu>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 400101A1BEC for <cose@ietfa.amsl.com>; Sat, 20 Jun 2015 05:25:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level: 
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id igcKM7va_rya for <cose@ietfa.amsl.com>; Sat, 20 Jun 2015 05:25:13 -0700 (PDT)
Received: from dmz-mailsec-scanner-2.mit.edu (dmz-mailsec-scanner-2.mit.edu [18.9.25.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 3E3B31A1BF4 for <cose@ietf.org>; Sat, 20 Jun 2015 05:25:12 -0700 (PDT)
X-AuditID: 1209190d-f796f6d000005314-85-55855ba6ae92
Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP id 5E.B4.21268.7AB55855; Sat, 20 Jun 2015 08:25:11 -0400 (EDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id t5KCPAOo009119; Sat, 20 Jun 2015 08:25:10 -0400
Received: from [192.168.128.56] (static-96-237-195-53.bstnma.fios.verizon.net [96.237.195.53]) (authenticated bits=0) (User authenticated as jricher@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id t5KCP839030666 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 20 Jun 2015 08:25:09 -0400
Message-ID: <55855B9A.7030304@mit.edu>
Date: Sat, 20 Jun 2015 08:24:58 -0400
From: Justin Richer <jricher@mit.edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Jim Schaad <ietf@augustcellars.com>, cose@ietf.org
References: <5584C435.3020106@mit.edu> <002801d0ab0b$de3bdf00$9ab39d00$@augustcellars.com>
In-Reply-To: <002801d0ab0b$de3bdf00$9ab39d00$@augustcellars.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrDIsWRmVeSWpSXmKPExsUixG6nrrs8ujXUoG0Th8W0rVNZLVZP/87m wOSxcc50No8lS34yBTBFcdmkpOZklqUW6dslcGX8f/advWAFd0Xr/v+MDYytnF2MnBwSAiYS X+6vZoewxSQu3FvPBmILCSxmkljTy9PFyAVkb2SU2HX5ECuEc5tJorPhFyNIFa+AmsT3fV/B bBYBVYl3+6azgNhsQPb0NS1MILaoQJTE1MfrWCDqBSVOznwCZosImEmsOdsEtk1YQF9i9qQX zBCboyS2HFwCNpNTwEHiWNsdsHpmAVuJO3N3M0PY8hLb385hnsAoMAvJ2FlIymYhKVvAyLyK UTYlt0o3NzEzpzg1Wbc4OTEvL7VI10gvN7NELzWldBMjKFA5JXl3ML47qHSIUYCDUYmHd8Hi llAh1sSy4srcQ4ySHExKorz/7gGF+JLyUyozEosz4otKc1KLDzFKcDArifD6abSGCvGmJFZW pRblw6SkOViUxHk3/eALERJITyxJzU5NLUgtgsnKcHAoSfB6RQE1ChalpqdWpGXmlCCkmTg4 QYbzAA1PAKnhLS5IzC3OTIfIn2JUlBLnFQZJCIAkMkrz4HphieQVozjQK8K8RSBVPMAkBNf9 CmgwE9DgCeVNIINLEhFSUg2M2leYjpdHzL5lPOPK5PivKgfnuzgwbT29MPEI//0nITHlX4qW 8xW6MS0pcl3f8yz+Sop5+sSOJQYnCgN7omd+cImatPD2lMV2Psdr10x+6L1ySpujOGOWNXMP w2OzxyqGltcfyazOzY3V3JV/qfXdgtRrSrkelyqN5/vlGWzutapyvi2yuVhNiaU4I9FQi7mo OBEA69YOOP8CAAA=
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/TYAYTZEAWLZBiJGV1x6u5CfBkrc>
Subject: Re: [Cose] IETF93 Preliminary Schedule
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Jun 2015 12:25:15 -0000

Good catch, Jim, I hadn't noticed that the room was shared between the two.

And of course, everyone keep in mind that this schedule is subject to 
change.

  -- Justin

On 6/19/2015 11:47 PM, Jim Schaad wrote:
> Look at the schedule again.  We only get half of that time.  The other half
> goes to IPSECME.
>
> Jim
>
>
>> -----Original Message-----
>> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Justin Richer
>> Sent: Friday, June 19, 2015 6:39 PM
>> To: cose@ietf.org
>> Subject: [Cose] IETF93 Preliminary Schedule
>>
>> The preliminary schedule for IETF93 has been posted, and at the moment
>> we're on for the first slot: Monday morning at 9-11:30. I think that so
> far
>> we're avoiding our main conflicts, and we've got a big 2.5h slot to get
> this
>> group off the ground properly.
>>
>> We'll be looking for input on the agenda soon, so if you want to
> pontificate
>> on something hopefully-COSE-related, let the chairs know:
>> cose-chairs@tools.ietf.org
>>
>> (Side note, "cose-chairs" is probably the best email address in all of
>> IETF.)
>>
>> And finally, a reminder that we're looking to gather consensus and/or
>> alternatives to draft-schaad-cose-msg as a WG input document by this
>> coming Wednesday, June 24.
>>
>>    -- Justin
>>
>> _______________________________________________
>> Cose mailing list
>> Cose@ietf.org
>> https://www.ietf.org/mailman/listinfo/cose


From nobody Sat Jun 20 08:05:57 2015
Return-Path: <kepeng.lkp@alibaba-inc.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1D1B31A038B for <cose@ietfa.amsl.com>; Sat, 20 Jun 2015 08:05:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.451
X-Spam-Level: 
X-Spam-Status: No, score=0.451 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, MIME_CHARSET_FARAWAY=2.45, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id et5_WkwnfAUX for <cose@ietfa.amsl.com>; Sat, 20 Jun 2015 08:05:53 -0700 (PDT)
Received: from out4133-146.mail.aliyun.com (out4133-146.mail.aliyun.com [42.120.133.146]) by ietfa.amsl.com (Postfix) with ESMTP id 824761A0334 for <cose@ietf.org>; Sat, 20 Jun 2015 08:05:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alibaba-inc.com; s=default; t=1434812751; h=Date:Subject:From:To:Message-ID:Mime-version:Content-type; bh=PuEpvgm4UWCo658cE4qhpdC71VKoppD/3sH0rnwdjFg=; b=pDJBLc8PaRumFFGXPM0IjQmmji2TbZgwe3wL4BBxg3JbWkq/j7AcTHb+BVe6OKh0oUFZzR4CV2FVZYZ7bcd2mcege3EfOL8Q1BSW0d7kOkda7SgIKGHf7Dk6tYXr7Py4spOv19xp4EOaVS2OSBqqifsJSiHKrGBsTlyGnLdy2pQ=
X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R101e4; FP=0|-1|-1|-1|0|-1|-1|-1; HT=r41g03025; MF=kepeng.lkp@alibaba-inc.com; PH=DS;  RN=3; RT=3; SR=0; 
Received: from 10.22.45.45(mailfrom:kepeng.lkp@alibaba-inc.com ip:42.120.73.207) by smtp.aliyun-inc.com(127.0.0.1); Sat, 20 Jun 2015 23:05:46 +0800
User-Agent: Microsoft-MacOutlook/14.4.8.150116
Date: Sat, 20 Jun 2015 23:05:38 +0800
From: "Kepeng Li" <kepeng.lkp@alibaba-inc.com>
To: Mike Jones <Michael.Jones@microsoft.com>, Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Message-ID: <D1ABA01D.ED00%kepeng.lkp@alibaba-inc.com>
Thread-Topic: [Cose] Algorithm draft
References: <D19EFDB7.D9D6%kepeng.lkp@alibaba-inc.com> <004701d0a406$01b088d0$05119a70$@augustcellars.com> <BY2PR03MB442621626B67F96CB3715FCF5BC0@BY2PR03MB442.namprd03.prod.outlook.com>
In-Reply-To: <BY2PR03MB442621626B67F96CB3715FCF5BC0@BY2PR03MB442.namprd03.prod.outlook.com>
Mime-version: 1.0
Content-type: text/plain; charset="GB2312"
Content-transfer-encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/LqndXEXLYV5CbudpqghTX3-4KI8>
Subject: Re: [Cose] Algorithm draft
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Jun 2015 15:05:55 -0000

Hi Mike and Jim,

Thanks for volunteering.

It will be good if we can have the -00 version before our submission
deadline, that is, 6th July, 2015.

Kind Regards
Kepeng

=D4=DA 12/6/15 1:10 am=A3=AC "Mike Jones" <Michael.Jones@microsoft.com> =D0=B4=C8=EB:

>I'd be glad to do this.  I look forward to helping us get these specs out
>quickly in ways that meet the use cases people have.
>
>				Cheers,
>				-- Mike
>
>-----Original Message-----
>From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
>Sent: Wednesday, June 10, 2015 10:18 PM
>To: 'Kepeng Li'; cose@ietf.org
>Subject: Re: [Cose] Algorithm draft
>
>
>
>> -----Original Message-----
>> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kepeng Li
>> Sent: Wednesday, June 10, 2015 6:03 PM
>> To: Mike Jones; Jim Schaad; cose@ietf.org
>> Subject: [Cose] Algorithm draft
>>
>> Currently, we have received feedback from Mike to have a separate
>algorithm
>> draft.
>>
>> Any other feedback?
>>
>> Also, we need to find somebody to write the algorithm draft, if we
>> decide
>to
>> have a separate one.
>>
>> Any volunteers?
>
>While I am willing to do this, I would prefer if it were somebody else if
>the document is separate.  I object going to WG meetings where you only
>have one person who is doing the presentations.  On the other hand,
>please remember the aggressive schedule that we are trying to keep for
>this group.
>
>Jim
>
>>
>> Thanks,
>>
>> Kind Regards
>> Kepeng
>>
>> =D4=DA 6/6/15 11:04 am=A3=AC "Mike Jones" <Michael.Jones@microsoft.com> =D0=B4=C8=EB:
>>
>> >For what it's worth, I'd advocate having a separate algorithm
>> >document for the same reasons that JOSE did.  For one, it enables
>> >that document to be revised in the future without having to then
>> >revise the underlying signature/MAC/encryption/key representations.
>> >
>> >Also, based on my experience as a JOSE editor, I think the result was
>> >cleaner because we separated the algorithm descriptions from the
>> >descriptions of how to perform cryptographic operations.  It was good
>> >discipline to have to describe the steps to create and use the data
>> >structures without falling back on particulars of specific algorithms.
>> >
>> >Also, the single-purpose nature of an algorithms doc can make it
>> >easier to read and use a reference.  You're not having to sort out
>> >what are data descriptions and what are algorithm descriptions.  It's
>> >just
>algorithms.
>> >
>> >				Cheers,
>> >				-- Mike
>> >
>> >P.S.  I agree with Jim's procedural point that the charter allows the
>> >working group to produce deliverables either in combined or separated
>> >documents.
>> >
>> >-----Original Message-----
>> >From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
>> >Sent: Friday, June 05, 2015 7:31 PM
>> >To: 'Kepeng Li'; cose@ietf.org
>> >Subject: Re: [Cose] FW: New Version Notification for
>> >draft-schaad-cose-02.txt
>> >
>> >
>> >> -----Original Message-----
>> >> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kepeng Li
>> >> Sent: Friday, June 05, 2015 6:49 PM
>> >> To: Jim Schaad; cose@ietf.org
>> >> Subject: Re: [Cose] FW: New Version Notification for
>> >>draft-schaad-cose-02.
>> >txt
>> >>
>> >> Hi Jim,
>> >>
>> >> Thanks for the draft.
>> >>
>> >> >I am willing to add the algorithms piece to this document if that
>> >> >is the desire of the group, or it can be done as an independent
>> >> >document (my initial preference).edx
>> >>
>> >>
>> >> According to our milestones, the algorithm piece is a separate item.
>> >
>> >That just says that we need a document to cover that milestone.  It
>> >can be a single document or a combined document as the working group
>> >feels best.
>> >
>> >Jim
>> >
>> >>
>> >> Jun 2015 - Submit COSE specification as a WG item
>> >>   Jun 2015 - Submit COSE constrained-appropriate algorithms as a WG
>> >> item
>> >>
>> >>
>> >> Kind Regards
>> >> Kepeng
>> >>
>> >> =D4=DA 6/6/15 8:37 am=A3=AC "Jim Schaad" <ietf@augustcellars.com> =D0=B4=C8=EB:
>> >>
>> >> >Since we now have an official working group.  I will propose this
>> >> >as a candidate draft to address the specification milestone.
>> >> >
>> >> >I am willing to add the algorithms piece to this document if that
>> >> >is the desire of the group, or it can be done as an independent
>> >> >document (my initial preference).
>> >> >
>> >> >Jim
>> >> >
>> >> >
>> >> >> -----Original Message-----
>> >> >> From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org]
>> >> >> Sent: Friday, June 05, 2015 5:22 PM
>> >> >> To: Jim Schaad; Jim Schaad
>> >> >> Subject: New Version Notification for draft-schaad-cose-02.txt
>> >> >>
>> >> >>
>> >> >> A new version of I-D, draft-schaad-cose-02.txt has been
>> >> >>successfully submitted  by Jim Schaad and posted to the IETF
>> >>repository.
>> >> >>
>> >> >> Name:		draft-schaad-cose
>> >> >> Revision:	02
>> >> >> Title:		CBOR Encoded Message Syntax
>> >> >> Document date:	2015-06-05
>> >> >> Group:		Individual Submission
>> >> >> Pages:		35
>> >> >> URL:
>> >> >>https://www.ietf.org/internet-drafts/draft-schaad-cose-02.txt
>> >> >> Status:  =20
>>https://datatracker.ietf.org/doc/draft-schaad-cose/
>> >> >> Htmlized:       https://tools.ietf.org/html/draft-schaad-cose-02
>> >> >> Diff:
>> >>https://www.ietf.org/rfcdiff?url2=3Ddraft-schaad-cose-02
>> >> >>
>> >> >> Abstract:
>> >> >>    Concise Binary Object Representation (CBOR) is data format
>> >>designed
>> >> >>    for small code size and small message size.  There is a need
>> >> >> for
>> >>the
>> >> >>    ability to have the basic security services defined for this
>>data
>> >> >>    format.  This document specifies how to do signatures, message
>> >> >>    authentication codes and encryption using this data format.
>> >> >> The
>> >work
>> >> >>    in this document is derived in part from the JSON web security
>> >> >>    documents using the same parameters and algorithm identifiers
>> >> >> as
>> >they
>> >> >>    do.
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> Please note that it may take a couple of minutes from the time
>> >> >>of submission  until the htmlized version and diff are available
>> >> >>at tools.ietf.org.
>> >> >>
>> >> >> The IETF Secretariat
>> >> >
>> >> >_______________________________________________
>> >> >Cose mailing list
>> >> >Cose@ietf.org
>> >> >https://www.ietf.org/mailman/listinfo/cose
>> >>
>> >>
>> >> _______________________________________________
>> >> Cose mailing list
>> >> Cose@ietf.org
>> >> https://www.ietf.org/mailman/listinfo/cose
>> >
>> >_______________________________________________
>> >Cose mailing list
>> >Cose@ietf.org
>> >https://www.ietf.org/mailman/listinfo/cose
>>
>>
>> _______________________________________________
>> Cose mailing list
>> Cose@ietf.org
>> https://www.ietf.org/mailman/listinfo/cose
>
>_______________________________________________
>Cose mailing list
>Cose@ietf.org
>https://www.ietf.org/mailman/listinfo/cose



From nobody Sat Jun 20 09:31:30 2015
Return-Path: <kepeng.lkp@alibaba-inc.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BF9801A88DE for <cose@ietfa.amsl.com>; Sat, 20 Jun 2015 09:31:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.451
X-Spam-Level: 
X-Spam-Status: No, score=0.451 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, MIME_CHARSET_FARAWAY=2.45, MIME_QP_LONG_LINE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DyG79YR5IwiP for <cose@ietfa.amsl.com>; Sat, 20 Jun 2015 09:31:27 -0700 (PDT)
Received: from out4133-34.mail.aliyun.com (out4133-34.mail.aliyun.com [42.120.133.34]) by ietfa.amsl.com (Postfix) with ESMTP id 024C51A88D6 for <cose@ietf.org>; Sat, 20 Jun 2015 09:31:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alibaba-inc.com; s=default; t=1434817885; h=Date:Subject:From:To:Message-ID:Mime-version:Content-type; bh=4rHsa/RMeR2On8fu4PS12cXk/JoZ66Ej0jpjgLqItjk=; b=CdR0Kod0MhTbvRloy/L//XlHrFQWLqxpcd0/bH2AcUNX4c2E4rf1u3r9iruWhQ3AjSXhpmIdqk/PJ7FF70iMGFcipHRatM+osZPNDZThtAFD1UtThTxKjW6OVFL+Tx6PR9O7V7Usb4xuCxfmLzkqeTWiLsN+7PY11Fw9d6AIe8w=
X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R191e4; FP=0|-1|-1|-1|0|-1|-1|-1; HT=r41g08151; MF=kepeng.lkp@alibaba-inc.com; PH=DS;  RN=4; RT=4; SR=0; 
Received: from 10.22.45.45(mailfrom:kepeng.lkp@alibaba-inc.com ip:42.120.73.207) by smtp.aliyun-inc.com(127.0.0.1); Sun, 21 Jun 2015 00:31:19 +0800
User-Agent: Microsoft-MacOutlook/14.4.8.150116
Date: Sun, 21 Jun 2015 00:31:12 +0800
From: "Kepeng Li" <kepeng.lkp@alibaba-inc.com>
To: "Kepeng Li" <kepeng.lkp@alibaba-inc.com>, "Mike Jones" <Michael.Jones@microsoft.com>, "Jim Schaad" <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Message-ID: <D1ABB5A1.ED43%kepeng.lkp@alibaba-inc.com>
Thread-Topic: [Cose] Algorithm draft
References: <D19EFDB7.D9D6%kepeng.lkp@alibaba-inc.com> <004701d0a406$01b088d0$05119a70$@augustcellars.com> <BY2PR03MB442621626B67F96CB3715FCF5BC0@BY2PR03MB442.namprd03.prod.outlook.com> <D1ABA01D.ED00%kepeng.lkp@alibaba-inc.com>
In-Reply-To: <D1ABA01D.ED00%kepeng.lkp@alibaba-inc.com>
Mime-version: 1.0
Content-type: text/plain; charset="GB2312"
Content-transfer-encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/TZV4hskzjIzbCsl7HVGeou8pRas>
Subject: Re: [Cose] Algorithm draft
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Jun 2015 16:31:29 -0000

Sorry, I missed Brian Campbell.

Brian mentioned his willingness to help with the separate algorithms draft.


Kind Regards
Kepeng

=D4=DA 20/6/15 11:05 pm=A3=AC "Kepeng Li" <kepeng.lkp@alibaba-inc.com> =D0=B4=C8=EB:

>Hi Mike and Jim,
>
>Thanks for volunteering.
>
>It will be good if we can have the -00 version before our submission
>deadline, that is, 6th July, 2015.
>
>Kind Regards
>Kepeng
>
>=D4=DA 12/6/15 1:10 am=A3=AC "Mike Jones" <Michael.Jones@microsoft.com> =D0=B4=C8=EB:
>
>>I'd be glad to do this.  I look forward to helping us get these specs out
>>quickly in ways that meet the use cases people have.
>>
>>				Cheers,
>>				-- Mike
>>
>>-----Original Message-----
>>From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
>>Sent: Wednesday, June 10, 2015 10:18 PM
>>To: 'Kepeng Li'; cose@ietf.org
>>Subject: Re: [Cose] Algorithm draft
>>
>>
>>
>>> -----Original Message-----
>>> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kepeng Li
>>> Sent: Wednesday, June 10, 2015 6:03 PM
>>> To: Mike Jones; Jim Schaad; cose@ietf.org
>>> Subject: [Cose] Algorithm draft
>>>
>>> Currently, we have received feedback from Mike to have a separate
>>algorithm
>>> draft.
>>>
>>> Any other feedback?
>>>
>>> Also, we need to find somebody to write the algorithm draft, if we
>>> decide
>>to
>>> have a separate one.
>>>
>>> Any volunteers?
>>
>>While I am willing to do this, I would prefer if it were somebody else if
>>the document is separate.  I object going to WG meetings where you only
>>have one person who is doing the presentations.  On the other hand,
>>please remember the aggressive schedule that we are trying to keep for
>>this group.
>>
>>Jim
>>
>>>
>>> Thanks,
>>>
>>> Kind Regards
>>> Kepeng
>>>
>>> =D4=DA 6/6/15 11:04 am=A3=AC "Mike Jones" <Michael.Jones@microsoft.com> =D0=B4=C8=EB:
>>>
>>> >For what it's worth, I'd advocate having a separate algorithm
>>> >document for the same reasons that JOSE did.  For one, it enables
>>> >that document to be revised in the future without having to then
>>> >revise the underlying signature/MAC/encryption/key representations.
>>> >
>>> >Also, based on my experience as a JOSE editor, I think the result was
>>> >cleaner because we separated the algorithm descriptions from the
>>> >descriptions of how to perform cryptographic operations.  It was good
>>> >discipline to have to describe the steps to create and use the data
>>> >structures without falling back on particulars of specific algorithms.
>>> >
>>> >Also, the single-purpose nature of an algorithms doc can make it
>>> >easier to read and use a reference.  You're not having to sort out
>>> >what are data descriptions and what are algorithm descriptions.  It's
>>> >just
>>algorithms.
>>> >
>>> >				Cheers,
>>> >				-- Mike
>>> >
>>> >P.S.  I agree with Jim's procedural point that the charter allows the
>>> >working group to produce deliverables either in combined or separated
>>> >documents.
>>> >
>>> >-----Original Message-----
>>> >From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
>>> >Sent: Friday, June 05, 2015 7:31 PM
>>> >To: 'Kepeng Li'; cose@ietf.org
>>> >Subject: Re: [Cose] FW: New Version Notification for
>>> >draft-schaad-cose-02.txt
>>> >
>>> >
>>> >> -----Original Message-----
>>> >> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kepeng Li
>>> >> Sent: Friday, June 05, 2015 6:49 PM
>>> >> To: Jim Schaad; cose@ietf.org
>>> >> Subject: Re: [Cose] FW: New Version Notification for
>>> >>draft-schaad-cose-02.
>>> >txt
>>> >>
>>> >> Hi Jim,
>>> >>
>>> >> Thanks for the draft.
>>> >>
>>> >> >I am willing to add the algorithms piece to this document if that
>>> >> >is the desire of the group, or it can be done as an independent
>>> >> >document (my initial preference).edx
>>> >>
>>> >>
>>> >> According to our milestones, the algorithm piece is a separate item.
>>> >
>>> >That just says that we need a document to cover that milestone.  It
>>> >can be a single document or a combined document as the working group
>>> >feels best.
>>> >
>>> >Jim
>>> >
>>> >>
>>> >> Jun 2015 - Submit COSE specification as a WG item
>>> >>   Jun 2015 - Submit COSE constrained-appropriate algorithms as a WG
>>> >> item
>>> >>
>>> >>
>>> >> Kind Regards
>>> >> Kepeng
>>> >>
>>> >> =D4=DA 6/6/15 8:37 am=A3=AC "Jim Schaad" <ietf@augustcellars.com> =D0=B4=C8=EB:
>>> >>
>>> >> >Since we now have an official working group.  I will propose this
>>> >> >as a candidate draft to address the specification milestone.
>>> >> >
>>> >> >I am willing to add the algorithms piece to this document if that
>>> >> >is the desire of the group, or it can be done as an independent
>>> >> >document (my initial preference).
>>> >> >
>>> >> >Jim
>>> >> >
>>> >> >
>>> >> >> -----Original Message-----
>>> >> >> From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org]
>>> >> >> Sent: Friday, June 05, 2015 5:22 PM
>>> >> >> To: Jim Schaad; Jim Schaad
>>> >> >> Subject: New Version Notification for draft-schaad-cose-02.txt
>>> >> >>
>>> >> >>
>>> >> >> A new version of I-D, draft-schaad-cose-02.txt has been
>>> >> >>successfully submitted  by Jim Schaad and posted to the IETF
>>> >>repository.
>>> >> >>
>>> >> >> Name:		draft-schaad-cose
>>> >> >> Revision:	02
>>> >> >> Title:		CBOR Encoded Message Syntax
>>> >> >> Document date:	2015-06-05
>>> >> >> Group:		Individual Submission
>>> >> >> Pages:		35
>>> >> >> URL:
>>> >> >>https://www.ietf.org/internet-drafts/draft-schaad-cose-02.txt
>>> >> >> Status: =20
>>>https://datatracker.ietf.org/doc/draft-schaad-cose/
>>> >> >> Htmlized:       https://tools.ietf.org/html/draft-schaad-cose-02
>>> >> >> Diff:
>>> >>https://www.ietf.org/rfcdiff?url2=3Ddraft-schaad-cose-02
>>> >> >>
>>> >> >> Abstract:
>>> >> >>    Concise Binary Object Representation (CBOR) is data format
>>> >>designed
>>> >> >>    for small code size and small message size.  There is a need
>>> >> >> for
>>> >>the
>>> >> >>    ability to have the basic security services defined for this
>>>data
>>> >> >>    format.  This document specifies how to do signatures, message
>>> >> >>    authentication codes and encryption using this data format.
>>> >> >> The
>>> >work
>>> >> >>    in this document is derived in part from the JSON web security
>>> >> >>    documents using the same parameters and algorithm identifiers
>>> >> >> as
>>> >they
>>> >> >>    do.
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >> Please note that it may take a couple of minutes from the time
>>> >> >>of submission  until the htmlized version and diff are available
>>> >> >>at tools.ietf.org.
>>> >> >>
>>> >> >> The IETF Secretariat
>>> >> >
>>> >> >_______________________________________________
>>> >> >Cose mailing list
>>> >> >Cose@ietf.org
>>> >> >https://www.ietf.org/mailman/listinfo/cose
>>> >>
>>> >>
>>> >> _______________________________________________
>>> >> Cose mailing list
>>> >> Cose@ietf.org
>>> >> https://www.ietf.org/mailman/listinfo/cose
>>> >
>>> >_______________________________________________
>>> >Cose mailing list
>>> >Cose@ietf.org
>>> >https://www.ietf.org/mailman/listinfo/cose
>>>
>>>
>>> _______________________________________________
>>> Cose mailing list
>>> Cose@ietf.org
>>> https://www.ietf.org/mailman/listinfo/cose
>>
>>_______________________________________________
>>Cose mailing list
>>Cose@ietf.org
>>https://www.ietf.org/mailman/listinfo/cose
>
>
>_______________________________________________
>Cose mailing list
>Cose@ietf.org
>https://www.ietf.org/mailman/listinfo/cose



From nobody Sat Jun 20 13:53:02 2015
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 733F61AC39C for <cose@ietfa.amsl.com>; Sat, 20 Jun 2015 13:53:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JBSK0JcXxWfS for <cose@ietfa.amsl.com>; Sat, 20 Jun 2015 13:52:58 -0700 (PDT)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0136.outbound.protection.outlook.com [65.55.169.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6CEBF1AC399 for <cose@ietf.org>; Sat, 20 Jun 2015 13:52:58 -0700 (PDT)
Received: from BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) by BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) with Microsoft SMTP Server (TLS) id 15.1.195.6; Sat, 20 Jun 2015 20:52:56 +0000
Received: from BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) by BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) with mapi id 15.01.0195.005; Sat, 20 Jun 2015 20:52:56 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Kepeng Li <kepeng.lkp@alibaba-inc.com>, Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [Cose] Algorithm draft
Thread-Index: AQHQo+JULTFPLWJliECVCdPyo+Ygop2mxCcAgADGdTCADgLBAIAAF+gAgABI/OA=
Date: Sat, 20 Jun 2015 20:52:56 +0000
Message-ID: <BY2PR03MB442A2FEAD2BD423B11C7AEAF5A30@BY2PR03MB442.namprd03.prod.outlook.com>
References: <D19EFDB7.D9D6%kepeng.lkp@alibaba-inc.com> <004701d0a406$01b088d0$05119a70$@augustcellars.com> <BY2PR03MB442621626B67F96CB3715FCF5BC0@BY2PR03MB442.namprd03.prod.outlook.com> <D1ABA01D.ED00%kepeng.lkp@alibaba-inc.com> <D1ABB5A1.ED43%kepeng.lkp@alibaba-inc.com>
In-Reply-To: <D1ABB5A1.ED43%kepeng.lkp@alibaba-inc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: alibaba-inc.com; dkim=none (message not signed) header.d=none;
x-originating-ip: [50.47.90.173]
x-microsoft-exchange-diagnostics: 1; BY2PR03MB442; 5:MAt9w/JagH46R9wZfMXr1AST+ntulHa1wfJPwYXoq/pjmsLoDxveJlDroSORoy48nY7Z9ptYyo4RihnaX3A0bRB0JfiPGN4VeJ0DKOg5ly+O3JHDMVQCDWJPBhJWlLv6XHDhwdw6Gd1zkZ0ptIHa0A==; 24:IRRDOeXFwrHKk5ct570OdSdBqRohv1NBpz8KQJXAYkwPoUjsZilJWIJykv6pPqT1xwVPhAp5hUXALIH8XdRANO1+YEfN5hNvCqJAW7PibKk=; 20:clIF9PPy9G7gPXklD6F3C9Y/AbeTQbaz1VMw96Q7mJUE80JXKOl+cZImnhM1b+zItEAPWkhiEYEXiFE8QNYbRw==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB442;
x-microsoft-antispam-prvs: <BY2PR03MB44298E090B38D9F95C470DCF5A30@BY2PR03MB442.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BY2PR03MB442; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB442; 
x-forefront-prvs: 0613912E23
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(51414003)(51914003)(479174004)(13464003)(377424004)(71364002)(52604005)(377454003)(51704005)(164054003)(66066001)(107886002)(5001960100002)(5003600100002)(5002640100001)(40100003)(189998001)(74316001)(33656002)(5001770100001)(77156002)(62966003)(92566002)(122556002)(2900100001)(2501003)(19580405001)(54356999)(50986999)(76176999)(87936001)(2656002)(102836002)(15975445007)(86612001)(86362001)(77096005)(106116001)(46102003)(76576001)(19580395003)(2950100001)(99286002)(93886004); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB442; H:BY2PR03MB442.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: text/plain; charset="iso-2022-jp"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jun 2015 20:52:56.3699 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB442
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/Thc5MC7bXoYUncvC7MGbsqzuAKo>
Subject: Re: [Cose] Algorithm draft
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Jun 2015 20:53:01 -0000

Hi Kepeng,

Brian and I have synced and we'll get an algorithms draft out during this c=
oming week.

				-- Mike

-----Original Message-----
From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kepeng Li
Sent: Saturday, June 20, 2015 9:31 AM
To: Kepeng Li; Mike Jones; Jim Schaad; cose@ietf.org
Subject: Re: [Cose] Algorithm draft

Sorry, I missed Brian Campbell.

Brian mentioned his willingness to help with the separate algorithms draft.


Kind Regards
Kepeng

=1B$B:_=1B(B 20/6/15 11:05 pm=1B$B!$=1B(B "Kepeng Li" <kepeng.lkp@alibaba-i=
nc.com> =1B$B<LF~=1B(B:

>Hi Mike and Jim,
>
>Thanks for volunteering.
>
>It will be good if we can have the -00 version before our submission=20
>deadline, that is, 6th July, 2015.
>
>Kind Regards
>Kepeng
>
>=1B$B:_=1B(B 12/6/15 1:10 am=1B$B!$=1B(B "Mike Jones" <Michael.Jones@micro=
soft.com> =1B$B<LF~=1B(B:
>
>>I'd be glad to do this.  I look forward to helping us get these specs=20
>>out quickly in ways that meet the use cases people have.
>>
>>				Cheers,
>>				-- Mike
>>
>>-----Original Message-----
>>From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
>>Sent: Wednesday, June 10, 2015 10:18 PM
>>To: 'Kepeng Li'; cose@ietf.org
>>Subject: Re: [Cose] Algorithm draft
>>
>>
>>
>>> -----Original Message-----
>>> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kepeng Li
>>> Sent: Wednesday, June 10, 2015 6:03 PM
>>> To: Mike Jones; Jim Schaad; cose@ietf.org
>>> Subject: [Cose] Algorithm draft
>>>
>>> Currently, we have received feedback from Mike to have a separate
>>algorithm
>>> draft.
>>>
>>> Any other feedback?
>>>
>>> Also, we need to find somebody to write the algorithm draft, if we=20
>>> decide
>>to
>>> have a separate one.
>>>
>>> Any volunteers?
>>
>>While I am willing to do this, I would prefer if it were somebody else=20
>>if the document is separate.  I object going to WG meetings where you=20
>>only have one person who is doing the presentations.  On the other=20
>>hand, please remember the aggressive schedule that we are trying to=20
>>keep for this group.
>>
>>Jim
>>
>>>
>>> Thanks,
>>>
>>> Kind Regards
>>> Kepeng
>>>
>>> =1B$B:_=1B(B 6/6/15 11:04 am=1B$B!$=1B(B "Mike Jones" <Michael.Jones@mi=
crosoft.com> =1B$B<LF~=1B(B:
>>>
>>> >For what it's worth, I'd advocate having a separate algorithm=20
>>> >document for the same reasons that JOSE did.  For one, it enables=20
>>> >that document to be revised in the future without having to then=20
>>> >revise the underlying signature/MAC/encryption/key representations.
>>> >
>>> >Also, based on my experience as a JOSE editor, I think the result=20
>>> >was cleaner because we separated the algorithm descriptions from=20
>>> >the descriptions of how to perform cryptographic operations.  It=20
>>> >was good discipline to have to describe the steps to create and use=20
>>> >the data structures without falling back on particulars of specific al=
gorithms.
>>> >
>>> >Also, the single-purpose nature of an algorithms doc can make it=20
>>> >easier to read and use a reference.  You're not having to sort out=20
>>> >what are data descriptions and what are algorithm descriptions. =20
>>> >It's just
>>algorithms.
>>> >
>>> >				Cheers,
>>> >				-- Mike
>>> >
>>> >P.S.  I agree with Jim's procedural point that the charter allows=20
>>> >the working group to produce deliverables either in combined or=20
>>> >separated documents.
>>> >
>>> >-----Original Message-----
>>> >From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
>>> >Sent: Friday, June 05, 2015 7:31 PM
>>> >To: 'Kepeng Li'; cose@ietf.org
>>> >Subject: Re: [Cose] FW: New Version Notification for=20
>>> >draft-schaad-cose-02.txt
>>> >
>>> >
>>> >> -----Original Message-----
>>> >> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kepeng Li
>>> >> Sent: Friday, June 05, 2015 6:49 PM
>>> >> To: Jim Schaad; cose@ietf.org
>>> >> Subject: Re: [Cose] FW: New Version Notification for=20
>>> >>draft-schaad-cose-02.
>>> >txt
>>> >>
>>> >> Hi Jim,
>>> >>
>>> >> Thanks for the draft.
>>> >>
>>> >> >I am willing to add the algorithms piece to this document if=20
>>> >> >that is the desire of the group, or it can be done as an=20
>>> >> >independent document (my initial preference).edx
>>> >>
>>> >>
>>> >> According to our milestones, the algorithm piece is a separate item.
>>> >
>>> >That just says that we need a document to cover that milestone.  It=20
>>> >can be a single document or a combined document as the working=20
>>> >group feels best.
>>> >
>>> >Jim
>>> >
>>> >>
>>> >> Jun 2015 - Submit COSE specification as a WG item
>>> >>   Jun 2015 - Submit COSE constrained-appropriate algorithms as a=20
>>> >> WG item
>>> >>
>>> >>
>>> >> Kind Regards
>>> >> Kepeng
>>> >>
>>> >> =1B$B:_=1B(B 6/6/15 8:37 am=1B$B!$=1B(B "Jim Schaad" <ietf@augustcel=
lars.com> =1B$B<LF~=1B(B:
>>> >>
>>> >> >Since we now have an official working group.  I will propose=20
>>> >> >this as a candidate draft to address the specification milestone.
>>> >> >
>>> >> >I am willing to add the algorithms piece to this document if=20
>>> >> >that is the desire of the group, or it can be done as an=20
>>> >> >independent document (my initial preference).
>>> >> >
>>> >> >Jim
>>> >> >
>>> >> >
>>> >> >> -----Original Message-----
>>> >> >> From: internet-drafts@ietf.org=20
>>> >> >> [mailto:internet-drafts@ietf.org]
>>> >> >> Sent: Friday, June 05, 2015 5:22 PM
>>> >> >> To: Jim Schaad; Jim Schaad
>>> >> >> Subject: New Version Notification for draft-schaad-cose-02.txt
>>> >> >>
>>> >> >>
>>> >> >> A new version of I-D, draft-schaad-cose-02.txt has been=20
>>> >> >>successfully submitted  by Jim Schaad and posted to the IETF
>>> >>repository.
>>> >> >>
>>> >> >> Name:		draft-schaad-cose
>>> >> >> Revision:	02
>>> >> >> Title:		CBOR Encoded Message Syntax
>>> >> >> Document date:	2015-06-05
>>> >> >> Group:		Individual Submission
>>> >> >> Pages:		35
>>> >> >> URL:
>>> >> >>https://www.ietf.org/internet-drafts/draft-schaad-cose-02.txt
>>> >> >> Status: =20
>>>https://datatracker.ietf.org/doc/draft-schaad-cose/
>>> >> >> Htmlized:       https://tools.ietf.org/html/draft-schaad-cose-02
>>> >> >> Diff:
>>> >>https://www.ietf.org/rfcdiff?url2=3Ddraft-schaad-cose-02
>>> >> >>
>>> >> >> Abstract:
>>> >> >>    Concise Binary Object Representation (CBOR) is data format
>>> >>designed
>>> >> >>    for small code size and small message size.  There is a=20
>>> >> >> need for
>>> >>the
>>> >> >>    ability to have the basic security services defined for=20
>>> >> >> this
>>>data
>>> >> >>    format.  This document specifies how to do signatures, message
>>> >> >>    authentication codes and encryption using this data format.
>>> >> >> The
>>> >work
>>> >> >>    in this document is derived in part from the JSON web security
>>> >> >>    documents using the same parameters and algorithm=20
>>> >> >> identifiers as
>>> >they
>>> >> >>    do.
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >> Please note that it may take a couple of minutes from the time=20
>>> >> >>of submission  until the htmlized version and diff are=20
>>> >> >>available at tools.ietf.org.
>>> >> >>
>>> >> >> The IETF Secretariat
>>> >> >
>>> >> >_______________________________________________
>>> >> >Cose mailing list
>>> >> >Cose@ietf.org
>>> >> >https://www.ietf.org/mailman/listinfo/cose
>>> >>
>>> >>
>>> >> _______________________________________________
>>> >> Cose mailing list
>>> >> Cose@ietf.org
>>> >> https://www.ietf.org/mailman/listinfo/cose
>>> >
>>> >_______________________________________________
>>> >Cose mailing list
>>> >Cose@ietf.org
>>> >https://www.ietf.org/mailman/listinfo/cose
>>>
>>>
>>> _______________________________________________
>>> Cose mailing list
>>> Cose@ietf.org
>>> https://www.ietf.org/mailman/listinfo/cose
>>
>>_______________________________________________
>>Cose mailing list
>>Cose@ietf.org
>>https://www.ietf.org/mailman/listinfo/cose
>
>
>_______________________________________________
>Cose mailing list
>Cose@ietf.org
>https://www.ietf.org/mailman/listinfo/cose


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


From nobody Sat Jun 20 14:17:28 2015
Return-Path: <jricher@mit.edu>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 27ED51A1B14 for <cose@ietfa.amsl.com>; Sat, 20 Jun 2015 14:17:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.211
X-Spam-Level: 
X-Spam-Status: No, score=-4.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id D1ecEB-A7bXJ for <cose@ietfa.amsl.com>; Sat, 20 Jun 2015 14:17:23 -0700 (PDT)
Received: from dmz-mailsec-scanner-4.mit.edu (dmz-mailsec-scanner-4.mit.edu [18.9.25.15]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5D7991A1B07 for <cose@ietf.org>; Sat, 20 Jun 2015 14:17:23 -0700 (PDT)
X-AuditID: 1209190f-f79716d000002ea2-b7-5585d862ee21
Received: from mailhub-auth-1.mit.edu ( [18.9.21.35]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-4.mit.edu (Symantec Messaging Gateway) with SMTP id C0.D0.11938.268D5855; Sat, 20 Jun 2015 17:17:22 -0400 (EDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-1.mit.edu (8.13.8/8.9.2) with ESMTP id t5KLHLa7019288; Sat, 20 Jun 2015 17:17:21 -0400
Received: from [192.168.128.56] (static-96-237-195-53.bstnma.fios.verizon.net [96.237.195.53]) (authenticated bits=0) (User authenticated as jricher@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id t5KLHIHb010992 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Sat, 20 Jun 2015 17:17:20 -0400
Message-ID: <5585D854.3050206@mit.edu>
Date: Sat, 20 Jun 2015 17:17:08 -0400
From: Justin Richer <jricher@mit.edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: Mike Jones <Michael.Jones@microsoft.com>, Kepeng Li <kepeng.lkp@alibaba-inc.com>, Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
References: <D19EFDB7.D9D6%kepeng.lkp@alibaba-inc.com> <004701d0a406$01b088d0$05119a70$@augustcellars.com> <BY2PR03MB442621626B67F96CB3715FCF5BC0@BY2PR03MB442.namprd03.prod.outlook.com> <D1ABA01D.ED00%kepeng.lkp@alibaba-inc.com> <D1ABB5A1.ED43%kepeng.lkp@alibaba-inc.com> <BY2PR03MB442A2FEAD2BD423B11C7AEAF5A30@BY2PR03MB442.namprd03.prod.outlook.com>
In-Reply-To: <BY2PR03MB442A2FEAD2BD423B11C7AEAF5A30@BY2PR03MB442.namprd03.prod.outlook.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrPIsWRmVeSWpSXmKPExsUixCmqrJt0ozXUYMdMXotpW6eyWqye/p3N 4vL8Iou90z6xOLB4THz7kcVj45zpbB5Llvxk8mjd8Zc9gCWKyyYlNSezLLVI3y6BK2PZ5jNM BR+dK67tSmtg/GLexcjJISFgIrHn5ykmCFtM4sK99WwgtpDAYiaJd6fzuxi5gOyNjBIbN3xh hXBuM0ms7fsMVsUroCYx7/ZDFhCbRUBVon3TerBJbED29DUtYLaoQJTE1MfrWCDqBSVOznzC AjJIRGANo8SpjVuApnJwCAsoSxxsU4NYcI9JYvaqpYwgDZwC0RK7myeD2cwCZhJdW7ugbHmJ 5q2zmScwCsxCMncWkrJZSMoWMDKvYpRNya3SzU3MzClOTdYtTk7My0st0jXRy80s0UtNKd3E CA5nSf4djN8OKh1iFOBgVOLh/bG0JVSINbGsuDL3EKMkB5OSKO+/e0AhvqT8lMqMxOKM+KLS nNTiQ4wSHMxKIrwXZ7aGCvGmJFZWpRblw6SkOViUxHk3/eALERJITyxJzU5NLUgtgsnKcHAo SfD2XQdqFCxKTU+tSMvMKUFIM3FwggznARq+H6SGt7ggMbc4Mx0if4pRUUqcdxZIQgAkkVGa B9cLSzevGMWBXhHm/QRSxQNMVXDdr4AGMwENnlDeBDK4JBEhJdXAGHT9Lv++sCYOO9PHq58v +HHgZ9g2G7veO1e2/mR8zfnww7WwhU8nH9daInL79+vsff07da7NvV5THiy/n918ajfbNDOe Zdx/v2iuLn3BZjjpwCUdb/0DD7Qb3nkJfolNmrug/RrP2uJcYdOy42YPZ02767m5uuJl+V9v necRN3USrgom7TFsO6bEUpyRaKjFXFScCABTLlgbEgMAAA==
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/JYPRnUfTMzifHj4vYQACtqKG9KE>
Subject: Re: [Cose] Algorithm draft
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Jun 2015 21:17:26 -0000

OK, we'll take that into consideration as a starting draft as well, 
based on discussion in the previous thread. I'd like to give the group 
time to review it specifically, so we'll start a one-week timer once 
it's published to the group, sound good?

  -- Justin

On 6/20/2015 4:52 PM, Mike Jones wrote:
> Hi Kepeng,
>
> Brian and I have synced and we'll get an algorithms draft out during this coming week.
>
> 				-- Mike
>
> -----Original Message-----
> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kepeng Li
> Sent: Saturday, June 20, 2015 9:31 AM
> To: Kepeng Li; Mike Jones; Jim Schaad; cose@ietf.org
> Subject: Re: [Cose] Algorithm draft
>
> Sorry, I missed Brian Campbell.
>
> Brian mentioned his willingness to help with the separate algorithms draft.
>
>
> Kind Regards
> Kepeng
>
> åœ¨ 20/6/15 11:05 pmï¼Œ "Kepeng Li" <kepeng.lkp@alibaba-inc.com> å†™å…¥:
>
>> Hi Mike and Jim,
>>
>> Thanks for volunteering.
>>
>> It will be good if we can have the -00 version before our submission
>> deadline, that is, 6th July, 2015.
>>
>> Kind Regards
>> Kepeng
>>
>> åœ¨ 12/6/15 1:10 amï¼Œ "Mike Jones" <Michael.Jones@microsoft.com> å†™å…¥:
>>
>>> I'd be glad to do this.  I look forward to helping us get these specs
>>> out quickly in ways that meet the use cases people have.
>>>
>>> 				Cheers,
>>> 				-- Mike
>>>
>>> -----Original Message-----
>>> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
>>> Sent: Wednesday, June 10, 2015 10:18 PM
>>> To: 'Kepeng Li'; cose@ietf.org
>>> Subject: Re: [Cose] Algorithm draft
>>>
>>>
>>>
>>>> -----Original Message-----
>>>> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kepeng Li
>>>> Sent: Wednesday, June 10, 2015 6:03 PM
>>>> To: Mike Jones; Jim Schaad; cose@ietf.org
>>>> Subject: [Cose] Algorithm draft
>>>>
>>>> Currently, we have received feedback from Mike to have a separate
>>> algorithm
>>>> draft.
>>>>
>>>> Any other feedback?
>>>>
>>>> Also, we need to find somebody to write the algorithm draft, if we
>>>> decide
>>> to
>>>> have a separate one.
>>>>
>>>> Any volunteers?
>>> While I am willing to do this, I would prefer if it were somebody else
>>> if the document is separate.  I object going to WG meetings where you
>>> only have one person who is doing the presentations.  On the other
>>> hand, please remember the aggressive schedule that we are trying to
>>> keep for this group.
>>>
>>> Jim
>>>
>>>> Thanks,
>>>>
>>>> Kind Regards
>>>> Kepeng
>>>>
>>>> åœ¨ 6/6/15 11:04 amï¼Œ "Mike Jones" <Michael.Jones@microsoft.com> å†™å…¥:
>>>>
>>>>> For what it's worth, I'd advocate having a separate algorithm
>>>>> document for the same reasons that JOSE did.  For one, it enables
>>>>> that document to be revised in the future without having to then
>>>>> revise the underlying signature/MAC/encryption/key representations.
>>>>>
>>>>> Also, based on my experience as a JOSE editor, I think the result
>>>>> was cleaner because we separated the algorithm descriptions from
>>>>> the descriptions of how to perform cryptographic operations.  It
>>>>> was good discipline to have to describe the steps to create and use
>>>>> the data structures without falling back on particulars of specific algorithms.
>>>>>
>>>>> Also, the single-purpose nature of an algorithms doc can make it
>>>>> easier to read and use a reference.  You're not having to sort out
>>>>> what are data descriptions and what are algorithm descriptions.
>>>>> It's just
>>> algorithms.
>>>>> 				Cheers,
>>>>> 				-- Mike
>>>>>
>>>>> P.S.  I agree with Jim's procedural point that the charter allows
>>>>> the working group to produce deliverables either in combined or
>>>>> separated documents.
>>>>>
>>>>> -----Original Message-----
>>>>> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
>>>>> Sent: Friday, June 05, 2015 7:31 PM
>>>>> To: 'Kepeng Li'; cose@ietf.org
>>>>> Subject: Re: [Cose] FW: New Version Notification for
>>>>> draft-schaad-cose-02.txt
>>>>>
>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kepeng Li
>>>>>> Sent: Friday, June 05, 2015 6:49 PM
>>>>>> To: Jim Schaad; cose@ietf.org
>>>>>> Subject: Re: [Cose] FW: New Version Notification for
>>>>>> draft-schaad-cose-02.
>>>>> txt
>>>>>> Hi Jim,
>>>>>>
>>>>>> Thanks for the draft.
>>>>>>
>>>>>>> I am willing to add the algorithms piece to this document if
>>>>>>> that is the desire of the group, or it can be done as an
>>>>>>> independent document (my initial preference).edx
>>>>>>
>>>>>> According to our milestones, the algorithm piece is a separate item.
>>>>> That just says that we need a document to cover that milestone.  It
>>>>> can be a single document or a combined document as the working
>>>>> group feels best.
>>>>>
>>>>> Jim
>>>>>
>>>>>> Jun 2015 - Submit COSE specification as a WG item
>>>>>>    Jun 2015 - Submit COSE constrained-appropriate algorithms as a
>>>>>> WG item
>>>>>>
>>>>>>
>>>>>> Kind Regards
>>>>>> Kepeng
>>>>>>
>>>>>> åœ¨ 6/6/15 8:37 amï¼Œ "Jim Schaad" <ietf@augustcellars.com> å†™å…¥:
>>>>>>
>>>>>>> Since we now have an official working group.  I will propose
>>>>>>> this as a candidate draft to address the specification milestone.
>>>>>>>
>>>>>>> I am willing to add the algorithms piece to this document if
>>>>>>> that is the desire of the group, or it can be done as an
>>>>>>> independent document (my initial preference).
>>>>>>>
>>>>>>> Jim
>>>>>>>
>>>>>>>
>>>>>>>> -----Original Message-----
>>>>>>>> From: internet-drafts@ietf.org
>>>>>>>> [mailto:internet-drafts@ietf.org]
>>>>>>>> Sent: Friday, June 05, 2015 5:22 PM
>>>>>>>> To: Jim Schaad; Jim Schaad
>>>>>>>> Subject: New Version Notification for draft-schaad-cose-02.txt
>>>>>>>>
>>>>>>>>
>>>>>>>> A new version of I-D, draft-schaad-cose-02.txt has been
>>>>>>>> successfully submitted  by Jim Schaad and posted to the IETF
>>>>>> repository.
>>>>>>>> Name:		draft-schaad-cose
>>>>>>>> Revision:	02
>>>>>>>> Title:		CBOR Encoded Message Syntax
>>>>>>>> Document date:	2015-06-05
>>>>>>>> Group:		Individual Submission
>>>>>>>> Pages:		35
>>>>>>>> URL:
>>>>>>>> https://www.ietf.org/internet-drafts/draft-schaad-cose-02.txt
>>>>>>>> Status:
>>>> https://datatracker.ietf.org/doc/draft-schaad-cose/
>>>>>>>> Htmlized:       https://tools.ietf.org/html/draft-schaad-cose-02
>>>>>>>> Diff:
>>>>>> https://www.ietf.org/rfcdiff?url2=draft-schaad-cose-02
>>>>>>>> Abstract:
>>>>>>>>     Concise Binary Object Representation (CBOR) is data format
>>>>>> designed
>>>>>>>>     for small code size and small message size.  There is a
>>>>>>>> need for
>>>>>> the
>>>>>>>>     ability to have the basic security services defined for
>>>>>>>> this
>>>> data
>>>>>>>>     format.  This document specifies how to do signatures, message
>>>>>>>>     authentication codes and encryption using this data format.
>>>>>>>> The
>>>>> work
>>>>>>>>     in this document is derived in part from the JSON web security
>>>>>>>>     documents using the same parameters and algorithm
>>>>>>>> identifiers as
>>>>> they
>>>>>>>>     do.
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Please note that it may take a couple of minutes from the time
>>>>>>>> of submission  until the htmlized version and diff are
>>>>>>>> available at tools.ietf.org.
>>>>>>>>
>>>>>>>> The IETF Secretariat
>>>>>>> _______________________________________________
>>>>>>> Cose mailing list
>>>>>>> Cose@ietf.org
>>>>>>> https://www.ietf.org/mailman/listinfo/cose
>>>>>>
>>>>>> _______________________________________________
>>>>>> Cose mailing list
>>>>>> Cose@ietf.org
>>>>>> https://www.ietf.org/mailman/listinfo/cose
>>>>> _______________________________________________
>>>>> Cose mailing list
>>>>> Cose@ietf.org
>>>>> https://www.ietf.org/mailman/listinfo/cose
>>>>
>>>> _______________________________________________
>>>> Cose mailing list
>>>> Cose@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/cose
>>> _______________________________________________
>>> Cose mailing list
>>> Cose@ietf.org
>>> https://www.ietf.org/mailman/listinfo/cose
>>
>> _______________________________________________
>> Cose mailing list
>> Cose@ietf.org
>> https://www.ietf.org/mailman/listinfo/cose
>
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose
>
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose


From nobody Sat Jun 20 19:45:48 2015
Return-Path: <bcampbell@pingidentity.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9AFF11A90F8 for <cose@ietfa.amsl.com>; Sat, 20 Jun 2015 19:45:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.978
X-Spam-Level: 
X-Spam-Status: No, score=-1.978 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aa1oySuqRre5 for <cose@ietfa.amsl.com>; Sat, 20 Jun 2015 19:45:43 -0700 (PDT)
Received: from mail-ig0-f172.google.com (mail-ig0-f172.google.com [209.85.213.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 21A1E1A90F7 for <cose@ietf.org>; Sat, 20 Jun 2015 19:45:42 -0700 (PDT)
Received: by igboe5 with SMTP id oe5so41234907igb.1 for <cose@ietf.org>; Sat, 20 Jun 2015 19:45:42 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=2uhY4ZRT6FBMU3Fw+U7QlVGHQ6C0SrS03cUAWHN5ckU=; b=Bfz5RACNIyPV6kIg9yI/scd44ebsUim6XxjSw/mYhjRR0SnTSfxLhXG9VuhgQdqErJ Os8y5Wq3MAACMRDnqH3e0/L5Gd5SxVJSjjMrKtdbs7Ht6UQV42nQkmXE4rr4KzhC42kY hatEfm+HqXC2ZnZ54bzzRsqJIMDhlzgFwqUQtITj59Jeq2JfGMDO/ruV7ekPiAyb6hSA FQgJbdRxEWF551omIXRylyzECa4JkgCtKSMUw9gxKW4aO3CkDM+vK+xpoOIYNjmbJgBS wkrkDiSHdBAkQhbrM0XsQINOfs6daEUZ7tey0K5O2y4JnjYkHYuzyxIJXgdvj0eBvguy GWdQ==
X-Gm-Message-State: ALoCoQlfntyZRvJg3nAyCTGWcSqG3zWtzWszJsDKZacmFOzMOBrMWRBjBHWcpIqSNZ3fOADwaoTc
X-Received: by 10.107.35.203 with SMTP id j194mr31441059ioj.45.1434854742270;  Sat, 20 Jun 2015 19:45:42 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.79.64.209 with HTTP; Sat, 20 Jun 2015 19:45:12 -0700 (PDT)
In-Reply-To: <5585D854.3050206@mit.edu>
References: <D19EFDB7.D9D6%kepeng.lkp@alibaba-inc.com> <004701d0a406$01b088d0$05119a70$@augustcellars.com> <BY2PR03MB442621626B67F96CB3715FCF5BC0@BY2PR03MB442.namprd03.prod.outlook.com> <D1ABA01D.ED00%kepeng.lkp@alibaba-inc.com> <D1ABB5A1.ED43%kepeng.lkp@alibaba-inc.com> <BY2PR03MB442A2FEAD2BD423B11C7AEAF5A30@BY2PR03MB442.namprd03.prod.outlook.com> <5585D854.3050206@mit.edu>
From: Brian Campbell <bcampbell@pingidentity.com>
Date: Sat, 20 Jun 2015 20:45:12 -0600
Message-ID: <CA+k3eCRAa-t5tQoCSGmHRTtvcgfqhXkr9pA7YX3YFZQBrM5-tw@mail.gmail.com>
To: Justin Richer <jricher@mit.edu>
Content-Type: multipart/alternative; boundary=001a1140444037d9680518fe2796
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/_fNe59lmlP2OV-8KNGwnWeT33SA>
Cc: Mike Jones <Michael.Jones@microsoft.com>, Kepeng Li <kepeng.lkp@alibaba-inc.com>, Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Algorithm draft
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Jun 2015 02:45:46 -0000

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

Sounds okay to me.

On Sat, Jun 20, 2015 at 3:17 PM, Justin Richer <jricher@mit.edu> wrote:

> OK, we'll take that into consideration as a starting draft as well, based
> on discussion in the previous thread. I'd like to give the group time to
> review it specifically, so we'll start a one-week timer once it's publish=
ed
> to the group, sound good?
>
>  -- Justin
>
>
> On 6/20/2015 4:52 PM, Mike Jones wrote:
>
>> Hi Kepeng,
>>
>> Brian and I have synced and we'll get an algorithms draft out during thi=
s
>> coming week.
>>
>>                                 -- Mike
>>
>> -----Original Message-----
>> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kepeng Li
>> Sent: Saturday, June 20, 2015 9:31 AM
>> To: Kepeng Li; Mike Jones; Jim Schaad; cose@ietf.org
>> Subject: Re: [Cose] Algorithm draft
>>
>> Sorry, I missed Brian Campbell.
>>
>> Brian mentioned his willingness to help with the separate algorithms
>> draft.
>>
>>
>> Kind Regards
>> Kepeng
>>
>> =E5=9C=A8 20/6/15 11:05 pm=EF=BC=8C "Kepeng Li" <kepeng.lkp@alibaba-inc.=
com> =E5=86=99=E5=85=A5:
>>
>>  Hi Mike and Jim,
>>>
>>> Thanks for volunteering.
>>>
>>> It will be good if we can have the -00 version before our submission
>>> deadline, that is, 6th July, 2015.
>>>
>>> Kind Regards
>>> Kepeng
>>>
>>> =E5=9C=A8 12/6/15 1:10 am=EF=BC=8C "Mike Jones" <Michael.Jones@microsof=
t.com> =E5=86=99=E5=85=A5:
>>>
>>>  I'd be glad to do this.  I look forward to helping us get these specs
>>>> out quickly in ways that meet the use cases people have.
>>>>
>>>>                                 Cheers,
>>>>                                 -- Mike
>>>>
>>>> -----Original Message-----
>>>> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
>>>> Sent: Wednesday, June 10, 2015 10:18 PM
>>>> To: 'Kepeng Li'; cose@ietf.org
>>>> Subject: Re: [Cose] Algorithm draft
>>>>
>>>>
>>>>
>>>>  -----Original Message-----
>>>>> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kepeng Li
>>>>> Sent: Wednesday, June 10, 2015 6:03 PM
>>>>> To: Mike Jones; Jim Schaad; cose@ietf.org
>>>>> Subject: [Cose] Algorithm draft
>>>>>
>>>>> Currently, we have received feedback from Mike to have a separate
>>>>>
>>>> algorithm
>>>>
>>>>> draft.
>>>>>
>>>>> Any other feedback?
>>>>>
>>>>> Also, we need to find somebody to write the algorithm draft, if we
>>>>> decide
>>>>>
>>>> to
>>>>
>>>>> have a separate one.
>>>>>
>>>>> Any volunteers?
>>>>>
>>>> While I am willing to do this, I would prefer if it were somebody else
>>>> if the document is separate.  I object going to WG meetings where you
>>>> only have one person who is doing the presentations.  On the other
>>>> hand, please remember the aggressive schedule that we are trying to
>>>> keep for this group.
>>>>
>>>> Jim
>>>>
>>>>  Thanks,
>>>>>
>>>>> Kind Regards
>>>>> Kepeng
>>>>>
>>>>> =E5=9C=A8 6/6/15 11:04 am=EF=BC=8C "Mike Jones" <Michael.Jones@micros=
oft.com> =E5=86=99=E5=85=A5:
>>>>>
>>>>>  For what it's worth, I'd advocate having a separate algorithm
>>>>>> document for the same reasons that JOSE did.  For one, it enables
>>>>>> that document to be revised in the future without having to then
>>>>>> revise the underlying signature/MAC/encryption/key representations.
>>>>>>
>>>>>> Also, based on my experience as a JOSE editor, I think the result
>>>>>> was cleaner because we separated the algorithm descriptions from
>>>>>> the descriptions of how to perform cryptographic operations.  It
>>>>>> was good discipline to have to describe the steps to create and use
>>>>>> the data structures without falling back on particulars of specific
>>>>>> algorithms.
>>>>>>
>>>>>> Also, the single-purpose nature of an algorithms doc can make it
>>>>>> easier to read and use a reference.  You're not having to sort out
>>>>>> what are data descriptions and what are algorithm descriptions.
>>>>>> It's just
>>>>>>
>>>>> algorithms.
>>>>
>>>>>                                 Cheers,
>>>>>>                                 -- Mike
>>>>>>
>>>>>> P.S.  I agree with Jim's procedural point that the charter allows
>>>>>> the working group to produce deliverables either in combined or
>>>>>> separated documents.
>>>>>>
>>>>>> -----Original Message-----
>>>>>> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
>>>>>> Sent: Friday, June 05, 2015 7:31 PM
>>>>>> To: 'Kepeng Li'; cose@ietf.org
>>>>>> Subject: Re: [Cose] FW: New Version Notification for
>>>>>> draft-schaad-cose-02.txt
>>>>>>
>>>>>>
>>>>>>  -----Original Message-----
>>>>>>> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kepeng Li
>>>>>>> Sent: Friday, June 05, 2015 6:49 PM
>>>>>>> To: Jim Schaad; cose@ietf.org
>>>>>>> Subject: Re: [Cose] FW: New Version Notification for
>>>>>>> draft-schaad-cose-02.
>>>>>>>
>>>>>> txt
>>>>>>
>>>>>>> Hi Jim,
>>>>>>>
>>>>>>> Thanks for the draft.
>>>>>>>
>>>>>>>  I am willing to add the algorithms piece to this document if
>>>>>>>> that is the desire of the group, or it can be done as an
>>>>>>>> independent document (my initial preference).edx
>>>>>>>>
>>>>>>>
>>>>>>> According to our milestones, the algorithm piece is a separate item=
.
>>>>>>>
>>>>>> That just says that we need a document to cover that milestone.  It
>>>>>> can be a single document or a combined document as the working
>>>>>> group feels best.
>>>>>>
>>>>>> Jim
>>>>>>
>>>>>>  Jun 2015 - Submit COSE specification as a WG item
>>>>>>>    Jun 2015 - Submit COSE constrained-appropriate algorithms as a
>>>>>>> WG item
>>>>>>>
>>>>>>>
>>>>>>> Kind Regards
>>>>>>> Kepeng
>>>>>>>
>>>>>>> =E5=9C=A8 6/6/15 8:37 am=EF=BC=8C "Jim Schaad" <ietf@augustcellars.=
com> =E5=86=99=E5=85=A5:
>>>>>>>
>>>>>>>  Since we now have an official working group.  I will propose
>>>>>>>> this as a candidate draft to address the specification milestone.
>>>>>>>>
>>>>>>>> I am willing to add the algorithms piece to this document if
>>>>>>>> that is the desire of the group, or it can be done as an
>>>>>>>> independent document (my initial preference).
>>>>>>>>
>>>>>>>> Jim
>>>>>>>>
>>>>>>>>
>>>>>>>>  -----Original Message-----
>>>>>>>>> From: internet-drafts@ietf.org
>>>>>>>>> [mailto:internet-drafts@ietf.org]
>>>>>>>>> Sent: Friday, June 05, 2015 5:22 PM
>>>>>>>>> To: Jim Schaad; Jim Schaad
>>>>>>>>> Subject: New Version Notification for draft-schaad-cose-02.txt
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> A new version of I-D, draft-schaad-cose-02.txt has been
>>>>>>>>> successfully submitted  by Jim Schaad and posted to the IETF
>>>>>>>>>
>>>>>>>> repository.
>>>>>>>
>>>>>>>> Name:           draft-schaad-cose
>>>>>>>>> Revision:       02
>>>>>>>>> Title:          CBOR Encoded Message Syntax
>>>>>>>>> Document date:  2015-06-05
>>>>>>>>> Group:          Individual Submission
>>>>>>>>> Pages:          35
>>>>>>>>> URL:
>>>>>>>>> https://www.ietf.org/internet-drafts/draft-schaad-cose-02.txt
>>>>>>>>> Status:
>>>>>>>>>
>>>>>>>> https://datatracker.ietf.org/doc/draft-schaad-cose/
>>>>>
>>>>>> Htmlized:       https://tools.ietf.org/html/draft-schaad-cose-02
>>>>>>>>> Diff:
>>>>>>>>>
>>>>>>>> https://www.ietf.org/rfcdiff?url2=3Ddraft-schaad-cose-02
>>>>>>>
>>>>>>>> Abstract:
>>>>>>>>>     Concise Binary Object Representation (CBOR) is data format
>>>>>>>>>
>>>>>>>> designed
>>>>>>>
>>>>>>>>     for small code size and small message size.  There is a
>>>>>>>>> need for
>>>>>>>>>
>>>>>>>> the
>>>>>>>
>>>>>>>>     ability to have the basic security services defined for
>>>>>>>>> this
>>>>>>>>>
>>>>>>>> data
>>>>>
>>>>>>     format.  This document specifies how to do signatures, message
>>>>>>>>>     authentication codes and encryption using this data format.
>>>>>>>>> The
>>>>>>>>>
>>>>>>>> work
>>>>>>
>>>>>>>     in this document is derived in part from the JSON web security
>>>>>>>>>     documents using the same parameters and algorithm
>>>>>>>>> identifiers as
>>>>>>>>>
>>>>>>>> they
>>>>>>
>>>>>>>     do.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Please note that it may take a couple of minutes from the time
>>>>>>>>> of submission  until the htmlized version and diff are
>>>>>>>>> available at tools.ietf.org.
>>>>>>>>>
>>>>>>>>> The IETF Secretariat
>>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Cose mailing list
>>>>>>>> Cose@ietf.org
>>>>>>>> https://www.ietf.org/mailman/listinfo/cose
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Cose mailing list
>>>>>>> Cose@ietf.org
>>>>>>> https://www.ietf.org/mailman/listinfo/cose
>>>>>>>
>>>>>> _______________________________________________
>>>>>> Cose mailing list
>>>>>> Cose@ietf.org
>>>>>> https://www.ietf.org/mailman/listinfo/cose
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Cose mailing list
>>>>> Cose@ietf.org
>>>>> https://www.ietf.org/mailman/listinfo/cose
>>>>>
>>>> _______________________________________________
>>>> Cose mailing list
>>>> Cose@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/cose
>>>>
>>>
>>> _______________________________________________
>>> Cose mailing list
>>> Cose@ietf.org
>>> https://www.ietf.org/mailman/listinfo/cose
>>>
>>
>> _______________________________________________
>> Cose mailing list
>> Cose@ietf.org
>> https://www.ietf.org/mailman/listinfo/cose
>>
>> _______________________________________________
>> Cose mailing list
>> Cose@ietf.org
>> https://www.ietf.org/mailman/listinfo/cose
>>
>
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose
>

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

<div dir=3D"ltr">Sounds okay to me. <br></div><div class=3D"gmail_extra"><b=
r><div class=3D"gmail_quote">On Sat, Jun 20, 2015 at 3:17 PM, Justin Richer=
 <span dir=3D"ltr">&lt;<a href=3D"mailto:jricher@mit.edu" target=3D"_blank"=
>jricher@mit.edu</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">OK=
, we&#39;ll take that into consideration as a starting draft as well, based=
 on discussion in the previous thread. I&#39;d like to give the group time =
to review it specifically, so we&#39;ll start a one-week timer once it&#39;=
s published to the group, sound good?<span class=3D"HOEnZb"><font color=3D"=
#888888"><br>
<br>
=C2=A0-- Justin</font></span><div class=3D"HOEnZb"><div class=3D"h5"><br>
<br>
On 6/20/2015 4:52 PM, Mike Jones wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Hi Kepeng,<br>
<br>
Brian and I have synced and we&#39;ll get an algorithms draft out during th=
is coming week.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 -- Mike<br>
<br>
-----Original Message-----<br>
From: Cose [mailto:<a href=3D"mailto:cose-bounces@ietf.org" target=3D"_blan=
k">cose-bounces@ietf.org</a>] On Behalf Of Kepeng Li<br>
Sent: Saturday, June 20, 2015 9:31 AM<br>
To: Kepeng Li; Mike Jones; Jim Schaad; <a href=3D"mailto:cose@ietf.org" tar=
get=3D"_blank">cose@ietf.org</a><br>
Subject: Re: [Cose] Algorithm draft<br>
<br>
Sorry, I missed Brian Campbell.<br>
<br>
Brian mentioned his willingness to help with the separate algorithms draft.=
<br>
<br>
<br>
Kind Regards<br>
Kepeng<br>
<br>
=E5=9C=A8 20/6/15 11:05 pm=EF=BC=8C &quot;Kepeng Li&quot; &lt;<a href=3D"ma=
ilto:kepeng.lkp@alibaba-inc.com" target=3D"_blank">kepeng.lkp@alibaba-inc.c=
om</a>&gt; =E5=86=99=E5=85=A5:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Hi Mike and Jim,<br>
<br>
Thanks for volunteering.<br>
<br>
It will be good if we can have the -00 version before our submission<br>
deadline, that is, 6th July, 2015.<br>
<br>
Kind Regards<br>
Kepeng<br>
<br>
=E5=9C=A8 12/6/15 1:10 am=EF=BC=8C &quot;Mike Jones&quot; &lt;<a href=3D"ma=
ilto:Michael.Jones@microsoft.com" target=3D"_blank">Michael.Jones@microsoft=
.com</a>&gt; =E5=86=99=E5=85=A5:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
I&#39;d be glad to do this.=C2=A0 I look forward to helping us get these sp=
ecs<br>
out quickly in ways that meet the use cases people have.<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Cheers,<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 -- Mike<br>
<br>
-----Original Message-----<br>
From: Cose [mailto:<a href=3D"mailto:cose-bounces@ietf.org" target=3D"_blan=
k">cose-bounces@ietf.org</a>] On Behalf Of Jim Schaad<br>
Sent: Wednesday, June 10, 2015 10:18 PM<br>
To: &#39;Kepeng Li&#39;; <a href=3D"mailto:cose@ietf.org" target=3D"_blank"=
>cose@ietf.org</a><br>
Subject: Re: [Cose] Algorithm draft<br>
<br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
-----Original Message-----<br>
From: Cose [mailto:<a href=3D"mailto:cose-bounces@ietf.org" target=3D"_blan=
k">cose-bounces@ietf.org</a>] On Behalf Of Kepeng Li<br>
Sent: Wednesday, June 10, 2015 6:03 PM<br>
To: Mike Jones; Jim Schaad; <a href=3D"mailto:cose@ietf.org" target=3D"_bla=
nk">cose@ietf.org</a><br>
Subject: [Cose] Algorithm draft<br>
<br>
Currently, we have received feedback from Mike to have a separate<br>
</blockquote>
algorithm<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
draft.<br>
<br>
Any other feedback?<br>
<br>
Also, we need to find somebody to write the algorithm draft, if we<br>
decide<br>
</blockquote>
to<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
have a separate one.<br>
<br>
Any volunteers?<br>
</blockquote>
While I am willing to do this, I would prefer if it were somebody else<br>
if the document is separate.=C2=A0 I object going to WG meetings where you<=
br>
only have one person who is doing the presentations.=C2=A0 On the other<br>
hand, please remember the aggressive schedule that we are trying to<br>
keep for this group.<br>
<br>
Jim<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Thanks,<br>
<br>
Kind Regards<br>
Kepeng<br>
<br>
=E5=9C=A8 6/6/15 11:04 am=EF=BC=8C &quot;Mike Jones&quot; &lt;<a href=3D"ma=
ilto:Michael.Jones@microsoft.com" target=3D"_blank">Michael.Jones@microsoft=
.com</a>&gt; =E5=86=99=E5=85=A5:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
For what it&#39;s worth, I&#39;d advocate having a separate algorithm<br>
document for the same reasons that JOSE did.=C2=A0 For one, it enables<br>
that document to be revised in the future without having to then<br>
revise the underlying signature/MAC/encryption/key representations.<br>
<br>
Also, based on my experience as a JOSE editor, I think the result<br>
was cleaner because we separated the algorithm descriptions from<br>
the descriptions of how to perform cryptographic operations.=C2=A0 It<br>
was good discipline to have to describe the steps to create and use<br>
the data structures without falling back on particulars of specific algorit=
hms.<br>
<br>
Also, the single-purpose nature of an algorithms doc can make it<br>
easier to read and use a reference.=C2=A0 You&#39;re not having to sort out=
<br>
what are data descriptions and what are algorithm descriptions.<br>
It&#39;s just<br>
</blockquote></blockquote>
algorithms.<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Cheers,<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 -- Mike<br>
<br>
P.S.=C2=A0 I agree with Jim&#39;s procedural point that the charter allows<=
br>
the working group to produce deliverables either in combined or<br>
separated documents.<br>
<br>
-----Original Message-----<br>
From: Cose [mailto:<a href=3D"mailto:cose-bounces@ietf.org" target=3D"_blan=
k">cose-bounces@ietf.org</a>] On Behalf Of Jim Schaad<br>
Sent: Friday, June 05, 2015 7:31 PM<br>
To: &#39;Kepeng Li&#39;; <a href=3D"mailto:cose@ietf.org" target=3D"_blank"=
>cose@ietf.org</a><br>
Subject: Re: [Cose] FW: New Version Notification for<br>
draft-schaad-cose-02.txt<br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
-----Original Message-----<br>
From: Cose [mailto:<a href=3D"mailto:cose-bounces@ietf.org" target=3D"_blan=
k">cose-bounces@ietf.org</a>] On Behalf Of Kepeng Li<br>
Sent: Friday, June 05, 2015 6:49 PM<br>
To: Jim Schaad; <a href=3D"mailto:cose@ietf.org" target=3D"_blank">cose@iet=
f.org</a><br>
Subject: Re: [Cose] FW: New Version Notification for<br>
draft-schaad-cose-02.<br>
</blockquote>
txt<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Hi Jim,<br>
<br>
Thanks for the draft.<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
I am willing to add the algorithms piece to this document if<br>
that is the desire of the group, or it can be done as an<br>
independent document (my initial preference).edx<br>
</blockquote>
<br>
According to our milestones, the algorithm piece is a separate item.<br>
</blockquote>
That just says that we need a document to cover that milestone.=C2=A0 It<br=
>
can be a single document or a combined document as the working<br>
group feels best.<br>
<br>
Jim<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Jun 2015 - Submit COSE specification as a WG item<br>
=C2=A0 =C2=A0Jun 2015 - Submit COSE constrained-appropriate algorithms as a=
<br>
WG item<br>
<br>
<br>
Kind Regards<br>
Kepeng<br>
<br>
=E5=9C=A8 6/6/15 8:37 am=EF=BC=8C &quot;Jim Schaad&quot; &lt;<a href=3D"mai=
lto:ietf@augustcellars.com" target=3D"_blank">ietf@augustcellars.com</a>&gt=
; =E5=86=99=E5=85=A5:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
Since we now have an official working group.=C2=A0 I will propose<br>
this as a candidate draft to address the specification milestone.<br>
<br>
I am willing to add the algorithms piece to this document if<br>
that is the desire of the group, or it can be done as an<br>
independent document (my initial preference).<br>
<br>
Jim<br>
<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">
-----Original Message-----<br>
From: <a href=3D"mailto:internet-drafts@ietf.org" target=3D"_blank">interne=
t-drafts@ietf.org</a><br>
[mailto:<a href=3D"mailto:internet-drafts@ietf.org" target=3D"_blank">inter=
net-drafts@ietf.org</a>]<br>
Sent: Friday, June 05, 2015 5:22 PM<br>
To: Jim Schaad; Jim Schaad<br>
Subject: New Version Notification for draft-schaad-cose-02.txt<br>
<br>
<br>
A new version of I-D, draft-schaad-cose-02.txt has been<br>
successfully submitted=C2=A0 by Jim Schaad and posted to the IETF<br>
</blockquote></blockquote>
repository.<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Name:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0draft-schaad-cose<br>
Revision:=C2=A0 =C2=A0 =C2=A0 =C2=A002<br>
Title:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 CBOR Encoded Message Syntax<br>
Document date:=C2=A0 2015-06-05<br>
Group:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Individual Submission<br>
Pages:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 35<br>
URL:<br>
<a href=3D"https://www.ietf.org/internet-drafts/draft-schaad-cose-02.txt" r=
el=3D"noreferrer" target=3D"_blank">https://www.ietf.org/internet-drafts/dr=
aft-schaad-cose-02.txt</a><br>
Status:<br>
</blockquote></blockquote></blockquote></blockquote>
<a href=3D"https://datatracker.ietf.org/doc/draft-schaad-cose/" rel=3D"nore=
ferrer" target=3D"_blank">https://datatracker.ietf.org/doc/draft-schaad-cos=
e/</a><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .=
8ex;border-left:1px #ccc solid;padding-left:1ex">
Htmlized:=C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"https://tools.ietf.org/html/=
draft-schaad-cose-02" rel=3D"noreferrer" target=3D"_blank">https://tools.ie=
tf.org/html/draft-schaad-cose-02</a><br>
Diff:<br>
</blockquote></blockquote>
<a href=3D"https://www.ietf.org/rfcdiff?url2=3Ddraft-schaad-cose-02" rel=3D=
"noreferrer" target=3D"_blank">https://www.ietf.org/rfcdiff?url2=3Ddraft-sc=
haad-cose-02</a><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Abstract:<br>
=C2=A0 =C2=A0 Concise Binary Object Representation (CBOR) is data format<br=
>
</blockquote></blockquote>
designed<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
=C2=A0 =C2=A0 for small code size and small message size.=C2=A0 There is a<=
br>
need for<br>
</blockquote></blockquote>
the<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
=C2=A0 =C2=A0 ability to have the basic security services defined for<br>
this<br>
</blockquote></blockquote></blockquote></blockquote>
data<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .=
8ex;border-left:1px #ccc solid;padding-left:1ex">
=C2=A0 =C2=A0 format.=C2=A0 This document specifies how to do signatures, m=
essage<br>
=C2=A0 =C2=A0 authentication codes and encryption using this data format.<b=
r>
The<br>
</blockquote></blockquote></blockquote>
work<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">
=C2=A0 =C2=A0 in this document is derived in part from the JSON web securit=
y<br>
=C2=A0 =C2=A0 documents using the same parameters and algorithm<br>
identifiers as<br>
</blockquote></blockquote></blockquote>
they<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><blockquote c=
lass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;=
padding-left:1ex">
=C2=A0 =C2=A0 do.<br>
<br>
<br>
<br>
<br>
Please note that it may take a couple of minutes from the time<br>
of submission=C2=A0 until the htmlized version and diff are<br>
available at <a href=3D"http://tools.ietf.org" rel=3D"noreferrer" target=3D=
"_blank">tools.ietf.org</a>.<br>
<br>
The IETF Secretariat<br>
</blockquote>
_______________________________________________<br>
Cose mailing list<br>
<a href=3D"mailto:Cose@ietf.org" target=3D"_blank">Cose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/cose" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/cose</a><br>
</blockquote>
<br>
_______________________________________________<br>
Cose mailing list<br>
<a href=3D"mailto:Cose@ietf.org" target=3D"_blank">Cose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/cose" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/cose</a><br>
</blockquote>
_______________________________________________<br>
Cose mailing list<br>
<a href=3D"mailto:Cose@ietf.org" target=3D"_blank">Cose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/cose" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/cose</a><br>
</blockquote>
<br>
_______________________________________________<br>
Cose mailing list<br>
<a href=3D"mailto:Cose@ietf.org" target=3D"_blank">Cose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/cose" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/cose</a><br>
</blockquote>
_______________________________________________<br>
Cose mailing list<br>
<a href=3D"mailto:Cose@ietf.org" target=3D"_blank">Cose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/cose" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/cose</a><br>
</blockquote>
<br>
_______________________________________________<br>
Cose mailing list<br>
<a href=3D"mailto:Cose@ietf.org" target=3D"_blank">Cose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/cose" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/cose</a><br>
</blockquote>
<br>
_______________________________________________<br>
Cose mailing list<br>
<a href=3D"mailto:Cose@ietf.org" target=3D"_blank">Cose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/cose" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/cose</a><br>
<br>
_______________________________________________<br>
Cose mailing list<br>
<a href=3D"mailto:Cose@ietf.org" target=3D"_blank">Cose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/cose" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/cose</a><br>
</blockquote>
<br>
_______________________________________________<br>
Cose mailing list<br>
<a href=3D"mailto:Cose@ietf.org" target=3D"_blank">Cose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/cose" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/cose</a><br>
</div></div></blockquote></div><br></div>

--001a1140444037d9680518fe2796--


From nobody Fri Jun 26 19:18:56 2015
Return-Path: <jricher@mit.edu>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 35D0A1B2BF7 for <cose@ietfa.amsl.com>; Fri, 26 Jun 2015 19:18:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.21
X-Spam-Level: 
X-Spam-Status: No, score=-4.21 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0CR2SLJMMdOM for <cose@ietfa.amsl.com>; Fri, 26 Jun 2015 19:18:53 -0700 (PDT)
Received: from dmz-mailsec-scanner-5.mit.edu (dmz-mailsec-scanner-5.mit.edu [18.7.68.34]) by ietfa.amsl.com (Postfix) with ESMTP id 4F9D21B2C0C for <cose@ietf.org>; Fri, 26 Jun 2015 19:18:51 -0700 (PDT)
X-AuditID: 12074422-f79d26d0000026d6-fd-558e080a070a
Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-5.mit.edu (Symantec Messaging Gateway) with SMTP id A4.DE.09942.A080E855; Fri, 26 Jun 2015 22:18:50 -0400 (EDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id t5R2Iob5023512 for <cose@ietf.org>; Fri, 26 Jun 2015 22:18:50 -0400
Received: from artemisia.richer.local (static-96-237-195-53.bstnma.fios.verizon.net [96.237.195.53]) (authenticated bits=0) (User authenticated as jricher@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id t5R2Il1B006480 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <cose@ietf.org>; Fri, 26 Jun 2015 22:18:49 -0400
From: Justin Richer <jricher@MIT.EDU>
Content-Type: multipart/alternative; boundary="Apple-Mail=_46501408-B967-42A6-9168-65A6C69810D6"
Message-Id: <1B462EEC-67AF-4F19-B8F5-82BA36C59C8D@mit.edu>
Date: Fri, 26 Jun 2015 22:18:47 -0400
To: cose@ietf.org
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrAIsWRmVeSWpSXmKPExsUixG6nrsvF0Rdq8PGzocW0rVNZHRg9liz5 yRTAGMVlk5Kak1mWWqRvl8CVsXpJJ0vBPv6KsyuWsjYwHuXtYuTkkBAwkbjyoJUZwhaTuHBv PVsXIxeHkMBiJonL6/8xQzhHGSU2v+1mgXC+Mkk07nwA1sImoCoxf+UtJhCbWSBB4vfMK4wg trCAvsSGqz+A4hwcvAJWEqvOlYGEWYDKf228wQ4SFhEQlLjbaQ4S5hXQk3j09DFYWEJAVuLr VrkJjLyzkMychaQKIq4tsWzha2YIW1Nif/dyFkxxDYnObxNZFzCyrWKUTcmt0s1NzMwpTk3W LU5OzMtLLdI11cvNLNFLTSndxAgOSBelHYw/DyodYhTgYFTi4c281BsqxJpYVlyZe4hRkoNJ SZRX5xpQiC8pP6UyI7E4I76oNCe1+BCjBAezkghv1WOgHG9KYmVValE+TEqag0VJnHfTD74Q IYH0xJLU7NTUgtQimKwMB4eSBG8eW1+okGBRanpqRVpmTglCmomDE2Q4D9Bwe5Aa3uKCxNzi zHSI/ClGRSlx3nkgCQGQREZpHlwvLGG8YhQHekWY9zRIFQ8w2cB1vwIazAQ0+G18F8jgkkSE lFQD4yyj28/v3zr48OJ8xwlxf//wivGpi3I7cQc/iVoyy2VJU5RGoYW99nzzhj79vkR7H+vF 7vaGLlOcGay4CzZZvW5SvnyQ6dInOylGg3O8vlxyW/g+fP8tZjW7+d2MnZucrC+GzSzvV2MQ 2vFynS3f/+eHL6R63Du5cdJDzQOqbw/u/FL5ZPW+aCWW4oxEQy3mouJEANjJ5pnzAgAA
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/8hbWNypJlYNfMOhiw9s-E-W5x4k>
Subject: [Cose] Consensus Call on Input Draft Adoption
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Jun 2015 02:18:55 -0000

--Apple-Mail=_46501408-B967-42A6-9168-65A6C69810D6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

The chairs would like to make a consensus call on accepting the =
following document as the input draft for a new working group item:


https://tools.ietf.org/html/draft-schaad-cose-msg-01 =
<https://tools.ietf.org/html/draft-schaad-cose-msg-01>


This document, if accepted, will become the basis of the COSE message =
syntax specification.

Please reply to this thread whether or not you would like to accept this =
document as input to the working group.=20

Thank you,
 =E2=80=94 Justin (& Kepeng)=

--Apple-Mail=_46501408-B967-42A6-9168-65A6C69810D6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">The chairs would like to make a consensus call on accepting =
the following document as the input draft for a new working group =
item:<div class=3D""><br class=3D""></div><div class=3D""><br =
class=3D""></div><div class=3D""><a =
href=3D"https://tools.ietf.org/html/draft-schaad-cose-msg-01" =
class=3D"">https://tools.ietf.org/html/draft-schaad-cose-msg-01</a></div><=
div class=3D""><br class=3D""></div><div class=3D""><br =
class=3D""></div><div class=3D"">This document, if accepted, will become =
the basis of the COSE message syntax specification.</div><div =
class=3D""><br class=3D""></div><div class=3D"">Please reply to this =
thread whether or not you would like to accept this document as input to =
the working group.&nbsp;</div><div class=3D""><br class=3D""></div><div =
class=3D"">Thank you,</div><div class=3D"">&nbsp;=E2=80=94 Justin (&amp; =
Kepeng)</div></body></html>=

--Apple-Mail=_46501408-B967-42A6-9168-65A6C69810D6--


From nobody Fri Jun 26 19:31:31 2015
Return-Path: <jricher@mit.edu>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1089C1B2C86 for <cose@ietfa.amsl.com>; Fri, 26 Jun 2015 19:31:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.311
X-Spam-Level: 
X-Spam-Status: No, score=-2.311 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id o2t-lXT1ZpRr for <cose@ietfa.amsl.com>; Fri, 26 Jun 2015 19:31:28 -0700 (PDT)
Received: from dmz-mailsec-scanner-2.mit.edu (dmz-mailsec-scanner-2.mit.edu [18.9.25.13]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CFAD31B2B42 for <cose@ietf.org>; Fri, 26 Jun 2015 19:31:27 -0700 (PDT)
X-AuditID: 1209190d-f796f6d000005314-cb-558e0afee7df
Received: from mailhub-auth-4.mit.edu ( [18.7.62.39]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by dmz-mailsec-scanner-2.mit.edu (Symantec Messaging Gateway) with SMTP id 76.E9.21268.EFA0E855; Fri, 26 Jun 2015 22:31:26 -0400 (EDT)
Received: from outgoing.mit.edu (outgoing-auth-1.mit.edu [18.9.28.11]) by mailhub-auth-4.mit.edu (8.13.8/8.9.2) with ESMTP id t5R2VP42024343 for <cose@ietf.org>; Fri, 26 Jun 2015 22:31:26 -0400
Received: from artemisia.richer.local (static-96-237-195-53.bstnma.fios.verizon.net [96.237.195.53]) (authenticated bits=0) (User authenticated as jricher@ATHENA.MIT.EDU) by outgoing.mit.edu (8.13.8/8.12.4) with ESMTP id t5R2VOF5009030 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for <cose@ietf.org>; Fri, 26 Jun 2015 22:31:25 -0400
From: Justin Richer <jricher@MIT.EDU>
Content-Type: multipart/alternative; boundary="Apple-Mail=_0031BF98-93A6-4E83-9C6E-BF7755117BBF"
Message-Id: <13DE5790-1C07-46A8-A900-EC059D03B55A@mit.edu>
Date: Fri, 26 Jun 2015 22:31:24 -0400
To: cose@ietf.org
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
X-Mailer: Apple Mail (2.2098)
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrPIsWRmVeSWpSXmKPExsUixG6nrvuPqy/UoPe1iMW0rVNZHRg9liz5 yRTAGMVlk5Kak1mWWqRvl8CVcf7wesaCw2oVd/7INTD2KHQxcnJICJhITDjaxQJhi0lcuLee rYuRi0NIYDGTxMpDLcwgCSGBo4wSpzoCIBJfmSTWT5zDBpJgE1CVmL/yFhOIzSyQIPGz9wlY XFhAX+LnsRtgU3kFrCT6t00Hs1mA6te1vGHsYuTgEBEQlLjbaQ5Roifx6OljdpCwhICsxNet chMYeWchGToLSRVEXFti2cLXzBC2psT+7uUsmOIaEp3fJrIuYGRbxSibklulm5uYmVOcmqxb nJyYl5dapGukl5tZopeaUrqJERSOnJK8OxjfHVQ6xCjAwajEw5txqTdUiDWxrLgy9xCjJAeT kiivzjWgEF9SfkplRmJxRnxRaU5q8SFGCQ5mJRHeqsdAOd6UxMqq1KJ8mJQ0B4uSOO+mH3wh QgLpiSWp2ampBalFMFkZDg4lCd6nnH2hQoJFqempFWmZOSUIaSYOTpDhPEDDj4LU8BYXJOYW Z6ZD5E8xKkqJ874ESQiAJDJK8+B6YeniFaM40CvCvLNBqniAqQau+xXQYCagwW/ju0AGlyQi pKQaGFvT96yazRD2eH4ZS7xfaJ7Uy51WZumyR9/PerxWe67Lvb8bPY3Sv5f8VvAqLY0O0mhi 4P2XOGnP5ZDQWuv9fNyf2/je8XxYWWCbp13qK9EWM2Pbfvbyq+dOJX50uXLo3d5zZkV1bI7P VLVrbWw+6pY9df1+TvGEXVHZ5x+7Su86tOyzmtYYqsRSnJFoqMVcVJwIADWhERHyAgAA
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/VTHAfGhb4caDUs76Ve0zhCZngS8>
Subject: [Cose] Document Structur, Editors, and Prague
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Jun 2015 02:31:30 -0000

--Apple-Mail=_0031BF98-93A6-4E83-9C6E-BF7755117BBF
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Separating this on a new thread so as not to confuse the consensus call =
on the document as it currently stands.

In parallel to the review and call for acceptance of =
https://tools.ietf.org/html/draft-schaad-cose-msg-01 =
<https://tools.ietf.org/html/draft-schaad-cose-msg-01> as input, the =
chairs have spoken to several potential editors and have asked both Jim =
Shaad and Brian Campbell to act in that capacity.=20

Additionally, we have asked Jim to prepare a version of the above =
document with the algorithm definitions included as an exercise in =
document structure. Jim has said he will make this version available =
prior to the Prague meeting, in the hopes that the WG can determine =
whether or not a single-document or multiple-document format will be =
used going forward. The thought here is that it=E2=80=99s easier to =
abstract things into two documents than it is to combine them into one, =
and this structure will give us a good starting point for discussion. =
Keep an eye out for this document, which will be in the form of an I-D =
from Jim.

Finally, our meeting has been officially scheduled. We=E2=80=99re the =
first session on Monday morning, and we=E2=80=99re sharing the room with =
IPSECME for the 9:00-11:30 slot. They=E2=80=99ll be taking the first =
hour, and we=E2=80=99ll be taking the balance of the slot. On paper that =
gives us 90 minutes starting at 10:00; in practice we might get a little =
bit more than that as the IPSECME chairs have indicated that their work =
might not take a full hour and we can start early. As such, please try =
to get to the room before the official 10am time slot, as we=E2=80=99ll =
be starting as soon as we can whether you=E2=80=99re there or not. :)

Additionally, the chairs would like to now officially solicit proposals =
for presentations during the inaugural COSE face to face.

Thank you everyone. Please remember to chime in on the other thread, and =
we=E2=80=99ll see you in Prague!
 =E2=80=94 Justin (& Kepeng)=

--Apple-Mail=_0031BF98-93A6-4E83-9C6E-BF7755117BBF
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space;" class=3D"">Separating this on a =
new thread so as not to confuse the consensus call on the document as it =
currently stands.<div class=3D""><br class=3D""></div><div class=3D"">In =
parallel to the review and call for acceptance of&nbsp;<a =
href=3D"https://tools.ietf.org/html/draft-schaad-cose-msg-01" =
class=3D"">https://tools.ietf.org/html/draft-schaad-cose-msg-01</a>&nbsp;a=
s input, the chairs have spoken to several potential editors and have =
asked both Jim Shaad and Brian Campbell to act in that =
capacity.&nbsp;</div><div class=3D""><br class=3D""></div><div =
class=3D"">Additionally, we have asked Jim to prepare a version of the =
above document with the algorithm definitions included as an exercise in =
document structure. Jim has said he will make this version available =
prior to the Prague meeting, in the hopes that the WG can determine =
whether or not a single-document or multiple-document format will be =
used going forward. The thought here is that it=E2=80=99s easier to =
abstract things into two documents than it is to combine them into one, =
and this structure will give us a good starting point for discussion. =
Keep an eye out for this document, which will be in the form of an I-D =
from Jim.</div><div class=3D""><br class=3D""></div><div =
class=3D"">Finally, our meeting has been officially scheduled. We=E2=80=99=
re the first session on Monday morning, and we=E2=80=99re sharing the =
room with IPSECME for the 9:00-11:30 slot. They=E2=80=99ll be taking the =
first hour, and we=E2=80=99ll be taking the balance of the slot. On =
paper that gives us 90 minutes starting at 10:00; in practice we might =
get a little bit more than that as the IPSECME chairs have indicated =
that their work might not take a full hour and we can start early. As =
such, please try to get to the room before the official 10am time slot, =
as we=E2=80=99ll be starting as soon as we can whether you=E2=80=99re =
there or not. :)</div><div class=3D""><br class=3D""></div><div =
class=3D"">Additionally, the chairs would like to now officially solicit =
proposals for presentations during the inaugural COSE face to =
face.</div><div class=3D""><br class=3D""></div><div class=3D"">Thank =
you everyone. Please remember to chime in on the other thread, and =
we=E2=80=99ll see you in Prague!</div><div class=3D"">&nbsp;=E2=80=94 =
Justin (&amp; Kepeng)</div></body></html>=

--Apple-Mail=_0031BF98-93A6-4E83-9C6E-BF7755117BBF--


From nobody Sat Jun 27 02:07:00 2015
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ABF1B1B32C1 for <cose@ietfa.amsl.com>; Sat, 27 Jun 2015 02:06:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ovYVOhD1Vvyh for <cose@ietfa.amsl.com>; Sat, 27 Jun 2015 02:06:47 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0772.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::1:772]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AE7BD1B32BF for <cose@ietf.org>; Sat, 27 Jun 2015 02:06:46 -0700 (PDT)
Received: from BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) by BY2PR03MB441.namprd03.prod.outlook.com (10.141.141.142) with Microsoft SMTP Server (TLS) id 15.1.201.16; Sat, 27 Jun 2015 09:06:40 +0000
Received: from BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) by BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) with mapi id 15.01.0201.000; Sat, 27 Jun 2015 09:06:40 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "cose@ietf.org" <cose@ietf.org>
Thread-Topic: Review of draft-schaad-cose-msg-01
Thread-Index: AdCwuG36k7Yq5VJ4SCGK90wxv/T+IA==
Date: Sat, 27 Jun 2015 09:06:40 +0000
Message-ID: <BY2PR03MB442E3A163870ADE7AAABCF5F5AC0@BY2PR03MB442.namprd03.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;
x-originating-ip: [50.47.90.173]
x-microsoft-exchange-diagnostics: 1; BY2PR03MB441; 5:rZtND5Y88zKO551CMABCnzY1h+fMLwqkTHATcrQGdNCnxCBRqxUWDtW4u0YqknePdcUzWteCZiafuYOQdzmgpugyceEHSLjG/l0Us1guSwxIy9htFg12AItXrSAAZ3Ykfx2M9sX3cuzaOorWwnwQ7g==; 24:kdvitF7o5Ch8ihsx3rpWSRU25h9Bj/6KERrRd7V/oRypKct1z8f3/7oV9un1fvlKzPHcB45mHrOesSaaj0x0JXzx2iloyIc83OEUlGfvDjQ=; 20:x7kHoFu5XG3kLiXtR29NY0FQvkh+fb5WaInN11oPW10aC/gjumoEMPRLNupZhNHFdQ3VHeYZ00fGoE5MQrpdqg==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB441;
x-microsoft-antispam-prvs: <BY2PR03MB441669A29D49F1EFEE9EA88F5AC0@BY2PR03MB441.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BY2PR03MB441; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB441; 
x-forefront-prvs: 0620CADDF3
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(60444003)(2900100001)(19580395003)(5002640100001)(19580405001)(5001960100002)(450100001)(40100003)(19617315012)(62966003)(77156002)(19300405004)(66066001)(107886002)(102836002)(189998001)(33656002)(229853001)(15975445007)(110136002)(77096005)(5003600100002)(2351001)(2501003)(122556002)(16236675004)(50986999)(54356999)(86612001)(86362001)(575784001)(87936001)(2656002)(92566002)(19625215002)(230783001)(74316001)(99286002)(46102003)(76576001)(579004); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB441; H:BY2PR03MB442.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: multipart/alternative; boundary="_000_BY2PR03MB442E3A163870ADE7AAABCF5F5AC0BY2PR03MB442namprd_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2015 09:06:40.4891 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB441
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/BJ9IlEtBuNfRrroFzR5DjHE5wyY>
Subject: [Cose] Review of draft-schaad-cose-msg-01
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Jun 2015 09:06:58 -0000

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

In response to the call for adoption, I'm submitting the following review f=
eedback on draft-schaad-cose-msg-01<http://tools.ietf.org/html/draft-schaad=
-cose-msg-01>.  Most of the major comments are motivated by the goal of "ke=
eping simple things simple".  Particularly in constrained environments, it'=
s likely to be normal for implementations to use only the parts of COSE the=
y their application needs.  I believe that we should therefore optimize the=
 representations we define for the common cases, while making it possible t=
o also gracefully accommodate less common, if possibly more general cases a=
s well.

Also, given my role as a designer and editor of the JOSE specs, I'll say ex=
plicitly that it's not my goal to try to have all the decisions in COSE exa=
ctly mirror those in JOSE.  Some things can clearly be simplified for COSE,=
 and I'm all for that.  I plan to consider each issue on its individual mer=
its.  That said, here's my review...

MAJOR ISSUES

1.  Representations should be optimized for the single recipient case.

In JOSE, going into IESG review, "signatures" or "recipients" arrays were r=
equired for the JSON Serializations, with only general multi-signature/mult=
i-recipient representations being defined for JWS and JWE.  Based on feedba=
ck from numerous developers who were using JOSE for use cases that only eve=
r used a single signature or recipient, Richard Barnes asked that the Flatt=
ened serializations be added to optimize for the common single signature/re=
cipient cases.  Based on this developer feedback, we did this.

Unless we do the same for COSE, I'm sure we'll receive the same feedback th=
at requiring the "recipients" array in use cases where it will always conta=
in one element is unnecessarily complicated.  We should do this now.

While the argument against this could be made that "it's even more complica=
ted to support both the flattened and general serializations than just the =
general one", I believe that in practice, this is a mostly specious argumen=
t.  Applications will choose or build an implementation that fits their use=
 case - either one that supports single or multiple recipients.  Applicatio=
n profiles will choose one or the other representation and will generally n=
ot call for both.

The way to achieve this is to define a flattened representation as JOSE did=
, in which header parameters about both the payload and the recipient are c=
arried in the top level "unprotected" and "protected" elements.

2.  HMACs should be optimized for the no-key-management case.

Particularly for constrained devices, it is unlikely that applications will=
 want to pay the performance penalty of generating and encrypting a key man=
agement key to perform a MAC operation.  Heck, they may not have credible r=
andom number generation in the first place!  And they are likewise unlikely=
 to want to pay the message size penalty of carrying the encrypted key.

I'm fine with the optional ability to have key management for MACs, but the=
 default should be that no key management information is present in the rep=
resentation.  The only algorithm represented by default should be the MAC a=
lgorithm - not even "dir" (direct).  I suspect that this can be cleanly don=
e by omitting the key management layer entirely when it's not used, rather =
than explicitly using "dir" (direct).

3.  Wrapped keys should be able to be represented as simply the wrapped key=
 value - not as an encrypted data structure with unnecessary information.

Key management keys are by definition ephemeral and so no metadata needs to=
 be carried about them.  Yes, the algorithm used to wrap the key needs to b=
e represented, but this is already represented separately from the wrapped =
key.

A simple way to achieve this is to define an encrypted_key field to represe=
nt the wrapped key, when appropriate for the algorithm.  Among other benefi=
ts, this will enable the use of the standard RFC 3394 AES Key Wrap algorith=
ms, in the same way that JOSE uses "A128KW", etc.

Note that if the working group chooses to, the ability to represent encrypt=
ed keys as data structures can also be retained in parallel to this simpler=
 approach.  Applications can then choose which method works best for them.

4.  Simpler and more comprehensible examples are needed.

I would include examples for the simplest and likely most common use cases:

*        HMAC without key management

*        Single signature

*        Encryption using AES Key Wrap for key management and AES GCM for c=
ontent encryption

Also, to be comprehensible to most readers, the examples need to include bo=
th symbolic and numeric identifiers for all fields.  Also, decoded represen=
tations for encoded values need to be shown.

For instance, the Direct MAC example in C.1 should be changed from beginnin=
g like this:

   {
     1: 3,
     2: h'a10104',
     4: h'546869732069732074686520636f6e74656e742e',
     10: h'2ba937ca03d76c3dbad30cfcbaeef586f9c0f9ba616ad67e9205d3857
   6ad9930',

to beginning like this:

   {
     1 (msg_type): 3 (MACed message),
     2 (protected): h'a10104' (alg:HS256),
     4 (payload): h'546869732069732074686520636f6e74656e742e',
     10 (tag): h'2ba937ca03d76c3dbad30cfcbaeef586f9c0f9ba616ad67e9205d3857
   6ad9930',

MINOR ISSUES

These issues are organized by section number, providing comments on the spe=
c text in the order of appearance.  27 issues are described, labeled a, b, =
c, ... aa.  The section numbers and names in which they appear are included=
 in the write-up.

2.  The COSE_MSG structure

a.  Change:
   Implementations MUST be prepared to find an integer under this label
   which does not correspond to the values 1 to 3.  If this is found
   then the client MUST stop attempting to parse the structure and fail.
to:
   Implementations MUST be prepared to find an integer under this label
   which does not correspond to the values 1 to 3.  If this is found
   then the client MUST stop attempting to parse the structure and fail,
   unless it understands and implements the extension label value.

b.  This syntax needs more explanation:
   COSE_Tagged_MSG =3D #6.999(COSE_MSG)   ; Replace 999 with TBD1

I assume that this is a use of http://tools.ietf.org/html/rfc7049#section-2=
.4 (Optional Tagging of Items), but you should explicitly say that.

c.  Change:
   | ciphertext  | 4      | TODO: Should we re-use the same as payload |
   |             |        | or not?                                    |
to:
   | ciphertext  | 7      | For COSE_encrypt                           |

It's cleaner not to reuse the same label value for different semantic meani=
ngs.  If we do that, we might come to regret it as the spec evolves.  Besid=
es, it's not like using another short integer value here will cause us to r=
un out of them in this context.

d.  Change:
  These two buckets
   are available for use in all of the structures in this document
   except for keys.  While these buckets can be present, they may not
   all be usable in all instances.
to:
  These two buckets
   are defined for use in all of the structures in this document
   except for keys.  While these buckets are defined, they may not
   be usable or used in all instances.

The new text makes it clearer that "protected" and "unprotected" can't be i=
ncluded where their values can't be used.

3.1.  COSE Headers

e.  Change:
  The field is used to indicate which protected header keys
      an application which is processing a message is required to
      understand.
to:
  The field is used to indicate which protected header keys
      defined by extensions to this specification that
      an application that is processing a message is required to
      understand.

The language should make it clear that "crit" is only for defining behavior=
 of critical extensions - not for making header parameters defined by this =
spec critical.

f.  In Table 2, change:
   | jku      | *     | tstr     |           | URL to COSE key object  |
   |          |       |          |           |                         |
   | jwk      | *     | COSE_Key |           | contains a COSE key not |
   |          |       |          |           | a JWK key               |
   |          |       |          |           |                         |
to:
   | jku      | *     | tstr     |           | URL to JWK [RFC 7517]   |
   |          |       |          |           |                         |
  | cku      | *     | tstr     |           | URL to COSE key object  |
   |          |       |          |           |                         |
   | ck       | *     | COSE_Key |           | contains a COSE key     |
   |          |       |          |           |                         |

It still makes sense to be able to represent URLs to JWK and COSE Key objec=
ts.  But we shouldn't call the COSE Key passed by value "jwk", since that's=
 misleading.

g.     Open Issue 1.  Which of the following items do we want to have stand=
ardized in
       this document: jku, jwk, x5c, x5t, x5t#S256, x5u, zip?

I would keep all of them, other than changing "jku" and "jwk" to "jku", "ck=
u", and "ck" per (f) above.

h.  Open Issue 2.  I am currently torn on the question "Should epk and iv/n=
once be
       algorithm specific or generic headers?"

I would define common labels for them since they are commonly used across m=
ultiple algorithms.

4.  Signing Structure

i.  The description of "protected" says "The field MUST NOT hold attributes=
 about the payload being signed".  Assuming that a flattened syntax is adde=
d, this would then become something like "The field MUST NOT hold attribute=
s about the payload being signed unless the flattened serialization is bein=
g used".  Other related statements throughout the document would likewise n=
eed to be similarly updated.

j.  The end of the signing section says:
   In addition to performing the signature verification, one must also
   perform the appropriate checks to ensure that the key is correctly
   paired with the signing identity and that the appropriate
   authorization is done.

There needs to be a reference to a place where the process of verifying the=
 key's association with the signing identity is described.  Particular meth=
ods are clearly beyond the scope of this specification but saying this litt=
le about the process will likely just leave many people confused.

5.  Encryption Object

k.  The introduction to this section says:
   In this section we describe the structure and methods to be used when
   doing an encryption in COSE.  In COSE, we use the same techniques and
   structures for encrypting both the plain text and the keys used to
  protect the text.  This is different from the approach used by both
   [RFC5652] and [RFC7516] where different structures are used for the
   plain text and for the different key management techniques.

I'll note that if issue 3 is resolved (Wrapped keys should be able to be re=
presented as simply the wrapped key value), this paragraph will have to be =
revised accordingly.

l.  A generic "iv" (initialization vector) field should also be defined in =
the list of parameters for the encryption object.  Yes, not all algorithms =
will use it, but many will.

m.  A "tag" (authentication tag) field should be defined in the list of par=
ameters for the encryption object.  Yes, not all the algorithms will use it=
, but many will.

5.1.1.  Direct Encryption

n.  The spec says:
   o  At a minimum, the 'unprotected' field MUST contain the 'alg'
      parameter and SHOULD contain a parameter identifying the shared
      secret.

SHOULD is too strong here because in some protocols, the shared secret will=
 already be known by methods other than an included "kid" or other key sele=
ction value.  A "SHOULD ... unless ..." construct like was used in similar =
JOSE descriptions is probably the right thing to use here.

6.  MAC Objects

o.  The "How to compute a MAC" instructions say:
   5.  Encrypt and encode the MAC key for each recipient of the message.

This is not correct when direct key management or no key management is used=
.  Please revise to accurately include these cases as well.

7.  Key Structure

p.  The spec says:
   The "key_ops" element is preferred over the "use" element as the
   information provided that way is more finely detailed about the
   operations allowed.  It is strongly suggested that this element be
   present for all keys.

Like in (n), the application may know the key usage from application contex=
t, rendering the inclusion of "key_ops" unnecessary.  Language something li=
ke "It is strongly suggested that this element be present for all keys unle=
ss this information is already know to the application through other means"=
 should be used to capture this.

The working group should also discuss whether it wants to carry forward "us=
e" for JWK compatibility, even if it is deprecated.  I personally would be =
in favor of doing so.

q.  I would define short numeric values that correspond to the defines "key=
_ops" string values.  I'd do the same for the "use" values.

8.  CBOR Encoder Restrictions

r.  The spec says:
   o  All parsers used SHOULD fail on both parsing and generation if the
      same label is used twice as a key for the same map.

I would strongly prefer that the "SHOULD" be changed to "MUST".  CBOR doesn=
't have the same legacy of lax parsers that we inherited from JavaScript/EC=
MAscript for JSON.  Let's not open the door to them!

9.5  COSE Algorithm Registry

s.  I would add an additional "JOSE algorithm name" field to this registry,=
 whose value is the corresponding "Algorithm Name" entry in the IANA JSON W=
eb Signature and Encryption Algorithms registry at http://www.iana.org/assi=
gnments/jose/jose.xhtml#web-signature-encryption-algorithms, if such an ent=
ry exists.  This will tie the two registries together so that definitions o=
f algorithms already defined by JOSE need not be repeated for COSE.

In many cases then, the COSE algorithms draft (or section) can just cite th=
e definition in RFC 7518 and register the corresponding short numeric label=
 for COSE use.

9.8.1  COSE Security Message

t.  Besides registering the MIME type "application/cose", I would also regi=
ster one for a base64url encoded COSE message - an idea first described to =
me by Joe Hildebrand.  It could be called "application/cose+base64url" or s=
omething of that ilk.

9.8.2  COSE Key Media Type

u.  "application/jwk+json" should be changed to something like "application=
/cose-key" and "application/jwk-set+json" should be changed to something li=
ke "application/cose-key-set".

11.2.  Informative References

v.  The date on the AES-GCM reference (SP 800-38D) should be November 2007 =
- not June 2015.

Appendix A.  AEAD and AE Algorithms

w.  The spec says:
  This authentication value may be:
   o  A separately generated tag computed by both the encrypter and
      decrypter and then compared by the decryptor.  This tag value may
      be either placed at the end of the cipher text (the decision we
      made) or kept separately (the decision made by the JOSE working
      group).  This is the approach followed by AES-GCM [AES-GCM] and
      AES-CCM [RFC3610].

The last sentence is not true, as written.  The AES-GCM spec describes "the=
 ciphertext and tag outputs" - not a single combined output.  Common implem=
entations correspond to this, such as the implementation of GCM in .NET.

The CCM description in RFC 3610 Section 2.4 describes the output using the =
text "The final result c consists of the encrypted message followed by the =
encrypted authentication value U", which admits either implementation.  Lik=
ewise, at least the .NET CCM implementation produces separate ciphertext an=
d authentication tag values.

Whether the tag should be separate or automatically appended to the ciphert=
ext isn't a hill I'm going to die on (although the working group should dis=
cuss this and make an explicit decision in this regard), but the text descr=
ibing the decision should at least be changed to be accurate.

Appendix C.  Examples

x.  The uses of strings and corresponding labels such as those that follow =
are confusing - especially since key ID values are binary in COSE.  A fragm=
ent of such an example that confused me was:
         3: {
           5: "bilbo.baggins@hobbiton.example"
         },

There are similar strings in some of the other examples that I also couldn'=
t wrap my head around.

Appendix D.  COSE Header Algorithm Label Table

y.  I would change the term "Header Algorithm" to "Header Parameter".  (I s=
uspect this was a cut-and-paste error.)

z.  In Appendix D and Appendix E, I would call out that the names in the "n=
ame" columns correspond to names defined in RFC 7518.

Appendix F.  COSE General Values

aa.  This seems confused, as it mixes "kty" values (EC=3D1, RSA=3D2, oct=3D=
3) with curve values (P256=3D4, P521=3D5).  I would keep these separate.  A=
lso, wherever the curve names are defined, I would also include P384, as JO=
SE did.

NITS

I will be submitting spelling and grammar corrections as a GitHub pull requ=
est against the spec repository rather than detail them here.  I'll post th=
e pull request link once it's been created.

CONCLUSIONS

I'd like to thank Jim for doing the work to produce a well-thought-out init=
ial draft.  I believe it provides a solid starting point for the COSE work.

I'd be willing to produce specific proposed edits for any/all of the above =
issues and comments, should the editors find that useful.

                                                            Best wishes,
                                                            -- Mike


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:m=3D"http://schema=
s.microsoft.com/office/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html=
40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1622766118;
	mso-list-type:hybrid;
	mso-list-template-ids:-654810942 67698689 67698691 67698693 67698689 67698=
691 67698693 67698689 67698691 67698693;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l0:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l0:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l0:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">In response to the call for adoption, I&#8217;m subm=
itting the following review feedback on
<a href=3D"http://tools.ietf.org/html/draft-schaad-cose-msg-01">draft-schaa=
d-cose-msg-01</a>.&nbsp; Most of the major comments are motivated by the go=
al of &#8220;keeping simple things simple&#8221;.&nbsp; Particularly in con=
strained environments, it&#8217;s likely to be normal for implementations
 to use only the parts of COSE they their application needs.&nbsp; I believ=
e that we should therefore optimize the representations we define for the c=
ommon cases, while making it possible to also gracefully accommodate less c=
ommon, if possibly more general cases
 as well.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Also, given my role as a designer and editor of the =
JOSE specs, I&#8217;ll say explicitly that it&#8217;s not my goal to try to=
 have all the decisions in COSE exactly mirror those in JOSE.&nbsp; Some th=
ings can clearly be simplified for COSE, and I&#8217;m all
 for that.&nbsp; I plan to consider each issue on its individual merits.&nb=
sp; That said, here&#8217;s my review&#8230;<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><b>MAJOR ISSUES<o:p></o:p></b></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><b>1.&nbsp; Representations should be optimized for =
the single recipient case.<o:p></o:p></b></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In JOSE, going into IESG review, &#8220;signatures&#=
8221; or &#8220;recipients&#8221; arrays were required for the JSON Seriali=
zations, with only general multi-signature/multi-recipient representations =
being defined for JWS and JWE.&nbsp; Based on feedback from numerous
 developers who were using JOSE for use cases that only ever used a single =
signature or recipient, Richard Barnes asked that the Flattened serializati=
ons be added to optimize for the common single signature/recipient cases.&n=
bsp; Based on this developer feedback,
 we did this.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Unless we do the same for COSE, I&#8217;m sure we&#8=
217;ll receive the same feedback that requiring the &#8220;recipients&#8221=
; array in use cases where it will always contain one element is unnecessar=
ily complicated.&nbsp; We should do this now.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">While the argument against this could be made that &=
#8220;it&#8217;s even more complicated to support both the flattened and ge=
neral serializations than just the general one&#8221;, I believe that in pr=
actice, this is a mostly specious argument.&nbsp; Applications
 will choose or build an implementation that fits their use case &#8211; ei=
ther one that supports single or multiple recipients.&nbsp; Application pro=
files will choose one or the other representation and will generally not ca=
ll for both.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The way to achieve this is to define a flattened rep=
resentation as JOSE did, in which header parameters about both the payload =
and the recipient are carried in the top level &#8220;unprotected&#8221; an=
d &#8220;protected&#8221; elements.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><b>2.&nbsp; HMACs should be optimized for the no-key=
-management case.<o:p></o:p></b></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Particularly for constrained devices, it is unlikely=
 that applications will want to pay the performance penalty of generating a=
nd encrypting a key management key to perform a MAC operation.&nbsp; Heck, =
they may not have credible random number
 generation in the first place!&nbsp; And they are likewise unlikely to wan=
t to pay the message size penalty of carrying the encrypted key.<o:p></o:p>=
</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I&#8217;m fine with the optional ability to have key=
 management for MACs, but the default should be that no key management info=
rmation is present in the representation.&nbsp; The only algorithm represen=
ted by default should be the MAC algorithm &#8211;
 not even &#8220;dir&#8221; (direct).&nbsp; I suspect that this can be clea=
nly done by omitting the key management layer entirely when it&#8217;s not =
used, rather than explicitly using &#8220;dir&#8221; (direct).<o:p></o:p></=
p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><b>3.&nbsp; Wrapped keys should be able to be repres=
ented as simply the wrapped key value &#8211; not as an encrypted data stru=
cture with unnecessary information.<o:p></o:p></b></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Key management keys are by definition ephemeral and =
so no metadata needs to be carried about them.&nbsp; Yes, the algorithm use=
d to wrap the key needs to be represented, but this is already represented =
separately from the wrapped key.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">A simple way to achieve this is to define an encrypt=
ed_key field to represent the wrapped key, when appropriate for the algorit=
hm.&nbsp; Among other benefits, this will enable the use of the standard RF=
C 3394 AES Key Wrap algorithms, in the
 same way that JOSE uses &#8220;A128KW&#8221;, etc.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Note that if the working group chooses to, the abili=
ty to represent encrypted keys as data structures can also be retained in p=
arallel to this simpler approach.&nbsp; Applications can then choose which =
method works best for them.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><b>4.&nbsp; Simpler and more comprehensible examples=
 are needed.<o:p></o:p></b></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I would include examples for the simplest and likely=
 most common use cases:<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>HMAC without key management<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Single signature<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in;mso-list:l0 level=
1 lfo1"><![if !supportLists]><span style=3D"font-family:Symbol"><span style=
=3D"mso-list:Ignore">&middot;<span style=3D"font:7.0pt &quot;Times New Roma=
n&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Encryption using AES Key Wrap for key manage=
ment and AES GCM for content encryption<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Also, to be comprehensible to most readers, the exam=
ples need to include both symbolic and numeric identifiers for all fields.&=
nbsp; Also, decoded representations for encoded values need to be shown.<o:=
p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">For instance, the Direct MAC example in C.1 should b=
e changed from beginning like this:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; {<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp; 1: 3,<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp; 2: h'a10104',<o:p></o:p></p=
>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp; 4: h'5468697320697320746865=
20636f6e74656e742e',<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp; 10: h'2ba937ca03d76c3dbad30=
cfcbaeef586f9c0f9ba616ad67e9205d3857<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; 6ad9930',<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">to beginning like this:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; {<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp; 1 (msg_type): 3 (MACed mess=
age),<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp; 2 (protected): h'a10104' (a=
lg:HS256),<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp; 4 (payload): h'546869732069=
732074686520636f6e74656e742e',<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp; 10 (tag): h'2ba937ca03d76c3=
dbad30cfcbaeef586f9c0f9ba616ad67e9205d3857<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; 6ad9930',<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><b>MINOR ISSUES<o:p></o:p></b></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">These issues are organized by section number, provid=
ing comments on the spec text in the order of appearance.&nbsp; 27 issues a=
re described, labeled a, b, c, &#8230; aa.&nbsp; The section numbers and na=
mes in which they appear are included in the write-up.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">2.&nbsp; The COSE_MSG structure<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">a.&nbsp; Change:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; Implementations MUST be prepared to find an integer under this=
 label<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; which does not correspond to the values 1 to 3.&nbsp; If this =
is found<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; then the client MUST stop attempting to parse the structure an=
d fail.<o:p></o:p></span></p>
<p class=3D"MsoNormal">to:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; Implementations MUST be prepared to find an integer under this=
 label<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; which does not correspond to the values 1 to 3.&nbsp; If this =
is found<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; then the client MUST stop attempting to parse the structure an=
d fail,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; unless it understands and implements the extension label value=
.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">b.&nbsp; This syntax needs more explanation:<o:p></o=
:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; COSE_Tagged_MSG =3D #6.999(COSE_MSG)&nb=
sp;&nbsp; ; Replace 999 with TBD1<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I assume that this is a use of <a href=3D"http://too=
ls.ietf.org/html/rfc7049#section-2.4">
http://tools.ietf.org/html/rfc7049#section-2.4</a> (Optional Tagging of Ite=
ms), but you should explicitly say that.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">c.&nbsp; Change:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; | ciphertext&nbsp; | 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | TODO: S=
hould we re-use the same as payload |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | or not?&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal">to:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; | ciphertext&nbsp; | 7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | For COS=
E_encrypt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">It&#8217;s cleaner not to reuse the same label value=
 for different semantic meanings.&nbsp; If we do that, we might come to reg=
ret it as the spec evolves.&nbsp; Besides, it&#8217;s not like using anothe=
r short integer value here will cause us to run out of them
 in this context.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">d.&nbsp; Change:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp; These two buckets<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; are available for use in all of the structures in this documen=
t<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; except for keys.&nbsp; While these buckets can be present, the=
y may not<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; all be usable in all instances.<o:p></o:p></span></p>
<p class=3D"MsoNormal">to:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp; These two buckets<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; are defined for use in all of the structures in this document<=
o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; except for keys.&nbsp; While these buckets are defined, they m=
ay not<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; be usable or used in all instances.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
<o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal">The new text makes it clearer that &#8220;protected&=
#8221; and &#8220;unprotected&#8221; can&#8217;t be included where their va=
lues can&#8217;t be used.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">3.1.&nbsp; COSE Headers<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">e.&nbsp; Change:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp; The field is used to indicate which protected header keys<o:p></o:p>=
</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; an application which is processing a message=
 is required to<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; understand.<o:p></o:p></span></p>
<p class=3D"MsoNormal">to:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp; The field is used to indicate which protected header keys<o:p></o:p>=
</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; defined by extensions to this specification =
that<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; an application that is processing a message =
is required to<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; understand.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The language should make it clear that &#8220;crit&#=
8221; is only for defining behavior of critical extensions &#8211; not for =
making header parameters defined by this spec critical.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">f.&nbsp; In Table 2, change:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; | jku&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | *&nbsp;&nbsp;&nbsp;&nbsp=
; | tstr&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; | URL to COSE key object&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;|<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; | jwk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | *&nbsp;&nbsp;&nbsp;&nbsp=
; | COSE_Key |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
| contains a COSE key not |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
| a JWK key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:=
p></o:p></span></p>
<p class=3D"MsoNormal">to:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; | jku&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | *&nbsp;&nbsp;&nbsp;&nbsp=
; | tstr&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; | URL to JWK [RFC 7517] &nbsp;&nbsp;|<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;|<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;| cku&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | *&nbsp;&nbsp;&nbsp;&nbsp;=
 | tstr&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp; | URL to COSE key object&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;|<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; | ck&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;| *&nbsp;&nbsp;&nbsp;=
&nbsp; | COSE_Key |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp; | contains a COSE key&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">It still makes sense to be able to represent URLs to=
 JWK and COSE Key objects.&nbsp; But we shouldn&#8217;t call the COSE Key p=
assed by value &#8220;jwk&#8221;, since that&#8217;s misleading.<o:p></o:p>=
</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">g.&nbsp; &nbsp;&nbsp;&nbsp;Open Issue 1.&nbsp; Which=
 of the following items do we want to have standardized in<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this document: =
jku, jwk, x5c, x5t, x5t#S256, x5u, zip?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I would keep all of them, other than changing &#8220=
;jku&#8221; and &#8220;jwk&#8221; to &#8220;jku&#8221;, &#8220;cku&#8221;, =
and &#8220;ck&#8221; per (f) above.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">h.&nbsp; Open Issue 2.&nbsp; I am currently torn on =
the question &quot;Should epk and iv/nonce be<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; algorithm speci=
fic or generic headers?&quot;<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I would define common labels for them since they are=
 commonly used across multiple algorithms.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">4.&nbsp; Signing Structure<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">i.&nbsp; The description of &#8220;protected&#8221; =
says &#8220;The field MUST NOT hold attributes about the payload being sign=
ed&#8221;.&nbsp; Assuming that a flattened syntax is added, this would then=
 become something like &#8220;The field MUST NOT hold attributes about the
 payload being signed unless the flattened serialization is being used&#822=
1;.&nbsp; Other related statements throughout the document would likewise n=
eed to be similarly updated.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">j.&nbsp; The end of the signing section says:<o:p></=
o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; In addition to performing the signature verification, one must=
 also<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; perform the appropriate checks to ensure that the key is corre=
ctly<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; paired with the signing identity and that the appropriate<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; authorization is done.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">There needs to be a reference to a place where the p=
rocess of verifying the key&#8217;s association with the signing identity i=
s described.&nbsp; Particular methods are clearly beyond the scope of this =
specification but saying this little about the
 process will likely just leave many people confused.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">5.&nbsp; Encryption Object<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">k.&nbsp; The introduction to this section says:<o:p>=
</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; In this section we describe the structure and methods to be us=
ed when<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; doing an encryption in COSE.&nbsp; In COSE, we use the same te=
chniques and<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; structures for encrypting both the plain text and the keys use=
d to<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;protect the text.&nbsp; This is different from the approach use=
d by both<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; [RFC5652] and [RFC7516] where different structures are used fo=
r the<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; plain text and for the different key management techniques.<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I&#8217;ll note that if issue 3 is resolved (<b>Wrap=
ped keys should be able to be represented as simply the wrapped key value</=
b>), this paragraph will have to be revised accordingly.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">l.&nbsp; A generic &#8220;iv&#8221; (initialization =
vector) field should also be defined in the list of parameters for the encr=
yption object.&nbsp; Yes, not all algorithms will use it, but many will.<o:=
p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">m.&nbsp; A &#8220;tag&#8221; (authentication tag) fi=
eld should be defined in the list of parameters for the encryption object.&=
nbsp; Yes, not all the algorithms will use it, but many will.<o:p></o:p></p=
>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">5.1.1.&nbsp; Direct Encryption<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">n.&nbsp; The spec says:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; o&nbsp; At a minimum, the 'unprotected' field MUST contain the=
 'alg'<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; parameter and SHOULD contain a parameter ide=
ntifying the shared<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; secret.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">SHOULD is too strong here because in some protocols,=
 the shared secret will already be known by methods other than an included =
&#8220;kid&#8221; or other key selection value.&nbsp; A &#8220;SHOULD &#823=
0; unless &#8230;&#8221; construct like was used in similar JOSE descriptio=
ns
 is probably the right thing to use here.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">6.&nbsp; MAC Objects<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">o.&nbsp; The &#8220;How to compute a MAC&#8221; inst=
ructions say:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; 5.&nbsp; Encrypt and encode the MAC key for each recipient of =
the message.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">This is not correct when direct key management or no=
 key management is used.&nbsp; Please revise to accurately include these ca=
ses as well.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">7.&nbsp; Key Structure<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">p.&nbsp; The spec says:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; The &quot;key_ops&quot; element is preferred over the &quot;us=
e&quot; element as the<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; information provided that way is more finely detailed about th=
e<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; operations allowed.&nbsp; It is strongly suggested that this e=
lement be<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; present for all keys.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Like in (n), the application may know the key usage =
from application context, rendering the inclusion of &#8220;key_ops&#8221; =
unnecessary.&nbsp; Language something like &#8220;It is strongly suggested =
that this element be present for all keys unless this information
 is already know to the application through other means&#8221; should be us=
ed to capture this.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The working group should also discuss whether it wan=
ts to carry forward &#8220;use&#8221; for JWK compatibility, even if it is =
deprecated.&nbsp; I personally would be in favor of doing so.<o:p></o:p></p=
>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">q.&nbsp; I would define short numeric values that co=
rrespond to the defines &#8220;key_ops&#8221; string values.&nbsp; I&#8217;=
d do the same for the &#8220;use&#8221; values.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">8.&nbsp; CBOR Encoder Restrictions<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">r.&nbsp; The spec says:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; o&nbsp; All parsers used SHOULD fail on both parsing and gener=
ation if the<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; same label is used twice as a key for the sa=
me map.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I would strongly prefer that the &#8220;SHOULD&#8221=
; be changed to &#8220;MUST&#8221;.&nbsp; CBOR doesn&#8217;t have the same =
legacy of lax parsers that we inherited from JavaScript/ECMAscript for JSON=
.&nbsp; Let&#8217;s not open the door to them!<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">9.5&nbsp; COSE Algorithm Registry<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">s.&nbsp; I would add an additional &#8220;JOSE algor=
ithm name&#8221; field to this registry, whose value is the corresponding &=
#8220;Algorithm Name&#8221; entry in the IANA JSON Web Signature and Encryp=
tion Algorithms registry at
<a href=3D"http://www.iana.org/assignments/jose/jose.xhtml#web-signature-en=
cryption-algorithms">
http://www.iana.org/assignments/jose/jose.xhtml#web-signature-encryption-al=
gorithms</a>, if such an entry exists.&nbsp; This will tie the two registri=
es together so that definitions of algorithms already defined by JOSE need =
not be repeated for COSE.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In many cases then, the COSE algorithms draft (or se=
ction) can just cite the definition in RFC 7518 and register the correspond=
ing short numeric label for COSE use.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">9.8.1&nbsp; COSE Security Message<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">t.&nbsp; Besides registering the MIME type &#8220;ap=
plication/cose&#8221;, I would also register one for a base64url encoded CO=
SE message &#8211; an idea first described to me by Joe Hildebrand.&nbsp; I=
t could be called &#8220;application/cose&#43;base64url&#8221; or something=
 of
 that ilk.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">9.8.2&nbsp; COSE Key Media Type<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">u.&nbsp; &#8220;application/jwk&#43;json&#8221; shou=
ld be changed to something like &#8220;application/cose-key&#8221; and &#82=
20;application/jwk-set&#43;json&#8221; should be changed to something like =
&#8220;application/cose-key-set&#8221;.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">11.2.&nbsp; Informative References<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">v.&nbsp; The date on the AES-GCM reference (SP 800-3=
8D) should be November 2007 &#8211; not June 2015.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Appendix A.&nbsp; AEAD and AE Algorithms<o:p></o:p><=
/p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">w.&nbsp; The spec says:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp; This authentication value may be:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; o&nbsp; A separately generated tag computed by both the encryp=
ter and<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; decrypter and then compared by the decryptor=
.&nbsp; This tag value may<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; be either placed at the end of the cipher te=
xt (the decision we<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; made) or kept separately (the decision made =
by the JOSE working<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; group).&nbsp; This is the approach followed =
by AES-GCM [AES-GCM] and<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AES-CCM [RFC3610].<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The last sentence is not true, as written.&nbsp; The=
 AES-GCM spec describes &#8220;<span style=3D"font-size:11.5pt">the ciphert=
ext and tag outputs</span>&#8221; &#8211; not a single combined output.&nbs=
p; Common implementations correspond to this, such as the implementation
 of GCM in .NET.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The CCM description in RFC 3610 Section 2.4 describe=
s the output using the text &#8220;The final result c consists of the encry=
pted message followed by the encrypted authentication value U&#8221;, which=
 admits either implementation.&nbsp; Likewise, at least
 the .NET CCM implementation produces separate ciphertext and authenticatio=
n tag values.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Whether the tag should be separate or automatically =
appended to the ciphertext isn&#8217;t a hill I&#8217;m going to die on (al=
though the working group should discuss this and make an explicit decision =
in this regard), but the text describing the decision
 should at least be changed to be accurate.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Appendix C.&nbsp; Examples<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">x.&nbsp; The uses of strings and corresponding label=
s such as those that follow are confusing &#8211; especially since key ID v=
alues are binary in COSE.&nbsp; A fragment of such an example that confused=
 me was:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3: {<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5: &quot;bilbo=
.baggins@hobbiton.example&quot;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; },<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">There are similar strings in some of the other examp=
les that I also couldn&#8217;t wrap my head around.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Appendix D.&nbsp; COSE Header Algorithm Label Table<=
o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">y.&nbsp; I would change the term &#8220;Header Algor=
ithm&#8221; to &#8220;Header Parameter&#8221;.&nbsp; (I suspect this was a =
cut-and-paste error.)<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">z.&nbsp; In Appendix D and Appendix E, I would call =
out that the names in the &#8220;name&#8221; columns correspond to names de=
fined in RFC 7518.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Appendix F.&nbsp; COSE General Values<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">aa.&nbsp; This seems confused, as it mixes &#8220;kt=
y&#8221; values (EC=3D1, RSA=3D2, oct=3D3) with curve values (P256=3D4, P52=
1=3D5).&nbsp; I would keep these separate.&nbsp; Also, wherever the curve n=
ames are defined, I would also include P384, as JOSE did.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><b>NITS<o:p></o:p></b></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I will be submitting spelling and grammar correction=
s as a GitHub pull request against the spec repository rather than detail t=
hem here. &nbsp;I&#8217;ll post the pull request link once it&#8217;s been =
created.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><b>CONCLUSIONS<o:p></o:p></b></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I&#8217;d like to thank Jim for doing the work to pr=
oduce a well-thought-out initial draft.&nbsp; I believe it provides a solid=
 starting point for the COSE work.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I&#8217;d be willing to produce specific proposed ed=
its for any/all of the above issues and comments, should the editors find t=
hat useful.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; Best wishes,<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; -- Mike<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_BY2PR03MB442E3A163870ADE7AAABCF5F5AC0BY2PR03MB442namprd_--


From nobody Sat Jun 27 02:09:59 2015
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A78191B32CE for <cose@ietfa.amsl.com>; Sat, 27 Jun 2015 02:09:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mE4zO6Os5TcJ for <cose@ietfa.amsl.com>; Sat, 27 Jun 2015 02:09:57 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0709.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::1:709]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 875731B32CD for <cose@ietf.org>; Sat, 27 Jun 2015 02:09:56 -0700 (PDT)
Received: from BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) by BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) with Microsoft SMTP Server (TLS) id 15.1.201.16; Sat, 27 Jun 2015 09:09:13 +0000
Received: from BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) by BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) with mapi id 15.01.0201.000; Sat, 27 Jun 2015 09:09:01 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Justin Richer <jricher@MIT.EDU>, "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [Cose] Consensus Call on Input Draft Adoption
Thread-Index: AQHQsH+jI1Lh4E4r+Eewkm+/ikiPyZ3AEDhQ
Date: Sat, 27 Jun 2015 09:09:01 +0000
Message-ID: <BY2PR03MB442A62DC4F14ACD77C38C18F5AC0@BY2PR03MB442.namprd03.prod.outlook.com>
References: <1B462EEC-67AF-4F19-B8F5-82BA36C59C8D@mit.edu>
In-Reply-To: <1B462EEC-67AF-4F19-B8F5-82BA36C59C8D@mit.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: MIT.EDU; dkim=none (message not signed) header.d=none; 
x-originating-ip: [50.47.90.173]
x-microsoft-exchange-diagnostics: 1; BY2PR03MB442; 5:C3j5UrRlRNU0mdd3AHKT1SEONbx6tohWzla+EcQS1Xd4BO13w+BQW4sZDtV/r/jyMxVcXEzWj9I2utWt8MzkgphuWMRDQyH+CNJ5x/2xFJ2cgJpVwrRIpoOry7RCL1RPS1NX1bNvcR/bPniuBZlYQQ==; 24:uXDxrUl7m83SKsGf0NicltJHa01TSOd2P5AtRQEedEaszTMkThh3QkAxDIeSO8E6JOcrOlRutdKq1QssEr5la+sRX8eRz+Rxz1978SJlmm8=; 20:gFVVs0TWkqOiBDaTfCKIkvV77H8AmD/rLo0h3d0CptH9wuC+w8MhxETntAMKtfEzdnnxuJWufT1bxmG51EtvyQ==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB442;
x-microsoft-antispam-prvs: <BY2PR03MB442853D5F8B99BB1F296EFDF5AC0@BY2PR03MB442.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BY2PR03MB442; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB442; 
x-forefront-prvs: 0620CADDF3
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(979002)(377454003)(86612001)(122556002)(77156002)(19609705001)(19580395003)(46102003)(87936001)(2656002)(19580405001)(74316001)(33656002)(16236675004)(86362001)(92566002)(5003600100002)(19625215002)(19617315012)(2171001)(99286002)(106116001)(54356999)(76176999)(50986999)(107886002)(19300405004)(40100003)(102836002)(2501003)(5001770100001)(5002640100001)(110136002)(76576001)(64706001)(189998001)(66066001)(5001960100002)(77096005)(15975445007)(2900100001)(62966003)(2950100001)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB442; H:BY2PR03MB442.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; 
Content-Type: multipart/alternative; boundary="_000_BY2PR03MB442A62DC4F14ACD77C38C18F5AC0BY2PR03MB442namprd_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2015 09:09:01.1178 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB442
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/01N_PF_fypMDmQ_JWDJyKfI_x9I>
Subject: Re: [Cose] Consensus Call on Input Draft Adoption
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Jun 2015 09:09:58 -0000

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

TGV0IG1lIGJlIHRoZSBmaXJzdCB0byBzYXkgdGhhdCBJIGFwcHJvdmUgb2YgYWRvcHRpbmcgdGhp
cyBkb2N1bWVudCBhcyBhIHdvcmtpbmcgZ3JvdXAgZHJhZnQuICBJ4oCZZCBsaWtlIHRvIHRoYW5r
IEppbSBmb3IgZG9pbmcgdGhlIHdvcmsgdG8gcHJvZHVjZSBhIHdlbGwtdGhvdWdodC1vdXQgaW5p
dGlhbCBkcmFmdC4gIEkgYmVsaWV2ZSBpdCBwcm92aWRlcyBhIHNvbGlkIHN0YXJ0aW5nIHBvaW50
IGZvciB0aGUgQ09TRSB3b3JrLg0KDQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICBCZXN0IHdpc2hlcywNCiAgICAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIC0tIE1pa2UNCg0KRnJv
bTogQ29zZSBbbWFpbHRvOmNvc2UtYm91bmNlc0BpZXRmLm9yZ10gT24gQmVoYWxmIE9mIEp1c3Rp
biBSaWNoZXINClNlbnQ6IEZyaWRheSwgSnVuZSAyNiwgMjAxNSA3OjE5IFBNDQpUbzogY29zZUBp
ZXRmLm9yZw0KU3ViamVjdDogW0Nvc2VdIENvbnNlbnN1cyBDYWxsIG9uIElucHV0IERyYWZ0IEFk
b3B0aW9uDQoNClRoZSBjaGFpcnMgd291bGQgbGlrZSB0byBtYWtlIGEgY29uc2Vuc3VzIGNhbGwg
b24gYWNjZXB0aW5nIHRoZSBmb2xsb3dpbmcgZG9jdW1lbnQgYXMgdGhlIGlucHV0IGRyYWZ0IGZv
ciBhIG5ldyB3b3JraW5nIGdyb3VwIGl0ZW06DQoNCg0KaHR0cHM6Ly90b29scy5pZXRmLm9yZ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Nc29Ob3JtYWwiPiZuYnNwO+KAlCBKdXN0aW4gKCZhbXA7IEtlcGVuZyk8bzpwPjwvbzpw
PjwvcD4NCjwvZGl2Pg0KPC9kaXY+DQo8L2JvZHk+DQo8L2h0bWw+DQo=

--_000_BY2PR03MB442A62DC4F14ACD77C38C18F5AC0BY2PR03MB442namprd_--


From nobody Sat Jun 27 03:53:36 2015
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7929C1AC3CB; Sat, 27 Jun 2015 03:53:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.55
X-Spam-Level: 
X-Spam-Status: No, score=-1.55 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 634rlL_i3j3K; Sat, 27 Jun 2015 03:53:30 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C45AA1AC428; Sat, 27 Jun 2015 03:53:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::b]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id t5RArISQ024756; Sat, 27 Jun 2015 12:53:18 +0200 (CEST)
Received: from alma.local (p5DC7EA60.dip0.t-ipconnect.de [93.199.234.96]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3mJX4G3DZbz9905; Sat, 27 Jun 2015 12:53:18 +0200 (CEST)
Message-ID: <558E809C.5020409@tzi.org>
Date: Sat, 27 Jun 2015 12:53:16 +0200
From: Carsten Bormann <cabo@tzi.org>
User-Agent: Postbox 4.0.1 (Macintosh/20150514)
MIME-Version: 1.0
To: dtls-iot@ietf.org, core@ietf.org, ace@ietf.org, cose@ietf.org, t2trg@irtf.org
X-Enigmail-Version: 1.2.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/78p57ytM09E3QR8aoS3TRycopso>
Subject: [Cose] Constrained Node/Network Cluster @ IETF93, "final" version
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Jun 2015 10:53:31 -0000

Below is the "final" version of the eclectic IoT agenda (I have filled
in the T2TRG Sat/Sun meeting, which is waiting for its room
assignment).  Again, there is still some potential for changes.

Apart from a dozen room changes, the main difference from the early
version is that the second 6lo and 6tisch meetings were swapped.

GrÃ¼ÃŸe, Carsten


Carsten Bormann wrote:
> A first draft version of the IETF93 agenda is out.
> ** THIS IS GOING TO CHANGE ** for conflict resolution,
> so please don't make travel arrangements based on it.
>
> Here is my usual eclectic condensed agenda built from that.
> (Bye, bye, appsawg.  lwig over roll is interesting; at least we do
> have a roll meeting at all.)
> Note that the t2trg meeting on Monday is a "summary" meeting for those
> who haven't been able to join during the weekend (conflicts with
> Hackathon, ICNRG, etc.)
>
> All times are CEST (UTC+0200) (the browser timezone function appears
> to have vanished from https://datatracker.ietf.org/meeting/agenda-utc,
> but maybe we can reinstate that for those who want to listen from
> remote).
>
> Sorry for the duplicate posting, the IETF mail system does not allow
> sending to all 9 mailing lists at the same time.

SATURDAY, July 18, 2015

1000-1800  Session I
(TBD)   	IRTF*** t2trg   Proposed Thing-to-thing Research Group
0900-2100  IETF Hackathon - Chez Louis

SUNDAY, July 19, 2015

0900-1600  Session II
(TBD)   	IRTF*** t2trg   Proposed Thing-to-thing Research Group
0900-1800  IETF Hackathon - Chez Louis
1600-1700  Newcomers' Meet and Greet (open to Newcomers and WG chairs
only) - Garden Terrace
1700-1900  Welcome Reception - Grand Hilton Ballroom

MONDAY, July 20, 2015

0900-1130  Morning Session I
Grand Hilton BR	ART	appsawg	ART Area General Applications Working Group WG
Karlin I/II	OPS	anima	Autonomic Networking Integrated Model and Approach WG
Berlin/Brussels	SEC ***	cose	CBOR Object Signing and Encryption WG -
10:00 - 11:30
Congress H II	TSV	rmcat	RTP Media Congestion Avoidance Techniques WG

1300-1500  Afternoon Session I
Congress H III	INT	6man	IPv6 Maintenance WG
Grand Hilton BR	RTG	detnet	Deterministic Networking BOF

1520-1720  Afternoon Session II
Berlin/Brussels	IRTF***	t2trg	Proposed Thing-to-Thing Research Group
Congress H III	TSV	tcpinc	TCP Increased Security WG

1740-1840  Afternoon Session III
Congress H II	INT ***	6lo	IPv6 over Networks of Resource-constrained
Nodes WG
Congress H I	OPS	opsarea	Operations & Management Area Open Meeting
Karlin I/II	SEC	httpauth	Hypertext Transfer Protocol Authentication WG

1850-1950  Afternoon Session IV
Congress H III	INT	intarea	Internet Area Working Group WG

TUESDAY, July 21, 2015

1300-1500  Afternoon Session I
Congress H I	ART	httpbis	Hypertext Transfer Protocol WG
Athens/Barcel.	INT ***	6tisch	IPv6 over the TSCH mode of IEEE 802.15.4e WG
Congress H II	OPS	v6ops	IPv6 Operations WG - Joint Session with SUNSET4

1520-1720  Afternoon Session II
Karlin I/II	ART ***	core	Constrained RESTful Environments WG
Congress H II	RTG	rtgarea	Routing Area Open Meeting
Congress H III	SEC	tls	Transport Layer Security WG

1740-1840  Afternoon Session III
Congress H III	ART	uta	Using TLS in Applications WG
Berlin/Brussels	INT ***	lwig	Light-Weight Implementation Guidance WG
Congress H I	RTG ***	roll	Routing Over Low power and Lossy networks WG

WEDNESDAY, July 22, 2015

0900-1130  Morning Session I
Athens/Barcel.	INT	dnssd	Extensions for Scalable DNS Service Discovery  WG
Karlin I/II	SEC ***	ace	Authentication and Authorization for Constrained
Environments WG
Grand Hilton BR	SEC	tls	Transport Layer Security WG

1300-1530  Afternoon Session I
Grand Hilton BR	INT	homenet	Home Networking WG
Berlin/Brussels	RTG	bier	Bit Indexed Explicit Replication WG

1740-1940  Afternoon Session III
Athens/Barcel.	SEC	oauth	Web Authorization Protocol WG
Congress H III	TSV	tsvwg	Transport Area Working Group WG

THURSDAY, July 23, 2015

1300-1500  Afternoon Session I
Congress H II	SEC	saag	Security Area Open Meeting
Karlin I/II	TSV	taps	Transport Services WG

1520-1720  Afternoon Session II
Congress H I	INT ***	6lo	IPv6 over Networks of Resource-constrained Nodes WG
Congress H III	SEC	acme	Automated Certificate Management Environment WG
Karlin I/II	TSV	tsvwg	Transport Area Working Group WG

1740-1910  Afternoon Session III
Karlin I/II	ART	webpush	Web-Based Push Notifications WG
Congress H I	OPS	anima	Autonomic Networking Integrated Model and Approach WG
Grand Hilton BR	TSV	tsvarea	Transport Area Open Meeting

FRIDAY, July 24, 2015

0900-1130  Morning Session I
Grand Hilton BR	OPS	v6ops	IPv6 Operations WG - Joint Session with SUNSET4
Congress H I	SEC	openpgp	Open Specification for Pretty Good Privacy WG

1150-1320  Afternoon Session I
Karlin I/II	ART ***	core	Constrained RESTful Environments WG
Congress H I	SEC	tokbind	Token Binding WG


From nobody Sat Jun 27 04:06:15 2015
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CD9DF1AC417 for <cose@ietfa.amsl.com>; Sat, 27 Jun 2015 04:06:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.55
X-Spam-Level: 
X-Spam-Status: No, score=-1.55 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZA9EWomtQ_fZ for <cose@ietfa.amsl.com>; Sat, 27 Jun 2015 04:06:14 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F01BA1AC3CB for <cose@ietf.org>; Sat, 27 Jun 2015 04:06:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::b]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id t5RB6BWa025042 for <cose@ietf.org>; Sat, 27 Jun 2015 13:06:11 +0200 (CEST)
Received: from alma.local (p5DC7EA60.dip0.t-ipconnect.de [93.199.234.96]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3mJXM749ycz992g; Sat, 27 Jun 2015 13:06:11 +0200 (CEST)
Message-ID: <558E83A1.6070804@tzi.org>
Date: Sat, 27 Jun 2015 13:06:09 +0200
From: Carsten Bormann <cabo@tzi.org>
User-Agent: Postbox 4.0.1 (Macintosh/20150514)
MIME-Version: 1.0
To: "cose@ietf.org" <cose@ietf.org>
References: <1B462EEC-67AF-4F19-B8F5-82BA36C59C8D@mit.edu> <BY2PR03MB442A62DC4F14ACD77C38C18F5AC0@BY2PR03MB442.namprd03.prod.outlook.com>
In-Reply-To: <BY2PR03MB442A62DC4F14ACD77C38C18F5AC0@BY2PR03MB442.namprd03.prod.outlook.com>
X-Enigmail-Version: 1.2.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/HY3P9LoBzzFne1Ev43XPcXOHsi0>
Subject: Re: [Cose] Consensus Call on Input Draft Adoption
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Jun 2015 11:06:15 -0000

Mike Jones wrote:
> Let me be the first to say that I approve of adopting this document as a
> working group draft.  Iâ€™d like to thank Jim for doing the work to
> produce a well-thought-out initial draft.  I believe it provides a solid
> starting point for the COSE work.

+1.

I hope the chairs can declare consensus on this well before the looming
I-D deadline (2015-07-06), so we can go into the Prague meeting with a
draft-ietf-cose-....

GrÃ¼ÃŸe, Carsten


From nobody Sat Jun 27 07:45:45 2015
Return-Path: <kepeng.lkp@alibaba-inc.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2A69F1ACE70 for <cose@ietfa.amsl.com>; Sat, 27 Jun 2015 07:45:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.452
X-Spam-Level: 
X-Spam-Status: No, score=0.452 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MIME_CHARSET_FARAWAY=2.45, MIME_QP_LONG_LINE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1puGjIsj9dQR for <cose@ietfa.amsl.com>; Sat, 27 Jun 2015 07:45:41 -0700 (PDT)
Received: from out4133-34.mail.aliyun.com (out4133-34.mail.aliyun.com [42.120.133.34]) by ietfa.amsl.com (Postfix) with ESMTP id AA1921ACF07 for <cose@ietf.org>; Sat, 27 Jun 2015 07:45:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alibaba-inc.com; s=default; t=1435416337; h=Date:Subject:From:To:Message-ID:Mime-version:Content-type; bh=P6ZPjgYTJ6TO3VzznQFJzzVDf3ysJkamMIjUuX7fpjA=; b=hecamNz1FYdZvIf04MmCFAwmZbhh8uFwikCIuhgVH2HyhO5rW2YIlaGuoxPqQ8pa4fZDpTZ4L0xzsK8JwVEqiYEkWJiEBLqFhqru651Mzp5agz7p28nEChPNY+ONm6Np+sQPvBiJkYezLthaAqRgK6uMc7uZYCJ3PhPRPQ5XJoQ=
X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R251e4; FP=0|-1|-1|-1|0|-1|-1|-1; HT=c01a14441; MF=kepeng.lkp@alibaba-inc.com; NM=0; PH=DS; RN=2; RT=2; SR=0; 
Received: from 10.22.56.54(mailfrom:kepeng.lkp@alibaba-inc.com ip:42.120.73.208) by smtp.aliyun-inc.com(127.0.0.1); Sat, 27 Jun 2015 22:45:34 +0800
User-Agent: Microsoft-MacOutlook/14.4.8.150116
Date: Sat, 27 Jun 2015 22:45:26 +0800
From: "Kepeng Li" <kepeng.lkp@alibaba-inc.com>
To: Justin Richer <jricher@MIT.EDU>, <cose@ietf.org>
Message-ID: <D1B4D5E8.FBB1%kepeng.lkp@alibaba-inc.com>
Thread-Topic: [Cose] Consensus Call on Input Draft Adoption
References: <1B462EEC-67AF-4F19-B8F5-82BA36C59C8D@mit.edu>
In-Reply-To: <1B462EEC-67AF-4F19-B8F5-82BA36C59C8D@mit.edu>
Mime-version: 1.0
Content-type: multipart/alternative; boundary="B_3518289934_9381456"
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/B_YVM8Odcg9LjpyLiUWsHTe3bZE>
Subject: Re: [Cose] Consensus Call on Input Draft Adoption
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Jun 2015 14:45:43 -0000

> ´ËÓÊ¼þÊ¹ÓÃ MIME ¸ñÊ½¡£ÓÉÓÚÓÊ¼þÔÄ¶Á³ÌÐò²»ÄÜÊ¶±ð
´Ë¸ñÊ½£¬Òò´Ë£¬¿ÉÄÜÎÞ·¨Ê¶±ð¸ÃÓÊ¼þµÄ·Ö²¿»ò²¿·ÖÄÚÈÝ¡£

--B_3518289934_9381456
Content-type: text/plain;
	charset="GB2312"
Content-transfer-encoding: quoted-printable

Just to add that the deadline to provide your feedback is the end of 4th
Jul, 2015.

Thanks,

Kind Regards
Kepeng (&Justin)

=B7=A2=BC=FE=C8=CB:  Justin Richer <jricher@MIT.EDU>
=C8=D5=C6=DA:  Saturday, 27 June, 2015 10:18 am
=D6=C1:  <cose@ietf.org>
=D6=F7=CC=E2:  [Cose] Consensus Call on Input Draft Adoption

The chairs would like to make a consensus call on accepting the following
document as the input draft for a new working group item:


https://tools.ietf.org/html/draft-schaad-cose-msg-01


This document, if accepted, will become the basis of the COSE message synta=
x
specification.

Please reply to this thread whether or not you would like to accept this
document as input to the working group.

Thank you,
 =A1=AA Justin (& Kepeng)
_______________________________________________ Cose mailing list
Cose@ietf.org https://www.ietf.org/mailman/listinfo/cose


--B_3518289934_9381456
Content-type: text/html;
	charset="GB2312"
Content-transfer-encoding: quoted-printable

<html><head></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size:=
 14px; font-family: =CB=CE=CC=E5, sans-serif;"><div>Just to add that the deadline to=
 provide your feedback is the end of 4th Jul, 2015.</div><div><br></div><div=
>Thanks,</div><div><br></div><div>Kind Regards</div><div>Kepeng (&amp;Justin=
)</div><div><br></div><span id=3D"OLK_SRC_BODY_SECTION"><div style=3D"font-famil=
y:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medi=
um none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; P=
ADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none;=
 PADDING-TOP: 3pt"><span style=3D"font-weight:bold">=B7=A2=BC=FE=C8=CB: </span> Justin Ric=
her &lt;<a href=3D"mailto:jricher@MIT.EDU">jricher@MIT.EDU</a>&gt;<br><span st=
yle=3D"font-weight:bold">=C8=D5=C6=DA: </span> Saturday, 27 June, 2015 10:18 am<br><sp=
an style=3D"font-weight:bold">=D6=C1: </span> &lt;<a href=3D"mailto:cose@ietf.org">c=
ose@ietf.org</a>&gt;<br><span style=3D"font-weight:bold">=D6=F7=CC=E2: </span> [Cose] =
Consensus Call on Input Draft Adoption<br></div><div><br></div><div><meta ht=
tp-equiv=3D"Content-Type" content=3D"text/html charset=3Dutf-8"><div style=3D"word-w=
rap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-s=
pace;" class=3D"">The chairs would like to make a consensus call on accepting =
the following document as the input draft for a new working group item:<div =
class=3D""><br class=3D""></div><div class=3D""><br class=3D""></div><div class=3D""><=
a href=3D"https://tools.ietf.org/html/draft-schaad-cose-msg-01" class=3D"">https=
://tools.ietf.org/html/draft-schaad-cose-msg-01</a></div><div class=3D""><br c=
lass=3D""></div><div class=3D""><br class=3D""></div><div class=3D"">This document, =
if accepted, will become the basis of the COSE message syntax specification.=
</div><div class=3D""><br class=3D""></div><div class=3D"">Please reply to this th=
read whether or not you would like to accept this document as input to the w=
orking group.&nbsp;</div><div class=3D""><br class=3D""></div><div class=3D"">Than=
k you,</div><div class=3D"">&nbsp;&#8212; Justin (&amp; Kepeng)</div></div></d=
iv>_______________________________________________
Cose mailing list
<a href=3D"mailto:Cose@ietf.org">Cose@ietf.org</a>
<a href=3D"https://www.ietf.org/mailman/listinfo/cose">https://www.ietf.org/m=
ailman/listinfo/cose</a>
</span></body></html>

--B_3518289934_9381456--



From nobody Sat Jun 27 08:25:15 2015
Return-Path: <ietf@augustcellars.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B5C281B2BB2 for <cose@ietfa.amsl.com>; Sat, 27 Jun 2015 08:25:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lA-P4HxcneBU for <cose@ietfa.amsl.com>; Sat, 27 Jun 2015 08:25:01 -0700 (PDT)
Received: from smtp2.pacifier.net (smtp2.pacifier.net [64.255.237.172]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 72ED81B2BBA for <cose@ietf.org>; Sat, 27 Jun 2015 08:25:00 -0700 (PDT)
Received: from hebrews (unknown [50.109.240.20]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp2.pacifier.net (Postfix) with ESMTPSA id A54D12C9F3; Sat, 27 Jun 2015 08:24:57 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Mike Jones'" <Michael.Jones@microsoft.com>, <cose@ietf.org>
References: <BY2PR03MB442E3A163870ADE7AAABCF5F5AC0@BY2PR03MB442.namprd03.prod.outlook.com>
In-Reply-To: <BY2PR03MB442E3A163870ADE7AAABCF5F5AC0@BY2PR03MB442.namprd03.prod.outlook.com>
Date: Sat, 27 Jun 2015 08:25:09 -0700
Message-ID: <000201d0b0ed$755707c0$60051740$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0003_01D0B0B2.C90464C0"
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQE1NDqbRmt1XQuFZCU3Rn0/gnMmS573Zg+Q
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/DIM_nub803IAVj764ShvTRvaJu8>
Subject: Re: [Cose] Review of draft-schaad-cose-msg-01
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Jun 2015 15:25:13 -0000

This is a multipart message in MIME format.

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

 

 

From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Mike Jones
Sent: Saturday, June 27, 2015 2:07 AM
To: cose@ietf.org
Subject: [Cose] Review of draft-schaad-cose-msg-01

 

In response to the call for adoption, I'm submitting the following review
feedback on draft-schaad-cose-msg-01
<http://tools.ietf.org/html/draft-schaad-cose-msg-01> .  Most of the major
comments are motivated by the goal of "keeping simple things simple".
Particularly in constrained environments, it's likely to be normal for
implementations to use only the parts of COSE they their application needs.
I believe that we should therefore optimize the representations we define
for the common cases, while making it possible to also gracefully
accommodate less common, if possibly more general cases as well.

 

Also, given my role as a designer and editor of the JOSE specs, I'll say
explicitly that it's not my goal to try to have all the decisions in COSE
exactly mirror those in JOSE.  Some things can clearly be simplified for
COSE, and I'm all for that.  I plan to consider each issue on its individual
merits.  That said, here's my review.

 

MAJOR ISSUES

 

1.  Representations should be optimized for the single recipient case.

 

In JOSE, going into IESG review, "signatures" or "recipients" arrays were
required for the JSON Serializations, with only general
multi-signature/multi-recipient representations being defined for JWS and
JWE.  Based on feedback from numerous developers who were using JOSE for use
cases that only ever used a single signature or recipient, Richard Barnes
asked that the Flattened serializations be added to optimize for the common
single signature/recipient cases.  Based on this developer feedback, we did
this.

 

Unless we do the same for COSE, I'm sure we'll receive the same feedback
that requiring the "recipients" array in use cases where it will always
contain one element is unnecessarily complicated.  We should do this now.

 

While the argument against this could be made that "it's even more
complicated to support both the flattened and general serializations than
just the general one", I believe that in practice, this is a mostly specious
argument.  Applications will choose or build an implementation that fits
their use case - either one that supports single or multiple recipients.
Application profiles will choose one or the other representation and will
generally not call for both.

 

The way to achieve this is to define a flattened representation as JOSE did,
in which header parameters about both the payload and the recipient are
carried in the top level "unprotected" and "protected" elements.

 

[JLS] This was discussed on the mailing list.  There are a number of
trade-offs that were discussed.  Please review that discussion and see if
you have something new to add.  Please remember that we are looking at both
the message size and the code size as criteria when making decisions.

 

2.  HMACs should be optimized for the no-key-management case.

 

Particularly for constrained devices, it is unlikely that applications will
want to pay the performance penalty of generating and encrypting a key
management key to perform a MAC operation.  Heck, they may not have credible
random number generation in the first place!  And they are likewise unlikely
to want to pay the message size penalty of carrying the encrypted key.

 

I'm fine with the optional ability to have key management for MACs, but the
default should be that no key management information is present in the
representation.  The only algorithm represented by default should be the MAC
algorithm - not even "dir" (direct).  I suspect that this can be cleanly
done by omitting the key management layer entirely when it's not used,
rather than explicitly using "dir" (direct).

 

[JLS] See above.

 

3.  Wrapped keys should be able to be represented as simply the wrapped key
value - not as an encrypted data structure with unnecessary information.

 

Key management keys are by definition ephemeral and so no metadata needs to
be carried about them.  Yes, the algorithm used to wrap the key needs to be
represented, but this is already represented separately from the wrapped
key.

 

A simple way to achieve this is to define an encrypted_key field to
represent the wrapped key, when appropriate for the algorithm.  Among other
benefits, this will enable the use of the standard RFC 3394 AES Key Wrap
algorithms, in the same way that JOSE uses "A128KW", etc.

 

Note that if the working group chooses to, the ability to represent
encrypted keys as data structures can also be retained in parallel to this
simpler approach.  Applications can then choose which method works best for
them.

 

[JLS] I don't understand this comment.  This is not what the document says.

 

4.  Simpler and more comprehensible examples are needed.

 

I would include examples for the simplest and likely most common use cases:

*        HMAC without key management

*        Single signature

*        Encryption using AES Key Wrap for key management and AES GCM for
content encryption

 

Also, to be comprehensible to most readers, the examples need to include
both symbolic and numeric identifiers for all fields.  Also, decoded
representations for encoded values need to be shown.

 

For instance, the Direct MAC example in C.1 should be changed from beginning
like this:

 

   {

     1: 3,

     2: h'a10104',

     4: h'546869732069732074686520636f6e74656e742e',

     10: h'2ba937ca03d76c3dbad30cfcbaeef586f9c0f9ba616ad67e9205d3857

   6ad9930',

 

to beginning like this:

 

   {

     1 (msg_type): 3 (MACed message),

     2 (protected): h'a10104' (alg:HS256),

     4 (payload): h'546869732069732074686520636f6e74656e742e',

     10 (tag): h'2ba937ca03d76c3dbad30cfcbaeef586f9c0f9ba616ad67e9205d3857

   6ad9930',

 

[JLS] More examples are on the way in the future.

 

MINOR ISSUES

 

These issues are organized by section number, providing comments on the spec
text in the order of appearance.  27 issues are described, labeled a, b, c,
. aa.  The section numbers and names in which they appear are included in
the write-up.

 

2.  The COSE_MSG structure

 

a.  Change:

   Implementations MUST be prepared to find an integer under this label

   which does not correspond to the values 1 to 3.  If this is found

   then the client MUST stop attempting to parse the structure and fail.

to:

   Implementations MUST be prepared to find an integer under this label

   which does not correspond to the values 1 to 3.  If this is found

   then the client MUST stop attempting to parse the structure and fail,

   unless it understands and implements the extension label value.

 

[JLS] I do not believe that this is required.  If you implement a new item,
then you don't have a pure implementation of this document and the clause is
implicit.

 

b.  This syntax needs more explanation:

   COSE_Tagged_MSG = #6.999(COSE_MSG)   ; Replace 999 with TBD1

 

I assume that this is a use of
http://tools.ietf.org/html/rfc7049#section-2.4 (Optional Tagging of Items),
but you should explicitly say that.

 

[JLS]  This falls in to the question of normative reference on CDDL.  If it
is a normative reference, this is not necessary as you are expected to
understand CDDL.  If CDDL is informational, then it would be required.

 

c.  Change:

   | ciphertext  | 4      | TODO: Should we re-use the same as payload |

   |             |        | or not?                                    |

to:

   | ciphertext  | 7      | For COSE_encrypt                           |

 

It's cleaner not to reuse the same label value for different semantic
meanings.  If we do that, we might come to regret it as the spec evolves.
Besides, it's not like using another short integer value here will cause us
to run out of them in this context.

 

[JLS]  The TODO is a marker for future discussion - There are both
advantages and disadvantages to re-using the same label.  On one hand, it is
easy for programs to always look in the same location for the content
independent of what type of content it is.  This may make things easier for
items which have detached content depending on how the API handles this.  On
the other hand, an API might want to have them separate.   I don't know what
the answer for this is yet.

 

d.  Change:

  These two buckets

   are available for use in all of the structures in this document

   except for keys.  While these buckets can be present, they may not

   all be usable in all instances.

to:

  These two buckets

   are defined for use in all of the structures in this document

   except for keys.  While these buckets are defined, they may not

   be usable or used in all instances.

 

The new text makes it clearer that "protected" and "unprotected" can't be
included where their values can't be used.

[JLS] That text does not make it any clearer to me.

 

3.1.  COSE Headers

 

e.  Change:

  The field is used to indicate which protected header keys

      an application which is processing a message is required to

      understand.

to:

  The field is used to indicate which protected header keys

      defined by extensions to this specification that

      an application that is processing a message is required to

      understand.

 

The language should make it clear that "crit" is only for defining behavior
of critical extensions - not for making header parameters defined by this
spec critical.

[JLS] This does not make things clearer tome.

 

f.  In Table 2, change:

   | jku      | *     | tstr     |           | URL to COSE key object  |

   |          |       |          |           |                         |

   | jwk      | *     | COSE_Key |           | contains a COSE key not |

   |          |       |          |           | a JWK key               |

   |          |       |          |           |                         |

to:

   | jku      | *     | tstr     |           | URL to JWK [RFC 7517]   |

   |          |       |          |           |                         |

  | cku      | *     | tstr     |           | URL to COSE key object  |

   |          |       |          |           |                         |

   | ck       | *     | COSE_Key |           | contains a COSE key     |

   |          |       |          |           |                         |

 

It still makes sense to be able to represent URLs to JWK and COSE Key
objects.  But we shouldn't call the COSE Key passed by value "jwk", since
that's misleading.

[JLS] Thus the open issue marker.

 

g.     Open Issue 1.  Which of the following items do we want to have
standardized in

       this document: jku, jwk, x5c, x5t, x5t#S256, x5u, zip?

 

I would keep all of them, other than changing "jku" and "jwk" to "jku",
"cku", and "ck" per (f) above.

[JLS] This will be a discussion issue.

 

h.  Open Issue 2.  I am currently torn on the question "Should epk and
iv/nonce be

       algorithm specific or generic headers?"

 

I would define common labels for them since they are commonly used across
multiple algorithms.

 

4.  Signing Structure

 

i.                 The description of "protected" says "The field MUST NOT
hold attributes about the payload being signed".  Assuming that a flattened
syntax is added, this would then become something like "The field MUST NOT
hold attributes about the payload being signed unless the flattened
serialization is being used".  Other related statements throughout the
document would likewise need to be similarly updated.

[JLS] But it is not current added - so this is not currently an actionable
statement.

 

j.  The end of the signing section says:

   In addition to performing the signature verification, one must also

   perform the appropriate checks to ensure that the key is correctly

   paired with the signing identity and that the appropriate

   authorization is done.

 

There needs to be a reference to a place where the process of verifying the
key's association with the signing identity is described.  Particular
methods are clearly beyond the scope of this specification but saying this
little about the process will likely just leave many people confused.

[JLS] What do you think this should reference?

 

5.  Encryption Object

 

k.  The introduction to this section says:

   In this section we describe the structure and methods to be used when

   doing an encryption in COSE.  In COSE, we use the same techniques and

   structures for encrypting both the plain text and the keys used to

  protect the text.  This is different from the approach used by both

   [RFC5652] and [RFC7516] where different structures are used for the

   plain text and for the different key management techniques.

 

I'll note that if issue 3 is resolved (Wrapped keys should be able to be
represented as simply the wrapped key value), this paragraph will have to be
revised accordingly.

[JLS] But currently not an actionable statement.

 

l.  A generic "iv" (initialization vector) field should also be defined in
the list of parameters for the encryption object.  Yes, not all algorithms
will use it, but many will.

 

m.  A "tag" (authentication tag) field should be defined in the list of
parameters for the encryption object.  Yes, not all the algorithms will use
it, but many will.

[JLS] Maybe true for 'iv', however 'tag' is part of the ciphertext.

 

5.1.1.  Direct Encryption

 

n.  The spec says:

   o  At a minimum, the 'unprotected' field MUST contain the 'alg'

      parameter and SHOULD contain a parameter identifying the shared

      secret.

 

SHOULD is too strong here because in some protocols, the shared secret will
already be known by methods other than an included "kid" or other key
selection value.  A "SHOULD . unless ." construct like was used in similar
JOSE descriptions is probably the right thing to use here.

[JLS] The .unless. clause is confusing as hell so I do not plan to include
it.  The definition of SHOULD means that put it there unless you have a good
reason not to do so.

 

6.  MAC Objects

 

o.  The "How to compute a MAC" instructions say:

   5.  Encrypt and encode the MAC key for each recipient of the message.

 

This is not correct when direct key management or no key management is used.
Please revise to accurately include these cases as well.

[JLS} This is correct for the current document.

 

7.  Key Structure

 

p.  The spec says:

   The "key_ops" element is preferred over the "use" element as the

   information provided that way is more finely detailed about the

   operations allowed.  It is strongly suggested that this element be

   present for all keys.

 

Like in (n), the application may know the key usage from application
context, rendering the inclusion of "key_ops" unnecessary.  Language
something like "It is strongly suggested that this element be present for
all keys unless this information is already know to the application through
other means" should be used to capture this.

 

The working group should also discuss whether it wants to carry forward
"use" for JWK compatibility, even if it is deprecated.  I personally would
be in favor of doing so.

[JLS] If you think this, then please open it as a discussion issue.  I don't
see any good use for it that is not better served by 'key_ops'.  This is
doubly true given that the W3C Crypto group

 

q.  I would define short numeric values that correspond to the defines
"key_ops" string values.  I'd do the same for the "use" values.

[JLS] Yes this will be happening going forward.

 

8.  CBOR Encoder Restrictions

 

r.  The spec says:

   o  All parsers used SHOULD fail on both parsing and generation if the

      same label is used twice as a key for the same map.

 

I would strongly prefer that the "SHOULD" be changed to "MUST".  CBOR
doesn't have the same legacy of lax parsers that we inherited from
JavaScript/ECMAscript for JSON.  Let's not open the door to them!

 

9.5  COSE Algorithm Registry

 

s.  I would add an additional "JOSE algorithm name" field to this registry,
whose value is the corresponding "Algorithm Name" entry in the IANA JSON Web
Signature and Encryption Algorithms registry at
http://www.iana.org/assignments/jose/jose.xhtml#web-signature-encryption-alg
orithms, if such an entry exists.  This will tie the two registries together
so that definitions of algorithms already defined by JOSE need not be
repeated for COSE.

 

In many cases then, the COSE algorithms draft (or section) can just cite the
definition in RFC 7518 and register the corresponding short numeric label
for COSE use.

[JLS] Do we have a reason to believe that COSE implementers are going to
have a larger overlap with JOSE implementers?

 

9.8.1  COSE Security Message

 

t.  Besides registering the MIME type "application/cose", I would also
register one for a base64url encoded COSE message - an idea first described
to me by Joe Hildebrand.  It could be called "application/cose+base64url" or
something of that ilk.

[JLS]  I would expect the media-type reviewers to object to that because
this is a transport encoding not a content encoding.  Do you have a reason
to believe otherwise?

 

9.8.2  COSE Key Media Type

 

u.  "application/jwk+json" should be changed to something like
"application/cose-key" and "application/jwk-set+json" should be changed to
something like "application/cose-key-set".

 

11.2.  Informative References

 

v.  The date on the AES-GCM reference (SP 800-38D) should be November 2007 -
not June 2015.

 

Appendix A.  AEAD and AE Algorithms

 

w.  The spec says:

  This authentication value may be:

   o  A separately generated tag computed by both the encrypter and

      decrypter and then compared by the decryptor.  This tag value may

      be either placed at the end of the cipher text (the decision we

      made) or kept separately (the decision made by the JOSE working

      group).  This is the approach followed by AES-GCM [AES-GCM] and

      AES-CCM [RFC3610].

 

The last sentence is not true, as written.  The AES-GCM spec describes "the
ciphertext and tag outputs" - not a single combined output.  Common
implementations correspond to this, such as the implementation of GCM in
.NET.

 

The CCM description in RFC 3610 Section 2.4 describes the output using the
text "The final result c consists of the encrypted message followed by the
encrypted authentication value U", which admits either implementation.
Likewise, at least the .NET CCM implementation produces separate ciphertext
and authentication tag values.

 

Whether the tag should be separate or automatically appended to the
ciphertext isn't a hill I'm going to die on (although the working group
should discuss this and make an explicit decision in this regard), but the
text describing the decision should at least be changed to be accurate.

 

[JLS] Wrong reference -will correct.

 

Appendix C.  Examples

 

x.  The uses of strings and corresponding labels such as those that follow
are confusing - especially since key ID values are binary in COSE.  A
fragment of such an example that confused me was:

         3: {

           5: " <mailto:bilbo.baggins@hobbiton.example>
bilbo.baggins@hobbiton.example"

         },

 

There are similar strings in some of the other examples that I also couldn't
wrap my head around.

[JLS] My code does not match the spec here.  Originally they were strings.

 

Appendix D.  COSE Header Algorithm Label Table

 

y.  I would change the term "Header Algorithm" to "Header Parameter".  (I
suspect this was a cut-and-paste error.)

[JLS] I have not settled on a consistent set of terms for this yet.  I need
to do so and then make a pass to correct them all.  I don't think that some
of the terms I am currently using are sufficiently distinct to make it easy
to figure things out.

 

z.  In Appendix D and Appendix E, I would call out that the names in the
"name" columns correspond to names defined in RFC 7518.

[JLS] These tables are disappearing as part of the add the algorithms to the
document exercise.

 

Appendix F.  COSE General Values

 

aa.  This seems confused, as it mixes "kty" values (EC=1, RSA=2, oct=3) with
curve values (P256=4, P521=5).  I would keep these separate.  Also, wherever
the curve names are defined, I would also include P384, as JOSE did.

[JLS] That may happen in the future.  I just needed a table to put things in
for now.

 

NITS

 

I will be submitting spelling and grammar corrections as a GitHub pull
request against the spec repository rather than detail them here.  I'll post
the pull request link once it's been created.

 

CONCLUSIONS

 

I'd like to thank Jim for doing the work to produce a well-thought-out
initial draft.  I believe it provides a solid starting point for the COSE
work.

 

I'd be willing to produce specific proposed edits for any/all of the above
issues and comments, should the editors find that useful. 

 

                                                            Best wishes,

                                                            -- Mike

 


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii"><meta name=3DGenerator content=3D"Microsoft Word 15 =
(filtered medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.EmailStyle18
	{mso-style-type:personal;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:1396465736;
	mso-list-type:hybrid;
	mso-list-template-ids:1037173136 -468815698 67698713 67698715 67698703 =
67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	margin-left:.75in;
	text-indent:-.5in;}
@list l0:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;}
@list l0:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l1
	{mso-list-id:1622766118;
	mso-list-type:hybrid;
	mso-list-template-ids:-654810942 67698689 67698691 67698693 67698689 =
67698691 67698693 67698689 67698691 67698693;}
@list l1:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
@list l1:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Symbol;}
@list l1:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:"Courier New";}
@list l1:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-.25in;
	font-family:Wingdings;}
ol
	{margin-bottom:0in;}
ul
	{margin-bottom:0in;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #E1E1E1 =
1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal><b>From:</b> Cose =
[mailto:cose-bounces@ietf.org] <b>On Behalf Of </b>Mike =
Jones<br><b>Sent:</b> Saturday, June 27, 2015 2:07 AM<br><b>To:</b> =
cose@ietf.org<br><b>Subject:</b> [Cose] Review of =
draft-schaad-cose-msg-01<o:p></o:p></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>In response =
to the call for adoption, I&#8217;m submitting the following review =
feedback on <a =
href=3D"http://tools.ietf.org/html/draft-schaad-cose-msg-01">draft-schaad=
-cose-msg-01</a>.&nbsp; Most of the major comments are motivated by the =
goal of &#8220;keeping simple things simple&#8221;.&nbsp; Particularly =
in constrained environments, it&#8217;s likely to be normal for =
implementations to use only the parts of COSE they their application =
needs.&nbsp; I believe that we should therefore optimize the =
representations we define for the common cases, while making it possible =
to also gracefully accommodate less common, if possibly more general =
cases as well.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Also, given =
my role as a designer and editor of the JOSE specs, I&#8217;ll say =
explicitly that it&#8217;s not my goal to try to have all the decisions =
in COSE exactly mirror those in JOSE.&nbsp; Some things can clearly be =
simplified for COSE, and I&#8217;m all for that.&nbsp; I plan to =
consider each issue on its individual merits.&nbsp; That said, =
here&#8217;s my review&#8230;<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><b>MAJOR =
ISSUES<o:p></o:p></b></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal><b>1.&nbsp; Representations should be optimized for =
the single recipient case.<o:p></o:p></b></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>In JOSE, =
going into IESG review, &#8220;signatures&#8221; or =
&#8220;recipients&#8221; arrays were required for the JSON =
Serializations, with only general multi-signature/multi-recipient =
representations being defined for JWS and JWE.&nbsp; Based on feedback =
from numerous developers who were using JOSE for use cases that only =
ever used a single signature or recipient, Richard Barnes asked that the =
Flattened serializations be added to optimize for the common single =
signature/recipient cases.&nbsp; Based on this developer feedback, we =
did this.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Unless we do the same for COSE, I&#8217;m sure =
we&#8217;ll receive the same feedback that requiring the =
&#8220;recipients&#8221; array in use cases where it will always contain =
one element is unnecessarily complicated.&nbsp; We should do this =
now.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>While the argument against this could be made that =
&#8220;it&#8217;s even more complicated to support both the flattened =
and general serializations than just the general one&#8221;, I believe =
that in practice, this is a mostly specious argument.&nbsp; Applications =
will choose or build an implementation that fits their use case &#8211; =
either one that supports single or multiple recipients.&nbsp; =
Application profiles will choose one or the other representation and =
will generally not call for both.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>The way to =
achieve this is to define a flattened representation as JOSE did, in =
which header parameters about both the payload and the recipient are =
carried in the top level &#8220;unprotected&#8221; and =
&#8220;protected&#8221; elements.<o:p></o:p></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:red'>[JLS] This was discussed on =
the mailing list.&nbsp; There are a number of trade-offs that were =
discussed.&nbsp; Please review that discussion and see if you have =
something new to add.&nbsp; Please remember that we are looking at both =
the message size and the code size as criteria when making =
decisions.<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><b>2.&nbsp; =
HMACs should be optimized for the no-key-management =
case.<o:p></o:p></b></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Particularly for constrained devices, it is unlikely =
that applications will want to pay the performance penalty of generating =
and encrypting a key management key to perform a MAC operation.&nbsp; =
Heck, they may not have credible random number generation in the first =
place!&nbsp; And they are likewise unlikely to want to pay the message =
size penalty of carrying the encrypted key.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I&#8217;m =
fine with the optional ability to have key management for MACs, but the =
default should be that no key management information is present in the =
representation.&nbsp; The only algorithm represented by default should =
be the MAC algorithm &#8211; not even &#8220;dir&#8221; (direct).&nbsp; =
I suspect that this can be cleanly done by omitting the key management =
layer entirely when it&#8217;s not used, rather than explicitly using =
&#8220;dir&#8221; (direct).<o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'color:red'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:red'>[JLS] See =
above.<o:p></o:p></span></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal><b>3.&nbsp; Wrapped keys should be able to be =
represented as simply the wrapped key value &#8211; not as an encrypted =
data structure with unnecessary information.<o:p></o:p></b></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Key =
management keys are by definition ephemeral and so no metadata needs to =
be carried about them.&nbsp; Yes, the algorithm used to wrap the key =
needs to be represented, but this is already represented separately from =
the wrapped key.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>A simple way =
to achieve this is to define an encrypted_key field to represent the =
wrapped key, when appropriate for the algorithm.&nbsp; Among other =
benefits, this will enable the use of the standard RFC 3394 AES Key Wrap =
algorithms, in the same way that JOSE uses &#8220;A128KW&#8221;, =
etc.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Note that if the working group chooses to, the ability =
to represent encrypted keys as data structures can also be retained in =
parallel to this simpler approach.&nbsp; Applications can then choose =
which method works best for them.<o:p></o:p></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:red'>[JLS] I don&#8217;t =
understand this comment.&nbsp; This is not what the document =
says.<o:p></o:p></span></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal><b>4.&nbsp; Simpler and more comprehensible examples =
are needed.<o:p></o:p></b></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I would =
include examples for the simplest and likely most common use =
cases:<o:p></o:p></p><p class=3DMsoListParagraph =
style=3D'text-indent:-.25in;mso-list:l1 level1 lfo2'><![if =
!supportLists]><span style=3D'font-family:Symbol'><span =
style=3D'mso-list:Ignore'>&middot;<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]>HMAC without key =
management<o:p></o:p></p><p class=3DMsoListParagraph =
style=3D'text-indent:-.25in;mso-list:l1 level1 lfo2'><![if =
!supportLists]><span style=3D'font-family:Symbol'><span =
style=3D'mso-list:Ignore'>&middot;<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]>Single signature<o:p></o:p></p><p =
class=3DMsoListParagraph style=3D'text-indent:-.25in;mso-list:l1 level1 =
lfo2'><![if !supportLists]><span style=3D'font-family:Symbol'><span =
style=3D'mso-list:Ignore'>&middot;<span style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></span></span><![endif]>Encryption using AES Key Wrap for key =
management and AES GCM for content encryption<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Also, to be =
comprehensible to most readers, the examples need to include both =
symbolic and numeric identifiers for all fields.&nbsp; Also, decoded =
representations for encoded values need to be shown.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>For =
instance, the Direct MAC example in C.1 should be changed from beginning =
like this:<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp; {<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; 1: 3,<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; 2: =
h'a10104',<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; =
4: h'546869732069732074686520636f6e74656e742e',<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; 10: =
h'2ba937ca03d76c3dbad30cfcbaeef586f9c0f9ba616ad67e9205d3857<o:p></o:p></p=
><p class=3DMsoNormal>&nbsp;&nbsp; 6ad9930',<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>to beginning =
like this:<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp; {<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; 1 (msg_type): 3 (MACed =
message),<o:p></o:p></p><p class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; 2 =
(protected): h'a10104' (alg:HS256),<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; 4 (payload): =
h'546869732069732074686520636f6e74656e742e',<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; 10 (tag): =
h'2ba937ca03d76c3dbad30cfcbaeef586f9c0f9ba616ad67e9205d3857<o:p></o:p></p=
><p class=3DMsoNormal>&nbsp;&nbsp; 6ad9930',<o:p></o:p></p><p =
class=3DMsoNormal><span =
style=3D'color:#1F497D'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'color:red'>[JLS] More examples are on =
the way in the future.<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><b>MINOR =
ISSUES<o:p></o:p></b></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>These issues are organized by section number, =
providing comments on the spec text in the order of appearance.&nbsp; 27 =
issues are described, labeled a, b, c, &#8230; aa.&nbsp; The section =
numbers and names in which they appear are included in the =
write-up.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>2.&nbsp; The COSE_MSG structure<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>a.&nbsp; =
Change:<o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; Implementations MUST be =
prepared to find an integer under this label<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier New"'>&nbsp;&nbsp; =
which does not correspond to the values 1 to 3.&nbsp; If this is =
found<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; then the client MUST =
stop attempting to parse the structure and fail.<o:p></o:p></span></p><p =
class=3DMsoNormal>to:<o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; Implementations MUST be =
prepared to find an integer under this label<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier New"'>&nbsp;&nbsp; =
which does not correspond to the values 1 to 3.&nbsp; If this is =
found<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; then the client MUST =
stop attempting to parse the structure and fail,<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier New"'>&nbsp;&nbsp; =
unless it understands and implements the extension label =
value.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier =
New";color:red'>[JLS] I do not believe that this is required.&nbsp; If =
you implement a new item, then you don&#8217;t have a pure =
implementation of this document and the clause is =
implicit.<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>b.&nbsp; =
This syntax needs more explanation:<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp; COSE_Tagged_MSG =3D =
#6.999(COSE_MSG)&nbsp;&nbsp; ; Replace 999 with TBD1<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I assume =
that this is a use of <a =
href=3D"http://tools.ietf.org/html/rfc7049#section-2.4">http://tools.ietf=
.org/html/rfc7049#section-2.4</a> (Optional Tagging of Items), but you =
should explicitly say that.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal><span =
style=3D'color:red'>[JLS]&nbsp; This falls in to the question of =
normative reference on CDDL.&nbsp; If it is a normative reference, this =
is not necessary as you are expected to understand CDDL.&nbsp; If CDDL =
is informational, then it would be required.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'color:red'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal>c.&nbsp; Change:<o:p></o:p></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier New"'>&nbsp;&nbsp; =
| ciphertext&nbsp; | 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | TODO: Should we =
re-use the same as payload |<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier New"'>&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | or =
not?&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|<o:p></o:p></span></p><p class=3DMsoNormal>to:<o:p></o:p></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier New"'>&nbsp;&nbsp; =
| ciphertext&nbsp; | 7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | For =
COSE_encrypt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>It&#8217;s =
cleaner not to reuse the same label value for different semantic =
meanings.&nbsp; If we do that, we might come to regret it as the spec =
evolves.&nbsp; Besides, it&#8217;s not like using another short integer =
value here will cause us to run out of them in this =
context.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal><span style=3D'color:red'>[JLS]&nbsp; The TODO is a =
marker for future discussion &#8211; There are both advantages and =
disadvantages to re-using the same label.&nbsp; On one hand, it is easy =
for programs to always look in the same location for the content =
independent of what type of content it is.&nbsp; This may make things =
easier for items which have detached content depending on how the API =
handles this.&nbsp; On the other hand, an API might want to have them =
separate.&nbsp;&nbsp; I don&#8217;t know what the answer for this is =
yet.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:red'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal>d.&nbsp; Change:<o:p></o:p></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier New"'>&nbsp; These =
two buckets<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; are available for use =
in all of the structures in this document<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier New"'>&nbsp;&nbsp; =
except for keys.&nbsp; While these buckets can be present, they may =
not<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; all be usable in all =
instances.<o:p></o:p></span></p><p =
class=3DMsoNormal>to:<o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp; These two =
buckets<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; are defined for use in =
all of the structures in this document<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier New"'>&nbsp;&nbsp; =
except for keys.&nbsp; While these buckets are defined, they may =
not<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; be usable or used in =
all instances.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal>The new text makes it clearer that =
&#8220;protected&#8221; and &#8220;unprotected&#8221; can&#8217;t be =
included where their values can&#8217;t be used.<o:p></o:p></p><p =
class=3DMsoNormal><span style=3D'color:red'>[JLS] That text does not =
make it any clearer to me.<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>3.1.&nbsp; =
COSE Headers<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>e.&nbsp; Change:<o:p></o:p></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier New"'>&nbsp; The =
field is used to indicate which protected header =
keys<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; an =
application which is processing a message is required =
to<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
understand.<o:p></o:p></span></p><p =
class=3DMsoNormal>to:<o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp; The field is used to indicate =
which protected header keys<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; defined by extensions to this =
specification that<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; an =
application that is processing a message is required =
to<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
understand.<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>The language =
should make it clear that &#8220;crit&#8221; is only for defining =
behavior of critical extensions &#8211; not for making header parameters =
defined by this spec critical.<o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'color:red'>[JLS] This does not make things clearer =
tome.<o:p></o:p></span></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>f.&nbsp; In Table 2, change:<o:p></o:p></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier New"'>&nbsp;&nbsp; =
| jku&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | *&nbsp;&nbsp;&nbsp;&nbsp; | =
tstr&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | URL to =
COSE key object&nbsp; |<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;|<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; | =
jwk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | *&nbsp;&nbsp;&nbsp;&nbsp; | COSE_Key =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | contains =
a COSE key not |<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | a JWK =
key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp; |<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|<o:p></o:p></span></p><p class=3DMsoNormal>to:<o:p></o:p></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier New"'>&nbsp;&nbsp; =
| jku&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | *&nbsp;&nbsp;&nbsp;&nbsp; | =
tstr&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | URL to =
JWK [RFC 7517] &nbsp;&nbsp;|<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier New"'>&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;|<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp;| =
cku&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | *&nbsp;&nbsp;&nbsp;&nbsp; | =
tstr&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | URL to =
COSE key object&nbsp; |<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;|<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; | ck&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;| *&nbsp;&nbsp;&nbsp;&nbsp; | COSE_Key =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | contains =
a COSE key&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier New"'>&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|<o:p></o:p></span></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>It still makes sense to be able to represent URLs to =
JWK and COSE Key objects.&nbsp; But we shouldn&#8217;t call the COSE Key =
passed by value &#8220;jwk&#8221;, since that&#8217;s =
misleading.<o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'color:red'>[JLS] Thus the open issue =
marker.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'color:red'><o:p>&nbsp;</o:p></span></p><p =
class=3DMsoNormal>g.&nbsp; &nbsp;&nbsp;&nbsp;Open Issue 1.&nbsp; Which =
of the following items do we want to have standardized =
in<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this document: =
jku, jwk, x5c, x5t, x5t#S256, x5u, zip?<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I would keep =
all of them, other than changing &#8220;jku&#8221; and &#8220;jwk&#8221; =
to &#8220;jku&#8221;, &#8220;cku&#8221;, and &#8220;ck&#8221; per (f) =
above.<o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'color:red'>[JLS] This will be a discussion =
issue.<o:p></o:p></span></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>h.&nbsp; Open Issue 2.&nbsp; I am currently torn on =
the question &quot;Should epk and iv/nonce be<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; algorithm =
specific or generic headers?&quot;<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I would =
define common labels for them since they are commonly used across =
multiple algorithms.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>4.&nbsp; =
Signing Structure<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoListParagraph =
style=3D'margin-left:.75in;text-indent:-.5in;mso-list:l0 level1 =
lfo4'><![if !supportLists]><span style=3D'mso-list:Ignore'>i.<span =
style=3D'font:7.0pt "Times New =
Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span><![endif]>The description =
of &#8220;protected&#8221; says &#8220;The field MUST NOT hold =
attributes about the payload being signed&#8221;.&nbsp; Assuming that a =
flattened syntax is added, this would then become something like =
&#8220;The field MUST NOT hold attributes about the payload being signed =
unless the flattened serialization is being used&#8221;.&nbsp; Other =
related statements throughout the document would likewise need to be =
similarly updated.<o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'color:red'>[JLS] But it is not current added &#8211; so this is =
not currently an actionable statement.<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>j.&nbsp; The =
end of the signing section says:<o:p></o:p></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier New"'>&nbsp;&nbsp; =
In addition to performing the signature verification, one must =
also<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; perform the appropriate =
checks to ensure that the key is correctly<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier New"'>&nbsp;&nbsp; =
paired with the signing identity and that the =
appropriate<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; authorization is =
done.<o:p></o:p></span></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>There needs to be a reference to a place where the =
process of verifying the key&#8217;s association with the signing =
identity is described.&nbsp; Particular methods are clearly beyond the =
scope of this specification but saying this little about the process =
will likely just leave many people confused.<o:p></o:p></p><p =
class=3DMsoNormal><span style=3D'color:red'>[JLS] What do you think this =
should reference?<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>5.&nbsp; =
Encryption Object<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>k.&nbsp; The =
introduction to this section says:<o:p></o:p></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier New"'>&nbsp;&nbsp; =
In this section we describe the structure and methods to be used =
when<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; doing an encryption in =
COSE.&nbsp; In COSE, we use the same techniques =
and<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; structures for =
encrypting both the plain text and the keys used =
to<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp;protect the text.&nbsp; =
This is different from the approach used by both<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier New"'>&nbsp;&nbsp; =
[RFC5652] and [RFC7516] where different structures are used for =
the<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; plain text and for the =
different key management techniques.<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I&#8217;ll =
note that if issue 3 is resolved (<b>Wrapped keys should be able to be =
represented as simply the wrapped key value</b>), this paragraph will =
have to be revised accordingly.<o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'color:red'>[JLS] But currently not an actionable =
statement.<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>l.&nbsp; A =
generic &#8220;iv&#8221; (initialization vector) field should also be =
defined in the list of parameters for the encryption object.&nbsp; Yes, =
not all algorithms will use it, but many will.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>m.&nbsp; A =
&#8220;tag&#8221; (authentication tag) field should be defined in the =
list of parameters for the encryption object.&nbsp; Yes, not all the =
algorithms will use it, but many will.<o:p></o:p></p><p =
class=3DMsoNormal><span style=3D'color:red'>[JLS] Maybe true for =
&#8216;iv&#8217;, however &#8216;tag&#8217; is part of the =
ciphertext.<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>5.1.1.&nbsp; =
Direct Encryption<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>n.&nbsp; The =
spec says:<o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; o&nbsp; At a minimum, =
the 'unprotected' field MUST contain the 'alg'<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; parameter and SHOULD contain a =
parameter identifying the shared<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; secret.<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>SHOULD is =
too strong here because in some protocols, the shared secret will =
already be known by methods other than an included &#8220;kid&#8221; or =
other key selection value.&nbsp; A &#8220;SHOULD &#8230; unless =
&#8230;&#8221; construct like was used in similar JOSE descriptions is =
probably the right thing to use here.<o:p></o:p></p><p =
class=3DMsoNormal><span style=3D'color:red'>[JLS] The =
&#8230;unless&#8230; clause is confusing as hell so I do not plan to =
include it.&nbsp; The definition of SHOULD means that put it there =
unless you have a good reason not to do so.<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>6.&nbsp; MAC =
Objects<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>o.&nbsp; The &#8220;How to compute a MAC&#8221; =
instructions say:<o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; 5.&nbsp; Encrypt and =
encode the MAC key for each recipient of the =
message.<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>This is not =
correct when direct key management or no key management is used.&nbsp; =
Please revise to accurately include these cases as =
well.<o:p></o:p></p><p class=3DMsoNormal><span style=3D'color:red'>[JLS} =
This is correct for the current document.<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>7.&nbsp; Key =
Structure<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>p.&nbsp; The spec says:<o:p></o:p></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier New"'>&nbsp;&nbsp; =
The &quot;key_ops&quot; element is preferred over the &quot;use&quot; =
element as the<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; information provided =
that way is more finely detailed about the<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier New"'>&nbsp;&nbsp; =
operations allowed.&nbsp; It is strongly suggested that this element =
be<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; present for all =
keys.<o:p></o:p></span></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>Like in (n), the application may know the key usage =
from application context, rendering the inclusion of =
&#8220;key_ops&#8221; unnecessary.&nbsp; Language something like =
&#8220;It is strongly suggested that this element be present for all =
keys unless this information is already know to the application through =
other means&#8221; should be used to capture this.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>The working =
group should also discuss whether it wants to carry forward =
&#8220;use&#8221; for JWK compatibility, even if it is deprecated.&nbsp; =
I personally would be in favor of doing so.<o:p></o:p></p><p =
class=3DMsoNormal><span style=3D'color:red'>[JLS] If you think this, =
then please open it as a discussion issue.&nbsp; I don&#8217;t see any =
good use for it that is not better served by =
&#8216;key_ops&#8217;.&nbsp; This is doubly true given that the W3C =
Crypto group<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>q.&nbsp; I =
would define short numeric values that correspond to the defines =
&#8220;key_ops&#8221; string values.&nbsp; I&#8217;d do the same for the =
&#8220;use&#8221; values.<o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'color:red'>[JLS] Yes this will be happening going =
forward.<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>8.&nbsp; =
CBOR Encoder Restrictions<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>r.&nbsp; The =
spec says:<o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; o&nbsp; All parsers =
used SHOULD fail on both parsing and generation if =
the<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; same =
label is used twice as a key for the same map.<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I would =
strongly prefer that the &#8220;SHOULD&#8221; be changed to =
&#8220;MUST&#8221;.&nbsp; CBOR doesn&#8217;t have the same legacy of lax =
parsers that we inherited from JavaScript/ECMAscript for JSON.&nbsp; =
Let&#8217;s not open the door to them!<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>9.5&nbsp; =
COSE Algorithm Registry<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>s.&nbsp; I =
would add an additional &#8220;JOSE algorithm name&#8221; field to this =
registry, whose value is the corresponding &#8220;Algorithm Name&#8221; =
entry in the IANA JSON Web Signature and Encryption Algorithms registry =
at <a =
href=3D"http://www.iana.org/assignments/jose/jose.xhtml#web-signature-enc=
ryption-algorithms">http://www.iana.org/assignments/jose/jose.xhtml#web-s=
ignature-encryption-algorithms</a>, if such an entry exists.&nbsp; This =
will tie the two registries together so that definitions of algorithms =
already defined by JOSE need not be repeated for COSE.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>In many =
cases then, the COSE algorithms draft (or section) can just cite the =
definition in RFC 7518 and register the corresponding short numeric =
label for COSE use.<o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'color:red'>[JLS] Do we have a reason to believe that COSE =
implementers are going to have a larger overlap with JOSE =
implementers?<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>9.8.1&nbsp; =
COSE Security Message<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>t.&nbsp; =
Besides registering the MIME type &#8220;application/cose&#8221;, I =
would also register one for a base64url encoded COSE message &#8211; an =
idea first described to me by Joe Hildebrand.&nbsp; It could be called =
&#8220;application/cose+base64url&#8221; or something of that =
ilk.<o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'color:red'>[JLS]&nbsp; I would expect the media-type reviewers =
to object to that because this is a transport encoding not a content =
encoding.&nbsp; Do you have a reason to believe =
otherwise?<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>9.8.2&nbsp; =
COSE Key Media Type<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>u.&nbsp; =
&#8220;application/jwk+json&#8221; should be changed to something like =
&#8220;application/cose-key&#8221; and =
&#8220;application/jwk-set+json&#8221; should be changed to something =
like &#8220;application/cose-key-set&#8221;.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>11.2.&nbsp; =
Informative References<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>v.&nbsp; The =
date on the AES-GCM reference (SP 800-38D) should be November 2007 =
&#8211; not June 2015.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Appendix =
A.&nbsp; AEAD and AE Algorithms<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>w.&nbsp; The =
spec says:<o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp; This authentication value may =
be:<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier New"'>&nbsp;&nbsp; o&nbsp; A separately =
generated tag computed by both the encrypter and<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; decrypter and then compared by the =
decryptor.&nbsp; This tag value may<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; be either placed at the end of the =
cipher text (the decision we<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; made) or kept separately (the =
decision made by the JOSE working<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; group).&nbsp; This is the approach =
followed by AES-GCM [AES-GCM] and<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AES-CCM =
[RFC3610].<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>The last =
sentence is not true, as written.&nbsp; The AES-GCM spec describes =
&#8220;<span style=3D'font-size:11.5pt'>the ciphertext and tag =
outputs</span>&#8221; &#8211; not a single combined output.&nbsp; Common =
implementations correspond to this, such as the implementation of GCM in =
.NET.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>The CCM description in RFC 3610 Section 2.4 describes =
the output using the text &#8220;The final result c consists of the =
encrypted message followed by the encrypted authentication value =
U&#8221;, which admits either implementation.&nbsp; Likewise, at least =
the .NET CCM implementation produces separate ciphertext and =
authentication tag values.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Whether the =
tag should be separate or automatically appended to the ciphertext =
isn&#8217;t a hill I&#8217;m going to die on (although the working group =
should discuss this and make an explicit decision in this regard), but =
the text describing the decision should at least be changed to be =
accurate.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal><span style=3D'color:red'>[JLS] Wrong reference =
&#8211;will correct.<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Appendix =
C.&nbsp; Examples<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>x.&nbsp; The =
uses of strings and corresponding labels such as those that follow are =
confusing &#8211; especially since key ID values are binary in =
COSE.&nbsp; A fragment of such an example that confused me =
was:<o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3: =
{<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5: =
&quot;</span><a href=3D"mailto:bilbo.baggins@hobbiton.example"><span =
style=3D'font-family:"Courier =
New"'>bilbo.baggins@hobbiton.example</span></a><span =
style=3D'font-family:"Courier New"'>&quot;<o:p></o:p></span></p><p =
class=3DMsoNormal><span style=3D'font-family:"Courier =
New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
},<o:p></o:p></span></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>There are similar strings in some of the other =
examples that I also couldn&#8217;t wrap my head =
around.<o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'color:red'>[JLS] My code does not match the spec here.&nbsp; =
Originally they were strings.<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Appendix =
D.&nbsp; COSE Header Algorithm Label Table<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>y.&nbsp; I =
would change the term &#8220;Header Algorithm&#8221; to &#8220;Header =
Parameter&#8221;.&nbsp; (I suspect this was a cut-and-paste =
error.)<o:p></o:p></p><p class=3DMsoNormal><span =
style=3D'color:red'>[JLS] I have not settled on a consistent set of =
terms for this yet.&nbsp; I need to do so and then make a pass to =
correct them all.&nbsp; I don&#8217;t think that some of the terms I am =
currently using are sufficiently distinct to make it easy to figure =
things out.<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>z.&nbsp; In =
Appendix D and Appendix E, I would call out that the names in the =
&#8220;name&#8221; columns correspond to names defined in RFC =
7518.<o:p></o:p></p><p class=3DMsoNormal><span style=3D'color:red'>[JLS] =
These tables are disappearing as part of the add the algorithms to the =
document exercise.<o:p></o:p></span></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Appendix =
F.&nbsp; COSE General Values<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>aa.&nbsp; =
This seems confused, as it mixes &#8220;kty&#8221; values (EC=3D1, =
RSA=3D2, oct=3D3) with curve values (P256=3D4, P521=3D5).&nbsp; I would =
keep these separate.&nbsp; Also, wherever the curve names are defined, I =
would also include P384, as JOSE did.<o:p></o:p></p><p =
class=3DMsoNormal><span style=3D'color:red'>[JLS] That may happen in the =
future.&nbsp; I just needed a table to put things in for =
now.<o:p></o:p></span></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal><b>NITS<o:p></o:p></b></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I will be =
submitting spelling and grammar corrections as a GitHub pull request =
against the spec repository rather than detail them here. =
&nbsp;I&#8217;ll post the pull request link once it&#8217;s been =
created.<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal><b>CONCLUSIONS<o:p></o:p></b></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I&#8217;d =
like to thank Jim for doing the work to produce a well-thought-out =
initial draft.&nbsp; I believe it provides a solid starting point for =
the COSE work.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>I&#8217;d be =
willing to produce specific proposed edits for any/all of the above =
issues and comments, should the editors find that useful. =
<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp; Best wishes,<o:p></o:p></p><p =
class=3DMsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp; -- Mike<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></body></html>
------=_NextPart_000_0003_01D0B0B2.C90464C0--


From nobody Sat Jun 27 08:42:52 2015
Return-Path: <ietf@augustcellars.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B56691B2DD2 for <cose@ietfa.amsl.com>; Sat, 27 Jun 2015 08:42:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v3WcbEcYKX7b for <cose@ietfa.amsl.com>; Sat, 27 Jun 2015 08:42:48 -0700 (PDT)
Received: from smtp2.pacifier.net (smtp2.pacifier.net [64.255.237.172]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 758511B2DD3 for <cose@ietf.org>; Sat, 27 Jun 2015 08:42:48 -0700 (PDT)
Received: from hebrews (unknown [50.109.240.20]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp2.pacifier.net (Postfix) with ESMTPSA id BA2FD2C9F3; Sat, 27 Jun 2015 08:42:47 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Justin Richer'" <jricher@MIT.EDU>, <cose@ietf.org>
References: <1B462EEC-67AF-4F19-B8F5-82BA36C59C8D@mit.edu>
In-Reply-To: <1B462EEC-67AF-4F19-B8F5-82BA36C59C8D@mit.edu>
Date: Sat, 27 Jun 2015 08:43:00 -0700
Message-ID: <000701d0b0ef$f3267300$d9735900$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0008_01D0B0B5.46C996D0"
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQJY2oSeSME8IW5u9lRslrpXo0MKwpywKlSQ
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/qJGKPupSHuscnQ94PoT1TsfFlok>
Subject: Re: [Cose] Consensus Call on Input Draft Adoption
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Jun 2015 15:42:49 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0008_01D0B0B5.46C996D0
Content-Type: text/plain;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

I would like to remind people that why the call is on the document that =
is in the IETF repository, a more up to date version can be found at =
https://cose-wg.github.io/cose-spec/.  This version has edits and =
changes that are not currently in the IETF version of the document.

=20

Jim

=20

=20

From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Justin Richer
Sent: Friday, June 26, 2015 7:19 PM
To: cose@ietf.org
Subject: [Cose] Consensus Call on Input Draft Adoption

=20

The chairs would like to make a consensus call on accepting the =
following document as the input draft for a new working group item:

=20

=20

https://tools.ietf.org/html/draft-schaad-cose-msg-01

=20

=20

This document, if accepted, will become the basis of the COSE message =
syntax specification.

=20

Please reply to this thread whether or not you would like to accept this =
document as input to the working group.=20

=20

Thank you,

 =E2=80=94 Justin (& Kepeng)


------=_NextPart_000_0008_01D0B0B5.46C996D0
Content-Type: text/html;
	charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta =
name=3DGenerator content=3D"Microsoft Word 15 (filtered =
medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>I would like to remind people that why the call is on the document that =
is in the IETF repository, a more up to date version can be found at <a =
href=3D"https://cose-wg.github.io/cose-spec/">https://cose-wg.github.io/c=
ose-spec/</a>.=C2=A0 This version has edits and changes that are not =
currently in the IETF version of the document.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>Jim<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><div style=3D'border:none;border-left:solid =
blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div =
style=3D'border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span><=
/b><span style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> =
Cose [mailto:cose-bounces@ietf.org] <b>On Behalf Of </b>Justin =
Richer<br><b>Sent:</b> Friday, June 26, 2015 7:19 PM<br><b>To:</b> =
cose@ietf.org<br><b>Subject:</b> [Cose] Consensus Call on Input Draft =
Adoption<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>The chairs =
would like to make a consensus call on accepting the following document =
as the input draft for a new working group item:<o:p></o:p></p><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal><a =
href=3D"https://tools.ietf.org/html/draft-schaad-cose-msg-01">https://too=
ls.ietf.org/html/draft-schaad-cose-msg-01</a><o:p></o:p></p></div><div><p=
 class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>This document, if accepted, will become the basis of =
the COSE message syntax specification.<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>Please reply to this thread whether or not you would =
like to accept this document as input to the working =
group.&nbsp;<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>Thank you,<o:p></o:p></p></div><div><p =
class=3DMsoNormal>&nbsp;=E2=80=94 Justin (&amp; =
Kepeng)<o:p></o:p></p></div></div></div></body></html>
------=_NextPart_000_0008_01D0B0B5.46C996D0--


From nobody Sat Jun 27 11:09:44 2015
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E863E1A1EEE for <cose@ietfa.amsl.com>; Sat, 27 Jun 2015 11:09:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.55
X-Spam-Level: 
X-Spam-Status: No, score=-1.55 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kqCePMLC0vYi for <cose@ietfa.amsl.com>; Sat, 27 Jun 2015 11:09:43 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D16DC1A1E0F for <cose@ietf.org>; Sat, 27 Jun 2015 11:09:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [134.102.201.11]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id t5RI9bQu014487; Sat, 27 Jun 2015 20:09:37 +0200 (CEST)
Received: from alma.local (eduroam-pool7-1946.wlan.uni-bremen.de [134.102.119.154]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3mJjlj0M4rz98nB; Sat, 27 Jun 2015 20:09:36 +0200 (CEST)
Message-ID: <558EE6DF.4080305@tzi.org>
Date: Sat, 27 Jun 2015 20:09:35 +0200
From: Carsten Bormann <cabo@tzi.org>
User-Agent: Postbox 4.0.1 (Macintosh/20150514)
MIME-Version: 1.0
To: Jim Schaad <ietf@augustcellars.com>
References: <1B462EEC-67AF-4F19-B8F5-82BA36C59C8D@mit.edu> <000701d0b0ef$f3267300$d9735900$@augustcellars.com>
In-Reply-To: <000701d0b0ef$f3267300$d9735900$@augustcellars.com>
X-Enigmail-Version: 1.2.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/z93EY9EKCvnOykGTbvCi4yiulf0>
Cc: cose@ietf.org
Subject: Re: [Cose] Consensus Call on Input Draft Adoption
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Jun 2015 18:09:44 -0000

Jim Schaad wrote:
> I would like to remind people that why 

[while]

> the call is on the document that
> is in the IETF repository, a more up to date version can be found at
> https://cose-wg.github.io/cose-spec/.  This version has edits and
> changes that are not currently in the IETF version of the document.

Right.  We should use the time we wait for the adoption call to expire,
to do some technical work as well.
I'll certainly send out some technical comments in the next couple of
days, and I hope we can use those to further advance the work and
fast-forward the draft once adopted.

GrÃ¼ÃŸe, Carsten


From nobody Sat Jun 27 12:29:11 2015
Return-Path: <ve7jtb@ve7jtb.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 173271A88B2 for <cose@ietfa.amsl.com>; Sat, 27 Jun 2015 12:29:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level: 
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0rq8kici5czx for <cose@ietfa.amsl.com>; Sat, 27 Jun 2015 12:29:09 -0700 (PDT)
Received: from mail-qk0-f174.google.com (mail-qk0-f174.google.com [209.85.220.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 316B61A88B0 for <cose@ietf.org>; Sat, 27 Jun 2015 12:29:08 -0700 (PDT)
Received: by qkhu186 with SMTP id u186so73067913qkh.0 for <cose@ietf.org>; Sat, 27 Jun 2015 12:29:08 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=HThhnDuRbaRD9Zq0g70aCEtoQDzN5mHYr3gB7AvIZEY=; b=URl5ggiXvH//QjG2p3PTr4C3XuwoNVC92Wa79ZtfxMK8E6tmbFVIz86TvJHJeu/ncG 57ziT2NJDxOJ5aVb438drT0wBiU+RC2dn9KHtKUJD16QllBS0U32HTEpd0EY16XCeKWu aliigQ3ISqhBsgP3pfBAubXTncin7P9Kj+OfPpTaMMDuTRTmr+YXUO/8LiCnmojzjYlC 2jBeUhl/xxBTSXkw/Me1D7buyKgOz6IOkR0pj2FNotVqZdZUplL/G1IvmvYfvy0cM4Sa V3zJ42hb41K688d0QHEJJkSU5c2L/H2aHP8GsS6xSIcAhK188sjpYTGYH9JA0t9tl7Dc wGEg==
X-Gm-Message-State: ALoCoQmm18JTS2nC0C5x0IeN3tDbH8qSU8jwZPnoW1SNlwmpj2kSpcSuXeClBsmjK8DM1/segjb1
X-Received: by 10.140.238.15 with SMTP id j15mr10887319qhc.4.1435433348224; Sat, 27 Jun 2015 12:29:08 -0700 (PDT)
Received: from [192.168.1.216] (186-79-107-199.baf.movistar.cl. [186.79.107.199]) by mx.google.com with ESMTPSA id c73sm8994876qka.24.2015.06.27.12.29.06 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 27 Jun 2015 12:29:07 -0700 (PDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: John Bradley <ve7jtb@ve7jtb.com>
In-Reply-To: <558E83A1.6070804@tzi.org>
Date: Sat, 27 Jun 2015 16:29:00 -0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <506C16CD-239D-43AA-9CAB-BBFDE9148CB2@ve7jtb.com>
References: <1B462EEC-67AF-4F19-B8F5-82BA36C59C8D@mit.edu> <BY2PR03MB442A62DC4F14ACD77C38C18F5AC0@BY2PR03MB442.namprd03.prod.outlook.com> <558E83A1.6070804@tzi.org>
To: Carsten Bormann <cabo@tzi.org>
X-Mailer: Apple Mail (2.2098)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/GeU5e9ZOJGR6ynO-6u3hsoHSnEk>
Cc: "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Consensus Call on Input Draft Adoption
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Jun 2015 19:29:11 -0000

+1
> On Jun 27, 2015, at 8:06 AM, Carsten Bormann <cabo@tzi.org> wrote:
>=20
> Mike Jones wrote:
>> Let me be the first to say that I approve of adopting this document =
as a
>> working group draft.  I=E2=80=99d like to thank Jim for doing the =
work to
>> produce a well-thought-out initial draft.  I believe it provides a =
solid
>> starting point for the COSE work.
>=20
> +1.
>=20
> I hope the chairs can declare consensus on this well before the =
looming
> I-D deadline (2015-07-06), so we can go into the Prague meeting with a
> draft-ietf-cose-....
>=20
> Gr=C3=BC=C3=9Fe, Carsten
>=20
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose


From nobody Sat Jun 27 16:20:35 2015
Return-Path: <dick.hardt@gmail.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9DFDB1ACAD5 for <cose@ietfa.amsl.com>; Sat, 27 Jun 2015 16:20:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xEc1Ypk2GndC for <cose@ietfa.amsl.com>; Sat, 27 Jun 2015 16:20:33 -0700 (PDT)
Received: from mail-oi0-x231.google.com (mail-oi0-x231.google.com [IPv6:2607:f8b0:4003:c06::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0F13E1AC3FB for <cose@ietf.org>; Sat, 27 Jun 2015 16:20:32 -0700 (PDT)
Received: by oiax193 with SMTP id x193so97026291oia.2 for <cose@ietf.org>; Sat, 27 Jun 2015 16:20:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=LUKXE3gqx8s54JfTFx02Fh9/7EkypqFvXb/LacJBHiU=; b=fjGpHA+RHI6VXFR5fkKVU4GEieNCJYHqik7tRkf4WH3PpvcA3LDvA2qiG7kpGTzUjV XaE+L/JKNnvcdssoqEnSoyzEQJ/2wCgjoJQHxavuyG1qzfjipFpKvHEmh2nFAKrrhsCQ aYNrZ23aOhDiDBpaxWWecF/kwpj8k42algn99RA9CmzA8CkdPnOcvt+uO0HFOdabBSsT LLsOJa9PAOoAVQci9zGzZ7476QrXUbEYNjzLkgE1MXgdj0ZftOEjXzKLFk0FBB8ULEg8 sAVruQtjvurb+lUuhDQGZ7NAzIHZ6q4W5q9eVfFgQJbCIwkk78lH7q006D4vTwWnwSag 4wJw==
X-Received: by 10.60.60.230 with SMTP id k6mr7678617oer.21.1435447232222; Sat, 27 Jun 2015 16:20:32 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.60.116.99 with HTTP; Sat, 27 Jun 2015 16:20:12 -0700 (PDT)
In-Reply-To: <506C16CD-239D-43AA-9CAB-BBFDE9148CB2@ve7jtb.com>
References: <1B462EEC-67AF-4F19-B8F5-82BA36C59C8D@mit.edu> <BY2PR03MB442A62DC4F14ACD77C38C18F5AC0@BY2PR03MB442.namprd03.prod.outlook.com> <558E83A1.6070804@tzi.org> <506C16CD-239D-43AA-9CAB-BBFDE9148CB2@ve7jtb.com>
From: Dick Hardt <dick.hardt@gmail.com>
Date: Sat, 27 Jun 2015 16:20:12 -0700
Message-ID: <CAD9ie-t3Chhv96Xdfj9tz9nTcT6E6tXgM_8013e7fAGpPgXtCw@mail.gmail.com>
To: John Bradley <ve7jtb@ve7jtb.com>
Content-Type: multipart/alternative; boundary=089e01538c585edbde0519881ac3
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/VCBcEtTIlfX-3oHM20tMbcgOW9A>
Cc: Carsten Bormann <cabo@tzi.org>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Consensus Call on Input Draft Adoption
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 27 Jun 2015 23:20:34 -0000

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

+1

On Sat, Jun 27, 2015 at 12:29 PM, John Bradley <ve7jtb@ve7jtb.com> wrote:

> +1
> > On Jun 27, 2015, at 8:06 AM, Carsten Bormann <cabo@tzi.org> wrote:
> >
> > Mike Jones wrote:
> >> Let me be the first to say that I approve of adopting this document as=
 a
> >> working group draft.  I=E2=80=99d like to thank Jim for doing the work=
 to
> >> produce a well-thought-out initial draft.  I believe it provides a sol=
id
> >> starting point for the COSE work.
> >
> > +1.
> >
> > I hope the chairs can declare consensus on this well before the looming
> > I-D deadline (2015-07-06), so we can go into the Prague meeting with a
> > draft-ietf-cose-....
> >
> > Gr=C3=BC=C3=9Fe, Carsten
> >
> > _______________________________________________
> > Cose mailing list
> > Cose@ietf.org
> > https://www.ietf.org/mailman/listinfo/cose
>
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose
>

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

<div dir=3D"ltr">+1</div><div class=3D"gmail_extra"><br><div class=3D"gmail=
_quote">On Sat, Jun 27, 2015 at 12:29 PM, John Bradley <span dir=3D"ltr">&l=
t;<a href=3D"mailto:ve7jtb@ve7jtb.com" target=3D"_blank">ve7jtb@ve7jtb.com<=
/a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:=
0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">+1<br>
<div class=3D"HOEnZb"><div class=3D"h5">&gt; On Jun 27, 2015, at 8:06 AM, C=
arsten Bormann &lt;<a href=3D"mailto:cabo@tzi.org">cabo@tzi.org</a>&gt; wro=
te:<br>
&gt;<br>
&gt; Mike Jones wrote:<br>
&gt;&gt; Let me be the first to say that I approve of adopting this documen=
t as a<br>
&gt;&gt; working group draft.=C2=A0 I=E2=80=99d like to thank Jim for doing=
 the work to<br>
&gt;&gt; produce a well-thought-out initial draft.=C2=A0 I believe it provi=
des a solid<br>
&gt;&gt; starting point for the COSE work.<br>
&gt;<br>
&gt; +1.<br>
&gt;<br>
&gt; I hope the chairs can declare consensus on this well before the loomin=
g<br>
&gt; I-D deadline (2015-07-06), so we can go into the Prague meeting with a=
<br>
&gt; draft-ietf-cose-....<br>
&gt;<br>
&gt; Gr=C3=BC=C3=9Fe, Carsten<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Cose mailing list<br>
&gt; <a href=3D"mailto:Cose@ietf.org">Cose@ietf.org</a><br>
&gt; <a href=3D"https://www.ietf.org/mailman/listinfo/cose" rel=3D"noreferr=
er" target=3D"_blank">https://www.ietf.org/mailman/listinfo/cose</a><br>
<br>
_______________________________________________<br>
Cose mailing list<br>
<a href=3D"mailto:Cose@ietf.org">Cose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/cose" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/cose</a><br>
</div></div></blockquote></div><br></div>

--089e01538c585edbde0519881ac3--


From nobody Sun Jun 28 22:45:12 2015
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AA1D21A0155 for <cose@ietfa.amsl.com>; Sun, 28 Jun 2015 22:45:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.002
X-Spam-Level: 
X-Spam-Status: No, score=-0.002 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5zOhUdEy5Qf3 for <cose@ietfa.amsl.com>; Sun, 28 Jun 2015 22:45:09 -0700 (PDT)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0133.outbound.protection.outlook.com [65.55.169.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 029221A011D for <cose@ietf.org>; Sun, 28 Jun 2015 22:45:08 -0700 (PDT)
Received: from BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) by BY2PR03MB441.namprd03.prod.outlook.com (10.141.141.142) with Microsoft SMTP Server (TLS) id 15.1.201.16; Mon, 29 Jun 2015 05:45:06 +0000
Received: from BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) by BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) with mapi id 15.01.0201.000; Mon, 29 Jun 2015 05:44:54 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "cose@ietf.org" <cose@ietf.org>
Thread-Topic: Nits discovered during my review of draft-schaad-cose-msg-01
Thread-Index: AdCyLrUrIC9wv46ATN+A2Ppo8C/tXA==
Date: Mon, 29 Jun 2015 05:44:54 +0000
Message-ID: <BY2PR03MB442521126799F001A439939F5AA0@BY2PR03MB442.namprd03.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;
x-originating-ip: [50.47.90.173]
x-microsoft-exchange-diagnostics: 1; BY2PR03MB441; 5:g3klDZGem58IuUNRutrzQIsmAyYioXgz3NfwrTPnDDXdi2/eRg9i9SpBIj5SUXbiGS2fShn5fFV2nh/Zkaup67e/nZR9uqrA6WP3gO03OdsbrLdja/Y50kQWniHwC3jMIt8F3vFwYt1gqtKDDi/1Bw==; 24:EDQYXc7Kaaoqtrm7sSXTwyzLfDFaAziuhbHtBWcfD4PuQhCQ56tasI7uAuKmj/wZDvBB8RM1IDUuydA7/8F9Fqe6gaaog0X8EIq9ni/D7mQ=; 20:txWvft12Vyh0SO8PVjZCNyKB5vACkJ/fPw7V6nMMOSsfvLbdHbPah7ET7VV1vZZ/oq63mw5UW63tUzy92m4Spw==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB441;
x-microsoft-antispam-prvs: <BY2PR03MB441EE81F18982EBC3D257F0F5AA0@BY2PR03MB441.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BY2PR03MB441; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB441; 
x-forefront-prvs: 0622A98CD5
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(2351001)(229853001)(2656002)(16236675004)(87936001)(122556002)(86362001)(54356999)(50986999)(5002640100001)(19617315012)(46102003)(450100001)(40100003)(76576001)(92566002)(2501003)(33656002)(19625215002)(19609705001)(230783001)(77096005)(86612001)(189998001)(102836002)(74316001)(107886002)(99286002)(2900100001)(5001960100002)(77156002)(110136002)(62966003)(15975445007)(5003600100002)(66066001)(19580395003)(19300405004); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB441; H:BY2PR03MB442.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: multipart/alternative; boundary="_000_BY2PR03MB442521126799F001A439939F5AA0BY2PR03MB442namprd_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jun 2015 05:44:54.0521 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB441
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/YTtC6g4EBgvzMjH-sVJGAB3L11k>
Subject: [Cose] Nits discovered during my review of draft-schaad-cose-msg-01
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Jun 2015 05:45:10 -0000

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

I've submitted these as a GitHub pull request.  Thanks to Justin for help w=
ith the GitHub mechanics.

The pull request is https://github.com/cose-wg/cose-spec/pull/50.

This branch includes grammar and spelling corrections.  Most of the grammar=
 corrections are changing instances of "which" to "that", where appropriate=
.  I also changed uses of the term "byte" to "octet".

                                                            -- Mike


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:x=3D"urn:schemas-microsoft-com:office:excel" xmlns:m=3D"http://schema=
s.microsoft.com/office/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html=
40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">I&#8217;ve submitted these as a GitHub pull request.=
&nbsp; Thanks to Justin for help with the GitHub mechanics.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The pull request is <a href=3D"https://github.com/co=
se-wg/cose-spec/pull/50">
https://github.com/cose-wg/cose-spec/pull/50</a>.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">This branch includes grammar and spelling correction=
s. &nbsp;Most of the grammar corrections are changing instances of &quot;wh=
ich&quot; to &quot;that&quot;, where appropriate. &nbsp;I also changed uses=
 of the term &quot;byte&quot; to &quot;octet&quot;.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; -- Mike<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_BY2PR03MB442521126799F001A439939F5AA0BY2PR03MB442namprd_--


From nobody Sun Jun 28 23:13:27 2015
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9F8F61A1A55 for <cose@ietfa.amsl.com>; Sun, 28 Jun 2015 23:13:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.15
X-Spam-Level: *
X-Spam-Status: No, score=1.15 tagged_above=-999 required=5 tests=[BAYES_50=0.8, HELO_EQ_DE=0.35] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id c4jSBVhEnAz5 for <cose@ietfa.amsl.com>; Sun, 28 Jun 2015 23:13:25 -0700 (PDT)
Received: from mailhost.informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 092551A1A4A for <cose@ietf.org>; Sun, 28 Jun 2015 23:13:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from submithost.informatik.uni-bremen.de (submithost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9::b]) by mailhost.informatik.uni-bremen.de (8.14.5/8.14.5) with ESMTP id t5T6DJJH007456; Mon, 29 Jun 2015 08:13:19 +0200 (CEST)
Received: from alma.local (p5DC7EA60.dip0.t-ipconnect.de [93.199.234.96]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3mKdmH1HJXz9B9G; Mon, 29 Jun 2015 08:13:19 +0200 (CEST)
Message-ID: <5590E1FD.8040209@tzi.org>
Date: Mon, 29 Jun 2015 08:13:17 +0200
From: Carsten Bormann <cabo@tzi.org>
User-Agent: Postbox 4.0.1 (Macintosh/20150514)
MIME-Version: 1.0
To: Mike Jones <Michael.Jones@microsoft.com>
References: <BY2PR03MB442521126799F001A439939F5AA0@BY2PR03MB442.namprd03.prod.outlook.com>
In-Reply-To: <BY2PR03MB442521126799F001A439939F5AA0@BY2PR03MB442.namprd03.prod.outlook.com>
X-Enigmail-Version: 1.2.3
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/ytl-0RF2Xul4Ii6MHn0jlfz0kUw>
Cc: "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Nits discovered during my review of draft-schaad-cose-msg-01
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Jun 2015 06:13:26 -0000

Mike Jones wrote:
> I also changed uses of the term "byte" to "octet".

It would be nice if we could avoid doing that.
IEC 80000-13 should be mandatory reading by now.

(For the pedantic, we can always add the usual text:
   In this specification, the term "byte" is used in its now customary
   sense as a synonym for "octet".)

GrÃ¼ÃŸe, Carsten


From nobody Sun Jun 28 23:36:49 2015
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 188901A1A52 for <cose@ietfa.amsl.com>; Sun, 28 Jun 2015 23:36:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3WvcgMF_51kD for <cose@ietfa.amsl.com>; Sun, 28 Jun 2015 23:36:45 -0700 (PDT)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0122.outbound.protection.outlook.com [207.46.100.122]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 92C9C1A1B21 for <cose@ietf.org>; Sun, 28 Jun 2015 23:36:45 -0700 (PDT)
Received: from BY2PR03MB442.namprd03.prod.outlook.com (10.141.141.145) by BY2PR03MB444.namprd03.prod.outlook.com (10.141.141.154) with Microsoft SMTP Server (TLS) id 15.1.207.12; Mon, 29 Jun 2015 06:36:44 +0000
Received: from BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) by BY2PR03MB442.namprd03.prod.outlook.com ([10.141.141.145]) with mapi id 15.01.0201.000; Mon, 29 Jun 2015 06:36:44 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Carsten Bormann <cabo@tzi.org>
Thread-Topic: [Cose] Nits discovered during my review of draft-schaad-cose-msg-01
Thread-Index: AdCyLrUrIC9wv46ATN+A2Ppo8C/tXAAA/smAAADRi3k=
Date: Mon, 29 Jun 2015 06:36:43 +0000
Message-ID: <BY2PR03MB442BB9D89DA460E7F5FBA63F5AA0@BY2PR03MB442.namprd03.prod.outlook.com>
References: <BY2PR03MB442521126799F001A439939F5AA0@BY2PR03MB442.namprd03.prod.outlook.com>, <5590E1FD.8040209@tzi.org>
In-Reply-To: <5590E1FD.8040209@tzi.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: tzi.org; dkim=none (message not signed) header.d=none; 
x-originating-ip: [50.47.90.173]
x-microsoft-exchange-diagnostics: 1; BY2PR03MB444; 5:nW7dPkfWGqAEmmbQtyzVESanzaZwZUsH7tGvfo7wjP9mbn+cquwyJ2EEMpJEtvRTD204cu00H97vEIG6FFoRLH0IhCMASEVsmXF2T/u3zjLw0RN0sEKHnS9td+3ZkT78vJJNmcsmqvrXyZ4tVaCvbQ==; 24:B/BnYYVqoC9ggLbqdKmmVdtp9GHJ5dOIp7omyXktBVp3ORSjLycMROdwtpD79MMIoBDxGCcNXz0jKNCFi3W9UjML2FpGoTmhRCrQypZ7Cn4=; 20:Wmyc/W6gJhkpvSRf+XZpyWXVSHA+fnv3DD9LSDqPYuNXlOinuMUV4yvQc1/d3x2amfxn4RGO/ZJHVll5jsVpWw==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB444;
x-microsoft-antispam-prvs: <BY2PR03MB444A7AF360768EAA55BD03FF5AA0@BY2PR03MB444.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BY2PR03MB444; BCL:0; PCL:0; RULEID:; SRVR:BY2PR03MB444; 
x-forefront-prvs: 0622A98CD5
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(377454003)(24454002)(5001960100002)(5003600100002)(92566002)(40100003)(102836002)(77156002)(2900100001)(62966003)(122556002)(19580405001)(74316001)(19580395003)(19617315012)(2950100001)(66066001)(5002640100001)(86612001)(19625215002)(189998001)(77096005)(33656002)(99286002)(5001920100001)(15975445007)(110136002)(46102003)(16236675004)(87936001)(230783001)(2656002)(54356999)(76176999)(50986999)(86362001)(76576001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB444; H:BY2PR03MB442.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: multipart/alternative; boundary="_000_BY2PR03MB442BB9D89DA460E7F5FBA63F5AA0BY2PR03MB442namprd_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Jun 2015 06:36:43.4786 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR03MB444
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/ZT-1pZUyF1aCSIX-riw5_lptbds>
Cc: "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Nits discovered during my review of draft-schaad-cose-msg-01
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Jun 2015 06:36:47 -0000

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

SSdtIG9rIHdpdGggeW91ciBhcHByb2FjaCB0byB0aGlzIGFzIHdlbGwsIENhcnN0ZW4uICBKaW0s
IGRvIHlvdSB3YW50IHRvIGFwcGx5IHRoZSBwdWxsIHJlcXVlc3QgYW5kIHRoZW4gZWRpdCB0aGUg
cmVzdWx0IHRvIGFwcGx5IHlvdXIgZGVzaXJlZCB0cmVhdG1lbnQgb2YgYnl0ZS9vY3RldCBvdXIg
d291bGQgeW91IHByZWZlciB0aGF0IEkgdXBkYXRlIHRoZSBicmFuY2ggaW4gYSBzcGVjaWZpYyB3
YXkgZmlyc3Q/DQoNCi0tIE1pa2UNCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fDQpG
cm9tOiBDYXJzdGVuIEJvcm1hbm48bWFpbHRvOmNhYm9AdHppLm9yZz4NClNlbnQ6IOKAjjYv4oCO
Mjgv4oCOMjAxNSAxMToxMyBQTQ0KVG86IE1pa2UgSm9uZXM8bWFpbHRvOk1pY2hhZWwuSm9uZXNA
bWljcm9zb2Z0LmNvbT4NCkNjOiBjb3NlQGlldGYub3JnPG1haWx0bzpjb3NlQGlldGYub3JnPg0K
U3ViamVjdDogUmU6IFtDb3NlXSBOaXRzIGRpc2NvdmVyZWQgZHVyaW5nIG15IHJldmlldyBvZiBk
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DQo8L2JvZHk+
DQo8L2h0bWw+DQo=

--_000_BY2PR03MB442BB9D89DA460E7F5FBA63F5AA0BY2PR03MB442namprd_--


From nobody Mon Jun 29 00:48:55 2015
Return-Path: <Axel.Nennker@telekom.de>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CDBC01A8029 for <cose@ietfa.amsl.com>; Mon, 29 Jun 2015 00:48:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.859
X-Spam-Level: 
X-Spam-Status: No, score=-3.859 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_EQ_DE=0.35, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hNzv_r1HyBcE for <cose@ietfa.amsl.com>; Mon, 29 Jun 2015 00:48:52 -0700 (PDT)
Received: from tcmail13.telekom.de (tcmail13.telekom.de [80.149.113.165]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 01D451A8547 for <cose@ietf.org>; Mon, 29 Jun 2015 00:48:51 -0700 (PDT)
Received: from s4de8nsazdfe010.bmbg.telekom.de ([10.175.246.202]) by tcmail11.telekom.de with ESMTP; 29 Jun 2015 09:48:47 +0200
X-IronPort-AV: E=Sophos;i="5.13,697,1427752800";  d="scan'208,217";a="697690359"
Received: from he111527.emea1.cds.t-internal.com ([10.125.90.86]) by q4de8nsa015.bmbg.telekom.de with ESMTP/TLS/AES128-SHA; 29 Jun 2015 09:48:48 +0200
Received: from HE111541.emea1.cds.t-internal.com ([10.125.90.97]) by HE111527.EMEA1.CDS.T-INTERNAL.COM ([2002:7cd:5a56::7cd:5a56]) with mapi; Mon, 29 Jun 2015 09:48:46 +0200
From: <Axel.Nennker@telekom.de>
To: <dick.hardt@gmail.com>, <ve7jtb@ve7jtb.com>
Date: Mon, 29 Jun 2015 09:48:45 +0200
Thread-Topic: [Cose] Consensus Call on Input Draft Adoption
Thread-Index: AdCxL+Hmgcu/WzbORtG9B72W6V987ABEB9Qw
Message-ID: <CE8995AB5D178F44A2154F5C9A97CAF4028D0764D201@HE111541.emea1.cds.t-internal.com>
References: <1B462EEC-67AF-4F19-B8F5-82BA36C59C8D@mit.edu> <BY2PR03MB442A62DC4F14ACD77C38C18F5AC0@BY2PR03MB442.namprd03.prod.outlook.com> <558E83A1.6070804@tzi.org> <506C16CD-239D-43AA-9CAB-BBFDE9148CB2@ve7jtb.com> <CAD9ie-t3Chhv96Xdfj9tz9nTcT6E6tXgM_8013e7fAGpPgXtCw@mail.gmail.com>
In-Reply-To: <CAD9ie-t3Chhv96Xdfj9tz9nTcT6E6tXgM_8013e7fAGpPgXtCw@mail.gmail.com>
Accept-Language: de-DE
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: de-DE
Content-Type: multipart/alternative; boundary="_000_CE8995AB5D178F44A2154F5C9A97CAF4028D0764D201HE111541eme_"
MIME-Version: 1.0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/vb4ap1g-jIsz8PpAOrgQZjwJJWU>
Cc: cabo@tzi.org, cose@ietf.org
Subject: Re: [Cose] Consensus Call on Input Draft Adoption
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Jun 2015 07:48:55 -0000

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

KzENCg0KRnJvbTogQ29zZSBbbWFpbHRvOmNvc2UtYm91bmNlc0BpZXRmLm9yZ10gT24gQmVoYWxm
IE9mIERpY2sgSGFyZHQNClNlbnQ6IFNvbm50YWcsIDI4LiBKdW5pIDIwMTUgMDE6MjANClRvOiBK
b2huIEJyYWRsZXkNCkNjOiBDYXJzdGVuIEJvcm1hbm47IGNvc2VAaWV0Zi5vcmcNClN1YmplY3Q6
IFJlOiBbQ29zZV0gQ29uc2Vuc3VzIENhbGwgb24gSW5wdXQgRHJhZnQgQWRvcHRpb24NCg0KKzEN
Cg0KT24gU2F0LCBKdW4gMjcsIDIwMTUgYXQgMTI6MjkgUE0sIEpvaG4gQnJhZGxleSA8dmU3anRi
QHZlN2p0Yi5jb208bWFpbHRvOnZlN2p0YkB2ZTdqdGIuY29tPj4gd3JvdGU6DQorMQ0KPiBPbiBK
dW4gMjcsIDIwMTUsIGF0IDg6MDYgQU0sIENhcnN0ZW4gQm9ybWFubiA8Y2Fib0B0emkub3JnPG1h
aWx0bzpjYWJvQHR6aS5vcmc+PiB3cm90ZToNCj4NCj4gTWlrZSBKb25lcyB3cm90ZToNCj4+IExl
dCBtZSBiZSB0aGUgZmlyc3QgdG8gc2F5IHRoYXQgSSBhcHByb3ZlIG9mIGFkb3B0aW5nIHRoaXMg
ZG9jdW1lbnQgYXMgYQ0KPj4gd29ya2luZyBncm91cCBkcmFmdC4gIEnigJlkIGxpa2UgdG8gdGhh
bmsgSmltIGZvciBkb2luZyB0aGUgd29yayB0bw0KPj4gcHJvZHVjZSBhIHdlbGwtdGhvdWdodC1v
dXQgaW5pdGlhbCBkcmFmdC4gIEkgYmVsaWV2ZSBpdCBwcm92aWRlcyBhIHNvbGlkDQo+PiBzdGFy
dGluZyBwb2ludCBmb3IgdGhlIENPU0Ugd29yay4NCj4NCj4gKzEuDQo+DQo+IEkgaG9wZSB0aGUg
Y2hhaXJzIGNhbiBkZWNsYXJlIGNvbnNlbnN1cyBvbiB0aGlzIHdlbGwgYmVmb3JlIHRoZSBsb29t
aW5nDQo+IEktRCBkZWFkbGluZSAoMjAxNS0wNy0wNiksIHNvIHdlIGNhbiBnbyBpbnRvIHRoZSBQ
cmFndWUgbWVldGluZyB3aXRoIGENCj4gZHJhZnQtaWV0Zi1jb3NlLS4uLi4NCj4NCj4gR3LDvMOf
ZSwgQ2Fyc3Rlbg0KPg0KPiBfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fXw0KPiBDb3NlIG1haWxpbmcgbGlzdA0KPiBDb3NlQGlldGYub3JnPG1haWx0bzpDb3Nl
QGlldGYub3JnPg0KPiBodHRwczovL3d3dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2Nvc2UN
Cg0KX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18NCkNvc2Ug
bWFpbGluZyBsaXN0DQpDb3NlQGlldGYub3JnPG1haWx0bzpDb3NlQGlldGYub3JnPg0KaHR0cHM6
Ly93d3cuaWV0Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9jb3NlDQoNCg==

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

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj
cm9zb2Z0LmN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015
Return-Path: <ludwig@sics.se>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5AF691A8A90 for <cose@ietfa.amsl.com>; Mon, 29 Jun 2015 03:38:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.2
X-Spam-Level: 
X-Spam-Status: No, score=-1.2 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gDmQ0IQgQqGQ for <cose@ietfa.amsl.com>; Mon, 29 Jun 2015 03:38:09 -0700 (PDT)
Received: from mail-la0-f46.google.com (mail-la0-f46.google.com [209.85.215.46]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D87AB1A8A8D for <cose@ietf.org>; Mon, 29 Jun 2015 03:38:08 -0700 (PDT)
Received: by lagc2 with SMTP id c2so4424909lag.3 for <cose@ietf.org>; Mon, 29 Jun 2015 03:38:07 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type; bh=McJA2ImNplX2MdT4xeNph4rHbcesgj46BQEyIXtADek=; b=HuMnJeccq14dDuFXlu6P40v3U1lTrFluAByUIusqL/UXKtcAhug906UQP5HOJN6TQo 7cw2E8kW/Lp9lS9IVjbTs4FDVzXXcKHDmMj6fQ6DXXFAfyYCP50iZgw/bdzCbU4EQceM prbT74Sbqi+GFlC4CnnjvMsKROYjlg9iz7DmS4e67Uh+aIY2Zzxp5z4DuIVOriDo6lC2 EC9fzYbNWvjEC9WrJcgz1OFCV+/2lia3PIBAjkMsnDh2cKWReM9lCRpevc4Qup8cgA0U bPlyGKnMpJ9fMd9aXWjN4ZGTh0pCdaWwwALQGEFDgcVhLD1NKV4/iM3wqWXe2/DAVD47 dfqg==
X-Gm-Message-State: ALoCoQk4UqZ6WlWC9gsHG/AbRPm8OuXI3lkabG0hQ0iUH+Nq8jjmwqdomMe4YZ1G9x0GebOganQd
X-Received: by 10.112.213.108 with SMTP id nr12mr13546111lbc.42.1435574287143;  Mon, 29 Jun 2015 03:38:07 -0700 (PDT)
Received: from [192.168.0.102] (89-253-76-185.customers.ownit.se. [89.253.76.185]) by mx.google.com with ESMTPSA id z9sm6382118laj.2.2015.06.29.03.38.06 for <cose@ietf.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jun 2015 03:38:06 -0700 (PDT)
Message-ID: <5591200C.5030409@sics.se>
Date: Mon, 29 Jun 2015 12:38:04 +0200
From: Ludwig Seitz <ludwig@sics.se>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
MIME-Version: 1.0
To: cose@ietf.org
References: <1B462EEC-67AF-4F19-B8F5-82BA36C59C8D@mit.edu> <BY2PR03MB442A62DC4F14ACD77C38C18F5AC0@BY2PR03MB442.namprd03.prod.outlook.com>
In-Reply-To: <BY2PR03MB442A62DC4F14ACD77C38C18F5AC0@BY2PR03MB442.namprd03.prod.outlook.com>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms090901080601060004000209"
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/amxHB71qfiGlNefbxVWlwKmjONM>
Subject: Re: [Cose] Consensus Call on Input Draft Adoption
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 29 Jun 2015 10:38:11 -0000

This is a cryptographically signed message in MIME format.

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

On 2015-06-27 11:09, Mike Jones wrote:
> Let me be the first to say that I approve of adopting this document as =
a
> working group draft.  I=92d like to thank Jim for doing the work to
> produce a well-thought-out initial draft.  I believe it provides a soli=
d
> starting point for the COSE work.
>
>                                                              Best wishe=
s,
>
>                                                              -- Mike
>

+1

/Ludwig

--=20
Ludwig Seitz, PhD
SICS Swedish ICT AB
Ideon Science Park
Building Beta 2
Scheelev=E4gen 17
SE-223 70 Lund

Phone +46(0)70-349 92 51
http://www.sics.se


--------------ms090901080601060004000209
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIMVDCC
BhgwggUAoAMCAQICAwyGmDANBgkqhkiG9w0BAQUFADCBjDELMAkGA1UEBhMCSUwxFjAUBgNV
BAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3VyZSBEaWdpdGFsIENlcnRpZmljYXRl
IFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNzIDEgUHJpbWFyeSBJbnRlcm1lZGlh
dGUgQ2xpZW50IENBMB4XDTE1MDEwODA4MzkwNloXDTE2MDEwOTIyNDEzMFowODEXMBUGA1UE
AwwObHVkd2lnQHNpY3Muc2UxHTAbBgkqhkiG9w0BCQEWDmx1ZHdpZ0Bz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ms090901080601060004000209--


From nobody Tue Jun 30 09:14:21 2015
Return-Path: <dick.hardt@gmail.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CD32E1ACD5C for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 09:14:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ErIgoAoPgwsd for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 09:14:18 -0700 (PDT)
Received: from mail-oi0-x232.google.com (mail-oi0-x232.google.com [IPv6:2607:f8b0:4003:c06::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F01CD1ACD5B for <cose@ietf.org>; Tue, 30 Jun 2015 09:14:17 -0700 (PDT)
Received: by oiax193 with SMTP id x193so11146488oia.2 for <cose@ietf.org>; Tue, 30 Jun 2015 09:14:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=pfgX93Idb9gVINQEhMAYIfoPuQocFzFCHUbSSpFFdaA=; b=Dd3OE+z/WSeaX4xD7pWU8L8/m7zRWLzgaKqE4MsT8s1ZkD3Tbwr4STfrMJ0BGjJuMf 7Yte5RR1JL5ELmTueZo0z8ZkwmkPMw7XvdghvjjE4oLIgH7baQp33o6dM1HL8vziB7z/ XYGVedcfme+XRCz53dM1GMQ5zCEDasM5fP+rdXPkzEINhzYfdvF/e7QZttHJKuqiKkiz +Tk8dvQLyBAoWEaT13Cz0UfPcIsffKdWMYGsjjuXNk59y2LSgb28RJQ4NiRBNl11V8TD Z1jE2EiGkklzirNDxf0Urp5gwuemYP24C6jimbNtGJj/GTnfhiMmrCxhCOwMewowq3+z cubQ==
X-Received: by 10.182.63.106 with SMTP id f10mr17883461obs.87.1435680857324; Tue, 30 Jun 2015 09:14:17 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.60.116.99 with HTTP; Tue, 30 Jun 2015 09:13:57 -0700 (PDT)
In-Reply-To: <000201d0b0ed$755707c0$60051740$@augustcellars.com>
References: <BY2PR03MB442E3A163870ADE7AAABCF5F5AC0@BY2PR03MB442.namprd03.prod.outlook.com> <000201d0b0ed$755707c0$60051740$@augustcellars.com>
From: Dick Hardt <dick.hardt@gmail.com>
Date: Tue, 30 Jun 2015 09:13:57 -0700
Message-ID: <CAD9ie-s8VksJGb55ocmfg0BsX9eX5qo5Man3yYZ8kt_mHokqEg@mail.gmail.com>
To: Jim Schaad <ietf@augustcellars.com>
Content-Type: multipart/alternative; boundary=e89a8fb203488300ba0519be7f7c
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/_4hpX14-Vy6bJZ0S_qsiYYpe84s>
Cc: Mike Jones <Michael.Jones@microsoft.com>, cose@ietf.org
Subject: Re: [Cose] Review of draft-schaad-cose-msg-01
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2015 16:14:21 -0000

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

On Sat, Jun 27, 2015 at 8:25 AM, Jim Schaad <ietf@augustcellars.com> wrote:

>
>
>
>
> *From:* Cose [mailto:cose-bounces@ietf.org] *On Behalf Of *Mike Jones
> *Sent:* Saturday, June 27, 2015 2:07 AM
> *To:* cose@ietf.org
> *Subject:* [Cose] Review of draft-schaad-cose-msg-01
>
>
>
> In response to the call for adoption, I=E2=80=99m submitting the followin=
g review
> feedback on draft-schaad-cose-msg-01
> <http://tools.ietf.org/html/draft-schaad-cose-msg-01>.  Most of the major
> comments are motivated by the goal of =E2=80=9Ckeeping simple things simp=
le=E2=80=9D.
> Particularly in constrained environments, it=E2=80=99s likely to be norma=
l for
> implementations to use only the parts of COSE they their application
> needs.  I believe that we should therefore optimize the representations w=
e
> define for the common cases, while making it possible to also gracefully
> accommodate less common, if possibly more general cases as well.
>
>
>
> Also, given my role as a designer and editor of the JOSE specs, I=E2=80=
=99ll say
> explicitly that it=E2=80=99s not my goal to try to have all the decisions=
 in COSE
> exactly mirror those in JOSE.  Some things can clearly be simplified for
> COSE, and I=E2=80=99m all for that.  I plan to consider each issue on its
> individual merits.  That said, here=E2=80=99s my review=E2=80=A6
>
>
>
> *MAJOR ISSUES*
>
>
>
> *1.  Representations should be optimized for the single recipient case.*
>
>
>
> In JOSE, going into IESG review, =E2=80=9Csignatures=E2=80=9D or =E2=80=
=9Crecipients=E2=80=9D arrays were
> required for the JSON Serializations, with only general
> multi-signature/multi-recipient representations being defined for JWS and
> JWE.  Based on feedback from numerous developers who were using JOSE for
> use cases that only ever used a single signature or recipient, Richard
> Barnes asked that the Flattened serializations be added to optimize for t=
he
> common single signature/recipient cases.  Based on this developer feedbac=
k,
> we did this.
>
>
>
> Unless we do the same for COSE, I=E2=80=99m sure we=E2=80=99ll receive th=
e same feedback
> that requiring the =E2=80=9Crecipients=E2=80=9D array in use cases where =
it will always
> contain one element is unnecessarily complicated.  We should do this now.
>
>
>
> While the argument against this could be made that =E2=80=9Cit=E2=80=99s =
even more
> complicated to support both the flattened and general serializations than
> just the general one=E2=80=9D, I believe that in practice, this is a most=
ly
> specious argument.  Applications will choose or build an implementation
> that fits their use case =E2=80=93 either one that supports single or mul=
tiple
> recipients.  Application profiles will choose one or the other
> representation and will generally not call for both.
>
>
>
> The way to achieve this is to define a flattened representation as JOSE
> did, in which header parameters about both the payload and the recipient
> are carried in the top level =E2=80=9Cunprotected=E2=80=9D and =E2=80=9Cp=
rotected=E2=80=9D elements.
>
>
>
> [JLS] This was discussed on the mailing list.  There are a number of
> trade-offs that were discussed.  Please review that discussion and see if
> you have something new to add.  Please remember that we are looking at bo=
th
> the message size and the code size as criteria when making decisions.
>
>
>

I searched the mailing list for this WG and could not find this discussion.
JLS: would you please provide a pointer to the discussion on this WG list
so I can understand the tradeoffs? Thanks!

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

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Sat, Jun 27, 2015 at 8:25 AM, Jim Schaad <span dir=3D"ltr">&lt;<a hr=
ef=3D"mailto:ietf@augustcellars.com" target=3D"_blank">ietf@augustcellars.c=
om</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"marg=
in:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang=3D"EN-=
US" link=3D"blue" vlink=3D"purple"><div><p class=3D"MsoNormal"><span style=
=3D"color:#1f497d"><u></u>=C2=A0<u></u></span></p><p class=3D"MsoNormal"><s=
pan style=3D"color:#1f497d"><u></u>=C2=A0<u></u></span></p><div style=3D"bo=
rder:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><div><div=
 style=3D"border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in =
0in"><p class=3D"MsoNormal"><b>From:</b> Cose [mailto:<a href=3D"mailto:cos=
e-bounces@ietf.org" target=3D"_blank">cose-bounces@ietf.org</a>] <b>On Beha=
lf Of </b>Mike Jones<br><b>Sent:</b> Saturday, June 27, 2015 2:07 AM<br><b>=
To:</b> <a href=3D"mailto:cose@ietf.org" target=3D"_blank">cose@ietf.org</a=
><br><b>Subject:</b> [Cose] Review of draft-schaad-cose-msg-01<u></u><u></u=
></p></div></div><span class=3D""><p class=3D"MsoNormal"><u></u>=C2=A0<u></=
u></p><p class=3D"MsoNormal">In response to the call for adoption, I=E2=80=
=99m submitting the following review feedback on <a href=3D"http://tools.ie=
tf.org/html/draft-schaad-cose-msg-01" target=3D"_blank">draft-schaad-cose-m=
sg-01</a>.=C2=A0 Most of the major comments are motivated by the goal of =
=E2=80=9Ckeeping simple things simple=E2=80=9D.=C2=A0 Particularly in const=
rained environments, it=E2=80=99s likely to be normal for implementations t=
o use only the parts of COSE they their application needs.=C2=A0 I believe =
that we should therefore optimize the representations we define for the com=
mon cases, while making it possible to also gracefully accommodate less com=
mon, if possibly more general cases as well.<u></u><u></u></p><p class=3D"M=
soNormal"><u></u>=C2=A0<u></u></p><p class=3D"MsoNormal">Also, given my rol=
e as a designer and editor of the JOSE specs, I=E2=80=99ll say explicitly t=
hat it=E2=80=99s not my goal to try to have all the decisions in COSE exact=
ly mirror those in JOSE.=C2=A0 Some things can clearly be simplified for CO=
SE, and I=E2=80=99m all for that.=C2=A0 I plan to consider each issue on it=
s individual merits.=C2=A0 That said, here=E2=80=99s my review=E2=80=A6<u><=
/u><u></u></p><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p><p class=3D"Ms=
oNormal"><b>MAJOR ISSUES<u></u><u></u></b></p><p class=3D"MsoNormal"><u></u=
>=C2=A0<u></u></p><p class=3D"MsoNormal"><b>1.=C2=A0 Representations should=
 be optimized for the single recipient case.<u></u><u></u></b></p><p class=
=3D"MsoNormal"><u></u>=C2=A0<u></u></p><p class=3D"MsoNormal">In JOSE, goin=
g into IESG review, =E2=80=9Csignatures=E2=80=9D or =E2=80=9Crecipients=E2=
=80=9D arrays were required for the JSON Serializations, with only general =
multi-signature/multi-recipient representations being defined for JWS and J=
WE.=C2=A0 Based on feedback from numerous developers who were using JOSE fo=
r use cases that only ever used a single signature or recipient, Richard Ba=
rnes asked that the Flattened serializations be added to optimize for the c=
ommon single signature/recipient cases.=C2=A0 Based on this developer feedb=
ack, we did this.<u></u><u></u></p><p class=3D"MsoNormal"><u></u>=C2=A0<u><=
/u></p><p class=3D"MsoNormal">Unless we do the same for COSE, I=E2=80=99m s=
ure we=E2=80=99ll receive the same feedback that requiring the =E2=80=9Crec=
ipients=E2=80=9D array in use cases where it will always contain one elemen=
t is unnecessarily complicated.=C2=A0 We should do this now.<u></u><u></u><=
/p><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p><p class=3D"MsoNormal">Wh=
ile the argument against this could be made that =E2=80=9Cit=E2=80=99s even=
 more complicated to support both the flattened and general serializations =
than just the general one=E2=80=9D, I believe that in practice, this is a m=
ostly specious argument.=C2=A0 Applications will choose or build an impleme=
ntation that fits their use case =E2=80=93 either one that supports single =
or multiple recipients.=C2=A0 Application profiles will choose one or the o=
ther representation and will generally not call for both.<u></u><u></u></p>=
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p><p class=3D"MsoNormal">The w=
ay to achieve this is to define a flattened representation as JOSE did, in =
which header parameters about both the payload and the recipient are carrie=
d in the top level =E2=80=9Cunprotected=E2=80=9D and =E2=80=9Cprotected=E2=
=80=9D elements.<u></u><u></u></p><p class=3D"MsoNormal"><span style=3D"col=
or:#1f497d"><u></u>=C2=A0<u></u></span></p></span><p class=3D"MsoNormal"><s=
pan style=3D"color:red">[JLS] This was discussed on the mailing list.=C2=A0=
 There are a number of trade-offs that were discussed.=C2=A0 Please review =
that discussion and see if you have something new to add.=C2=A0 Please reme=
mber that we are looking at both the message size and the code size as crit=
eria when making decisions.<u></u><u></u></span></p><span class=3D""><p cla=
ss=3D"MsoNormal"><u></u>=C2=A0</p></span></div></div></div></blockquote><di=
v><br></div><div>I searched the mailing list for this WG and could not find=
 this discussion. JLS: would you please provide a pointer to the discussion=
 on this WG list so I can understand the tradeoffs? Thanks!</div><div><br><=
/div><div><br></div></div></div></div>

--e89a8fb203488300ba0519be7f7c--


From nobody Tue Jun 30 09:22:32 2015
Return-Path: <ietf@augustcellars.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8E8DD1ACE75 for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 09:22:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3KVLskkUKjOS for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 09:22:23 -0700 (PDT)
Received: from smtp1.pacifier.net (smtp1.pacifier.net [64.255.237.171]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6CC371ACDD6 for <cose@ietf.org>; Tue, 30 Jun 2015 09:22:23 -0700 (PDT)
Received: from hebrews (unknown [50.109.240.20]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp1.pacifier.net (Postfix) with ESMTPSA id E553E2CA1E; Tue, 30 Jun 2015 09:22:21 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Dick Hardt'" <dick.hardt@gmail.com>
References: <BY2PR03MB442E3A163870ADE7AAABCF5F5AC0@BY2PR03MB442.namprd03.prod.outlook.com> <000201d0b0ed$755707c0$60051740$@augustcellars.com> <CAD9ie-s8VksJGb55ocmfg0BsX9eX5qo5Man3yYZ8kt_mHokqEg@mail.gmail.com>
In-Reply-To: <CAD9ie-s8VksJGb55ocmfg0BsX9eX5qo5Man3yYZ8kt_mHokqEg@mail.gmail.com>
Date: Tue, 30 Jun 2015 09:22:36 -0700
Message-ID: <004c01d0b350$fa75e3d0$ef61ab70$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_004D_01D0B316.4E1A4020"
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQE1NDqbRmt1XQuFZCU3Rn0/gnMmSwIfoXgdAZXjzIOe3o038A==
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/jgxdqIymFHhLnPD4CsR2BhzIWto>
Cc: 'Mike Jones' <Michael.Jones@microsoft.com>, cose@ietf.org
Subject: Re: [Cose] Review of draft-schaad-cose-msg-01
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2015 16:22:30 -0000

This is a multipart message in MIME format.

------=_NextPart_000_004D_01D0B316.4E1A4020
Content-Type: text/plain;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

=20

=20

From: Dick Hardt [mailto:dick.hardt@gmail.com]=20
Sent: Tuesday, June 30, 2015 9:14 AM
To: Jim Schaad
Cc: Mike Jones; cose@ietf.org
Subject: Re: [Cose] Review of draft-schaad-cose-msg-01

=20

=20

=20

On Sat, Jun 27, 2015 at 8:25 AM, Jim Schaad <ietf@augustcellars.com =
<mailto:ietf@augustcellars.com> > wrote:

=20

=20

From: Cose [mailto:cose-bounces@ietf.org <mailto:cose-bounces@ietf.org> =
] On Behalf Of Mike Jones
Sent: Saturday, June 27, 2015 2:07 AM
To: cose@ietf.org <mailto:cose@ietf.org>=20
Subject: [Cose] Review of draft-schaad-cose-msg-01

=20

In response to the call for adoption, I=E2=80=99m submitting the =
following review feedback on draft-schaad-cose-msg-01 =
<http://tools.ietf.org/html/draft-schaad-cose-msg-01> .  Most of the =
major comments are motivated by the goal of =E2=80=9Ckeeping simple =
things simple=E2=80=9D.  Particularly in constrained environments, =
it=E2=80=99s likely to be normal for implementations to use only the =
parts of COSE they their application needs.  I believe that we should =
therefore optimize the representations we define for the common cases, =
while making it possible to also gracefully accommodate less common, if =
possibly more general cases as well.

=20

Also, given my role as a designer and editor of the JOSE specs, =
I=E2=80=99ll say explicitly that it=E2=80=99s not my goal to try to have =
all the decisions in COSE exactly mirror those in JOSE.  Some things can =
clearly be simplified for COSE, and I=E2=80=99m all for that.  I plan to =
consider each issue on its individual merits.  That said, here=E2=80=99s =
my review=E2=80=A6

=20

MAJOR ISSUES

=20

1.  Representations should be optimized for the single recipient case.

=20

In JOSE, going into IESG review, =E2=80=9Csignatures=E2=80=9D or =
=E2=80=9Crecipients=E2=80=9D arrays were required for the JSON =
Serializations, with only general multi-signature/multi-recipient =
representations being defined for JWS and JWE.  Based on feedback from =
numerous developers who were using JOSE for use cases that only ever =
used a single signature or recipient, Richard Barnes asked that the =
Flattened serializations be added to optimize for the common single =
signature/recipient cases.  Based on this developer feedback, we did =
this.

=20

Unless we do the same for COSE, I=E2=80=99m sure we=E2=80=99ll receive =
the same feedback that requiring the =E2=80=9Crecipients=E2=80=9D array =
in use cases where it will always contain one element is unnecessarily =
complicated.  We should do this now.

=20

While the argument against this could be made that =E2=80=9Cit=E2=80=99s =
even more complicated to support both the flattened and general =
serializations than just the general one=E2=80=9D, I believe that in =
practice, this is a mostly specious argument.  Applications will choose =
or build an implementation that fits their use case =E2=80=93 either one =
that supports single or multiple recipients.  Application profiles will =
choose one or the other representation and will generally not call for =
both.

=20

The way to achieve this is to define a flattened representation as JOSE =
did, in which header parameters about both the payload and the recipient =
are carried in the top level =E2=80=9Cunprotected=E2=80=9D and =
=E2=80=9Cprotected=E2=80=9D elements.

=20

[JLS] This was discussed on the mailing list.  There are a number of =
trade-offs that were discussed.  Please review that discussion and see =
if you have something new to add.  Please remember that we are looking =
at both the message size and the code size as criteria when making =
decisions.

=20

=20

I searched the mailing list for this WG and could not find this =
discussion. JLS: would you please provide a pointer to the discussion on =
this WG list so I can understand the tradeoffs? Thanks!

=20

[JLS]  Look for the subject =E2=80=9C[Cose] Issue: Encoding for a single =
recipient or structure=E2=80=9D


------=_NextPart_000_004D_01D0B316.4E1A4020
Content-Type: text/html;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta =
name=3DGenerator content=3D"Microsoft Word 15 (filtered =
medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><div style=3D'border:none;border-left:solid =
blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div =
style=3D'border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span><=
/b><span style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> =
Dick Hardt [mailto:dick.hardt@gmail.com] <br><b>Sent:</b> Tuesday, June =
30, 2015 9:14 AM<br><b>To:</b> Jim Schaad<br><b>Cc:</b> Mike Jones; =
cose@ietf.org<br><b>Subject:</b> Re: [Cose] Review of =
draft-schaad-cose-msg-01<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><p class=3DMsoNormal>On Sat, =
Jun 27, 2015 at 8:25 AM, Jim Schaad &lt;<a =
href=3D"mailto:ietf@augustcellars.com" =
target=3D"_blank">ietf@augustcellars.com</a>&gt; =
wrote:<o:p></o:p></p><blockquote style=3D'border:none;border-left:solid =
#CCCCCC 1.0pt;padding:0in 0in 0in =
6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'color:#1F497D'>&nbsp;</span><o:p></o:p></p><div =
style=3D'border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt'><div><div style=3D'border:none;border-top:solid #E1E1E1 =
1.0pt;padding:3.0pt 0in 0in 0in'><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b>From:</b>=
 Cose [mailto:<a href=3D"mailto:cose-bounces@ietf.org" =
target=3D"_blank">cose-bounces@ietf.org</a>] <b>On Behalf Of </b>Mike =
Jones<br><b>Sent:</b> Saturday, June 27, 2015 2:07 AM<br><b>To:</b> <a =
href=3D"mailto:cose@ietf.org" =
target=3D"_blank">cose@ietf.org</a><br><b>Subject:</b> [Cose] Review of =
draft-schaad-cose-msg-01<o:p></o:p></p></div></div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>In response =
to the call for adoption, I=E2=80=99m submitting the following review =
feedback on <a =
href=3D"http://tools.ietf.org/html/draft-schaad-cose-msg-01" =
target=3D"_blank">draft-schaad-cose-msg-01</a>.&nbsp; Most of the major =
comments are motivated by the goal of =E2=80=9Ckeeping simple things =
simple=E2=80=9D.&nbsp; Particularly in constrained environments, =
it=E2=80=99s likely to be normal for implementations to use only the =
parts of COSE they their application needs.&nbsp; I believe that we =
should therefore optimize the representations we define for the common =
cases, while making it possible to also gracefully accommodate less =
common, if possibly more general cases as well.<o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Also, given =
my role as a designer and editor of the JOSE specs, I=E2=80=99ll say =
explicitly that it=E2=80=99s not my goal to try to have all the =
decisions in COSE exactly mirror those in JOSE.&nbsp; Some things can =
clearly be simplified for COSE, and I=E2=80=99m all for that.&nbsp; I =
plan to consider each issue on its individual merits.&nbsp; That said, =
here=E2=80=99s my review=E2=80=A6<o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b>MAJOR =
ISSUES</b><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b>1.&nbsp; =
Representations should be optimized for the single recipient =
case.</b><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>In JOSE, =
going into IESG review, =E2=80=9Csignatures=E2=80=9D or =
=E2=80=9Crecipients=E2=80=9D arrays were required for the JSON =
Serializations, with only general multi-signature/multi-recipient =
representations being defined for JWS and JWE.&nbsp; Based on feedback =
from numerous developers who were using JOSE for use cases that only =
ever used a single signature or recipient, Richard Barnes asked that the =
Flattened serializations be added to optimize for the common single =
signature/recipient cases.&nbsp; Based on this developer feedback, we =
did this.<o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Unless we =
do the same for COSE, I=E2=80=99m sure we=E2=80=99ll receive the same =
feedback that requiring the =E2=80=9Crecipients=E2=80=9D array in use =
cases where it will always contain one element is unnecessarily =
complicated.&nbsp; We should do this now.<o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>While the =
argument against this could be made that =E2=80=9Cit=E2=80=99s even more =
complicated to support both the flattened and general serializations =
than just the general one=E2=80=9D, I believe that in practice, this is =
a mostly specious argument.&nbsp; Applications will choose or build an =
implementation that fits their use case =E2=80=93 either one that =
supports single or multiple recipients.&nbsp; Application profiles will =
choose one or the other representation and will generally not call for =
both.<o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>The way to =
achieve this is to define a flattened representation as JOSE did, in =
which header parameters about both the payload and the recipient are =
carried in the top level =E2=80=9Cunprotected=E2=80=9D and =
=E2=80=9Cprotected=E2=80=9D elements.<o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'color:red'>[JLS] This was discussed on the mailing list.&nbsp; =
There are a number of trade-offs that were discussed.&nbsp; Please =
review that discussion and see if you have something new to add.&nbsp; =
Please remember that we are looking at both the message size and the =
code size as criteria when making decisions.</span><o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div></div></div></blockquote><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal>I =
searched the mailing list for this WG and could not find this =
discussion. JLS: would you please provide a pointer to the discussion on =
this WG list so I can understand the tradeoffs? =
Thanks!<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal><span style=3D'color:red'>[JLS]=C2=A0 Look for the =
subject =E2=80=9C[Cose] Issue: Encoding for a single recipient or =
structure=E2=80=9D<o:p></o:p></span></p></div></div></div></div></div></d=
iv></body></html>
------=_NextPart_000_004D_01D0B316.4E1A4020--


From nobody Tue Jun 30 10:10:00 2015
Return-Path: <dick.hardt@gmail.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A0AEE1B3217 for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 10:09:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DuZwQhLERrc1 for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 10:09:56 -0700 (PDT)
Received: from mail-oi0-x230.google.com (mail-oi0-x230.google.com [IPv6:2607:f8b0:4003:c06::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1E8EE1B320D for <cose@ietf.org>; Tue, 30 Jun 2015 10:09:56 -0700 (PDT)
Received: by oiax193 with SMTP id x193so12418056oia.2 for <cose@ietf.org>; Tue, 30 Jun 2015 10:09:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=s8dusKWD6gJZUpnRHxyDCgf/dHQ48NIM1uNnFWkOrnM=; b=fIZWs93Mrm8a7lbXAJNy5a6eOnz8rSl8GZQkDJAvz/P44dvOBTt5ePFoD6WzBwkZUG 5stqw+ysJGjGIGVFq0v9sr4y15fP2JAFz08s4gmGTdt220hspESNSRAY9nZbbsHxbdE9 uX2LsbCVbjHoncKp359XIy17nBmJh1F8sK5akU85vopuAplIvz3wTSxcwbMOdoQXcV48 tzF064mfy0CGnTSz5ulv4uPiSTAB/yJhFeZlbPTuXKJLePYT6iAO44Bf/c4bbMjN6Mau NErvGWLEvJMavWV60pV9FeuXQKyy101S+dtUSKLa/7bOx3rmMlrZbfOn4oxoUElu/EHl auBw==
X-Received: by 10.182.63.106 with SMTP id f10mr18141641obs.87.1435684195523; Tue, 30 Jun 2015 10:09:55 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.60.116.99 with HTTP; Tue, 30 Jun 2015 10:09:36 -0700 (PDT)
In-Reply-To: <004c01d0b350$fa75e3d0$ef61ab70$@augustcellars.com>
References: <BY2PR03MB442E3A163870ADE7AAABCF5F5AC0@BY2PR03MB442.namprd03.prod.outlook.com> <000201d0b0ed$755707c0$60051740$@augustcellars.com> <CAD9ie-s8VksJGb55ocmfg0BsX9eX5qo5Man3yYZ8kt_mHokqEg@mail.gmail.com> <004c01d0b350$fa75e3d0$ef61ab70$@augustcellars.com>
From: Dick Hardt <dick.hardt@gmail.com>
Date: Tue, 30 Jun 2015 10:09:36 -0700
Message-ID: <CAD9ie-s4Y=rJtqHSioAbaW-fAd9E3JiiDByX4j+Sh6Q+MkgKLw@mail.gmail.com>
To: Jim Schaad <ietf@augustcellars.com>
Content-Type: multipart/alternative; boundary=e89a8fb203487be43c0519bf46fa
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/nOg5g8fMSCLPqXOVXsYQEUGXXQc>
Cc: Mike Jones <Michael.Jones@microsoft.com>, cose@ietf.org
Subject: Re: [Cose] Review of draft-schaad-cose-msg-01
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2015 17:09:58 -0000

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

Thanks Jim. I concur with always using an array.

On Tue, Jun 30, 2015 at 9:22 AM, Jim Schaad <ietf@augustcellars.com> wrote:

>
>
>
>
> *From:* Dick Hardt [mailto:dick.hardt@gmail.com]
> *Sent:* Tuesday, June 30, 2015 9:14 AM
> *To:* Jim Schaad
> *Cc:* Mike Jones; cose@ietf.org
> *Subject:* Re: [Cose] Review of draft-schaad-cose-msg-01
>
>
>
>
>
>
>
> On Sat, Jun 27, 2015 at 8:25 AM, Jim Schaad <ietf@augustcellars.com>
> wrote:
>
>
>
>
>
> *From:* Cose [mailto:cose-bounces@ietf.org] *On Behalf Of *Mike Jones
> *Sent:* Saturday, June 27, 2015 2:07 AM
> *To:* cose@ietf.org
> *Subject:* [Cose] Review of draft-schaad-cose-msg-01
>
>
>
> In response to the call for adoption, I=E2=80=99m submitting the followin=
g review
> feedback on draft-schaad-cose-msg-01
> <http://tools.ietf.org/html/draft-schaad-cose-msg-01>.  Most of the major
> comments are motivated by the goal of =E2=80=9Ckeeping simple things simp=
le=E2=80=9D.
> Particularly in constrained environments, it=E2=80=99s likely to be norma=
l for
> implementations to use only the parts of COSE they their application
> needs.  I believe that we should therefore optimize the representations w=
e
> define for the common cases, while making it possible to also gracefully
> accommodate less common, if possibly more general cases as well.
>
>
>
> Also, given my role as a designer and editor of the JOSE specs, I=E2=80=
=99ll say
> explicitly that it=E2=80=99s not my goal to try to have all the decisions=
 in COSE
> exactly mirror those in JOSE.  Some things can clearly be simplified for
> COSE, and I=E2=80=99m all for that.  I plan to consider each issue on its
> individual merits.  That said, here=E2=80=99s my review=E2=80=A6
>
>
>
> *MAJOR ISSUES*
>
>
>
> *1.  Representations should be optimized for the single recipient case.*
>
>
>
> In JOSE, going into IESG review, =E2=80=9Csignatures=E2=80=9D or =E2=80=
=9Crecipients=E2=80=9D arrays were
> required for the JSON Serializations, with only general
> multi-signature/multi-recipient representations being defined for JWS and
> JWE.  Based on feedback from numerous developers who were using JOSE for
> use cases that only ever used a single signature or recipient, Richard
> Barnes asked that the Flattened serializations be added to optimize for t=
he
> common single signature/recipient cases.  Based on this developer feedbac=
k,
> we did this.
>
>
>
> Unless we do the same for COSE, I=E2=80=99m sure we=E2=80=99ll receive th=
e same feedback
> that requiring the =E2=80=9Crecipients=E2=80=9D array in use cases where =
it will always
> contain one element is unnecessarily complicated.  We should do this now.
>
>
>
> While the argument against this could be made that =E2=80=9Cit=E2=80=99s =
even more
> complicated to support both the flattened and general serializations than
> just the general one=E2=80=9D, I believe that in practice, this is a most=
ly
> specious argument.  Applications will choose or build an implementation
> that fits their use case =E2=80=93 either one that supports single or mul=
tiple
> recipients.  Application profiles will choose one or the other
> representation and will generally not call for both.
>
>
>
> The way to achieve this is to define a flattened representation as JOSE
> did, in which header parameters about both the payload and the recipient
> are carried in the top level =E2=80=9Cunprotected=E2=80=9D and =E2=80=9Cp=
rotected=E2=80=9D elements.
>
>
>
> [JLS] This was discussed on the mailing list.  There are a number of
> trade-offs that were discussed.  Please review that discussion and see if
> you have something new to add.  Please remember that we are looking at bo=
th
> the message size and the code size as criteria when making decisions.
>
>
>
>
>
> I searched the mailing list for this WG and could not find this
> discussion. JLS: would you please provide a pointer to the discussion on
> this WG list so I can understand the tradeoffs? Thanks!
>
>
>
> [JLS]  Look for the subject =E2=80=9C[Cose] Issue: Encoding for a single =
recipient
> or structure=E2=80=9D
>

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

<div dir=3D"ltr">Thanks Jim. I concur with always using an array.</div><div=
 class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Tue, Jun 30, 2015 =
at 9:22 AM, Jim Schaad <span dir=3D"ltr">&lt;<a href=3D"mailto:ietf@augustc=
ellars.com" target=3D"_blank">ietf@augustcellars.com</a>&gt;</span> wrote:<=
br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left=
:1px #ccc solid;padding-left:1ex"><div lang=3D"EN-US" link=3D"blue" vlink=
=3D"purple"><div><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;fon=
t-family:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u>=C2=A0<u></u>=
</span></p><p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-fami=
ly:&quot;Calibri&quot;,sans-serif;color:#1f497d"><u></u>=C2=A0<u></u></span=
></p><div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in=
 0in 4.0pt"><div><div style=3D"border:none;border-top:solid #e1e1e1 1.0pt;p=
adding:3.0pt 0in 0in 0in"><p class=3D"MsoNormal"><b><span style=3D"font-siz=
e:11.0pt;font-family:&quot;Calibri&quot;,sans-serif">From:</span></b><span =
style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif"> Dick=
 Hardt [mailto:<a href=3D"mailto:dick.hardt@gmail.com" target=3D"_blank">di=
ck.hardt@gmail.com</a>] <br><b>Sent:</b> Tuesday, June 30, 2015 9:14 AM<br>=
<b>To:</b> Jim Schaad<br><b>Cc:</b> Mike Jones; <a href=3D"mailto:cose@ietf=
.org" target=3D"_blank">cose@ietf.org</a><br><b>Subject:</b> Re: [Cose] Rev=
iew of draft-schaad-cose-msg-01<u></u><u></u></span></p></div></div><p clas=
s=3D"MsoNormal"><u></u>=C2=A0<u></u></p><div><p class=3D"MsoNormal"><u></u>=
=C2=A0<u></u></p><div><p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p><div><=
div><div class=3D"h5"><p class=3D"MsoNormal">On Sat, Jun 27, 2015 at 8:25 A=
M, Jim Schaad &lt;<a href=3D"mailto:ietf@augustcellars.com" target=3D"_blan=
k">ietf@augustcellars.com</a>&gt; wrote:<u></u><u></u></p><blockquote style=
=3D"border:none;border-left:solid #cccccc 1.0pt;padding:0in 0in 0in 6.0pt;m=
argin-left:4.8pt;margin-right:0in"><div><div><p class=3D"MsoNormal"><span s=
tyle=3D"color:#1f497d">=C2=A0</span><u></u><u></u></p><p class=3D"MsoNormal=
"><span style=3D"color:#1f497d">=C2=A0</span><u></u><u></u></p><div style=
=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><di=
v><div style=3D"border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0i=
n 0in 0in"><p class=3D"MsoNormal"><b>From:</b> Cose [mailto:<a href=3D"mail=
to:cose-bounces@ietf.org" target=3D"_blank">cose-bounces@ietf.org</a>] <b>O=
n Behalf Of </b>Mike Jones<br><b>Sent:</b> Saturday, June 27, 2015 2:07 AM<=
br><b>To:</b> <a href=3D"mailto:cose@ietf.org" target=3D"_blank">cose@ietf.=
org</a><br><b>Subject:</b> [Cose] Review of draft-schaad-cose-msg-01<u></u>=
<u></u></p></div></div><p class=3D"MsoNormal">=C2=A0<u></u><u></u></p><p cl=
ass=3D"MsoNormal">In response to the call for adoption, I=E2=80=99m submitt=
ing the following review feedback on <a href=3D"http://tools.ietf.org/html/=
draft-schaad-cose-msg-01" target=3D"_blank">draft-schaad-cose-msg-01</a>.=
=C2=A0 Most of the major comments are motivated by the goal of =E2=80=9Ckee=
ping simple things simple=E2=80=9D.=C2=A0 Particularly in constrained envir=
onments, it=E2=80=99s likely to be normal for implementations to use only t=
he parts of COSE they their application needs.=C2=A0 I believe that we shou=
ld therefore optimize the representations we define for the common cases, w=
hile making it possible to also gracefully accommodate less common, if poss=
ibly more general cases as well.<u></u><u></u></p><p class=3D"MsoNormal">=
=C2=A0<u></u><u></u></p><p class=3D"MsoNormal">Also, given my role as a des=
igner and editor of the JOSE specs, I=E2=80=99ll say explicitly that it=E2=
=80=99s not my goal to try to have all the decisions in COSE exactly mirror=
 those in JOSE.=C2=A0 Some things can clearly be simplified for COSE, and I=
=E2=80=99m all for that.=C2=A0 I plan to consider each issue on its individ=
ual merits.=C2=A0 That said, here=E2=80=99s my review=E2=80=A6<u></u><u></u=
></p><p class=3D"MsoNormal">=C2=A0<u></u><u></u></p><p class=3D"MsoNormal">=
<b>MAJOR ISSUES</b><u></u><u></u></p><p class=3D"MsoNormal">=C2=A0<u></u><u=
></u></p><p class=3D"MsoNormal"><b>1.=C2=A0 Representations should be optim=
ized for the single recipient case.</b><u></u><u></u></p><p class=3D"MsoNor=
mal">=C2=A0<u></u><u></u></p><p class=3D"MsoNormal">In JOSE, going into IES=
G review, =E2=80=9Csignatures=E2=80=9D or =E2=80=9Crecipients=E2=80=9D arra=
ys were required for the JSON Serializations, with only general multi-signa=
ture/multi-recipient representations being defined for JWS and JWE.=C2=A0 B=
ased on feedback from numerous developers who were using JOSE for use cases=
 that only ever used a single signature or recipient, Richard Barnes asked =
that the Flattened serializations be added to optimize for the common singl=
e signature/recipient cases.=C2=A0 Based on this developer feedback, we did=
 this.<u></u><u></u></p><p class=3D"MsoNormal">=C2=A0<u></u><u></u></p><p c=
lass=3D"MsoNormal">Unless we do the same for COSE, I=E2=80=99m sure we=E2=
=80=99ll receive the same feedback that requiring the =E2=80=9Crecipients=
=E2=80=9D array in use cases where it will always contain one element is un=
necessarily complicated.=C2=A0 We should do this now.<u></u><u></u></p><p c=
lass=3D"MsoNormal">=C2=A0<u></u><u></u></p><p class=3D"MsoNormal">While the=
 argument against this could be made that =E2=80=9Cit=E2=80=99s even more c=
omplicated to support both the flattened and general serializations than ju=
st the general one=E2=80=9D, I believe that in practice, this is a mostly s=
pecious argument.=C2=A0 Applications will choose or build an implementation=
 that fits their use case =E2=80=93 either one that supports single or mult=
iple recipients.=C2=A0 Application profiles will choose one or the other re=
presentation and will generally not call for both.<u></u><u></u></p><p clas=
s=3D"MsoNormal">=C2=A0<u></u><u></u></p><p class=3D"MsoNormal">The way to a=
chieve this is to define a flattened representation as JOSE did, in which h=
eader parameters about both the payload and the recipient are carried in th=
e top level =E2=80=9Cunprotected=E2=80=9D and =E2=80=9Cprotected=E2=80=9D e=
lements.<u></u><u></u></p><p class=3D"MsoNormal"><span style=3D"color:#1f49=
7d">=C2=A0</span><u></u><u></u></p><p class=3D"MsoNormal"><span style=3D"co=
lor:red">[JLS] This was discussed on the mailing list.=C2=A0 There are a nu=
mber of trade-offs that were discussed.=C2=A0 Please review that discussion=
 and see if you have something new to add.=C2=A0 Please remember that we ar=
e looking at both the message size and the code size as criteria when makin=
g decisions.</span><u></u><u></u></p><p class=3D"MsoNormal">=C2=A0<u></u><u=
></u></p></div></div></div></blockquote><div><p class=3D"MsoNormal"><u></u>=
=C2=A0<u></u></p></div><div><p class=3D"MsoNormal">I searched the mailing l=
ist for this WG and could not find this discussion. JLS: would you please p=
rovide a pointer to the discussion on this WG list so I can understand the =
tradeoffs? Thanks!<u></u><u></u></p></div><div><p class=3D"MsoNormal"><u></=
u>=C2=A0<u></u></p></div></div></div><div><p class=3D"MsoNormal"><span styl=
e=3D"color:red">[JLS]=C2=A0 Look for the subject =E2=80=9C[Cose] Issue: Enc=
oding for a single recipient or structure=E2=80=9D<u></u><u></u></span></p>=
</div></div></div></div></div></div></div></blockquote></div><br></div>

--e89a8fb203487be43c0519bf46fa--


From nobody Tue Jun 30 14:54:35 2015
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8EAE01B32E6 for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 14:54:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jLHc6Yfj1_46 for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 14:54:21 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0731.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::731]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 805461B32E8 for <cose@ietf.org>; Tue, 30 Jun 2015 14:54:20 -0700 (PDT)
Received: from BL2PR03MB433.namprd03.prod.outlook.com (10.141.92.19) by BL2PR03MB435.namprd03.prod.outlook.com (10.141.92.24) with Microsoft SMTP Server (TLS) id 15.1.207.12; Tue, 30 Jun 2015 21:54:01 +0000
Received: from BL2PR03MB433.namprd03.prod.outlook.com ([10.141.92.19]) by BL2PR03MB433.namprd03.prod.outlook.com ([10.141.92.19]) with mapi id 15.01.0207.004; Tue, 30 Jun 2015 21:54:01 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [Cose] Review of draft-schaad-cose-msg-01
Thread-Index: AdCwuG36k7Yq5VJ4SCGK90wxv/T+IAANQXOAAKRsWeA=
Date: Tue, 30 Jun 2015 21:54:01 +0000
Message-ID: <BL2PR03MB433057E1E27B134F9775A89F5A90@BL2PR03MB433.namprd03.prod.outlook.com>
References: <BY2PR03MB442E3A163870ADE7AAABCF5F5AC0@BY2PR03MB442.namprd03.prod.outlook.com> <000201d0b0ed$755707c0$60051740$@augustcellars.com>
In-Reply-To: <000201d0b0ed$755707c0$60051740$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: augustcellars.com; dkim=none (message not signed) header.d=none;
x-originating-ip: [2001:4898:80e0:ee43::6]
x-microsoft-exchange-diagnostics: 1; BL2PR03MB435; 5:jv3U7E2aERSB3FPAcrEBB/vI128wiuDKaFGDm3tMmunzWY0XRQNTKB+PRvGTg66tsiI6dp8zWe6aREm1MUhv/SnaL777IRbSmeOA6pHyfAP/sgFW7cz2KhAYmFgJ0cN34AjQ1H6OJA7agV1sWtuEFw==; 24:T4B+W2kYcNHlUK9IEbr5mNv1vdZYN/hgy0ogC88l3IIhz2HzUUiYxoDffs5tFAeC9VQY5pOXLzyRMTH4d8248UmucbxQa4fxkMYCwV5oEnQ=; 20:6x7MjCU6sA/PNZ8L4H0r+B0qa+xoeqDwWoY9S7wi6gmql4MmygiIGOO4BmGNEyU1Pzr1FlFLpUqTL/i+ZxJZjg==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB435;
x-microsoft-antispam-prvs: <BL2PR03MB435F4CD40A2DF6522C4ECBCF5A90@BL2PR03MB435.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BL2PR03MB435; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB435; 
x-forefront-prvs: 06237E4555
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(979002)(76104003)(60444003)(377454003)(46034005)(74316001)(54356999)(5001960100002)(19617315012)(107886002)(5003600100002)(102836002)(33656002)(87936001)(19580395003)(575784001)(77156002)(62966003)(19625215002)(77096005)(19580405001)(86362001)(46102003)(2656002)(2950100001)(40100003)(76176999)(50986999)(15975445007)(122556002)(189998001)(92566002)(19609705001)(230783001)(16236675004)(2900100001)(5001770100001)(5002640100001)(2501003)(99286002)(76576001)(86612001)(19300405004)(3826002)(579004)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR03MB435; H:BL2PR03MB433.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; 
Content-Type: multipart/alternative; boundary="_000_BL2PR03MB433057E1E27B134F9775A89F5A90BL2PR03MB433namprd_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jun 2015 21:54:01.3216 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB435
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/vhtNyI7XWLreKTlTa1ITxbdj1ko>
Subject: Re: [Cose] Review of draft-schaad-cose-msg-01
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2015 21:54:34 -0000

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

Jim, is the discussion you're referring to for my issue 2 the thread "Key m=
anagement in the World of COSE" or is there an additional thread you're ref=
erring to?

From: Jim Schaad [mailto:ietf@augustcellars.com]
Sent: Saturday, June 27, 2015 8:25 AM
To: Mike Jones; cose@ietf.org
Subject: RE: [Cose] Review of draft-schaad-cose-msg-01



From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Mike Jones
Sent: Saturday, June 27, 2015 2:07 AM
To: cose@ietf.org<mailto:cose@ietf.org>
Subject: [Cose] Review of draft-schaad-cose-msg-01

In response to the call for adoption, I'm submitting the following review f=
eedback on draft-schaad-cose-msg-01<http://tools.ietf.org/html/draft-schaad=
-cose-msg-01>.  Most of the major comments are motivated by the goal of "ke=
eping simple things simple".  Particularly in constrained environments, it'=
s likely to be normal for implementations to use only the parts of COSE the=
y their application needs.  I believe that we should therefore optimize the=
 representations we define for the common cases, while making it possible t=
o also gracefully accommodate less common, if possibly more general cases a=
s well.

Also, given my role as a designer and editor of the JOSE specs, I'll say ex=
plicitly that it's not my goal to try to have all the decisions in COSE exa=
ctly mirror those in JOSE.  Some things can clearly be simplified for COSE,=
 and I'm all for that.  I plan to consider each issue on its individual mer=
its.  That said, here's my review...

MAJOR ISSUES

1.  Representations should be optimized for the single recipient case.

In JOSE, going into IESG review, "signatures" or "recipients" arrays were r=
equired for the JSON Serializations, with only general multi-signature/mult=
i-recipient representations being defined for JWS and JWE.  Based on feedba=
ck from numerous developers who were using JOSE for use cases that only eve=
r used a single signature or recipient, Richard Barnes asked that the Flatt=
ened serializations be added to optimize for the common single signature/re=
cipient cases.  Based on this developer feedback, we did this.

Unless we do the same for COSE, I'm sure we'll receive the same feedback th=
at requiring the "recipients" array in use cases where it will always conta=
in one element is unnecessarily complicated.  We should do this now.

While the argument against this could be made that "it's even more complica=
ted to support both the flattened and general serializations than just the =
general one", I believe that in practice, this is a mostly specious argumen=
t.  Applications will choose or build an implementation that fits their use=
 case - either one that supports single or multiple recipients.  Applicatio=
n profiles will choose one or the other representation and will generally n=
ot call for both.

The way to achieve this is to define a flattened representation as JOSE did=
, in which header parameters about both the payload and the recipient are c=
arried in the top level "unprotected" and "protected" elements.

[JLS] This was discussed on the mailing list.  There are a number of trade-=
offs that were discussed.  Please review that discussion and see if you hav=
e something new to add.  Please remember that we are looking at both the me=
ssage size and the code size as criteria when making decisions.

2.  HMACs should be optimized for the no-key-management case.

Particularly for constrained devices, it is unlikely that applications will=
 want to pay the performance penalty of generating and encrypting a key man=
agement key to perform a MAC operation.  Heck, they may not have credible r=
andom number generation in the first place!  And they are likewise unlikely=
 to want to pay the message size penalty of carrying the encrypted key.

I'm fine with the optional ability to have key management for MACs, but the=
 default should be that no key management information is present in the rep=
resentation.  The only algorithm represented by default should be the MAC a=
lgorithm - not even "dir" (direct).  I suspect that this can be cleanly don=
e by omitting the key management layer entirely when it's not used, rather =
than explicitly using "dir" (direct).

[JLS] See above.

3.  Wrapped keys should be able to be represented as simply the wrapped key=
 value - not as an encrypted data structure with unnecessary information.

Key management keys are by definition ephemeral and so no metadata needs to=
 be carried about them.  Yes, the algorithm used to wrap the key needs to b=
e represented, but this is already represented separately from the wrapped =
key.

A simple way to achieve this is to define an encrypted_key field to represe=
nt the wrapped key, when appropriate for the algorithm.  Among other benefi=
ts, this will enable the use of the standard RFC 3394 AES Key Wrap algorith=
ms, in the same way that JOSE uses "A128KW", etc.

Note that if the working group chooses to, the ability to represent encrypt=
ed keys as data structures can also be retained in parallel to this simpler=
 approach.  Applications can then choose which method works best for them.

[JLS] I don't understand this comment.  This is not what the document says.

4.  Simpler and more comprehensible examples are needed.

I would include examples for the simplest and likely most common use cases:

*        HMAC without key management

*        Single signature

*        Encryption using AES Key Wrap for key management and AES GCM for c=
ontent encryption

Also, to be comprehensible to most readers, the examples need to include bo=
th symbolic and numeric identifiers for all fields.  Also, decoded represen=
tations for encoded values need to be shown.

For instance, the Direct MAC example in C.1 should be changed from beginnin=
g like this:

   {
     1: 3,
     2: h'a10104',
     4: h'546869732069732074686520636f6e74656e742e',
     10: h'2ba937ca03d76c3dbad30cfcbaeef586f9c0f9ba616ad67e9205d3857
   6ad9930',

to beginning like this:

   {
     1 (msg_type): 3 (MACed message),
     2 (protected): h'a10104' (alg:HS256),
     4 (payload): h'546869732069732074686520636f6e74656e742e',
     10 (tag): h'2ba937ca03d76c3dbad30cfcbaeef586f9c0f9ba616ad67e9205d3857
   6ad9930',

[JLS] More examples are on the way in the future.

MINOR ISSUES

These issues are organized by section number, providing comments on the spe=
c text in the order of appearance.  27 issues are described, labeled a, b, =
c, ... aa.  The section numbers and names in which they appear are included=
 in the write-up.

2.  The COSE_MSG structure

a.  Change:
   Implementations MUST be prepared to find an integer under this label
   which does not correspond to the values 1 to 3.  If this is found
   then the client MUST stop attempting to parse the structure and fail.
to:
   Implementations MUST be prepared to find an integer under this label
   which does not correspond to the values 1 to 3.  If this is found
   then the client MUST stop attempting to parse the structure and fail,
   unless it understands and implements the extension label value.

[JLS] I do not believe that this is required.  If you implement a new item,=
 then you don't have a pure implementation of this document and the clause =
is implicit.

b.  This syntax needs more explanation:
   COSE_Tagged_MSG =3D #6.999(COSE_MSG)   ; Replace 999 with TBD1

I assume that this is a use of http://tools.ietf.org/html/rfc7049#section-2=
.4 (Optional Tagging of Items), but you should explicitly say that.

[JLS]  This falls in to the question of normative reference on CDDL.  If it=
 is a normative reference, this is not necessary as you are expected to und=
erstand CDDL.  If CDDL is informational, then it would be required.

c.  Change:
   | ciphertext  | 4      | TODO: Should we re-use the same as payload |
   |             |        | or not?                                    |
to:
   | ciphertext  | 7      | For COSE_encrypt                           |

It's cleaner not to reuse the same label value for different semantic meani=
ngs.  If we do that, we might come to regret it as the spec evolves.  Besid=
es, it's not like using another short integer value here will cause us to r=
un out of them in this context.

[JLS]  The TODO is a marker for future discussion - There are both advantag=
es and disadvantages to re-using the same label.  On one hand, it is easy f=
or programs to always look in the same location for the content independent=
 of what type of content it is.  This may make things easier for items whic=
h have detached content depending on how the API handles this.  On the othe=
r hand, an API might want to have them separate.   I don't know what the an=
swer for this is yet.

d.  Change:
  These two buckets
   are available for use in all of the structures in this document
   except for keys.  While these buckets can be present, they may not
   all be usable in all instances.
to:
  These two buckets
   are defined for use in all of the structures in this document
   except for keys.  While these buckets are defined, they may not
   be usable or used in all instances.

The new text makes it clearer that "protected" and "unprotected" can't be i=
ncluded where their values can't be used.
[JLS] That text does not make it any clearer to me.

3.1.  COSE Headers

e.  Change:
  The field is used to indicate which protected header keys
      an application which is processing a message is required to
      understand.
to:
  The field is used to indicate which protected header keys
      defined by extensions to this specification that
      an application that is processing a message is required to
      understand.

The language should make it clear that "crit" is only for defining behavior=
 of critical extensions - not for making header parameters defined by this =
spec critical.
[JLS] This does not make things clearer tome.

f.  In Table 2, change:
   | jku      | *     | tstr     |           | URL to COSE key object  |
   |          |       |          |           |                         |
   | jwk      | *     | COSE_Key |           | contains a COSE key not |
   |          |       |          |           | a JWK key               |
   |          |       |          |           |                         |
to:
   | jku      | *     | tstr     |           | URL to JWK [RFC 7517]   |
   |          |       |          |           |                         |
  | cku      | *     | tstr     |           | URL to COSE key object  |
   |          |       |          |           |                         |
   | ck       | *     | COSE_Key |           | contains a COSE key     |
   |          |       |          |           |                         |

It still makes sense to be able to represent URLs to JWK and COSE Key objec=
ts.  But we shouldn't call the COSE Key passed by value "jwk", since that's=
 misleading.
[JLS] Thus the open issue marker.

g.     Open Issue 1.  Which of the following items do we want to have stand=
ardized in
       this document: jku, jwk, x5c, x5t, x5t#S256, x5u, zip?

I would keep all of them, other than changing "jku" and "jwk" to "jku", "ck=
u", and "ck" per (f) above.
[JLS] This will be a discussion issue.

h.  Open Issue 2.  I am currently torn on the question "Should epk and iv/n=
once be
       algorithm specific or generic headers?"

I would define common labels for them since they are commonly used across m=
ultiple algorithms.

4.  Signing Structure


i.                 The description of "protected" says "The field MUST NOT =
hold attributes about the payload being signed".  Assuming that a flattened=
 syntax is added, this would then become something like "The field MUST NOT=
 hold attributes about the payload being signed unless the flattened serial=
ization is being used".  Other related statements throughout the document w=
ould likewise need to be similarly updated.
[JLS] But it is not current added - so this is not currently an actionable =
statement.

j.  The end of the signing section says:
   In addition to performing the signature verification, one must also
   perform the appropriate checks to ensure that the key is correctly
   paired with the signing identity and that the appropriate
   authorization is done.

There needs to be a reference to a place where the process of verifying the=
 key's association with the signing identity is described.  Particular meth=
ods are clearly beyond the scope of this specification but saying this litt=
le about the process will likely just leave many people confused.
[JLS] What do you think this should reference?

5.  Encryption Object

k.  The introduction to this section says:
   In this section we describe the structure and methods to be used when
   doing an encryption in COSE.  In COSE, we use the same techniques and
   structures for encrypting both the plain text and the keys used to
  protect the text.  This is different from the approach used by both
   [RFC5652] and [RFC7516] where different structures are used for the
   plain text and for the different key management techniques.

I'll note that if issue 3 is resolved (Wrapped keys should be able to be re=
presented as simply the wrapped key value), this paragraph will have to be =
revised accordingly.
[JLS] But currently not an actionable statement.

l.  A generic "iv" (initialization vector) field should also be defined in =
the list of parameters for the encryption object.  Yes, not all algorithms =
will use it, but many will.

m.  A "tag" (authentication tag) field should be defined in the list of par=
ameters for the encryption object.  Yes, not all the algorithms will use it=
, but many will.
[JLS] Maybe true for 'iv', however 'tag' is part of the ciphertext.

5.1.1.  Direct Encryption

n.  The spec says:
   o  At a minimum, the 'unprotected' field MUST contain the 'alg'
      parameter and SHOULD contain a parameter identifying the shared
      secret.

SHOULD is too strong here because in some protocols, the shared secret will=
 already be known by methods other than an included "kid" or other key sele=
ction value.  A "SHOULD ... unless ..." construct like was used in similar =
JOSE descriptions is probably the right thing to use here.
[JLS] The ...unless... clause is confusing as hell so I do not plan to incl=
ude it.  The definition of SHOULD means that put it there unless you have a=
 good reason not to do so.

6.  MAC Objects

o.  The "How to compute a MAC" instructions say:
   5.  Encrypt and encode the MAC key for each recipient of the message.

This is not correct when direct key management or no key management is used=
.  Please revise to accurately include these cases as well.
[JLS} This is correct for the current document.

7.  Key Structure

p.  The spec says:
   The "key_ops" element is preferred over the "use" element as the
   information provided that way is more finely detailed about the
   operations allowed.  It is strongly suggested that this element be
   present for all keys.

Like in (n), the application may know the key usage from application contex=
t, rendering the inclusion of "key_ops" unnecessary.  Language something li=
ke "It is strongly suggested that this element be present for all keys unle=
ss this information is already know to the application through other means"=
 should be used to capture this.

The working group should also discuss whether it wants to carry forward "us=
e" for JWK compatibility, even if it is deprecated.  I personally would be =
in favor of doing so.
[JLS] If you think this, then please open it as a discussion issue.  I don'=
t see any good use for it that is not better served by 'key_ops'.  This is =
doubly true given that the W3C Crypto group

q.  I would define short numeric values that correspond to the defines "key=
_ops" string values.  I'd do the same for the "use" values.
[JLS] Yes this will be happening going forward.

8.  CBOR Encoder Restrictions

r.  The spec says:
   o  All parsers used SHOULD fail on both parsing and generation if the
      same label is used twice as a key for the same map.

I would strongly prefer that the "SHOULD" be changed to "MUST".  CBOR doesn=
't have the same legacy of lax parsers that we inherited from JavaScript/EC=
MAscript for JSON.  Let's not open the door to them!

9.5  COSE Algorithm Registry

s.  I would add an additional "JOSE algorithm name" field to this registry,=
 whose value is the corresponding "Algorithm Name" entry in the IANA JSON W=
eb Signature and Encryption Algorithms registry at http://www.iana.org/assi=
gnments/jose/jose.xhtml#web-signature-encryption-algorithms, if such an ent=
ry exists.  This will tie the two registries together so that definitions o=
f algorithms already defined by JOSE need not be repeated for COSE.

In many cases then, the COSE algorithms draft (or section) can just cite th=
e definition in RFC 7518 and register the corresponding short numeric label=
 for COSE use.
[JLS] Do we have a reason to believe that COSE implementers are going to ha=
ve a larger overlap with JOSE implementers?

9.8.1  COSE Security Message

t.  Besides registering the MIME type "application/cose", I would also regi=
ster one for a base64url encoded COSE message - an idea first described to =
me by Joe Hildebrand.  It could be called "application/cose+base64url" or s=
omething of that ilk.
[JLS]  I would expect the media-type reviewers to object to that because th=
is is a transport encoding not a content encoding.  Do you have a reason to=
 believe otherwise?

9.8.2  COSE Key Media Type

u.  "application/jwk+json" should be changed to something like "application=
/cose-key" and "application/jwk-set+json" should be changed to something li=
ke "application/cose-key-set".

11.2.  Informative References

v.  The date on the AES-GCM reference (SP 800-38D) should be November 2007 =
- not June 2015.

Appendix A.  AEAD and AE Algorithms

w.  The spec says:
  This authentication value may be:
   o  A separately generated tag computed by both the encrypter and
      decrypter and then compared by the decryptor.  This tag value may
      be either placed at the end of the cipher text (the decision we
      made) or kept separately (the decision made by the JOSE working
      group).  This is the approach followed by AES-GCM [AES-GCM] and
      AES-CCM [RFC3610].

The last sentence is not true, as written.  The AES-GCM spec describes "the=
 ciphertext and tag outputs" - not a single combined output.  Common implem=
entations correspond to this, such as the implementation of GCM in .NET.

The CCM description in RFC 3610 Section 2.4 describes the output using the =
text "The final result c consists of the encrypted message followed by the =
encrypted authentication value U", which admits either implementation.  Lik=
ewise, at least the .NET CCM implementation produces separate ciphertext an=
d authentication tag values.

Whether the tag should be separate or automatically appended to the ciphert=
ext isn't a hill I'm going to die on (although the working group should dis=
cuss this and make an explicit decision in this regard), but the text descr=
ibing the decision should at least be changed to be accurate.

[JLS] Wrong reference -will correct.

Appendix C.  Examples

x.  The uses of strings and corresponding labels such as those that follow =
are confusing - especially since key ID values are binary in COSE.  A fragm=
ent of such an example that confused me was:
         3: {
           5: "bilbo.baggins@hobbiton.example<mailto:bilbo.baggins@hobbiton=
.example>"
         },

There are similar strings in some of the other examples that I also couldn'=
t wrap my head around.
[JLS] My code does not match the spec here.  Originally they were strings.

Appendix D.  COSE Header Algorithm Label Table

y.  I would change the term "Header Algorithm" to "Header Parameter".  (I s=
uspect this was a cut-and-paste error.)
[JLS] I have not settled on a consistent set of terms for this yet.  I need=
 to do so and then make a pass to correct them all.  I don't think that som=
e of the terms I am currently using are sufficiently distinct to make it ea=
sy to figure things out.

z.  In Appendix D and Appendix E, I would call out that the names in the "n=
ame" columns correspond to names defined in RFC 7518.
[JLS] These tables are disappearing as part of the add the algorithms to th=
e document exercise.

Appendix F.  COSE General Values

aa.  This seems confused, as it mixes "kty" values (EC=3D1, RSA=3D2, oct=3D=
3) with curve values (P256=3D4, P521=3D5).  I would keep these separate.  A=
lso, wherever the curve names are defined, I would also include P384, as JO=
SE did.
[JLS] That may happen in the future.  I just needed a table to put things i=
n for now.

NITS

I will be submitting spelling and grammar corrections as a GitHub pull requ=
est against the spec repository rather than detail them here.  I'll post th=
e pull request link once it's been created.

CONCLUSIONS

I'd like to thank Jim for doing the work to produce a well-thought-out init=
ial draft.  I believe it provides a solid starting point for the COSE work.

I'd be willing to produce specific proposed edits for any/all of the above =
issues and comments, should the editors find that useful.

                                                            Best wishes,
                                                            -- Mike


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

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0in;
	margin-right:0in;
	margin-bottom:0in;
	margin-left:.5in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle18
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle19
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle20
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Jim, is the discussion=
 you&#8217;re referring to for my issue 2 the thread &#8220;Key management =
in the World of COSE&#8221; or is there an additional thread you&#8217;re r=
eferring to?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Jim Scha=
ad [mailto:ietf@augustcellars.com]
<br>
<b>Sent:</b> Saturday, June 27, 2015 8:25 AM<br>
<b>To:</b> Mike Jones; cose@ietf.org<br>
<b>Subject:</b> RE: [Cose] Review of draft-schaad-cose-msg-01<o:p></o:p></s=
pan></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in =
0in 0in">
<p class=3D"MsoNormal"><b>From:</b> Cose [<a href=3D"mailto:cose-bounces@ie=
tf.org">mailto:cose-bounces@ietf.org</a>]
<b>On Behalf Of </b>Mike Jones<br>
<b>Sent:</b> Saturday, June 27, 2015 2:07 AM<br>
<b>To:</b> <a href=3D"mailto:cose@ietf.org">cose@ietf.org</a><br>
<b>Subject:</b> [Cose] Review of draft-schaad-cose-msg-01<o:p></o:p></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In response to the call for adoption, I&#8217;m subm=
itting the following review feedback on
<a href=3D"http://tools.ietf.org/html/draft-schaad-cose-msg-01">draft-schaa=
d-cose-msg-01</a>.&nbsp; Most of the major comments are motivated by the go=
al of &#8220;keeping simple things simple&#8221;.&nbsp; Particularly in con=
strained environments, it&#8217;s likely to be normal for implementations
 to use only the parts of COSE they their application needs.&nbsp; I believ=
e that we should therefore optimize the representations we define for the c=
ommon cases, while making it possible to also gracefully accommodate less c=
ommon, if possibly more general cases
 as well.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Also, given my role as a designer and editor of the =
JOSE specs, I&#8217;ll say explicitly that it&#8217;s not my goal to try to=
 have all the decisions in COSE exactly mirror those in JOSE.&nbsp; Some th=
ings can clearly be simplified for COSE, and I&#8217;m all
 for that.&nbsp; I plan to consider each issue on its individual merits.&nb=
sp; That said, here&#8217;s my review&#8230;<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><b>MAJOR ISSUES<o:p></o:p></b></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><b>1.&nbsp; Representations should be optimized for =
the single recipient case.<o:p></o:p></b></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In JOSE, going into IESG review, &#8220;signatures&#=
8221; or &#8220;recipients&#8221; arrays were required for the JSON Seriali=
zations, with only general multi-signature/multi-recipient representations =
being defined for JWS and JWE.&nbsp; Based on feedback from numerous
 developers who were using JOSE for use cases that only ever used a single =
signature or recipient, Richard Barnes asked that the Flattened serializati=
ons be added to optimize for the common single signature/recipient cases.&n=
bsp; Based on this developer feedback,
 we did this.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Unless we do the same for COSE, I&#8217;m sure we&#8=
217;ll receive the same feedback that requiring the &#8220;recipients&#8221=
; array in use cases where it will always contain one element is unnecessar=
ily complicated.&nbsp; We should do this now.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">While the argument against this could be made that &=
#8220;it&#8217;s even more complicated to support both the flattened and ge=
neral serializations than just the general one&#8221;, I believe that in pr=
actice, this is a mostly specious argument.&nbsp; Applications
 will choose or build an implementation that fits their use case &#8211; ei=
ther one that supports single or multiple recipients.&nbsp; Application pro=
files will choose one or the other representation and will generally not ca=
ll for both.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The way to achieve this is to define a flattened rep=
resentation as JOSE did, in which header parameters about both the payload =
and the recipient are carried in the top level &#8220;unprotected&#8221; an=
d &#8220;protected&#8221; elements.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS] This was discussed o=
n the mailing list.&nbsp; There are a number of trade-offs that were discus=
sed.&nbsp; Please review that discussion and see if you have something new =
to add.&nbsp; Please remember that we are looking at
 both the message size and the code size as criteria when making decisions.=
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><b>2.&nbsp; HMACs should be optimized for the no-key=
-management case.<o:p></o:p></b></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Particularly for constrained devices, it is unlikely=
 that applications will want to pay the performance penalty of generating a=
nd encrypting a key management key to perform a MAC operation.&nbsp; Heck, =
they may not have credible random number
 generation in the first place!&nbsp; And they are likewise unlikely to wan=
t to pay the message size penalty of carrying the encrypted key.<o:p></o:p>=
</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I&#8217;m fine with the optional ability to have key=
 management for MACs, but the default should be that no key management info=
rmation is present in the representation.&nbsp; The only algorithm represen=
ted by default should be the MAC algorithm &#8211;
 not even &#8220;dir&#8221; (direct).&nbsp; I suspect that this can be clea=
nly done by omitting the key management layer entirely when it&#8217;s not =
used, rather than explicitly using &#8220;dir&#8221; (direct).<o:p></o:p></=
p>
<p class=3D"MsoNormal"><span style=3D"color:red"><o:p>&nbsp;</o:p></span></=
p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS] See above.<o:p></o:p=
></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><b>3.&nbsp; Wrapped keys should be able to be repres=
ented as simply the wrapped key value &#8211; not as an encrypted data stru=
cture with unnecessary information.<o:p></o:p></b></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Key management keys are by definition ephemeral and =
so no metadata needs to be carried about them.&nbsp; Yes, the algorithm use=
d to wrap the key needs to be represented, but this is already represented =
separately from the wrapped key.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">A simple way to achieve this is to define an encrypt=
ed_key field to represent the wrapped key, when appropriate for the algorit=
hm.&nbsp; Among other benefits, this will enable the use of the standard RF=
C 3394 AES Key Wrap algorithms, in the
 same way that JOSE uses &#8220;A128KW&#8221;, etc.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Note that if the working group chooses to, the abili=
ty to represent encrypted keys as data structures can also be retained in p=
arallel to this simpler approach.&nbsp; Applications can then choose which =
method works best for them.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS] I don&#8217;t unders=
tand this comment.&nbsp; This is not what the document says.<o:p></o:p></sp=
an></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><b>4.&nbsp; Simpler and more comprehensible examples=
 are needed.<o:p></o:p></b></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I would include examples for the simplest and likely=
 most common use cases:<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in"><span style=3D"f=
ont-family:Symbol">&middot;</span><span style=3D"font-size:7.0pt;font-famil=
y:&quot;Times New Roman&quot;,&quot;serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;
</span>HMAC without key management<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in"><span style=3D"f=
ont-family:Symbol">&middot;</span><span style=3D"font-size:7.0pt;font-famil=
y:&quot;Times New Roman&quot;,&quot;serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;
</span>Single signature<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-.25in"><span style=3D"f=
ont-family:Symbol">&middot;</span><span style=3D"font-size:7.0pt;font-famil=
y:&quot;Times New Roman&quot;,&quot;serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;
</span>Encryption using AES Key Wrap for key management and AES GCM for con=
tent encryption<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Also, to be comprehensible to most readers, the exam=
ples need to include both symbolic and numeric identifiers for all fields.&=
nbsp; Also, decoded representations for encoded values need to be shown.<o:=
p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">For instance, the Direct MAC example in C.1 should b=
e changed from beginning like this:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; {<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp; 1: 3,<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp; 2: h'a10104',<o:p></o:p></p=
>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp; 4: h'5468697320697320746865=
20636f6e74656e742e',<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp; 10: h'2ba937ca03d76c3dbad30=
cfcbaeef586f9c0f9ba616ad67e9205d3857<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; 6ad9930',<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">to beginning like this:<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; {<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp; 1 (msg_type): 3 (MACed mess=
age),<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp; 2 (protected): h'a10104' (a=
lg:HS256),<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp; 4 (payload): h'546869732069=
732074686520636f6e74656e742e',<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp; 10 (tag): h'2ba937ca03d76c3=
dbad30cfcbaeef586f9c0f9ba616ad67e9205d3857<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; 6ad9930',<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS] More examples are on=
 the way in the future.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><b>MINOR ISSUES<o:p></o:p></b></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">These issues are organized by section number, provid=
ing comments on the spec text in the order of appearance.&nbsp; 27 issues a=
re described, labeled a, b, c, &#8230; aa.&nbsp; The section numbers and na=
mes in which they appear are included in the write-up.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">2.&nbsp; The COSE_MSG structure<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">a.&nbsp; Change:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; Implementations MUST be prepared to find an integer under this=
 label<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; which does not correspond to the values 1 to 3.&nbsp; If this =
is found<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; then the client MUST stop attempting to parse the structure an=
d fail.<o:p></o:p></span></p>
<p class=3D"MsoNormal">to:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; Implementations MUST be prepared to find an integer under this=
 label<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; which does not correspond to the values 1 to 3.&nbsp; If this =
is found<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; then the client MUST stop attempting to parse the structure an=
d fail,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; unless it understands and implements the extension label value=
.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
<o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;;c=
olor:red">[JLS] I do not believe that this is required.&nbsp; If you implem=
ent a new item, then you don&#8217;t have a pure implementation of this doc=
ument and the clause is implicit.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">b.&nbsp; This syntax needs more explanation:<o:p></o=
:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp; COSE_Tagged_MSG =3D #6.999(COSE_MSG)&nb=
sp;&nbsp; ; Replace 999 with TBD1<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I assume that this is a use of <a href=3D"http://too=
ls.ietf.org/html/rfc7049#section-2.4">
http://tools.ietf.org/html/rfc7049#section-2.4</a> (Optional Tagging of Ite=
ms), but you should explicitly say that.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS]&nbsp; This falls in =
to the question of normative reference on CDDL.&nbsp; If it is a normative =
reference, this is not necessary as you are expected to understand CDDL.&nb=
sp; If CDDL is informational, then it would be required.<o:p></o:p></span><=
/p>
<p class=3D"MsoNormal"><span style=3D"color:red"><o:p>&nbsp;</o:p></span></=
p>
<p class=3D"MsoNormal">c.&nbsp; Change:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; | ciphertext&nbsp; | 4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | TODO: S=
hould we re-use the same as payload |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | or not?&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal">to:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; | ciphertext&nbsp; | 7&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | For COS=
E_encrypt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">It&#8217;s cleaner not to reuse the same label value=
 for different semantic meanings.&nbsp; If we do that, we might come to reg=
ret it as the spec evolves.&nbsp; Besides, it&#8217;s not like using anothe=
r short integer value here will cause us to run out of them
 in this context.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS]&nbsp; The TODO is a =
marker for future discussion &#8211; There are both advantages and disadvan=
tages to re-using the same label.&nbsp; On one hand, it is easy for program=
s to always look in the same location for the content
 independent of what type of content it is.&nbsp; This may make things easi=
er for items which have detached content depending on how the API handles t=
his.&nbsp; On the other hand, an API might want to have them separate.&nbsp=
;&nbsp; I don&#8217;t know what the answer for this is yet.<o:p></o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:red"><o:p>&nbsp;</o:p></span></=
p>
<p class=3D"MsoNormal">d.&nbsp; Change:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp; These two buckets<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; are available for use in all of the structures in this documen=
t<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; except for keys.&nbsp; While these buckets can be present, the=
y may not<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; all be usable in all instances.<o:p></o:p></span></p>
<p class=3D"MsoNormal">to:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp; These two buckets<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; are defined for use in all of the structures in this document<=
o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; except for keys.&nbsp; While these buckets are defined, they m=
ay not<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; be usable or used in all instances.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
<o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal">The new text makes it clearer that &#8220;protected&=
#8221; and &#8220;unprotected&#8221; can&#8217;t be included where their va=
lues can&#8217;t be used.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS] That text does not m=
ake it any clearer to me.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">3.1.&nbsp; COSE Headers<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">e.&nbsp; Change:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp; The field is used to indicate which protected header keys<o:p></o:p>=
</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; an application which is processing a message=
 is required to<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; understand.<o:p></o:p></span></p>
<p class=3D"MsoNormal">to:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp; The field is used to indicate which protected header keys<o:p></o:p>=
</span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; defined by extensions to this specification =
that<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; an application that is processing a message =
is required to<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; understand.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The language should make it clear that &#8220;crit&#=
8221; is only for defining behavior of critical extensions &#8211; not for =
making header parameters defined by this spec critical.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS] This does not make t=
hings clearer tome.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">f.&nbsp; In Table 2, change:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; | jku&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | *&nbsp;&nbsp;&nbsp;&nbsp=
; | tstr&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; | URL to COSE key object&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;|<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; | jwk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | *&nbsp;&nbsp;&nbsp;&nbsp=
; | COSE_Key |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
| contains a COSE key not |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
| a JWK key&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:=
p></o:p></span></p>
<p class=3D"MsoNormal">to:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; | jku&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | *&nbsp;&nbsp;&nbsp;&nbsp=
; | tstr&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp; | URL to JWK [RFC 7517] &nbsp;&nbsp;|<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;|<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;| cku&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | *&nbsp;&nbsp;&nbsp;&nbsp;=
 | tstr&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp; | URL to COSE key object&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;|<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; | ck&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;| *&nbsp;&nbsp;&nbsp;=
&nbsp; | COSE_Key |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp; | contains a COSE key&nbsp;&nbsp;&nbsp;&nbsp; |<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">It still makes sense to be able to represent URLs to=
 JWK and COSE Key objects.&nbsp; But we shouldn&#8217;t call the COSE Key p=
assed by value &#8220;jwk&#8221;, since that&#8217;s misleading.<o:p></o:p>=
</p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS] Thus the open issue =
marker.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:red"><o:p>&nbsp;</o:p></span></=
p>
<p class=3D"MsoNormal">g.&nbsp; &nbsp;&nbsp;&nbsp;Open Issue 1.&nbsp; Which=
 of the following items do we want to have standardized in<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this document: =
jku, jwk, x5c, x5t, x5t#S256, x5u, zip?<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I would keep all of them, other than changing &#8220=
;jku&#8221; and &#8220;jwk&#8221; to &#8220;jku&#8221;, &#8220;cku&#8221;, =
and &#8220;ck&#8221; per (f) above.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS] This will be a discu=
ssion issue.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">h.&nbsp; Open Issue 2.&nbsp; I am currently torn on =
the question &quot;Should epk and iv/nonce be<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; algorithm speci=
fic or generic headers?&quot;<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I would define common labels for them since they are=
 commonly used across multiple algorithms.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">4.&nbsp; Signing Structure<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoListParagraph" style=3D"margin-left:.75in;text-indent:-.5in"=
>i.<span style=3D"font-size:7.0pt;font-family:&quot;Times New Roman&quot;,&=
quot;serif&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>The description of &#8220;protected&#8221; says &#8220;The field MUS=
T NOT hold attributes about the payload being signed&#8221;.&nbsp; Assuming=
 that a flattened syntax is added, this would then become something like &#=
8220;The field MUST NOT hold attributes about the payload being signed
 unless the flattened serialization is being used&#8221;.&nbsp; Other relat=
ed statements throughout the document would likewise need to be similarly u=
pdated.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS] But it is not curren=
t added &#8211; so this is not currently an actionable statement.<o:p></o:p=
></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">j.&nbsp; The end of the signing section says:<o:p></=
o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; In addition to performing the signature verification, one must=
 also<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; perform the appropriate checks to ensure that the key is corre=
ctly<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; paired with the signing identity and that the appropriate<o:p>=
</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; authorization is done.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">There needs to be a reference to a place where the p=
rocess of verifying the key&#8217;s association with the signing identity i=
s described.&nbsp; Particular methods are clearly beyond the scope of this =
specification but saying this little about the
 process will likely just leave many people confused.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS] What do you think th=
is should reference?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">5.&nbsp; Encryption Object<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">k.&nbsp; The introduction to this section says:<o:p>=
</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; In this section we describe the structure and methods to be us=
ed when<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; doing an encryption in COSE.&nbsp; In COSE, we use the same te=
chniques and<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; structures for encrypting both the plain text and the keys use=
d to<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;protect the text.&nbsp; This is different from the approach use=
d by both<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; [RFC5652] and [RFC7516] where different structures are used fo=
r the<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; plain text and for the different key management techniques.<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I&#8217;ll note that if issue 3 is resolved (<b>Wrap=
ped keys should be able to be represented as simply the wrapped key value</=
b>), this paragraph will have to be revised accordingly.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS] But currently not an=
 actionable statement.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">l.&nbsp; A generic &#8220;iv&#8221; (initialization =
vector) field should also be defined in the list of parameters for the encr=
yption object.&nbsp; Yes, not all algorithms will use it, but many will.<o:=
p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">m.&nbsp; A &#8220;tag&#8221; (authentication tag) fi=
eld should be defined in the list of parameters for the encryption object.&=
nbsp; Yes, not all the algorithms will use it, but many will.<o:p></o:p></p=
>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS] Maybe true for &#821=
6;iv&#8217;, however &#8216;tag&#8217; is part of the ciphertext.<o:p></o:p=
></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">5.1.1.&nbsp; Direct Encryption<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">n.&nbsp; The spec says:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; o&nbsp; At a minimum, the 'unprotected' field MUST contain the=
 'alg'<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; parameter and SHOULD contain a parameter ide=
ntifying the shared<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; secret.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">SHOULD is too strong here because in some protocols,=
 the shared secret will already be known by methods other than an included =
&#8220;kid&#8221; or other key selection value.&nbsp; A &#8220;SHOULD &#823=
0; unless &#8230;&#8221; construct like was used in similar JOSE descriptio=
ns
 is probably the right thing to use here.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS] The &#8230;unless&#8=
230; clause is confusing as hell so I do not plan to include it.&nbsp; The =
definition of SHOULD means that put it there unless you have a good reason =
not to do so.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">6.&nbsp; MAC Objects<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">o.&nbsp; The &#8220;How to compute a MAC&#8221; inst=
ructions say:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; 5.&nbsp; Encrypt and encode the MAC key for each recipient of =
the message.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">This is not correct when direct key management or no=
 key management is used.&nbsp; Please revise to accurately include these ca=
ses as well.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS} This is correct for =
the current document.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">7.&nbsp; Key Structure<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">p.&nbsp; The spec says:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; The &quot;key_ops&quot; element is preferred over the &quot;us=
e&quot; element as the<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; information provided that way is more finely detailed about th=
e<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; operations allowed.&nbsp; It is strongly suggested that this e=
lement be<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; present for all keys.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Like in (n), the application may know the key usage =
from application context, rendering the inclusion of &#8220;key_ops&#8221; =
unnecessary.&nbsp; Language something like &#8220;It is strongly suggested =
that this element be present for all keys unless this information
 is already know to the application through other means&#8221; should be us=
ed to capture this.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The working group should also discuss whether it wan=
ts to carry forward &#8220;use&#8221; for JWK compatibility, even if it is =
deprecated.&nbsp; I personally would be in favor of doing so.<o:p></o:p></p=
>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS] If you think this, t=
hen please open it as a discussion issue.&nbsp; I don&#8217;t see any good =
use for it that is not better served by &#8216;key_ops&#8217;.&nbsp; This i=
s doubly true given that the W3C Crypto group<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">q.&nbsp; I would define short numeric values that co=
rrespond to the defines &#8220;key_ops&#8221; string values.&nbsp; I&#8217;=
d do the same for the &#8220;use&#8221; values.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS] Yes this will be hap=
pening going forward.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">8.&nbsp; CBOR Encoder Restrictions<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">r.&nbsp; The spec says:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; o&nbsp; All parsers used SHOULD fail on both parsing and gener=
ation if the<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; same label is used twice as a key for the sa=
me map.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I would strongly prefer that the &#8220;SHOULD&#8221=
; be changed to &#8220;MUST&#8221;.&nbsp; CBOR doesn&#8217;t have the same =
legacy of lax parsers that we inherited from JavaScript/ECMAscript for JSON=
.&nbsp; Let&#8217;s not open the door to them!<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">9.5&nbsp; COSE Algorithm Registry<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">s.&nbsp; I would add an additional &#8220;JOSE algor=
ithm name&#8221; field to this registry, whose value is the corresponding &=
#8220;Algorithm Name&#8221; entry in the IANA JSON Web Signature and Encryp=
tion Algorithms registry at
<a href=3D"http://www.iana.org/assignments/jose/jose.xhtml#web-signature-en=
cryption-algorithms">
http://www.iana.org/assignments/jose/jose.xhtml#web-signature-encryption-al=
gorithms</a>, if such an entry exists.&nbsp; This will tie the two registri=
es together so that definitions of algorithms already defined by JOSE need =
not be repeated for COSE.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In many cases then, the COSE algorithms draft (or se=
ction) can just cite the definition in RFC 7518 and register the correspond=
ing short numeric label for COSE use.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS] Do we have a reason =
to believe that COSE implementers are going to have a larger overlap with J=
OSE implementers?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">9.8.1&nbsp; COSE Security Message<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">t.&nbsp; Besides registering the MIME type &#8220;ap=
plication/cose&#8221;, I would also register one for a base64url encoded CO=
SE message &#8211; an idea first described to me by Joe Hildebrand.&nbsp; I=
t could be called &#8220;application/cose&#43;base64url&#8221; or something=
 of
 that ilk.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS]&nbsp; I would expect=
 the media-type reviewers to object to that because this is a transport enc=
oding not a content encoding.&nbsp; Do you have a reason to believe otherwi=
se?<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">9.8.2&nbsp; COSE Key Media Type<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">u.&nbsp; &#8220;application/jwk&#43;json&#8221; shou=
ld be changed to something like &#8220;application/cose-key&#8221; and &#82=
20;application/jwk-set&#43;json&#8221; should be changed to something like =
&#8220;application/cose-key-set&#8221;.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">11.2.&nbsp; Informative References<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">v.&nbsp; The date on the AES-GCM reference (SP 800-3=
8D) should be November 2007 &#8211; not June 2015.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Appendix A.&nbsp; AEAD and AE Algorithms<o:p></o:p><=
/p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">w.&nbsp; The spec says:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp; This authentication value may be:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp; o&nbsp; A separately generated tag computed by both the encryp=
ter and<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; decrypter and then compared by the decryptor=
.&nbsp; This tag value may<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; be either placed at the end of the cipher te=
xt (the decision we<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; made) or kept separately (the decision made =
by the JOSE working<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; group).&nbsp; This is the approach followed =
by AES-GCM [AES-GCM] and<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AES-CCM [RFC3610].<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The last sentence is not true, as written.&nbsp; The=
 AES-GCM spec describes &#8220;<span style=3D"font-size:11.5pt">the ciphert=
ext and tag outputs</span>&#8221; &#8211; not a single combined output.&nbs=
p; Common implementations correspond to this, such as the implementation
 of GCM in .NET.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The CCM description in RFC 3610 Section 2.4 describe=
s the output using the text &#8220;The final result c consists of the encry=
pted message followed by the encrypted authentication value U&#8221;, which=
 admits either implementation.&nbsp; Likewise, at least
 the .NET CCM implementation produces separate ciphertext and authenticatio=
n tag values.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Whether the tag should be separate or automatically =
appended to the ciphertext isn&#8217;t a hill I&#8217;m going to die on (al=
though the working group should discuss this and make an explicit decision =
in this regard), but the text describing the decision
 should at least be changed to be accurate.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS] Wrong reference &#82=
11;will correct.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Appendix C.&nbsp; Examples<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">x.&nbsp; The uses of strings and corresponding label=
s such as those that follow are confusing &#8211; especially since key ID v=
alues are binary in COSE.&nbsp; A fragment of such an example that confused=
 me was:<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 3: {<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5: &quot;</spa=
n><a href=3D"mailto:bilbo.baggins@hobbiton.example"><span style=3D"font-fam=
ily:&quot;Courier New&quot;">bilbo.baggins@hobbiton.example</span></a><span=
 style=3D"font-family:&quot;Courier New&quot;">&quot;<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-family:&quot;Courier New&quot;">=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; },<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">There are similar strings in some of the other examp=
les that I also couldn&#8217;t wrap my head around.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS] My code does not mat=
ch the spec here.&nbsp; Originally they were strings.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Appendix D.&nbsp; COSE Header Algorithm Label Table<=
o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">y.&nbsp; I would change the term &#8220;Header Algor=
ithm&#8221; to &#8220;Header Parameter&#8221;.&nbsp; (I suspect this was a =
cut-and-paste error.)<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS] I have not settled o=
n a consistent set of terms for this yet.&nbsp; I need to do so and then ma=
ke a pass to correct them all.&nbsp; I don&#8217;t think that some of the t=
erms I am currently using are sufficiently distinct
 to make it easy to figure things out.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">z.&nbsp; In Appendix D and Appendix E, I would call =
out that the names in the &#8220;name&#8221; columns correspond to names de=
fined in RFC 7518.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS] These tables are dis=
appearing as part of the add the algorithms to the document exercise.<o:p><=
/o:p></span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Appendix F.&nbsp; COSE General Values<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">aa.&nbsp; This seems confused, as it mixes &#8220;kt=
y&#8221; values (EC=3D1, RSA=3D2, oct=3D3) with curve values (P256=3D4, P52=
1=3D5).&nbsp; I would keep these separate.&nbsp; Also, wherever the curve n=
ames are defined, I would also include P384, as JOSE did.<o:p></o:p></p>
<p class=3D"MsoNormal"><span style=3D"color:red">[JLS] That may happen in t=
he future.&nbsp; I just needed a table to put things in for now.<o:p></o:p>=
</span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><b>NITS<o:p></o:p></b></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I will be submitting spelling and grammar correction=
s as a GitHub pull request against the spec repository rather than detail t=
hem here. &nbsp;I&#8217;ll post the pull request link once it&#8217;s been =
created.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><b>CONCLUSIONS<o:p></o:p></b></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I&#8217;d like to thank Jim for doing the work to pr=
oduce a well-thought-out initial draft.&nbsp; I believe it provides a solid=
 starting point for the COSE work.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I&#8217;d be willing to produce specific proposed ed=
its for any/all of the above issues and comments, should the editors find t=
hat useful.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; Best wishes,<o:p></o:p></p>
<p class=3D"MsoNormal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p; -- Mike<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

--_000_BL2PR03MB433057E1E27B134F9775A89F5A90BL2PR03MB433namprd_--


From nobody Tue Jun 30 15:44:40 2015
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 271131B2A32 for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 15:44:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3KA7pCiSS5Lc for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 15:44:37 -0700 (PDT)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0146.outbound.protection.outlook.com [65.55.169.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A67151B332A for <cose@ietf.org>; Tue, 30 Jun 2015 15:44:36 -0700 (PDT)
Received: from BL2PR03MB434.namprd03.prod.outlook.com (10.141.92.22) by BL2PR03MB322.namprd03.prod.outlook.com (10.141.68.17) with Microsoft SMTP Server (TLS) id 15.1.201.11; Tue, 30 Jun 2015 22:44:35 +0000
Received: from BL2PR03MB433.namprd03.prod.outlook.com (10.141.92.19) by BL2PR03MB434.namprd03.prod.outlook.com (10.141.92.22) with Microsoft SMTP Server (TLS) id 15.1.207.12; Tue, 30 Jun 2015 22:44:33 +0000
Received: from BL2PR03MB433.namprd03.prod.outlook.com ([10.141.92.19]) by BL2PR03MB433.namprd03.prod.outlook.com ([10.141.92.19]) with mapi id 15.01.0207.004; Tue, 30 Jun 2015 22:44:33 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [Cose] Issue: Encoding for a single recipient or structure
Thread-Index: AdCDmTM3cpCIVDijSSWQU/yxCPpImgv5+bgA
Date: Tue, 30 Jun 2015 22:44:33 +0000
Message-ID: <BL2PR03MB433F667195C8A8436CBF05AF5A90@BL2PR03MB433.namprd03.prod.outlook.com>
References: <001b01d08399$434ab9b0$c9e02d10$@augustcellars.com>
In-Reply-To: <001b01d08399$434ab9b0$c9e02d10$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: augustcellars.com; dkim=none (message not signed) header.d=none;
x-originating-ip: [2001:4898:80e0:ee43::6]
x-microsoft-exchange-diagnostics: 1; BL2PR03MB434; 5:UUGydpJFRK7StuFkEpMJrVHTw3KF87Lu4ktkejm/Kq6mKqzf7rdx79qcNlpKedpxvktKkaYViV0eeMgQ0KWdo8z9gI5YZioVQ7lDEbCyReHcV/5FBkmNacb3o3ZNqt1y+oR1AfC11+SduhzR+oKyrw==; 24:YmO7zdLbXvuEmC31UH1cd65YKdliYp7i6w0L14Wx+5qcVLKPcYPTFfW1G8kNn+IJWtkAbpoRLN6dgFjR7E4uKVBoFoS+Zc9lv8Mi0vZ+OTc=; 20:yZPRySPGsNqi+mPB8jtIBS08cehxj1dR6IP3KLgUX9aFsgwSUlp7r2957WJM7WtYQKNgO47E1Wy4RjPkCvA99A==
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB434; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB322; 
x-microsoft-antispam-prvs: <BL2PR03MB43453081AF80F961E0A9B36F5A90@BL2PR03MB434.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BL2PR03MB434; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB434; 
x-forefront-prvs: 06237E4555
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(377454003)(13464003)(33656002)(19580405001)(19580395003)(87936001)(99286002)(46102003)(2656002)(92566002)(86362001)(76176999)(54356999)(74316001)(50986999)(189998001)(5001960100002)(107886002)(2501003)(122556002)(5001770100001)(15975445007)(62966003)(77156002)(76576001)(5001920100001)(102836002)(5002640100001)(77096005)(5003600100002)(2950100001)(2900100001)(3826002); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR03MB434; H:BL2PR03MB433.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jun 2015 22:44:33.2197 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB434
X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB322; 2:NWX1cVbyPL4nuJISxD/crWhVc4o3Oek48FtzZeTiM7ZIt1DRtgWpleBgeP3M6nIn; 3:Beg10qhQUmADEA6ycQHhweLiL7VooTllFiWZxi3xguqg878ZlkFaH/rqaAXiOIdO25hS2dv4PvZL+ePjwVfbBbWmwfGj31QlGwWfcE43STmrrPnwZxmp3xNg2zcyy/xHo/NrRM6ZXCXRp/YUpOiNHw==; 25:QlF5gZYmA6HI0o357MvsuGnSzstILB1v5qqww70dwKrPfxjGSN3+aG1zpXn7hVKrevgs9WgXjBvHG1bi/yckuh5lv0fYRIgwZFMKaq/bbtiT9qSgwhUwNArKzhHEUCTFeRjIz0jmTnUQonjWc79fkfXdYzQ6Upj0rId2Wk+eZmGLW5VqvSyXF9VFrJJwXfTj5Pmasirg5AmanwPBQSs30W4Ye6ZCVTTEiTNHTGjI46xKkvQyxk6F8Xlq94tNDaxO9eExHus5Vn3hn8exP89oqg==; 23:0MhqH9jKHRXvW0k50Sv6LtKisyKjp0+/xGL0I0Wp8j/ndaVv0rCj/AuW9sMrxIiPjrPARjjmemzV2kDwN22rxrEmwi787TVDHfIKfkEckZy6XxrYusyXBj6FvvkZ/2/gc101yXkMjGzqySFrOLPliBBKbqyVh5GTQwrL2bNkTYew+y8ID/dfybCMI3iV4hqLcwe4og+OFXhFrYL6lka2bBUwAolp9s7d+I8mULb2lKZPeV8o/+OxSXI7/TmhvH9W
X-OriginatorOrg: microsoft.com
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/9siZsVT5u5zBs06mJwOY-6W_b_0>
Subject: Re: [Cose] Issue: Encoding for a single recipient or structure
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2015 22:44:39 -0000

Hi Jim,

Per your suggestion in response to my issue 1, I'm reviewing this thread.  =
(I'm also including the original message below so WG members who joined the=
 list when the WG was formed will see it.)

First, let me ask a question to see if I correctly understand the problem w=
ith your option (1) below.  JWE used "alg" for the key management algorithm=
 and "enc" for the content encryption algorithm.  Likewise, JWE used "encry=
pted_key" for the encrypted key value and "ciphertext" for the encrypted pl=
aintext.  Since there were no name collisions, all could live in the top-le=
vel JSON object.  Whereas, your current COSE draft uses the equivalent of "=
alg" for both algorithms and the equivalent of "ciphertext" for both encryp=
ted values, hence the label collisions you are citing below, correct?

If my understanding is right, then unless a JWE-like approach were adopted =
in which different labels are used for the different purposes, then yes, I =
agree that (1) wouldn't work.  Was this change to a single set of labels th=
e intended topic of the thread "[Cose] Issue:  Reuse the Enrypt structure f=
or recipients"?  I'm asking because a lot of the thread ended up being abou=
t a different topic - whether the encrypted_key value would contain just an=
 encrypted bare key or the equivalent of an encrypted JWK structure.

You asked if I had anything new to add to the discussion.  I'll add this...

Just like for JOSE, I expect that many applications will implement only the=
 COSE features that they need.  For instance, JWT [RFC 7519] implementation=
s only need to implement the JOSE Compact Serializations - not the JSON Ser=
ializations.  I expect there to be many COSE applications that will similar=
ly only implement support for a single recipient.  This would save on code =
size and be simpler.

I believe that applications that only use a single recipient will be the mo=
st common, hence the goal stated in my review to optimize for this case.  A=
ssuming we take your option (1) off the table and limit discussion to only =
your options (2) and (3) below, then the choice seems to be between these e=
ffective grammars for the single recipient case:
	(2) recipients: {recipient_data}
	(3) recipients: [{recpient_data}]

If you're only ever building code for the single recipient case, then (2) i=
s simpler.  But I agree that if you're using code that supports multiple re=
cipients, then (3) is simpler, if somewhat less elegant.

What do others think about this tradeoff?

				-- Mike

-----Original Message-----
From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Thursday, April 30, 2015 3:59 PM
To: cose@ietf.org
Subject: [Cose] Issue: Encoding for a single recipient or structure

Question: Flattened encoding -
a)  Roll into parent map
b)  Just be a map
c)  Single element in array

Discussion:

A late addition to the JOSE specification was the ability to fold a single =
recipient map into the base encryption or signature map.  This is doable be=
cause the keys for all of the maps in question are unique.  This would not =
be true if the issue on reusing the encryption body for the recipient struc=
ture is accepted.  This issue is being discussed in a separate mail thread =
(but is current).  If arrays were to be used at the top level, one just app=
ends the elements to the end of the base structure  (see examples in the cu=
rrent document).

There are three different options that can be selected at this point:

1)  The recipient/signature map is folded into the encryption/signing messa=
ge top level.  If we accept the change for using the same structure for bot=
h the encryption body and the recipients, this is not a viable option due t=
o collisions of keys in the map.

2)  The recipient/signature element in the base map is permitted to be eith=
er an array of recipient/signature elements or a single recipient/signature=
 map.  This option was rejected by the JOSE group as being too complicated =
for programmers to deal with.  The cost of this option is 2 bytes over opti=
on one.  (One byte for the recipients key, one byte for the map marker.)=20

CDDL grammar would be:  recipients: [+[recipient_data]] / {recipient_data}

3)  We do not support any special form of dealing with a single recipient.
The cost of this option is 3 bytes over option one.  (One byte for the reci=
pients key, one byte for the array marker, one byte for the map marker.)

CDDL grammar would be:  recipients: [+[recpient_data]]

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


From nobody Tue Jun 30 15:58:48 2015
Return-Path: <ietf@augustcellars.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 77F321ACC8F for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 15:58:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level: 
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j5z_Ksa1rCzg for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 15:58:43 -0700 (PDT)
Received: from smtp3.pacifier.net (smtp3.pacifier.net [64.255.237.177]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EE7CD1AC431 for <cose@ietf.org>; Tue, 30 Jun 2015 15:58:42 -0700 (PDT)
Received: from hebrews (unknown [50.109.240.20]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp3.pacifier.net (Postfix) with ESMTPSA id 9281038F16 for <cose@ietf.org>; Tue, 30 Jun 2015 15:58:41 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <cose@ietf.org>
Date: Tue, 30 Jun 2015 15:58:54 -0700
Message-ID: <002f01d0b388$57a1cc90$06e565b0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AdCzawyxSrx7crBqRU6O1oap4YBQYw==
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/GwP_6EgbzTkzXGh36WhX0nomhT8>
Subject: [Cose] AES based MAC algorithm
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2015 22:58:47 -0000

In doing the work on getting algorithms into the document I ended up with a
"Which one" question.

AES-MAC has historically been the block cipher MAC algorithm used by most
people.  In part because it has been around the longest.  It does the
traditional AES-CBC mode of encryption and then takes the last block of the
output as the MAC value.

AES-CMAC (also known as AES-OMAC1) is a variant of the same algorithm which
uses one extra encryption operation and an XOR operation at the end of the
process to provide higher security than is available with AES-MAC.  Details
of this algorithm can be found in RFC 4493.

Do people have a preference as to which of these two algorithms is
specified?  My personal preference leans towards using the newer algorithm
as there is not a significant performance penalty and it appears to have
better security properties.

Jim



From nobody Tue Jun 30 16:21:07 2015
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8157C1B3359 for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 16:21:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id arqr-b-veZRO for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 16:21:01 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0724.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::1:724]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 0627C1B2E56 for <cose@ietf.org>; Tue, 30 Jun 2015 16:21:00 -0700 (PDT)
Received: from BL2PR03MB434.namprd03.prod.outlook.com (10.141.92.22) by BL2PR03MB274.namprd03.prod.outlook.com (10.255.231.19) with Microsoft SMTP Server (TLS) id 15.1.213.10; Tue, 30 Jun 2015 23:20:41 +0000
Received: from BL2PR03MB433.namprd03.prod.outlook.com (10.141.92.19) by BL2PR03MB434.namprd03.prod.outlook.com (10.141.92.22) with Microsoft SMTP Server (TLS) id 15.1.207.12; Tue, 30 Jun 2015 23:20:40 +0000
Received: from BL2PR03MB433.namprd03.prod.outlook.com ([10.141.92.19]) by BL2PR03MB433.namprd03.prod.outlook.com ([10.141.92.19]) with mapi id 15.01.0207.004; Tue, 30 Jun 2015 23:20:39 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [Cose] AES based MAC algorithm
Thread-Index: AdCzawyxSrx7crBqRU6O1oap4YBQYwAHv6EQ
Date: Tue, 30 Jun 2015 23:20:39 +0000
Message-ID: <BL2PR03MB433794DEE4787CD5A4B26A6F5A90@BL2PR03MB433.namprd03.prod.outlook.com>
References: <002f01d0b388$57a1cc90$06e565b0$@augustcellars.com>
In-Reply-To: <002f01d0b388$57a1cc90$06e565b0$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
authentication-results: augustcellars.com; dkim=none (message not signed) header.d=none;
x-originating-ip: [2001:4898:80e0:ee43::6]
x-microsoft-exchange-diagnostics: 1; BL2PR03MB434; 5:+uFcOypp2NeYfsCpW1bC5p3+W0BENidS55m5JieZNliejVLlZIqZcsDHJyu4fl+SNMwy5OBxDaBUM7TYkKq8qIiHEuzqM5Uu3tSKvIU4Qi111ffj5WG0zfaVpIyZWv0TbBBchSx9l6N+6veYxDlNyA==; 24:PakqG4j44wogxWUQeNHezfAF1zVjwnvj3zdBOOQoyXDeTq/s6FSILqoezSkMoY1u3VgeqWTQBIBPtntX3aD5JkOSFkZuJpZUKxnAV1dS8Ng=; 20:0b6Il5cYfh7jWQj15xY0HIOfNHqmTWQxsC69NDQgH32RrD6XMLXMEV2+y1ostgEx7P52ZvDdEVrtjIWYwdVLvA==
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB434; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB274; 
x-microsoft-antispam-prvs: <BL2PR03MB434D79B4B774342BDCB20F0F5A90@BL2PR03MB434.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BL2PR03MB434; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB434; 
x-forefront-prvs: 06237E4555
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(377454003)(52314003)(13464003)(33656002)(19580405001)(19580395003)(86612001)(87936001)(99286002)(46102003)(2656002)(92566002)(99936001)(86362001)(76176999)(54356999)(74316001)(50986999)(189998001)(5001960100002)(107886002)(2501003)(5001770100001)(15975445007)(40100003)(5890100001)(62966003)(77156002)(76576001)(5001920100001)(102836002)(5002640100001)(5003600100002)(77096005)(2900100001)(2950100001)(3826002); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR03MB434; H:BL2PR03MB433.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: multipart/mixed; boundary="_002_BL2PR03MB433794DEE4787CD5A4B26A6F5A90BL2PR03MB433namprd_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jun 2015 23:20:39.3013 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB434
X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB274; 2:3zmhaHaWYLTrYY34ZRONBiL3pShrMmIPsFGE0M9ELOT2/3i5+pVW0ZGqHNV9BuMs; 3:0GxbuuKkcgE0DlWqY1DcFR/c6phqZ3au2g4IB5GAb9v2r/tR3NSn/+v7sBE4ILJ/Zc1FvztTF0JdshQikjD3sDKFAVNc8m6BLg5CI6ZT0+h4roDwdlgReK3k0n9LdnGeH3aQPQiNf+WzytOGtDfZuQ==; 25:dXNdrVm2akU96UbZZ2hP00kgfLnUzoZ9xiuDT3/BKE90JLIqwrNlsdPZrh2t+lxXxP8z3fqWboveECEVcRrDidEj/YfBPBuDEhMeXFjvcIMg+zqDyGQ9F/L1/5l0CR+vveI3UlWiRX81vgZRCMW1JLHK3D5sV1w2ftRR7zbgc/WkirXn8XHoabzIB+QGnXQ5fGF4upNCPVVK5UzPYRV8LHEBLkAsMGi64wkT7cAKr57TN2XKieHxTv1Do8R5ich2ADY53nQDTZ00ot1q7XchDg==; 23:D/aOsxSQghRxlF3vS9tE6qixZ0tm22WmNv7IBBcul/zh0hYVzn5FR9U9RNUZHVFuvRj1Gtox/P8p7GU9aJA0wdGwuLdKAPVDoXnfBMSTep7z3Wf3uIwya9q8Myqt8udm1NXCL1Ek775F54AYl4j6zPrnM0WSdjkQz2/jsPGNjYOmjGfdRNlJAYaMbB3hkzcV79eaDS9pp+oW2hahj8z/ee/vsaPTHWIsYUVviw1n7fTstWP+YscOdmeHF7Laog8Y
X-OriginatorOrg: microsoft.com
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/8cW7Qyr3vH8I9Dva49EkWkUyMls>
Subject: Re: [Cose] AES based MAC algorithm
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Jun 2015 23:21:03 -0000

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

Do you have data on how commonly available implementations of these algorit=
hms are to help inform the choice?  As you know, in JOSE we drove the set o=
f algorithm choices off of a survey of which algorithms were implemented on=
 which common development platforms.  (See the attached spreadsheet.)

I realize that in this case, the right sets of development platforms to sur=
vey may be different than the largely Web-targeted development platforms th=
at JOSE surveyed.  For COSE, the right tools are more likely to be embedded=
 systems development platforms.

Anyway, if we can make this choice based on data, that would be good.  If t=
he data shows that people will have to largely build AES-MAC or AES-CMAC fr=
om scratch because their platforms don't support either of them, then I agr=
ee with your preference for AES-CMAC.

				-- Mike

-----Original Message-----
From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Tuesday, June 30, 2015 3:59 PM
To: cose@ietf.org
Subject: [Cose] AES based MAC algorithm

In doing the work on getting algorithms into the document I ended up with a=
 "Which one" question.

AES-MAC has historically been the block cipher MAC algorithm used by most p=
eople.  In part because it has been around the longest.  It does the tradit=
ional AES-CBC mode of encryption and then takes the last block of the outpu=
t as the MAC value.

AES-CMAC (also known as AES-OMAC1) is a variant of the same algorithm which=
 uses one extra encryption operation and an XOR operation at the end of the=
 process to provide higher security than is available with AES-MAC.  Detail=
s of this algorithm can be found in RFC 4493.

Do people have a preference as to which of these two algorithms is specifie=
d?  My personal preference leans towards using the newer algorithm as there=
 is not a significant performance penalty and it appears to have better sec=
urity properties.

Jim


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

--_002_BL2PR03MB433794DEE4787CD5A4B26A6F5A90BL2PR03MB433namprd_
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;
	name="Support for JWA Crypto Algorithms.xlsx"
Content-Description: Support for JWA Crypto Algorithms.xlsx
Content-Disposition: attachment;
	filename="Support for JWA Crypto Algorithms.xlsx"; size=18750;
	creation-date="Mon, 23 Jul 2012 22:38:19 GMT";
	modification-date="Sat, 28 Jul 2012 02:24:02 GMT"
Content-Transfer-Encoding: base64

UEsDBBQABgAIAAAAIQDF3RNAiwEAAJQGAAATAAgCW0NvbnRlbnRfVHlwZXNdLnhtbCCiBAIooAAC
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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ACAAAACEAgy/oZb8EAAB4
DgAAFAAAAAAAAAAAAAAAAABWLAAAeGwvc2hhcmVkU3RyaW5ncy54bWxQSwECLQAUAAYACAAAACEA
YEEJ5FEBAABmAgAAEQAAAAAAAAAAAAAAAABHMQAAZG9jUHJvcHMvY29yZS54bWxQSwECLQAUAAYA
CAAAACEA3Fl47dwLAAC0GwAAJwAAAAAAAAAAAAAAAADPMwAAeGwvcHJpbnRlclNldHRpbmdzL3By
aW50ZXJTZXR0aW5nczEuYmluUEsBAi0AFAAGAAgAAAAhAKKhysGcAQAAXAMAABAAAAAAAAAAAAAA
AAAA8D8AAGRvY1Byb3BzL2FwcC54bWxQSwECLQAUAAYACAAAACEANgIT0UACAAAfBgAAFAAAAAAA
AAAAAAAAAADCQgAAeGwvdGFibGVzL3RhYmxlMS54bWxQSwUGAAAAAA8ADwD0AwAANEUAAAAA

--_002_BL2PR03MB433794DEE4787CD5A4B26A6F5A90BL2PR03MB433namprd_--


From nobody Tue Jun 30 17:14:55 2015
Return-Path: <ietf@augustcellars.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6A6611B2CC0 for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 17:14:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3lqzjgA-ar7b for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 17:14:51 -0700 (PDT)
Received: from smtp3.pacifier.net (smtp3.pacifier.net [64.255.237.177]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 64EEE1B2CBF for <cose@ietf.org>; Tue, 30 Jun 2015 17:14:51 -0700 (PDT)
Received: from hebrews (unknown [50.109.240.20]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp3.pacifier.net (Postfix) with ESMTPSA id 57C8B38F08; Tue, 30 Jun 2015 17:14:50 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Mike Jones'" <Michael.Jones@microsoft.com>, <cose@ietf.org>
References: <001b01d08399$434ab9b0$c9e02d10$@augustcellars.com> <BL2PR03MB433F667195C8A8436CBF05AF5A90@BL2PR03MB433.namprd03.prod.outlook.com>
In-Reply-To: <BL2PR03MB433F667195C8A8436CBF05AF5A90@BL2PR03MB433.namprd03.prod.outlook.com>
Date: Tue, 30 Jun 2015 17:15:04 -0700
Message-ID: <009501d0b392$fb7cc680$f2765380$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQJBW2regVOc1KgJrCGEY9SFfcIRjgIjyzTpnNNQiKA=
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/6xoa_7egDi44mj0LlZcIQz5zYPk>
Subject: Re: [Cose] Issue: Encoding for a single recipient or structure
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Jul 2015 00:14:53 -0000

> -----Original Message-----
> From: Mike Jones [mailto:Michael.Jones@microsoft.com]
> Sent: Tuesday, June 30, 2015 3:45 PM
> To: Jim Schaad; cose@ietf.org
> Subject: RE: [Cose] Issue: Encoding for a single recipient or structure
> 
> Hi Jim,
> 
> Per your suggestion in response to my issue 1, I'm reviewing this thread.
> (I'm also including the original message below so WG members who joined
> the list when the WG was formed will see it.)
> 
> First, let me ask a question to see if I correctly understand the problem
with
> your option (1) below.  JWE used "alg" for the key management algorithm
> and "enc" for the content encryption algorithm.  Likewise, JWE used
> "encrypted_key" for the encrypted key value and "ciphertext" for the
> encrypted plaintext.  Since there were no name collisions, all could live
in
> the top-level JSON object.  Whereas, your current COSE draft uses the
> equivalent of "alg" for both algorithms and the equivalent of "ciphertext"
> for both encrypted values, hence the label collisions you are citing
below,
> correct?
> 
> If my understanding is right, then unless a JWE-like approach were adopted
> in which different labels are used for the different purposes, then yes, I
> agree that (1) wouldn't work.  Was this change to a single set of labels
the
> intended topic of the thread "[Cose] Issue:  Reuse the Enrypt structure
for
> recipients"?  I'm asking because a lot of the thread ended up being about
a
> different topic - whether the encrypted_key value would contain just an
> encrypted bare key or the equivalent of an encrypted JWK structure.
> 
> You asked if I had anything new to add to the discussion.  I'll add
this...
> 
> Just like for JOSE, I expect that many applications will implement only
the
> COSE features that they need.  For instance, JWT [RFC 7519]
> implementations only need to implement the JOSE Compact Serializations -
> not the JSON Serializations.  I expect there to be many COSE applications
> that will similarly only implement support for a single recipient.  This
would
> save on code size and be simpler.
> 
> I believe that applications that only use a single recipient will be the
most
> common, hence the goal stated in my review to optimize for this case.
> Assuming we take your option (1) off the table and limit discussion to
only
> your options (2) and (3) below, then the choice seems to be between these
> effective grammars for the single recipient case:
> 	(2) recipients: {recipient_data}
> 	(3) recipients: [{recpient_data}]
> 
> If you're only ever building code for the single recipient case, then (2)
is
> simpler.  But I agree that if you're using code that supports multiple
> recipients, then (3) is simpler, if somewhat less elegant.

I am going to make the same challenge to you that I made to Derik at one
point.

Can you provide code to show that option 2 is significantly larger than
option 3?

Jim

> 
> What do others think about this tradeoff?
> 
> 				-- Mike
> 
> -----Original Message-----
> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
> Sent: Thursday, April 30, 2015 3:59 PM
> To: cose@ietf.org
> Subject: [Cose] Issue: Encoding for a single recipient or structure
> 
> Question: Flattened encoding -
> a)  Roll into parent map
> b)  Just be a map
> c)  Single element in array
> 
> Discussion:
> 
> A late addition to the JOSE specification was the ability to fold a single
> recipient map into the base encryption or signature map.  This is doable
> because the keys for all of the maps in question are unique.  This would
not
> be true if the issue on reusing the encryption body for the recipient
> structure is accepted.  This issue is being discussed in a separate mail
thread
> (but is current).  If arrays were to be used at the top level, one just
appends
> the elements to the end of the base structure  (see examples in the
current
> document).
> 
> There are three different options that can be selected at this point:
> 
> 1)  The recipient/signature map is folded into the encryption/signing
> message top level.  If we accept the change for using the same structure
for
> both the encryption body and the recipients, this is not a viable option
due
> to collisions of keys in the map.
> 
> 2)  The recipient/signature element in the base map is permitted to be
> either an array of recipient/signature elements or a single
> recipient/signature map.  This option was rejected by the JOSE group as
> being too complicated for programmers to deal with.  The cost of this
> option is 2 bytes over option one.  (One byte for the recipients key, one
> byte for the map marker.)
> 
> CDDL grammar would be:  recipients: [+[recipient_data]] / {recipient_data}
> 
> 3)  We do not support any special form of dealing with a single recipient.
> The cost of this option is 3 bytes over option one.  (One byte for the
> recipients key, one byte for the array marker, one byte for the map
marker.)
> 
> CDDL grammar would be:  recipients: [+[recpient_data]]
> 
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose


From nobody Tue Jun 30 17:45:57 2015
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6C5B01A0242 for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 17:45:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level: 
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 739KrYN91zbg for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 17:45:54 -0700 (PDT)
Received: from na01-by2-obe.outbound.protection.outlook.com (mail-by2on0148.outbound.protection.outlook.com [207.46.100.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D7B6B1A0060 for <cose@ietf.org>; Tue, 30 Jun 2015 17:45:53 -0700 (PDT)
Received: from BL2PR03MB434.namprd03.prod.outlook.com (10.141.92.22) by BL2PR03MB162.namprd03.prod.outlook.com (10.255.230.145) with Microsoft SMTP Server (TLS) id 15.1.201.16; Wed, 1 Jul 2015 00:45:53 +0000
Received: from BL2PR03MB433.namprd03.prod.outlook.com (10.141.92.19) by BL2PR03MB434.namprd03.prod.outlook.com (10.141.92.22) with Microsoft SMTP Server (TLS) id 15.1.207.12; Wed, 1 Jul 2015 00:45:52 +0000
Received: from BL2PR03MB433.namprd03.prod.outlook.com ([10.141.92.19]) by BL2PR03MB433.namprd03.prod.outlook.com ([10.141.92.19]) with mapi id 15.01.0207.004; Wed, 1 Jul 2015 00:45:53 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [Cose] Issue: Encoding for a single recipient or structure
Thread-Index: AdCDmTM3cpCIVDijSSWQU/yxCPpImgv5+bgAAAR4DgAAACbLYA==
Date: Wed, 1 Jul 2015 00:45:53 +0000
Message-ID: <BL2PR03MB43351E8E3234EC1808B46B7F5A80@BL2PR03MB433.namprd03.prod.outlook.com>
References: <001b01d08399$434ab9b0$c9e02d10$@augustcellars.com> <BL2PR03MB433F667195C8A8436CBF05AF5A90@BL2PR03MB433.namprd03.prod.outlook.com> <009501d0b392$fb7cc680$f2765380$@augustcellars.com>
In-Reply-To: <009501d0b392$fb7cc680$f2765380$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: augustcellars.com; dkim=none (message not signed) header.d=none;
x-originating-ip: [2001:4898:80e0:ee43::6]
x-microsoft-exchange-diagnostics: 1; BL2PR03MB434; 5:aUooRIrQpNIBZKvxIgnNqj5U2yeqQdm2IS/3YVPpMh0JTc9LEpTJdVOYNyC7eEY9pW2tODUtDsT0YfIlpqqeIig49ID7gc5g8T+glMyVPfdEusrKcBEoijuy6AXIXlAax+D6qzZ2snL5nHxDcLRwtQ==; 24:EYwitQxzAykY3TaEhQDYvNMHpOKuf/QS4wlCASHB5LQE4pdOASahoFqoiR5bKczeYJu0DNsSLZBI2gPRzyhftacAwZ9+b6RpDp/kpz64bTk=; 20:JpKMY9lv+WvzsIODTLmG8rx4hPy2/wwgcAfdBvJ++gf+u6YWQ7uMxyoSkYyKonL5GS41gNpb+8X8vZuft+7j2A==
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB434; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB162; 
x-microsoft-antispam-prvs: <BL2PR03MB434E4088927D3F75A60CE83F5A80@BL2PR03MB434.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BL2PR03MB434; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB434; 
x-forefront-prvs: 0624A2429E
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(377454003)(51704005)(13464003)(2656002)(86362001)(87936001)(92566002)(107886002)(5001960100002)(99286002)(5001770100001)(2501003)(19580405001)(19580395003)(77156002)(62966003)(2900100001)(2950100001)(74316001)(15975445007)(102836002)(77096005)(50986999)(40100003)(54356999)(76176999)(86612001)(5003600100002)(76576001)(46102003)(33656002)(5002640100001)(189998001)(3826002); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR03MB434; H:BL2PR03MB433.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jul 2015 00:45:53.1932 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB434
X-Microsoft-Exchange-Diagnostics: 1; BL2PR03MB162; 2:9yZcJxrLCY/PnjGdoG+cSa2ew2ZculRrg33uPZhGb5Httw0y5O011jLIZh4+GbR2; 3:31XQi4Q3wsP5nRSyK9fQDRTsQeUTAwlI9WVULNA2VEIt5AbUAPQti6LSW4nJaBJj8TJUd4kRThErtIrBtxFom1BA+4cIN0vItcD+vbQGIo5kkvqpWR7hAFWa0+FbzX86qb90ckNJsYKk4URHDqtZ6w==; 25:DMT/UaPecmfSxy36k3PQ1/soOLlRUVp8grADAB5Jh2q2MLk8UMsLEACcYACoYEQQdcqsazeAAZdBPOJfnDXGEAxzzrPSB9dlYBRgSCWdmWX/SjRGE3WUn9cpEH9ub1Ua9mH+WfckiNde1TTHFIxG7Fmdanv8L7VCyKoarF+Ge5TmHT2kgFX1PUZWjaoVNqcD7nrVRBrdY8zQW5nZ2jwJHHFZeodY0HwDIUTqlqgiAOCQGxwp6iEuEu/Uvwei2acSG57z1oQukUB31rFLCDZxcg==; 23:K7Hx1EVEDzHSO21zbDLD2OgzS/hcgs8K2fbxEdffGDJXuwG1IUDSI1P21qSgyGBJLfl/RVscvYd6mv1kwbzaq79KarOUvzUOOc1Vw0r7S8xIl8KpsiAbmW5LBgnk8DFnR+Od/9+lYOFf7bdhr341tuJT+2m596+GDPAz2VjJ0l9EXmYuKHSZ/gMRTZla+OaG+qt6eurMn0LFk7YdV5Gmocluv7vIVGHlQC4IfQXPF6uW9DXz18BHIoUsiUGWtc5Q
X-OriginatorOrg: microsoft.com
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/Zl6xg39DT94RH8jUKIi-H4YAgE0>
Subject: Re: [Cose] Issue: Encoding for a single recipient or structure
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Jul 2015 00:45:56 -0000

Reply inline below...

> -----Original Message-----
> From: Jim Schaad [mailto:ietf@augustcellars.com]
> Sent: Tuesday, June 30, 2015 5:15 PM
> To: Mike Jones; cose@ietf.org
> Subject: RE: [Cose] Issue: Encoding for a single recipient or structure
>=20
>=20
>=20
> > -----Original Message-----
> > From: Mike Jones [mailto:Michael.Jones@microsoft.com]
> > Sent: Tuesday, June 30, 2015 3:45 PM
> > To: Jim Schaad; cose@ietf.org
> > Subject: RE: [Cose] Issue: Encoding for a single recipient or
> > structure
> >
> > Hi Jim,
> >
> > Per your suggestion in response to my issue 1, I'm reviewing this threa=
d.
> > (I'm also including the original message below so WG members who
> > joined the list when the WG was formed will see it.)
> >
> > First, let me ask a question to see if I correctly understand the
> > problem
> with
> > your option (1) below.  JWE used "alg" for the key management
> > algorithm and "enc" for the content encryption algorithm.  Likewise,
> > JWE used "encrypted_key" for the encrypted key value and "ciphertext"
> > for the encrypted plaintext.  Since there were no name collisions, all
> > could live
> in
> > the top-level JSON object.  Whereas, your current COSE draft uses the
> > equivalent of "alg" for both algorithms and the equivalent of "cipherte=
xt"
> > for both encrypted values, hence the label collisions you are citing
> below,
> > correct?
> >
> > If my understanding is right, then unless a JWE-like approach were
> > adopted in which different labels are used for the different purposes,
> > then yes, I agree that (1) wouldn't work.  Was this change to a single
> > set of labels
> the
> > intended topic of the thread "[Cose] Issue:  Reuse the Enrypt
> > structure
> for
> > recipients"?  I'm asking because a lot of the thread ended up being
> > about
> a
> > different topic - whether the encrypted_key value would contain just
> > an encrypted bare key or the equivalent of an encrypted JWK structure.
> >
> > You asked if I had anything new to add to the discussion.  I'll add
> this...
> >
> > Just like for JOSE, I expect that many applications will implement
> > only
> the
> > COSE features that they need.  For instance, JWT [RFC 7519]
> > implementations only need to implement the JOSE Compact Serializations
> > - not the JSON Serializations.  I expect there to be many COSE
> > applications that will similarly only implement support for a single
> > recipient.  This
> would
> > save on code size and be simpler.
> >
> > I believe that applications that only use a single recipient will be
> > the
> most
> > common, hence the goal stated in my review to optimize for this case.
> > Assuming we take your option (1) off the table and limit discussion to
> only
> > your options (2) and (3) below, then the choice seems to be between
> > these effective grammars for the single recipient case:
> > 	(2) recipients: {recipient_data}
> > 	(3) recipients: [{recpient_data}]
> >
> > If you're only ever building code for the single recipient case, then
> > (2)
> is
> > simpler.  But I agree that if you're using code that supports multiple
> > recipients, then (3) is simpler, if somewhat less elegant.
>=20
> I am going to make the same challenge to you that I made to Derik at one
> point.
>=20
> Can you provide code to show that option 2 is significantly larger than o=
ption
> 3?

I'm not saying that there's a significant code size difference.  Maybe you =
can tell us how much code would be removed from your implementation if you =
#ifdef'ed out the loops associated with producing and consuming the recipie=
nts arrays and just replaced it with code using a singleton array value (op=
tion 3) or simply a recipient_data map value (option 2).  I admit up front =
that there will be almost no code size difference between 2 or 3 if the imp=
lementation has been compiled to only support a single recipient.

My main point in raising this issue now is we're likely to hear the same th=
ing about COSE that Richard Barnes heard from developers who were really us=
ing the JSON Serializations before we added the flattened data representati=
on - that having to emit and parse a singleton array is ugly, awkward, etc.

This isn't a show-stopper to me, but now that there's a working group, I wa=
nted to raise the issue for the working group to explicitly consider up fro=
nt, rather than wait until people are using early implementations and we he=
ar back from developers "why couldn't this have been simpler in the simple =
case"?

				Cheers,
				-- Mike

> Jim
>=20
> >
> > What do others think about this tradeoff?
> >
> > 				-- Mike
> >
> > -----Original Message-----
> > From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
> > Sent: Thursday, April 30, 2015 3:59 PM
> > To: cose@ietf.org
> > Subject: [Cose] Issue: Encoding for a single recipient or structure
> >
> > Question: Flattened encoding -
> > a)  Roll into parent map
> > b)  Just be a map
> > c)  Single element in array
> >
> > Discussion:
> >
> > A late addition to the JOSE specification was the ability to fold a
> > single recipient map into the base encryption or signature map.  This
> > is doable because the keys for all of the maps in question are unique.
> > This would
> not
> > be true if the issue on reusing the encryption body for the recipient
> > structure is accepted.  This issue is being discussed in a separate
> > mail
> thread
> > (but is current).  If arrays were to be used at the top level, one
> > just
> appends
> > the elements to the end of the base structure  (see examples in the
> current
> > document).
> >
> > There are three different options that can be selected at this point:
> >
> > 1)  The recipient/signature map is folded into the encryption/signing
> > message top level.  If we accept the change for using the same
> > structure
> for
> > both the encryption body and the recipients, this is not a viable
> > option
> due
> > to collisions of keys in the map.
> >
> > 2)  The recipient/signature element in the base map is permitted to be
> > either an array of recipient/signature elements or a single
> > recipient/signature map.  This option was rejected by the JOSE group
> > as being too complicated for programmers to deal with.  The cost of
> > this option is 2 bytes over option one.  (One byte for the recipients
> > key, one byte for the map marker.)
> >
> > CDDL grammar would be:  recipients: [+[recipient_data]] /
> > {recipient_data}
> >
> > 3)  We do not support any special form of dealing with a single recipie=
nt.
> > The cost of this option is 3 bytes over option one.  (One byte for the
> > recipients key, one byte for the array marker, one byte for the map
> marker.)
> >
> > CDDL grammar would be:  recipients: [+[recpient_data]]
> >
> > _______________________________________________
> > Cose mailing list
> > Cose@ietf.org
> > https://www.ietf.org/mailman/listinfo/cose


From nobody Tue Jun 30 18:01:04 2015
Return-Path: <dick.hardt@gmail.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 373C81A010D for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 18:01:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aph46ipO0TCU for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 18:00:58 -0700 (PDT)
Received: from mail-oi0-x231.google.com (mail-oi0-x231.google.com [IPv6:2607:f8b0:4003:c06::231]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 712DB1A0070 for <cose@ietf.org>; Tue, 30 Jun 2015 18:00:58 -0700 (PDT)
Received: by oigx81 with SMTP id x81so20880742oig.1 for <cose@ietf.org>; Tue, 30 Jun 2015 18:00:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=F/GJJxGSpb4O+9fim3zQC5XIRKDAmdMqNAAiqv5xzHo=; b=isH0qekZ+es9uk5ijpJb1miDwViRivwA7uis3bEKMju1fFEsfuSo1BauwsgjRyTM7m xm72tRMBiB6B1u1JTUU9YynaK5BkQCgEONTL/pyyaQIkLi/9N49TeXc7VrdtvGK8zUKc dfbbI7xmXN44VGuO6qkhHHQtMLk3QsdHLWS5vX3pbU1Cl7n4ddOnvcU1BJiwsOBd8LWs usKVD0L/NsQucHxgZJTWhg3cVo3vmrCEsxUNgTZQg5OmB68Hm+RGX1vd73Rbbq3LBTJI RvRquuURurTY3vbTl/0x0ILSTvMgzaPRk06jUwQEWW3kMqfpz6H3GSsyGVTZS1Cg2XDs h1LA==
X-Received: by 10.182.33.67 with SMTP id p3mr9858462obi.69.1435712458394; Tue, 30 Jun 2015 18:00:58 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.60.116.99 with HTTP; Tue, 30 Jun 2015 18:00:39 -0700 (PDT)
In-Reply-To: <BL2PR03MB43351E8E3234EC1808B46B7F5A80@BL2PR03MB433.namprd03.prod.outlook.com>
References: <001b01d08399$434ab9b0$c9e02d10$@augustcellars.com> <BL2PR03MB433F667195C8A8436CBF05AF5A90@BL2PR03MB433.namprd03.prod.outlook.com> <009501d0b392$fb7cc680$f2765380$@augustcellars.com> <BL2PR03MB43351E8E3234EC1808B46B7F5A80@BL2PR03MB433.namprd03.prod.outlook.com>
From: Dick Hardt <dick.hardt@gmail.com>
Date: Tue, 30 Jun 2015 18:00:39 -0700
Message-ID: <CAD9ie-uPY6FAKwPxT8n79fm+n88HM-jf+Y+yTxPghrso8c4TzQ@mail.gmail.com>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: multipart/alternative; boundary=001a11c1e8d015151f0519c5db40
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/v5aHi8pIYYAIh-6Om5gtchX9O2o>
Cc: Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Issue: Encoding for a single recipient or structure
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Jul 2015 01:01:02 -0000

--001a11c1e8d015151f0519c5db40
Content-Type: text/plain; charset=UTF-8

If I'm writing a library and I have to support multiple recipients to be
compliant, then given a choice between dealing with both a singleton and an
array(a) vs just an array (c), then I'll pick just an array (c). ... or am
I missing some aspect of how this is simpler Mike?

On Tue, Jun 30, 2015 at 5:45 PM, Mike Jones <Michael.Jones@microsoft.com>
wrote:

> Reply inline below...
>
> > -----Original Message-----
> > From: Jim Schaad [mailto:ietf@augustcellars.com]
> > Sent: Tuesday, June 30, 2015 5:15 PM
> > To: Mike Jones; cose@ietf.org
> > Subject: RE: [Cose] Issue: Encoding for a single recipient or structure
> >
> >
> >
> > > -----Original Message-----
> > > From: Mike Jones [mailto:Michael.Jones@microsoft.com]
> > > Sent: Tuesday, June 30, 2015 3:45 PM
> > > To: Jim Schaad; cose@ietf.org
> > > Subject: RE: [Cose] Issue: Encoding for a single recipient or
> > > structure
> > >
> > > Hi Jim,
> > >
> > > Per your suggestion in response to my issue 1, I'm reviewing this
> thread.
> > > (I'm also including the original message below so WG members who
> > > joined the list when the WG was formed will see it.)
> > >
> > > First, let me ask a question to see if I correctly understand the
> > > problem
> > with
> > > your option (1) below.  JWE used "alg" for the key management
> > > algorithm and "enc" for the content encryption algorithm.  Likewise,
> > > JWE used "encrypted_key" for the encrypted key value and "ciphertext"
> > > for the encrypted plaintext.  Since there were no name collisions, all
> > > could live
> > in
> > > the top-level JSON object.  Whereas, your current COSE draft uses the
> > > equivalent of "alg" for both algorithms and the equivalent of
> "ciphertext"
> > > for both encrypted values, hence the label collisions you are citing
> > below,
> > > correct?
> > >
> > > If my understanding is right, then unless a JWE-like approach were
> > > adopted in which different labels are used for the different purposes,
> > > then yes, I agree that (1) wouldn't work.  Was this change to a single
> > > set of labels
> > the
> > > intended topic of the thread "[Cose] Issue:  Reuse the Enrypt
> > > structure
> > for
> > > recipients"?  I'm asking because a lot of the thread ended up being
> > > about
> > a
> > > different topic - whether the encrypted_key value would contain just
> > > an encrypted bare key or the equivalent of an encrypted JWK structure.
> > >
> > > You asked if I had anything new to add to the discussion.  I'll add
> > this...
> > >
> > > Just like for JOSE, I expect that many applications will implement
> > > only
> > the
> > > COSE features that they need.  For instance, JWT [RFC 7519]
> > > implementations only need to implement the JOSE Compact Serializations
> > > - not the JSON Serializations.  I expect there to be many COSE
> > > applications that will similarly only implement support for a single
> > > recipient.  This
> > would
> > > save on code size and be simpler.
> > >
> > > I believe that applications that only use a single recipient will be
> > > the
> > most
> > > common, hence the goal stated in my review to optimize for this case.
> > > Assuming we take your option (1) off the table and limit discussion to
> > only
> > > your options (2) and (3) below, then the choice seems to be between
> > > these effective grammars for the single recipient case:
> > >     (2) recipients: {recipient_data}
> > >     (3) recipients: [{recpient_data}]
> > >
> > > If you're only ever building code for the single recipient case, then
> > > (2)
> > is
> > > simpler.  But I agree that if you're using code that supports multiple
> > > recipients, then (3) is simpler, if somewhat less elegant.
> >
> > I am going to make the same challenge to you that I made to Derik at one
> > point.
> >
> > Can you provide code to show that option 2 is significantly larger than
> option
> > 3?
>
> I'm not saying that there's a significant code size difference.  Maybe you
> can tell us how much code would be removed from your implementation if you
> #ifdef'ed out the loops associated with producing and consuming the
> recipients arrays and just replaced it with code using a singleton array
> value (option 3) or simply a recipient_data map value (option 2).  I admit
> up front that there will be almost no code size difference between 2 or 3
> if the implementation has been compiled to only support a single recipient.
>
> My main point in raising this issue now is we're likely to hear the same
> thing about COSE that Richard Barnes heard from developers who were really
> using the JSON Serializations before we added the flattened data
> representation - that having to emit and parse a singleton array is ugly,
> awkward, etc.
>
> This isn't a show-stopper to me, but now that there's a working group, I
> wanted to raise the issue for the working group to explicitly consider up
> front, rather than wait until people are using early implementations and we
> hear back from developers "why couldn't this have been simpler in the
> simple case"?
>
>                                 Cheers,
>                                 -- Mike
>
> > Jim
> >
> > >
> > > What do others think about this tradeoff?
> > >
> > >                             -- Mike
> > >
> > > -----Original Message-----
> > > From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
> > > Sent: Thursday, April 30, 2015 3:59 PM
> > > To: cose@ietf.org
> > > Subject: [Cose] Issue: Encoding for a single recipient or structure
> > >
> > > Question: Flattened encoding -
> > > a)  Roll into parent map
> > > b)  Just be a map
> > > c)  Single element in array
> > >
> > > Discussion:
> > >
> > > A late addition to the JOSE specification was the ability to fold a
> > > single recipient map into the base encryption or signature map.  This
> > > is doable because the keys for all of the maps in question are unique.
> > > This would
> > not
> > > be true if the issue on reusing the encryption body for the recipient
> > > structure is accepted.  This issue is being discussed in a separate
> > > mail
> > thread
> > > (but is current).  If arrays were to be used at the top level, one
> > > just
> > appends
> > > the elements to the end of the base structure  (see examples in the
> > current
> > > document).
> > >
> > > There are three different options that can be selected at this point:
> > >
> > > 1)  The recipient/signature map is folded into the encryption/signing
> > > message top level.  If we accept the change for using the same
> > > structure
> > for
> > > both the encryption body and the recipients, this is not a viable
> > > option
> > due
> > > to collisions of keys in the map.
> > >
> > > 2)  The recipient/signature element in the base map is permitted to be
> > > either an array of recipient/signature elements or a single
> > > recipient/signature map.  This option was rejected by the JOSE group
> > > as being too complicated for programmers to deal with.  The cost of
> > > this option is 2 bytes over option one.  (One byte for the recipients
> > > key, one byte for the map marker.)
> > >
> > > CDDL grammar would be:  recipients: [+[recipient_data]] /
> > > {recipient_data}
> > >
> > > 3)  We do not support any special form of dealing with a single
> recipient.
> > > The cost of this option is 3 bytes over option one.  (One byte for the
> > > recipients key, one byte for the array marker, one byte for the map
> > marker.)
> > >
> > > CDDL grammar would be:  recipients: [+[recpient_data]]
> > >
> > > _______________________________________________
> > > Cose mailing list
> > > Cose@ietf.org
> > > https://www.ietf.org/mailman/listinfo/cose
>
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose
>

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

<div dir=3D"ltr">If I&#39;m writing a library and I have to support multipl=
e recipients to be compliant, then given a choice between dealing with both=
 a singleton and an array(a) vs just an array (c), then I&#39;ll pick just =
an array (c). ... or am I missing some aspect of how this is simpler Mike?=
=C2=A0</div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Tu=
e, Jun 30, 2015 at 5:45 PM, Mike Jones <span dir=3D"ltr">&lt;<a href=3D"mai=
lto:Michael.Jones@microsoft.com" target=3D"_blank">Michael.Jones@microsoft.=
com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Reply inline be=
low...<br>
<div><div class=3D"h5"><br>
&gt; -----Original Message-----<br>
&gt; From: Jim Schaad [mailto:<a href=3D"mailto:ietf@augustcellars.com">iet=
f@augustcellars.com</a>]<br>
&gt; Sent: Tuesday, June 30, 2015 5:15 PM<br>
&gt; To: Mike Jones; <a href=3D"mailto:cose@ietf.org">cose@ietf.org</a><br>
&gt; Subject: RE: [Cose] Issue: Encoding for a single recipient or structur=
e<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &gt; -----Original Message-----<br>
&gt; &gt; From: Mike Jones [mailto:<a href=3D"mailto:Michael.Jones@microsof=
t.com">Michael.Jones@microsoft.com</a>]<br>
&gt; &gt; Sent: Tuesday, June 30, 2015 3:45 PM<br>
&gt; &gt; To: Jim Schaad; <a href=3D"mailto:cose@ietf.org">cose@ietf.org</a=
><br>
&gt; &gt; Subject: RE: [Cose] Issue: Encoding for a single recipient or<br>
&gt; &gt; structure<br>
&gt; &gt;<br>
&gt; &gt; Hi Jim,<br>
&gt; &gt;<br>
&gt; &gt; Per your suggestion in response to my issue 1, I&#39;m reviewing =
this thread.<br>
&gt; &gt; (I&#39;m also including the original message below so WG members =
who<br>
&gt; &gt; joined the list when the WG was formed will see it.)<br>
&gt; &gt;<br>
&gt; &gt; First, let me ask a question to see if I correctly understand the=
<br>
&gt; &gt; problem<br>
&gt; with<br>
&gt; &gt; your option (1) below.=C2=A0 JWE used &quot;alg&quot; for the key=
 management<br>
&gt; &gt; algorithm and &quot;enc&quot; for the content encryption algorith=
m.=C2=A0 Likewise,<br>
&gt; &gt; JWE used &quot;encrypted_key&quot; for the encrypted key value an=
d &quot;ciphertext&quot;<br>
&gt; &gt; for the encrypted plaintext.=C2=A0 Since there were no name colli=
sions, all<br>
&gt; &gt; could live<br>
&gt; in<br>
&gt; &gt; the top-level JSON object.=C2=A0 Whereas, your current COSE draft=
 uses the<br>
&gt; &gt; equivalent of &quot;alg&quot; for both algorithms and the equival=
ent of &quot;ciphertext&quot;<br>
&gt; &gt; for both encrypted values, hence the label collisions you are cit=
ing<br>
&gt; below,<br>
&gt; &gt; correct?<br>
&gt; &gt;<br>
&gt; &gt; If my understanding is right, then unless a JWE-like approach wer=
e<br>
&gt; &gt; adopted in which different labels are used for the different purp=
oses,<br>
&gt; &gt; then yes, I agree that (1) wouldn&#39;t work.=C2=A0 Was this chan=
ge to a single<br>
&gt; &gt; set of labels<br>
&gt; the<br>
&gt; &gt; intended topic of the thread &quot;[Cose] Issue:=C2=A0 Reuse the =
Enrypt<br>
&gt; &gt; structure<br>
&gt; for<br>
&gt; &gt; recipients&quot;?=C2=A0 I&#39;m asking because a lot of the threa=
d ended up being<br>
&gt; &gt; about<br>
&gt; a<br>
&gt; &gt; different topic - whether the encrypted_key value would contain j=
ust<br>
&gt; &gt; an encrypted bare key or the equivalent of an encrypted JWK struc=
ture.<br>
&gt; &gt;<br>
&gt; &gt; You asked if I had anything new to add to the discussion.=C2=A0 I=
&#39;ll add<br>
&gt; this...<br>
&gt; &gt;<br>
&gt; &gt; Just like for JOSE, I expect that many applications will implemen=
t<br>
&gt; &gt; only<br>
&gt; the<br>
&gt; &gt; COSE features that they need.=C2=A0 For instance, JWT [RFC 7519]<=
br>
&gt; &gt; implementations only need to implement the JOSE Compact Serializa=
tions<br>
&gt; &gt; - not the JSON Serializations.=C2=A0 I expect there to be many CO=
SE<br>
&gt; &gt; applications that will similarly only implement support for a sin=
gle<br>
&gt; &gt; recipient.=C2=A0 This<br>
&gt; would<br>
&gt; &gt; save on code size and be simpler.<br>
&gt; &gt;<br>
&gt; &gt; I believe that applications that only use a single recipient will=
 be<br>
&gt; &gt; the<br>
&gt; most<br>
&gt; &gt; common, hence the goal stated in my review to optimize for this c=
ase.<br>
&gt; &gt; Assuming we take your option (1) off the table and limit discussi=
on to<br>
&gt; only<br>
&gt; &gt; your options (2) and (3) below, then the choice seems to be betwe=
en<br>
&gt; &gt; these effective grammars for the single recipient case:<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0(2) recipients: {recipient_data}<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0(3) recipients: [{recpient_data}]<br>
&gt; &gt;<br>
&gt; &gt; If you&#39;re only ever building code for the single recipient ca=
se, then<br>
&gt; &gt; (2)<br>
&gt; is<br>
&gt; &gt; simpler.=C2=A0 But I agree that if you&#39;re using code that sup=
ports multiple<br>
&gt; &gt; recipients, then (3) is simpler, if somewhat less elegant.<br>
&gt;<br>
&gt; I am going to make the same challenge to you that I made to Derik at o=
ne<br>
&gt; point.<br>
&gt;<br>
&gt; Can you provide code to show that option 2 is significantly larger tha=
n option<br>
&gt; 3?<br>
<br>
</div></div>I&#39;m not saying that there&#39;s a significant code size dif=
ference.=C2=A0 Maybe you can tell us how much code would be removed from yo=
ur implementation if you #ifdef&#39;ed out the loops associated with produc=
ing and consuming the recipients arrays and just replaced it with code usin=
g a singleton array value (option 3) or simply a recipient_data map value (=
option 2).=C2=A0 I admit up front that there will be almost no code size di=
fference between 2 or 3 if the implementation has been compiled to only sup=
port a single recipient.<br>
<br>
My main point in raising this issue now is we&#39;re likely to hear the sam=
e thing about COSE that Richard Barnes heard from developers who were reall=
y using the JSON Serializations before we added the flattened data represen=
tation - that having to emit and parse a singleton array is ugly, awkward, =
etc.<br>
<br>
This isn&#39;t a show-stopper to me, but now that there&#39;s a working gro=
up, I wanted to raise the issue for the working group to explicitly conside=
r up front, rather than wait until people are using early implementations a=
nd we hear back from developers &quot;why couldn&#39;t this have been simpl=
er in the simple case&quot;?<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Cheers,<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 -- Mike<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
&gt; Jim<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; What do others think about this tradeoff?<br>
&gt; &gt;<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-- Mike<br>
&gt; &gt;<br>
&gt; &gt; -----Original Message-----<br>
&gt; &gt; From: Cose [mailto:<a href=3D"mailto:cose-bounces@ietf.org">cose-=
bounces@ietf.org</a>] On Behalf Of Jim Schaad<br>
&gt; &gt; Sent: Thursday, April 30, 2015 3:59 PM<br>
&gt; &gt; To: <a href=3D"mailto:cose@ietf.org">cose@ietf.org</a><br>
&gt; &gt; Subject: [Cose] Issue: Encoding for a single recipient or structu=
re<br>
&gt; &gt;<br>
&gt; &gt; Question: Flattened encoding -<br>
&gt; &gt; a)=C2=A0 Roll into parent map<br>
&gt; &gt; b)=C2=A0 Just be a map<br>
&gt; &gt; c)=C2=A0 Single element in array<br>
&gt; &gt;<br>
&gt; &gt; Discussion:<br>
&gt; &gt;<br>
&gt; &gt; A late addition to the JOSE specification was the ability to fold=
 a<br>
&gt; &gt; single recipient map into the base encryption or signature map.=
=C2=A0 This<br>
&gt; &gt; is doable because the keys for all of the maps in question are un=
ique.<br>
&gt; &gt; This would<br>
&gt; not<br>
&gt; &gt; be true if the issue on reusing the encryption body for the recip=
ient<br>
&gt; &gt; structure is accepted.=C2=A0 This issue is being discussed in a s=
eparate<br>
&gt; &gt; mail<br>
&gt; thread<br>
&gt; &gt; (but is current).=C2=A0 If arrays were to be used at the top leve=
l, one<br>
&gt; &gt; just<br>
&gt; appends<br>
&gt; &gt; the elements to the end of the base structure=C2=A0 (see examples=
 in the<br>
&gt; current<br>
&gt; &gt; document).<br>
&gt; &gt;<br>
&gt; &gt; There are three different options that can be selected at this po=
int:<br>
&gt; &gt;<br>
&gt; &gt; 1)=C2=A0 The recipient/signature map is folded into the encryptio=
n/signing<br>
&gt; &gt; message top level.=C2=A0 If we accept the change for using the sa=
me<br>
&gt; &gt; structure<br>
&gt; for<br>
&gt; &gt; both the encryption body and the recipients, this is not a viable=
<br>
&gt; &gt; option<br>
&gt; due<br>
&gt; &gt; to collisions of keys in the map.<br>
&gt; &gt;<br>
&gt; &gt; 2)=C2=A0 The recipient/signature element in the base map is permi=
tted to be<br>
&gt; &gt; either an array of recipient/signature elements or a single<br>
&gt; &gt; recipient/signature map.=C2=A0 This option was rejected by the JO=
SE group<br>
&gt; &gt; as being too complicated for programmers to deal with.=C2=A0 The =
cost of<br>
&gt; &gt; this option is 2 bytes over option one.=C2=A0 (One byte for the r=
ecipients<br>
&gt; &gt; key, one byte for the map marker.)<br>
&gt; &gt;<br>
&gt; &gt; CDDL grammar would be:=C2=A0 recipients: [+[recipient_data]] /<br=
>
&gt; &gt; {recipient_data}<br>
&gt; &gt;<br>
&gt; &gt; 3)=C2=A0 We do not support any special form of dealing with a sin=
gle recipient.<br>
&gt; &gt; The cost of this option is 3 bytes over option one.=C2=A0 (One by=
te for the<br>
&gt; &gt; recipients key, one byte for the array marker, one byte for the m=
ap<br>
&gt; marker.)<br>
&gt; &gt;<br>
&gt; &gt; CDDL grammar would be:=C2=A0 recipients: [+[recpient_data]]<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Cose mailing list<br>
&gt; &gt; <a href=3D"mailto:Cose@ietf.org">Cose@ietf.org</a><br>
&gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/cose" rel=3D"nor=
eferrer" target=3D"_blank">https://www.ietf.org/mailman/listinfo/cose</a><b=
r>
<br>
_______________________________________________<br>
Cose mailing list<br>
<a href=3D"mailto:Cose@ietf.org">Cose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/cose" rel=3D"noreferrer" t=
arget=3D"_blank">https://www.ietf.org/mailman/listinfo/cose</a><br>
</div></div></blockquote></div><br></div>

--001a11c1e8d015151f0519c5db40--


From nobody Tue Jun 30 18:12:01 2015
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AD3C71A0171 for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 18:11:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level: 
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B-pT4O7fFcX8 for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 18:11:55 -0700 (PDT)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0136.outbound.protection.outlook.com [65.55.169.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 175701A016B for <cose@ietf.org>; Tue, 30 Jun 2015 18:11:54 -0700 (PDT)
Received: from BL2PR03MB433.namprd03.prod.outlook.com (10.141.92.19) by BL2PR03MB433.namprd03.prod.outlook.com (10.141.92.19) with Microsoft SMTP Server (TLS) id 15.1.207.12; Wed, 1 Jul 2015 01:11:51 +0000
Received: from BL2PR03MB433.namprd03.prod.outlook.com ([10.141.92.19]) by BL2PR03MB433.namprd03.prod.outlook.com ([10.141.92.19]) with mapi id 15.01.0207.004; Wed, 1 Jul 2015 01:11:51 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Dick Hardt <dick.hardt@gmail.com>
Thread-Topic: [Cose] Issue: Encoding for a single recipient or structure
Thread-Index: AdCDmTM3cpCIVDijSSWQU/yxCPpImgv5+bgAAAR4DgAAACbLYAABcMGAAAAkBNA=
Date: Wed, 1 Jul 2015 01:11:51 +0000
Message-ID: <BL2PR03MB433110A60A3FE944DDB0865F5A80@BL2PR03MB433.namprd03.prod.outlook.com>
References: <001b01d08399$434ab9b0$c9e02d10$@augustcellars.com> <BL2PR03MB433F667195C8A8436CBF05AF5A90@BL2PR03MB433.namprd03.prod.outlook.com> <009501d0b392$fb7cc680$f2765380$@augustcellars.com> <BL2PR03MB43351E8E3234EC1808B46B7F5A80@BL2PR03MB433.namprd03.prod.outlook.com> <CAD9ie-uPY6FAKwPxT8n79fm+n88HM-jf+Y+yTxPghrso8c4TzQ@mail.gmail.com>
In-Reply-To: <CAD9ie-uPY6FAKwPxT8n79fm+n88HM-jf+Y+yTxPghrso8c4TzQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: gmail.com; dkim=none (message not signed) header.d=none;
x-originating-ip: [2001:4898:80e0:ee43::6]
x-microsoft-exchange-diagnostics: 1; BL2PR03MB433; 5:tP8myB1dMEmkKYOU582sMm0CNrT/wlsD6fohypl0EMY0FNXfKxdwU4zi4r+gb+xWysv/okZNmiWtisYhq0upP4LrOaFbW7lD1YkID8kzau7yc9SXCMXpEmDXDXqt8s+C3X2q+YKrzaTQy2oHI0iREg==; 24:mbr+fdFszo8PGT1yS/Pmj2Pb3NUj5Bn7RNe/CRGPkBZzVgHD7JPWGU7LHS6+mZgnsL4EkllY7Gczhe/YzRfS2RKn1F/vGLvSlXW+yBHtQ2A=; 20:HEAm7yQSL/owFOacXfrry8Lsa2XE9Nyt9vlgKUs+Swz+guhToPg7qGV0CM1k6ex08C/mXH23Xmtcj55sAx8UDQ==
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB433;
x-microsoft-antispam-prvs: <BL2PR03MB433F9511FF4ABC55FC5AF18F5A80@BL2PR03MB433.namprd03.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401001)(5005006)(3002001); SRVR:BL2PR03MB433; BCL:0; PCL:0; RULEID:; SRVR:BL2PR03MB433; 
x-forefront-prvs: 0624A2429E
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(24454002)(13464003)(51704005)(377454003)(62966003)(5002640100001)(2656002)(93886004)(87936001)(15975445007)(74316001)(19609705001)(19580405001)(33656002)(76176999)(54356999)(102836002)(19625215002)(16236675004)(86612001)(86362001)(189998001)(99286002)(50986999)(77156002)(19580395003)(77096005)(110136002)(46102003)(19300405004)(5001960100002)(40100003)(2950100001)(2900100001)(76576001)(5003600100002)(92566002)(5001920100001)(19617315012)(3826002); DIR:OUT; SFP:1102; SCL:1; SRVR:BL2PR03MB433; H:BL2PR03MB433.namprd03.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
Content-Type: multipart/alternative; boundary="_000_BL2PR03MB433110A60A3FE944DDB0865F5A80BL2PR03MB433namprd_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Jul 2015 01:11:51.5111 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB433
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/yJyCJW525M9fC7ah6lNv8kgZv50>
Cc: Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Issue: Encoding for a single recipient or structure
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Jul 2015 01:11:59 -0000

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

TXkgdW5kZXJseWluZyBhc3N1bXB0aW9uIGlzIHRoYXQganVzdCBsaWtlIHdlIGRpZCBpbiBKT1NF
LCB5b3UgKmRvbuKAmXQqIGhhdmUgdG8gc3VwcG9ydCBtdWx0aXBsZSByZWNpcGllbnRzIHRvIGJl
IGNvbXBsaWFudC4gIGh0dHA6Ly90b29scy5pZXRmLm9yZy9odG1sL3JmYzc1MTUjc2V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GRlYWxpbmcgd2l0aCBhIHNpbmds
ZSByZWNpcGllbnQuDQo+ID4gVGhlIGNvc3Qgb2YgdGhpcyBvcHRpb24gaXMgMyBieXRlcyBvdmVy
IG9wdGlvbiBvbmUuICAoT25lIGJ5dGUgZm9yIHRoZQ0KPiA+IHJlY2lwaWVudHMga2V5LCBvbmUg
Ynl0ZSBmb3IgdGhlIGFycmF5IG1hcmtlciwgb25lIGJ5dGUgZm9yIHRoZSBtYXANCj4gbWFya2Vy
LikNCj4gPg0KPiA+IENEREwgZ3JhbW1hciB3b3VsZCBiZTogIHJlY2lwaWVudHM6IFsrW3JlY3Bp
ZW50X2RhdGFdXQ0KPiA+DQo+ID4gX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX18NCj4gPiBDb3NlIG1haWxpbmcgbGlzdA0KPiA+IENvc2VAaWV0Zi5vcmc8bWFp
bHRvOkNvc2VAaWV0Zi5vcmc+DQo+ID4gaHR0cHM6Ly93d3cuaWV0Zi5vcmcvbWFpbG1hbi9saXN0
aW5mby9jb3NlDQoNCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fDQpDb3NlIG1haWxpbmcgbGlzdA0KQ29zZUBpZXRmLm9yZzxtYWlsdG86Q29zZUBpZXRmLm9y
Zz4NCmh0dHBzOi8vd3d3LmlldGYub3JnL21haWxtYW4vbGlzdGluZm8vY29zZQ0KDQo=

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

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR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X188YnI+DQpD
b3NlIG1haWxpbmcgbGlzdDxicj4NCjxhIGhyZWY9Im1haWx0bzpDb3NlQGlldGYub3JnIj5Db3Nl
QGlldGYub3JnPC9hPjxicj4NCjxhIGhyZWY9Imh0dHBzOi8vd3d3LmlldGYub3JnL21haWxtYW4v
bGlzdGluZm8vY29zZSIgdGFyZ2V0PSJfYmxhbmsiPmh0dHBzOi8vd3d3LmlldGYub3JnL21haWxt
YW4vbGlzdGluZm8vY29zZTwvYT48bzpwPjwvbzpwPjwvcD4NCjwvZGl2Pg0KPC9kaXY+DQo8L2Rp
dj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxvOnA+Jm5ic3A7PC9vOnA+PC9wPg0KPC9kaXY+DQo8
L2Rpdj4NCjwvYm9keT4NCjwvaHRtbD4NCg==

--_000_BL2PR03MB433110A60A3FE944DDB0865F5A80BL2PR03MB433namprd_--


From nobody Tue Jun 30 18:17:18 2015
Return-Path: <dick.hardt@gmail.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BD3F01A0193 for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 18:17:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EGkNeHpRafJN for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 18:17:13 -0700 (PDT)
Received: from mail-oi0-x22b.google.com (mail-oi0-x22b.google.com [IPv6:2607:f8b0:4003:c06::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5619A1A0173 for <cose@ietf.org>; Tue, 30 Jun 2015 18:17:13 -0700 (PDT)
Received: by oift81 with SMTP id t81so21097955oif.3 for <cose@ietf.org>; Tue, 30 Jun 2015 18:17:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=AVSEub5UZK0BWt9uNsdRTaNyQ4y+tO+CNCMb6o80M+4=; b=l6JCrfHzcZjjGnfGEp0eZ1LRUrIv8z9MnxJXaUx1yrTMq6cdzs1cyLRfXxB0+4ex1d YDZdkbaOhOCraAoePfPJeV1aXEfoKdgeGq79gSvlJYT9cC9oXp31iV1dj19WnY/xnUos kCXWtWx2/0ZAXlO+SZK9ngP/BRGxEPwiueiIWelLCfRRi+RgiLhCmERlBkmO8cGdv1Mr +/ynH/NrO8a3yWK7nCimGKyO8q57xp0XUGWjF8rvaGsZyFv/gb12tjgmaKIhFfN2IpJB Ypkjt8w94eYNOfVA+x0wxUwpd9/J/cf+sDPIhlAh5L46gq8WiZLVgkjFs5AlGOcUpUSV IK/Q==
X-Received: by 10.60.60.70 with SMTP id f6mr21920902oer.8.1435713433135; Tue, 30 Jun 2015 18:17:13 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.60.116.99 with HTTP; Tue, 30 Jun 2015 18:16:53 -0700 (PDT)
In-Reply-To: <BL2PR03MB433110A60A3FE944DDB0865F5A80@BL2PR03MB433.namprd03.prod.outlook.com>
References: <001b01d08399$434ab9b0$c9e02d10$@augustcellars.com> <BL2PR03MB433F667195C8A8436CBF05AF5A90@BL2PR03MB433.namprd03.prod.outlook.com> <009501d0b392$fb7cc680$f2765380$@augustcellars.com> <BL2PR03MB43351E8E3234EC1808B46B7F5A80@BL2PR03MB433.namprd03.prod.outlook.com> <CAD9ie-uPY6FAKwPxT8n79fm+n88HM-jf+Y+yTxPghrso8c4TzQ@mail.gmail.com> <BL2PR03MB433110A60A3FE944DDB0865F5A80@BL2PR03MB433.namprd03.prod.outlook.com>
From: Dick Hardt <dick.hardt@gmail.com>
Date: Tue, 30 Jun 2015 18:16:53 -0700
Message-ID: <CAD9ie-sSZxJJghyNKcU=cxnUiT4pgbvSJpeV2hvetoYv1qhD8A@mail.gmail.com>
To: Mike Jones <Michael.Jones@microsoft.com>
Content-Type: multipart/alternative; boundary=089e015374ac2e796b0519c615f8
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/ZNxuqpHTzFlczy3KsKq465nAcZU>
Cc: Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Issue: Encoding for a single recipient or structure
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Jul 2015 01:17:17 -0000

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

Thanks for the refresher MIke.

I expect that if I want to deploy COSE, I would be adding support to the
JOSE libraries I already have that I would deploy on the server, so a
consistent data model would be very beneficial and increase the odds that
it is correct and hence secure.

If there is agreement that multiple recipients is optional, then I would
strongly prefer option (a).

I'm sure this was covered in JOSE, but I don't know of any scenarios where
I would need multiple recipients -- particularly in a constrained
environment. Is there a multiple recipient use case documented somewhere?



On Tue, Jun 30, 2015 at 6:11 PM, Mike Jones <Michael.Jones@microsoft.com>
wrote:

>  My underlying assumption is that just like we did in JOSE, you **don=E2=
=80=99t**
> have to support multiple recipients to be compliant.
> http://tools.ietf.org/html/rfc7515#section-7 says:
>
>
>
>    JWSs use one of two serializations: the JWS Compact Serialization or
>
>    the JWS JSON Serialization.  Applications using this specification
>
>    need to specify what serialization and serialization features are
>
>    used for that application.  For instance, applications might specify
>
>    that only the JWS JSON Serialization is used, that only JWS JSON
>
>    Serialization support for a single signature or MAC value is used, or
>
>    that support for multiple signatures and/or MAC values is used.  JWS
>
>    implementations only need to implement the features needed for the
>
>    applications they are designed to support.
>
>
>
> Indeed, I believe that we should add equivalent text to COSE, because it=
=E2=80=99s
> even more likely in constrained environments than Web environments that
> applications will specify that they are only using subsets of the
> COSE-defined features and that general-purpose libraries will be compiled
> for specific applications with #ifdef settings to remove unused code
> paths.  I plan to propose exact text along these lines for inclusion.
>
>
>
>                                                                 -- Mike
>
>
>
>
>
> *From:* Dick Hardt [mailto:dick.hardt@gmail.com]
> *Sent:* Tuesday, June 30, 2015 6:01 PM
> *To:* Mike Jones
> *Cc:* Jim Schaad; cose@ietf.org
> *Subject:* Re: [Cose] Issue: Encoding for a single recipient or structure
>
>
>
> If I'm writing a library and I have to support multiple recipients to be
> compliant, then given a choice between dealing with both a singleton and =
an
> array(a) vs just an array (c), then I'll pick just an array (c). ... or a=
m
> I missing some aspect of how this is simpler Mike?
>
>
>
> On Tue, Jun 30, 2015 at 5:45 PM, Mike Jones <Michael.Jones@microsoft.com>
> wrote:
>
> Reply inline below...
>
>
> > -----Original Message-----
> > From: Jim Schaad [mailto:ietf@augustcellars.com]
> > Sent: Tuesday, June 30, 2015 5:15 PM
> > To: Mike Jones; cose@ietf.org
> > Subject: RE: [Cose] Issue: Encoding for a single recipient or structure
> >
> >
> >
> > > -----Original Message-----
> > > From: Mike Jones [mailto:Michael.Jones@microsoft.com]
> > > Sent: Tuesday, June 30, 2015 3:45 PM
> > > To: Jim Schaad; cose@ietf.org
> > > Subject: RE: [Cose] Issue: Encoding for a single recipient or
> > > structure
> > >
> > > Hi Jim,
> > >
> > > Per your suggestion in response to my issue 1, I'm reviewing this
> thread.
> > > (I'm also including the original message below so WG members who
> > > joined the list when the WG was formed will see it.)
> > >
> > > First, let me ask a question to see if I correctly understand the
> > > problem
> > with
> > > your option (1) below.  JWE used "alg" for the key management
> > > algorithm and "enc" for the content encryption algorithm.  Likewise,
> > > JWE used "encrypted_key" for the encrypted key value and "ciphertext"
> > > for the encrypted plaintext.  Since there were no name collisions, al=
l
> > > could live
> > in
> > > the top-level JSON object.  Whereas, your current COSE draft uses the
> > > equivalent of "alg" for both algorithms and the equivalent of
> "ciphertext"
> > > for both encrypted values, hence the label collisions you are citing
> > below,
> > > correct?
> > >
> > > If my understanding is right, then unless a JWE-like approach were
> > > adopted in which different labels are used for the different purposes=
,
> > > then yes, I agree that (1) wouldn't work.  Was this change to a singl=
e
> > > set of labels
> > the
> > > intended topic of the thread "[Cose] Issue:  Reuse the Enrypt
> > > structure
> > for
> > > recipients"?  I'm asking because a lot of the thread ended up being
> > > about
> > a
> > > different topic - whether the encrypted_key value would contain just
> > > an encrypted bare key or the equivalent of an encrypted JWK structure=
.
> > >
> > > You asked if I had anything new to add to the discussion.  I'll add
> > this...
> > >
> > > Just like for JOSE, I expect that many applications will implement
> > > only
> > the
> > > COSE features that they need.  For instance, JWT [RFC 7519]
> > > implementations only need to implement the JOSE Compact Serialization=
s
> > > - not the JSON Serializations.  I expect there to be many COSE
> > > applications that will similarly only implement support for a single
> > > recipient.  This
> > would
> > > save on code size and be simpler.
> > >
> > > I believe that applications that only use a single recipient will be
> > > the
> > most
> > > common, hence the goal stated in my review to optimize for this case.
> > > Assuming we take your option (1) off the table and limit discussion t=
o
> > only
> > > your options (2) and (3) below, then the choice seems to be between
> > > these effective grammars for the single recipient case:
> > >     (2) recipients: {recipient_data}
> > >     (3) recipients: [{recpient_data}]
> > >
> > > If you're only ever building code for the single recipient case, then
> > > (2)
> > is
> > > simpler.  But I agree that if you're using code that supports multipl=
e
> > > recipients, then (3) is simpler, if somewhat less elegant.
> >
> > I am going to make the same challenge to you that I made to Derik at on=
e
> > point.
> >
> > Can you provide code to show that option 2 is significantly larger than
> option
> > 3?
>
> I'm not saying that there's a significant code size difference.  Maybe yo=
u
> can tell us how much code would be removed from your implementation if yo=
u
> #ifdef'ed out the loops associated with producing and consuming the
> recipients arrays and just replaced it with code using a singleton array
> value (option 3) or simply a recipient_data map value (option 2).  I admi=
t
> up front that there will be almost no code size difference between 2 or 3
> if the implementation has been compiled to only support a single recipien=
t.
>
> My main point in raising this issue now is we're likely to hear the same
> thing about COSE that Richard Barnes heard from developers who were reall=
y
> using the JSON Serializations before we added the flattened data
> representation - that having to emit and parse a singleton array is ugly,
> awkward, etc.
>
> This isn't a show-stopper to me, but now that there's a working group, I
> wanted to raise the issue for the working group to explicitly consider up
> front, rather than wait until people are using early implementations and =
we
> hear back from developers "why couldn't this have been simpler in the
> simple case"?
>
>                                 Cheers,
>                                 -- Mike
>
>
> > Jim
> >
> > >
> > > What do others think about this tradeoff?
> > >
> > >                             -- Mike
> > >
> > > -----Original Message-----
> > > From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
> > > Sent: Thursday, April 30, 2015 3:59 PM
> > > To: cose@ietf.org
> > > Subject: [Cose] Issue: Encoding for a single recipient or structure
> > >
> > > Question: Flattened encoding -
> > > a)  Roll into parent map
> > > b)  Just be a map
> > > c)  Single element in array
> > >
> > > Discussion:
> > >
> > > A late addition to the JOSE specification was the ability to fold a
> > > single recipient map into the base encryption or signature map.  This
> > > is doable because the keys for all of the maps in question are unique=
.
> > > This would
> > not
> > > be true if the issue on reusing the encryption body for the recipient
> > > structure is accepted.  This issue is being discussed in a separate
> > > mail
> > thread
> > > (but is current).  If arrays were to be used at the top level, one
> > > just
> > appends
> > > the elements to the end of the base structure  (see examples in the
> > current
> > > document).
> > >
> > > There are three different options that can be selected at this point:
> > >
> > > 1)  The recipient/signature map is folded into the encryption/signing
> > > message top level.  If we accept the change for using the same
> > > structure
> > for
> > > both the encryption body and the recipients, this is not a viable
> > > option
> > due
> > > to collisions of keys in the map.
> > >
> > > 2)  The recipient/signature element in the base map is permitted to b=
e
> > > either an array of recipient/signature elements or a single
> > > recipient/signature map.  This option was rejected by the JOSE group
> > > as being too complicated for programmers to deal with.  The cost of
> > > this option is 2 bytes over option one.  (One byte for the recipients
> > > key, one byte for the map marker.)
> > >
> > > CDDL grammar would be:  recipients: [+[recipient_data]] /
> > > {recipient_data}
> > >
> > > 3)  We do not support any special form of dealing with a single
> recipient.
> > > The cost of this option is 3 bytes over option one.  (One byte for th=
e
> > > recipients key, one byte for the array marker, one byte for the map
> > marker.)
> > >
> > > CDDL grammar would be:  recipients: [+[recpient_data]]
> > >
> > > _______________________________________________
> > > Cose mailing list
> > > Cose@ietf.org
> > > https://www.ietf.org/mailman/listinfo/cose
>
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose
>
>
>

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

<div dir=3D"ltr">Thanks for the refresher MIke.=C2=A0<div><br></div><div>I =
expect that if I want to deploy COSE, I would be adding support to the JOSE=
 libraries I already have that I would deploy on the server, so a consisten=
t data model would be very beneficial and increase the odds that it is corr=
ect and hence secure.</div><div><br></div><div>If there is agreement that m=
ultiple recipients is optional, then I would strongly prefer option (a).</d=
iv><div><br></div><div>I&#39;m sure this was covered in JOSE, but I don&#39=
;t know of any scenarios where I would need multiple recipients -- particul=
arly in a constrained environment. Is there a multiple recipient use case d=
ocumented somewhere?</div><div>=C2=A0</div><div><br></div></div><div class=
=3D"gmail_extra"><br><div class=3D"gmail_quote">On Tue, Jun 30, 2015 at 6:1=
1 PM, Mike Jones <span dir=3D"ltr">&lt;<a href=3D"mailto:Michael.Jones@micr=
osoft.com" target=3D"_blank">Michael.Jones@microsoft.com</a>&gt;</span> wro=
te:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-=
left:1px #ccc solid;padding-left:1ex">





<div lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">My underlying assumption =
is that just like we did in JOSE, you *<b>don=E2=80=99t</b>* have to suppor=
t multiple recipients to be compliant.=C2=A0
<a href=3D"http://tools.ietf.org/html/rfc7515#section-7" target=3D"_blank">=
http://tools.ietf.org/html/rfc7515#section-7</a> says:<u></u><u></u></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=C2=A0<u></u></spa=
n></p>
<p class=3D"MsoNormal"><span lang=3D"EN" style=3D"font-family:&quot;Courier=
 New&quot;">=C2=A0=C2=A0 JWSs use one of two serializations: the JWS Compac=
t Serialization or<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN" style=3D"font-family:&quot;Courier=
 New&quot;">=C2=A0=C2=A0 the JWS JSON Serialization.=C2=A0 Applications usi=
ng this specification<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN" style=3D"font-family:&quot;Courier=
 New&quot;">=C2=A0=C2=A0 need to specify what serialization and serializati=
on features are<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN" style=3D"font-family:&quot;Courier=
 New&quot;">=C2=A0=C2=A0 used for that application.=C2=A0 For instance, app=
lications might specify<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN" style=3D"font-family:&quot;Courier=
 New&quot;">=C2=A0=C2=A0 that only the JWS JSON Serialization is used, that
<span style=3D"background:yellow">only JWS JSON<u></u><u></u></span></span>=
</p>
<p class=3D"MsoNormal"><span lang=3D"EN" style=3D"font-family:&quot;Courier=
 New&quot;;background:yellow">=C2=A0=C2=A0 Serialization support for a sing=
le signature or MAC value is used</span><span lang=3D"EN" style=3D"font-fam=
ily:&quot;Courier New&quot;">,
 or<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN" style=3D"font-family:&quot;Courier=
 New&quot;">=C2=A0=C2=A0 that support for multiple signatures and/or MAC va=
lues is used.=C2=A0
<span style=3D"background:yellow">JWS<u></u><u></u></span></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN" style=3D"font-family:&quot;Courier=
 New&quot;;background:yellow">=C2=A0=C2=A0 implementations only need to imp=
lement the features needed for the<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN" style=3D"font-family:&quot;Courier=
 New&quot;;background:yellow">=C2=A0=C2=A0 applications they are designed t=
o support.</span><span lang=3D"EN" style=3D"font-family:&quot;Courier New&q=
uot;"><u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=C2=A0<u></u></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Indeed, I believe that we=
 should add equivalent text to COSE, because it=E2=80=99s even more likely =
in constrained environments than Web environments that applications
 will specify that they are only using subsets of the COSE-defined features=
 and that general-purpose libraries will be compiled for specific applicati=
ons with #ifdef settings to remove unused code paths.=C2=A0 I plan to propo=
se exact text along these lines for inclusion.<u></u><u></u></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=C2=A0<u></u></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 -- Mike<u></u><u></u=
></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=C2=A0<u></u></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>=C2=A0<u></u></spa=
n></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Dick Har=
dt [mailto:<a href=3D"mailto:dick.hardt@gmail.com" target=3D"_blank">dick.h=
ardt@gmail.com</a>]
<br>
<b>Sent:</b> Tuesday, June 30, 2015 6:01 PM<br>
<b>To:</b> Mike Jones<br>
<b>Cc:</b> Jim Schaad; <a href=3D"mailto:cose@ietf.org" target=3D"_blank">c=
ose@ietf.org</a><br>
<b>Subject:</b> Re: [Cose] Issue: Encoding for a single recipient or struct=
ure<u></u><u></u></span></p><div><div class=3D"h5">
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal">If I&#39;m writing a library and I have to support m=
ultiple recipients to be compliant, then given a choice between dealing wit=
h both a singleton and an array(a) vs just an array (c), then I&#39;ll pick=
 just an array (c). ... or am I missing some
 aspect of how this is simpler Mike?=C2=A0<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
<div>
<p class=3D"MsoNormal">On Tue, Jun 30, 2015 at 5:45 PM, Mike Jones &lt;<a h=
ref=3D"mailto:Michael.Jones@microsoft.com" target=3D"_blank">Michael.Jones@=
microsoft.com</a>&gt; wrote:<u></u><u></u></p>
<p class=3D"MsoNormal">Reply inline below...<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><br>
&gt; -----Original Message-----<br>
&gt; From: Jim Schaad [mailto:<a href=3D"mailto:ietf@augustcellars.com" tar=
get=3D"_blank">ietf@augustcellars.com</a>]<br>
&gt; Sent: Tuesday, June 30, 2015 5:15 PM<br>
&gt; To: Mike Jones; <a href=3D"mailto:cose@ietf.org" target=3D"_blank">cos=
e@ietf.org</a><br>
&gt; Subject: RE: [Cose] Issue: Encoding for a single recipient or structur=
e<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; &gt; -----Original Message-----<br>
&gt; &gt; From: Mike Jones [mailto:<a href=3D"mailto:Michael.Jones@microsof=
t.com" target=3D"_blank">Michael.Jones@microsoft.com</a>]<br>
&gt; &gt; Sent: Tuesday, June 30, 2015 3:45 PM<br>
&gt; &gt; To: Jim Schaad; <a href=3D"mailto:cose@ietf.org" target=3D"_blank=
">cose@ietf.org</a><br>
&gt; &gt; Subject: RE: [Cose] Issue: Encoding for a single recipient or<br>
&gt; &gt; structure<br>
&gt; &gt;<br>
&gt; &gt; Hi Jim,<br>
&gt; &gt;<br>
&gt; &gt; Per your suggestion in response to my issue 1, I&#39;m reviewing =
this thread.<br>
&gt; &gt; (I&#39;m also including the original message below so WG members =
who<br>
&gt; &gt; joined the list when the WG was formed will see it.)<br>
&gt; &gt;<br>
&gt; &gt; First, let me ask a question to see if I correctly understand the=
<br>
&gt; &gt; problem<br>
&gt; with<br>
&gt; &gt; your option (1) below.=C2=A0 JWE used &quot;alg&quot; for the key=
 management<br>
&gt; &gt; algorithm and &quot;enc&quot; for the content encryption algorith=
m.=C2=A0 Likewise,<br>
&gt; &gt; JWE used &quot;encrypted_key&quot; for the encrypted key value an=
d &quot;ciphertext&quot;<br>
&gt; &gt; for the encrypted plaintext.=C2=A0 Since there were no name colli=
sions, all<br>
&gt; &gt; could live<br>
&gt; in<br>
&gt; &gt; the top-level JSON object.=C2=A0 Whereas, your current COSE draft=
 uses the<br>
&gt; &gt; equivalent of &quot;alg&quot; for both algorithms and the equival=
ent of &quot;ciphertext&quot;<br>
&gt; &gt; for both encrypted values, hence the label collisions you are cit=
ing<br>
&gt; below,<br>
&gt; &gt; correct?<br>
&gt; &gt;<br>
&gt; &gt; If my understanding is right, then unless a JWE-like approach wer=
e<br>
&gt; &gt; adopted in which different labels are used for the different purp=
oses,<br>
&gt; &gt; then yes, I agree that (1) wouldn&#39;t work.=C2=A0 Was this chan=
ge to a single<br>
&gt; &gt; set of labels<br>
&gt; the<br>
&gt; &gt; intended topic of the thread &quot;[Cose] Issue:=C2=A0 Reuse the =
Enrypt<br>
&gt; &gt; structure<br>
&gt; for<br>
&gt; &gt; recipients&quot;?=C2=A0 I&#39;m asking because a lot of the threa=
d ended up being<br>
&gt; &gt; about<br>
&gt; a<br>
&gt; &gt; different topic - whether the encrypted_key value would contain j=
ust<br>
&gt; &gt; an encrypted bare key or the equivalent of an encrypted JWK struc=
ture.<br>
&gt; &gt;<br>
&gt; &gt; You asked if I had anything new to add to the discussion.=C2=A0 I=
&#39;ll add<br>
&gt; this...<br>
&gt; &gt;<br>
&gt; &gt; Just like for JOSE, I expect that many applications will implemen=
t<br>
&gt; &gt; only<br>
&gt; the<br>
&gt; &gt; COSE features that they need.=C2=A0 For instance, JWT [RFC 7519]<=
br>
&gt; &gt; implementations only need to implement the JOSE Compact Serializa=
tions<br>
&gt; &gt; - not the JSON Serializations.=C2=A0 I expect there to be many CO=
SE<br>
&gt; &gt; applications that will similarly only implement support for a sin=
gle<br>
&gt; &gt; recipient.=C2=A0 This<br>
&gt; would<br>
&gt; &gt; save on code size and be simpler.<br>
&gt; &gt;<br>
&gt; &gt; I believe that applications that only use a single recipient will=
 be<br>
&gt; &gt; the<br>
&gt; most<br>
&gt; &gt; common, hence the goal stated in my review to optimize for this c=
ase.<br>
&gt; &gt; Assuming we take your option (1) off the table and limit discussi=
on to<br>
&gt; only<br>
&gt; &gt; your options (2) and (3) below, then the choice seems to be betwe=
en<br>
&gt; &gt; these effective grammars for the single recipient case:<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0(2) recipients: {recipient_data}<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0(3) recipients: [{recpient_data}]<br>
&gt; &gt;<br>
&gt; &gt; If you&#39;re only ever building code for the single recipient ca=
se, then<br>
&gt; &gt; (2)<br>
&gt; is<br>
&gt; &gt; simpler.=C2=A0 But I agree that if you&#39;re using code that sup=
ports multiple<br>
&gt; &gt; recipients, then (3) is simpler, if somewhat less elegant.<br>
&gt;<br>
&gt; I am going to make the same challenge to you that I made to Derik at o=
ne<br>
&gt; point.<br>
&gt;<br>
&gt; Can you provide code to show that option 2 is significantly larger tha=
n option<br>
&gt; 3?<u></u><u></u></p>
</div>
</div>
<p class=3D"MsoNormal">I&#39;m not saying that there&#39;s a significant co=
de size difference.=C2=A0 Maybe you can tell us how much code would be remo=
ved from your implementation if you #ifdef&#39;ed out the loops associated =
with producing and consuming the recipients arrays
 and just replaced it with code using a singleton array value (option 3) or=
 simply a recipient_data map value (option 2).=C2=A0 I admit up front that =
there will be almost no code size difference between 2 or 3 if the implemen=
tation has been compiled to only support
 a single recipient.<br>
<br>
My main point in raising this issue now is we&#39;re likely to hear the sam=
e thing about COSE that Richard Barnes heard from developers who were reall=
y using the JSON Serializations before we added the flattened data represen=
tation - that having to emit and parse
 a singleton array is ugly, awkward, etc.<br>
<br>
This isn&#39;t a show-stopper to me, but now that there&#39;s a working gro=
up, I wanted to raise the issue for the working group to explicitly conside=
r up front, rather than wait until people are using early implementations a=
nd we hear back from developers &quot;why couldn&#39;t
 this have been simpler in the simple case&quot;?<br>
<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Cheers,<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 -- Mike<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal"><br>
&gt; Jim<br>
&gt;<br>
&gt; &gt;<br>
&gt; &gt; What do others think about this tradeoff?<br>
&gt; &gt;<br>
&gt; &gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0-- Mike<br>
&gt; &gt;<br>
&gt; &gt; -----Original Message-----<br>
&gt; &gt; From: Cose [mailto:<a href=3D"mailto:cose-bounces@ietf.org" targe=
t=3D"_blank">cose-bounces@ietf.org</a>] On Behalf Of Jim Schaad<br>
&gt; &gt; Sent: Thursday, April 30, 2015 3:59 PM<br>
&gt; &gt; To: <a href=3D"mailto:cose@ietf.org" target=3D"_blank">cose@ietf.=
org</a><br>
&gt; &gt; Subject: [Cose] Issue: Encoding for a single recipient or structu=
re<br>
&gt; &gt;<br>
&gt; &gt; Question: Flattened encoding -<br>
&gt; &gt; a)=C2=A0 Roll into parent map<br>
&gt; &gt; b)=C2=A0 Just be a map<br>
&gt; &gt; c)=C2=A0 Single element in array<br>
&gt; &gt;<br>
&gt; &gt; Discussion:<br>
&gt; &gt;<br>
&gt; &gt; A late addition to the JOSE specification was the ability to fold=
 a<br>
&gt; &gt; single recipient map into the base encryption or signature map.=
=C2=A0 This<br>
&gt; &gt; is doable because the keys for all of the maps in question are un=
ique.<br>
&gt; &gt; This would<br>
&gt; not<br>
&gt; &gt; be true if the issue on reusing the encryption body for the recip=
ient<br>
&gt; &gt; structure is accepted.=C2=A0 This issue is being discussed in a s=
eparate<br>
&gt; &gt; mail<br>
&gt; thread<br>
&gt; &gt; (but is current).=C2=A0 If arrays were to be used at the top leve=
l, one<br>
&gt; &gt; just<br>
&gt; appends<br>
&gt; &gt; the elements to the end of the base structure=C2=A0 (see examples=
 in the<br>
&gt; current<br>
&gt; &gt; document).<br>
&gt; &gt;<br>
&gt; &gt; There are three different options that can be selected at this po=
int:<br>
&gt; &gt;<br>
&gt; &gt; 1)=C2=A0 The recipient/signature map is folded into the encryptio=
n/signing<br>
&gt; &gt; message top level.=C2=A0 If we accept the change for using the sa=
me<br>
&gt; &gt; structure<br>
&gt; for<br>
&gt; &gt; both the encryption body and the recipients, this is not a viable=
<br>
&gt; &gt; option<br>
&gt; due<br>
&gt; &gt; to collisions of keys in the map.<br>
&gt; &gt;<br>
&gt; &gt; 2)=C2=A0 The recipient/signature element in the base map is permi=
tted to be<br>
&gt; &gt; either an array of recipient/signature elements or a single<br>
&gt; &gt; recipient/signature map.=C2=A0 This option was rejected by the JO=
SE group<br>
&gt; &gt; as being too complicated for programmers to deal with.=C2=A0 The =
cost of<br>
&gt; &gt; this option is 2 bytes over option one.=C2=A0 (One byte for the r=
ecipients<br>
&gt; &gt; key, one byte for the map marker.)<br>
&gt; &gt;<br>
&gt; &gt; CDDL grammar would be:=C2=A0 recipients: [+[recipient_data]] /<br=
>
&gt; &gt; {recipient_data}<br>
&gt; &gt;<br>
&gt; &gt; 3)=C2=A0 We do not support any special form of dealing with a sin=
gle recipient.<br>
&gt; &gt; The cost of this option is 3 bytes over option one.=C2=A0 (One by=
te for the<br>
&gt; &gt; recipients key, one byte for the array marker, one byte for the m=
ap<br>
&gt; marker.)<br>
&gt; &gt;<br>
&gt; &gt; CDDL grammar would be:=C2=A0 recipients: [+[recpient_data]]<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; Cose mailing list<br>
&gt; &gt; <a href=3D"mailto:Cose@ietf.org" target=3D"_blank">Cose@ietf.org<=
/a><br>
&gt; &gt; <a href=3D"https://www.ietf.org/mailman/listinfo/cose" target=3D"=
_blank">https://www.ietf.org/mailman/listinfo/cose</a><br>
<br>
_______________________________________________<br>
Cose mailing list<br>
<a href=3D"mailto:Cose@ietf.org" target=3D"_blank">Cose@ietf.org</a><br>
<a href=3D"https://www.ietf.org/mailman/listinfo/cose" target=3D"_blank">ht=
tps://www.ietf.org/mailman/listinfo/cose</a><u></u><u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><u></u>=C2=A0<u></u></p>
</div>
</div></div></div>
</div>

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

--089e015374ac2e796b0519c615f8--


From nobody Tue Jun 30 21:31:24 2015
Return-Path: <ietf@augustcellars.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1D18B1A8788 for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 21:31:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id j9D-b70bWIfO for <cose@ietfa.amsl.com>; Tue, 30 Jun 2015 21:31:18 -0700 (PDT)
Received: from smtp4.pacifier.net (smtp4.pacifier.net [64.255.237.176]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C1E8A1A700E for <cose@ietf.org>; Tue, 30 Jun 2015 21:31:17 -0700 (PDT)
Received: from hebrews (unknown [50.109.240.20]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jimsch@nwlink.com) by smtp4.pacifier.net (Postfix) with ESMTPSA id E977638EF2; Tue, 30 Jun 2015 21:31:15 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Dick Hardt'" <dick.hardt@gmail.com>
References: <001b01d08399$434ab9b0$c9e02d10$@augustcellars.com> <BL2PR03MB433F667195C8A8436CBF05AF5A90@BL2PR03MB433.namprd03.prod.outlook.com> <009501d0b392$fb7cc680$f2765380$@augustcellars.com> <BL2PR03MB43351E8E3234EC1808B46B7F5A80@BL2PR03MB433.namprd03.prod.outlook.com> <CAD9ie-uPY6FAKwPxT8n79fm+n88HM-jf+Y+yTxPghrso8c4TzQ@mail.gmail.com> <BL2PR03MB433110A60A3FE944DDB0865F5A80@BL2PR03MB433.namprd03.prod.outlook.com> <CAD9ie-sSZxJJghyNKcU=cxnUiT4pgbvSJpeV2hvetoYv1qhD8A@mail.gmail.com>
In-Reply-To: <CAD9ie-sSZxJJghyNKcU=cxnUiT4pgbvSJpeV2hvetoYv1qhD8A@mail.gmail.com>
Date: Tue, 30 Jun 2015 21:31:30 -0700
Message-ID: <00d001d0b3b6$ce20f2f0$6a62d8d0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_00D1_01D0B37C.21C96DF0"
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AQJBW2regVOc1KgJrCGEY9SFfcIRjgIjyzTpArNKyUYA0EcPdQJL5N93AtWHUysCrbMn05x5AFXA
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/k5aRJSFsruijBvURakKW89VfGb8>
Cc: cose@ietf.org
Subject: Re: [Cose] Issue: Encoding for a single recipient or structure
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Jul 2015 04:31:23 -0000

This is a multipart message in MIME format.

------=_NextPart_000_00D1_01D0B37C.21C96DF0
Content-Type: text/plain;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Part of the question is going to be where do you expect COSE to be used =
in the future.

=20

If one believes that it is only for use in constrained environments, =
then it is unlikely that there is a need for multiple recipients.  Based =
on the use cases that have been provided at the current time, it is also =
likely that there is no need to have anything more than a shared secret =
method of key management.=20

=20

If one believes that it will be used in environments other than just =
constrained environments =E2=80=93 say in SACM or MILE then there are =
probably several use cases for multiple recipients and multiple key =
management methods.  An example would be a central authority providing =
an encrypted token to a client that is good for multiple servers, each =
server having its own private key for decryption.=20

=20

Another thing might be a version of multi-cast of messages.  Currently =
this is designed to use a previously sent pre-shared secret.  But it is =
possible that this might become a multiple recipient type system =
instead.

=20

One also always has the case of an entity wanting to archive the =
messages it is sending =E2=80=93 and adding itself as a recipient.

=20

I think it is quite likely that there will be application profiles of =
COSE, just as there are application protocols of CMS.  This is where one =
can say that a feature does not need to be implemented.  But it still =
makes the code much simpler for all involved if there is only one way =
that is used to do something.  This was not the approach used for =
portions of JOSE such as encoding a single recipient message.  I can =
think of at least three different ways to encode this type of message.

=20

=20

=20

From: Dick Hardt [mailto:dick.hardt@gmail.com]=20
Sent: Tuesday, June 30, 2015 6:17 PM
To: Mike Jones
Cc: Jim Schaad; cose@ietf.org
Subject: Re: [Cose] Issue: Encoding for a single recipient or structure

=20

Thanks for the refresher MIke.=20

=20

I expect that if I want to deploy COSE, I would be adding support to the =
JOSE libraries I already have that I would deploy on the server, so a =
consistent data model would be very beneficial and increase the odds =
that it is correct and hence secure.

=20

If there is agreement that multiple recipients is optional, then I would =
strongly prefer option (a).

=20

I'm sure this was covered in JOSE, but I don't know of any scenarios =
where I would need multiple recipients -- particularly in a constrained =
environment. Is there a multiple recipient use case documented =
somewhere?

=20

=20

=20

On Tue, Jun 30, 2015 at 6:11 PM, Mike Jones <Michael.Jones@microsoft.com =
<mailto:Michael.Jones@microsoft.com> > wrote:

My underlying assumption is that just like we did in JOSE, you =
*don=E2=80=99t* have to support multiple recipients to be compliant.  =
http://tools.ietf.org/html/rfc7515#section-7 says:

=20

   JWSs use one of two serializations: the JWS Compact Serialization or

   the JWS JSON Serialization.  Applications using this specification

   need to specify what serialization and serialization features are

   used for that application.  For instance, applications might specify

   that only the JWS JSON Serialization is used, that only JWS JSON

   Serialization support for a single signature or MAC value is used, or

   that support for multiple signatures and/or MAC values is used.  JWS

   implementations only need to implement the features needed for the

   applications they are designed to support.

=20

Indeed, I believe that we should add equivalent text to COSE, because =
it=E2=80=99s even more likely in constrained environments than Web =
environments that applications will specify that they are only using =
subsets of the COSE-defined features and that general-purpose libraries =
will be compiled for specific applications with #ifdef settings to =
remove unused code paths.  I plan to propose exact text along these =
lines for inclusion.

=20

                                                                -- Mike

=20

=20

From: Dick Hardt [mailto:dick.hardt@gmail.com =
<mailto:dick.hardt@gmail.com> ]=20
Sent: Tuesday, June 30, 2015 6:01 PM
To: Mike Jones
Cc: Jim Schaad; cose@ietf.org <mailto:cose@ietf.org>=20
Subject: Re: [Cose] Issue: Encoding for a single recipient or structure

=20

If I'm writing a library and I have to support multiple recipients to be =
compliant, then given a choice between dealing with both a singleton and =
an array(a) vs just an array (c), then I'll pick just an array (c). ... =
or am I missing some aspect of how this is simpler Mike?=20

=20

On Tue, Jun 30, 2015 at 5:45 PM, Mike Jones <Michael.Jones@microsoft.com =
<mailto:Michael.Jones@microsoft.com> > wrote:

Reply inline below...


> -----Original Message-----
> From: Jim Schaad [mailto:ietf@augustcellars.com =
<mailto:ietf@augustcellars.com> ]
> Sent: Tuesday, June 30, 2015 5:15 PM
> To: Mike Jones; cose@ietf.org <mailto:cose@ietf.org>=20
> Subject: RE: [Cose] Issue: Encoding for a single recipient or =
structure
>
>
>
> > -----Original Message-----
> > From: Mike Jones [mailto:Michael.Jones@microsoft.com =
<mailto:Michael.Jones@microsoft.com> ]
> > Sent: Tuesday, June 30, 2015 3:45 PM
> > To: Jim Schaad; cose@ietf.org <mailto:cose@ietf.org>=20
> > Subject: RE: [Cose] Issue: Encoding for a single recipient or
> > structure
> >
> > Hi Jim,
> >
> > Per your suggestion in response to my issue 1, I'm reviewing this =
thread.
> > (I'm also including the original message below so WG members who
> > joined the list when the WG was formed will see it.)
> >
> > First, let me ask a question to see if I correctly understand the
> > problem
> with
> > your option (1) below.  JWE used "alg" for the key management
> > algorithm and "enc" for the content encryption algorithm.  Likewise,
> > JWE used "encrypted_key" for the encrypted key value and =
"ciphertext"
> > for the encrypted plaintext.  Since there were no name collisions, =
all
> > could live
> in
> > the top-level JSON object.  Whereas, your current COSE draft uses =
the
> > equivalent of "alg" for both algorithms and the equivalent of =
"ciphertext"
> > for both encrypted values, hence the label collisions you are citing
> below,
> > correct?
> >
> > If my understanding is right, then unless a JWE-like approach were
> > adopted in which different labels are used for the different =
purposes,
> > then yes, I agree that (1) wouldn't work.  Was this change to a =
single
> > set of labels
> the
> > intended topic of the thread "[Cose] Issue:  Reuse the Enrypt
> > structure
> for
> > recipients"?  I'm asking because a lot of the thread ended up being
> > about
> a
> > different topic - whether the encrypted_key value would contain just
> > an encrypted bare key or the equivalent of an encrypted JWK =
structure.
> >
> > You asked if I had anything new to add to the discussion.  I'll add
> this...
> >
> > Just like for JOSE, I expect that many applications will implement
> > only
> the
> > COSE features that they need.  For instance, JWT [RFC 7519]
> > implementations only need to implement the JOSE Compact =
Serializations
> > - not the JSON Serializations.  I expect there to be many COSE
> > applications that will similarly only implement support for a single
> > recipient.  This
> would
> > save on code size and be simpler.
> >
> > I believe that applications that only use a single recipient will be
> > the
> most
> > common, hence the goal stated in my review to optimize for this =
case.
> > Assuming we take your option (1) off the table and limit discussion =
to
> only
> > your options (2) and (3) below, then the choice seems to be between
> > these effective grammars for the single recipient case:
> >     (2) recipients: {recipient_data}
> >     (3) recipients: [{recpient_data}]
> >
> > If you're only ever building code for the single recipient case, =
then
> > (2)
> is
> > simpler.  But I agree that if you're using code that supports =
multiple
> > recipients, then (3) is simpler, if somewhat less elegant.
>
> I am going to make the same challenge to you that I made to Derik at =
one
> point.
>
> Can you provide code to show that option 2 is significantly larger =
than option
> 3?

I'm not saying that there's a significant code size difference.  Maybe =
you can tell us how much code would be removed from your implementation =
if you #ifdef'ed out the loops associated with producing and consuming =
the recipients arrays and just replaced it with code using a singleton =
array value (option 3) or simply a recipient_data map value (option 2).  =
I admit up front that there will be almost no code size difference =
between 2 or 3 if the implementation has been compiled to only support a =
single recipient.

My main point in raising this issue now is we're likely to hear the same =
thing about COSE that Richard Barnes heard from developers who were =
really using the JSON Serializations before we added the flattened data =
representation - that having to emit and parse a singleton array is =
ugly, awkward, etc.

This isn't a show-stopper to me, but now that there's a working group, I =
wanted to raise the issue for the working group to explicitly consider =
up front, rather than wait until people are using early implementations =
and we hear back from developers "why couldn't this have been simpler in =
the simple case"?

                                Cheers,
                                -- Mike


> Jim
>
> >
> > What do others think about this tradeoff?
> >
> >                             -- Mike
> >
> > -----Original Message-----
> > From: Cose [mailto:cose-bounces@ietf.org =
<mailto:cose-bounces@ietf.org> ] On Behalf Of Jim Schaad
> > Sent: Thursday, April 30, 2015 3:59 PM
> > To: cose@ietf.org <mailto:cose@ietf.org>=20
> > Subject: [Cose] Issue: Encoding for a single recipient or structure
> >
> > Question: Flattened encoding -
> > a)  Roll into parent map
> > b)  Just be a map
> > c)  Single element in array
> >
> > Discussion:
> >
> > A late addition to the JOSE specification was the ability to fold a
> > single recipient map into the base encryption or signature map.  =
This
> > is doable because the keys for all of the maps in question are =
unique.
> > This would
> not
> > be true if the issue on reusing the encryption body for the =
recipient
> > structure is accepted.  This issue is being discussed in a separate
> > mail
> thread
> > (but is current).  If arrays were to be used at the top level, one
> > just
> appends
> > the elements to the end of the base structure  (see examples in the
> current
> > document).
> >
> > There are three different options that can be selected at this =
point:
> >
> > 1)  The recipient/signature map is folded into the =
encryption/signing
> > message top level.  If we accept the change for using the same
> > structure
> for
> > both the encryption body and the recipients, this is not a viable
> > option
> due
> > to collisions of keys in the map.
> >
> > 2)  The recipient/signature element in the base map is permitted to =
be
> > either an array of recipient/signature elements or a single
> > recipient/signature map.  This option was rejected by the JOSE group
> > as being too complicated for programmers to deal with.  The cost of
> > this option is 2 bytes over option one.  (One byte for the =
recipients
> > key, one byte for the map marker.)
> >
> > CDDL grammar would be:  recipients: [+[recipient_data]] /
> > {recipient_data}
> >
> > 3)  We do not support any special form of dealing with a single =
recipient.
> > The cost of this option is 3 bytes over option one.  (One byte for =
the
> > recipients key, one byte for the array marker, one byte for the map
> marker.)
> >
> > CDDL grammar would be:  recipients: [+[recpient_data]]
> >
> > _______________________________________________
> > Cose mailing list
> > Cose@ietf.org <mailto:Cose@ietf.org>=20
> > https://www.ietf.org/mailman/listinfo/cose

_______________________________________________
Cose mailing list
Cose@ietf.org <mailto:Cose@ietf.org>=20
https://www.ietf.org/mailman/listinfo/cose

=20

=20


------=_NextPart_000_00D1_01D0B37C.21C96DF0
Content-Type: text/html;
	charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
xmlns=3D"http://www.w3.org/TR/REC-html40"><head><meta =
http-equiv=3DContent-Type content=3D"text/html; charset=3Dutf-8"><meta =
name=3DGenerator content=3D"Microsoft Word 15 (filtered =
medium)"><style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US link=3Dblue =
vlink=3Dpurple><div class=3DWordSection1><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>Part of the question is going to be where do you expect COSE to be used =
in the future.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>If one believes that it is only for use in constrained environments, =
then it is unlikely that there is a need for multiple recipients.=C2=A0 =
Based on the use cases that have been provided at the current time, it =
is also likely that there is no need to have anything more than a shared =
secret method of key management. <o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>If one believes that it will be used in environments other than just =
constrained environments =E2=80=93 say in SACM or MILE then there are =
probably several use cases for multiple recipients and multiple key =
management methods.=C2=A0 An example would be a central authority =
providing an encrypted token to a client that is good for multiple =
servers, each server having its own private key for decryption. =
<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>Another thing might be a version of multi-cast of messages.=C2=A0 =
Currently this is designed to use a previously sent pre-shared =
secret.=C2=A0 But it is possible that this might become a multiple =
recipient type system instead.<o:p></o:p></span></p><p =
class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>One also always has the case of an entity wanting to archive the =
messages it is sending =E2=80=93 and adding itself as a =
recipient.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>I think it is quite likely that there will be application profiles of =
COSE, just as there are application protocols of CMS.=C2=A0 This is =
where one can say that a feature does not need to be implemented.=C2=A0 =
But it still makes the code much simpler for all involved if there is =
only one way that is used to do something.=C2=A0 This was not the =
approach used for portions of JOSE such as encoding a single recipient =
message.=C2=A0 I can think of at least three different ways to encode =
this type of message.<o:p></o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><p class=3DMsoNormal><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
><o:p>&nbsp;</o:p></span></p><div style=3D'border:none;border-left:solid =
blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div =
style=3D'border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in =
0in 0in'><p class=3DMsoNormal><b><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'>From:</span><=
/b><span style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif'> =
Dick Hardt [mailto:dick.hardt@gmail.com] <br><b>Sent:</b> Tuesday, June =
30, 2015 6:17 PM<br><b>To:</b> Mike Jones<br><b>Cc:</b> Jim Schaad; =
cose@ietf.org<br><b>Subject:</b> Re: [Cose] Issue: Encoding for a single =
recipient or structure<o:p></o:p></span></p></div></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><p class=3DMsoNormal>Thanks =
for the refresher MIke.&nbsp;<o:p></o:p></p><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=3DMsoNormal>I =
expect that if I want to deploy COSE, I would be adding support to the =
JOSE libraries I already have that I would deploy on the server, so a =
consistent data model would be very beneficial and increase the odds =
that it is correct and hence secure.<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>If there is agreement that multiple recipients is =
optional, then I would strongly prefer option =
(a).<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div><div><p =
class=3DMsoNormal>I'm sure this was covered in JOSE, but I don't know of =
any scenarios where I would need multiple recipients -- particularly in =
a constrained environment. Is there a multiple recipient use case =
documented somewhere?<o:p></o:p></p></div><div><p =
class=3DMsoNormal>&nbsp;<o:p></o:p></p></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div><div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><div><p class=3DMsoNormal>On Tue, =
Jun 30, 2015 at 6:11 PM, Mike Jones &lt;<a =
href=3D"mailto:Michael.Jones@microsoft.com" =
target=3D"_blank">Michael.Jones@microsoft.com</a>&gt; =
wrote:<o:p></o:p></p><blockquote style=3D'border:none;border-left:solid =
#CCCCCC 1.0pt;padding:0in 0in 0in =
6.0pt;margin-left:4.8pt;margin-right:0in'><div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>My underlying assumption is that just like we did in JOSE, you =
*<b>don=E2=80=99t</b>* have to support multiple recipients to be =
compliant.&nbsp; <a =
href=3D"http://tools.ietf.org/html/rfc7515#section-7" =
target=3D"_blank">http://tools.ietf.org/html/rfc7515#section-7</a> =
says:</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN style=3D'font-family:"Courier New"'>&nbsp;&nbsp; JWSs use one =
of two serializations: the JWS Compact Serialization =
or</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN style=3D'font-family:"Courier New"'>&nbsp;&nbsp; the JWS JSON =
Serialization.&nbsp; Applications using this =
specification</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN style=3D'font-family:"Courier New"'>&nbsp;&nbsp; need to =
specify what serialization and serialization features =
are</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN style=3D'font-family:"Courier New"'>&nbsp;&nbsp; used for that =
application.&nbsp; For instance, applications might =
specify</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN style=3D'font-family:"Courier New"'>&nbsp;&nbsp; that only the =
JWS JSON Serialization is used, that <span =
style=3D'background:yellow'>only JWS JSON</span></span><o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN style=3D'font-family:"Courier =
New";background:yellow'>&nbsp;&nbsp; Serialization support for a single =
signature or MAC value is used</span><span lang=3DEN =
style=3D'font-family:"Courier New"'>, or</span><o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN style=3D'font-family:"Courier New"'>&nbsp;&nbsp; that support =
for multiple signatures and/or MAC values is used.&nbsp; <span =
style=3D'background:yellow'>JWS</span></span><o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN style=3D'font-family:"Courier =
New";background:yellow'>&nbsp;&nbsp; implementations only need to =
implement the features needed for the</span><o:p></o:p></p><p =
class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
lang=3DEN style=3D'font-family:"Courier =
New";background:yellow'>&nbsp;&nbsp; applications they are designed to =
support.</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>Indeed, I believe that we should add equivalent text to COSE, because =
it=E2=80=99s even more likely in constrained environments than Web =
environments that applications will specify that they are only using =
subsets of the COSE-defined features and that general-purpose libraries =
will be compiled for specific applications with #ifdef settings to =
remove unused code paths.&nbsp; I plan to propose exact text along these =
lines for inclusion.</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp; -- Mike</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span =
style=3D'font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D'=
>&nbsp;</span><o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span =
style=3D'font-size:10.0pt;font-family:"Tahoma",sans-serif'>From:</span></=
b><span style=3D'font-size:10.0pt;font-family:"Tahoma",sans-serif'> Dick =
Hardt [mailto:<a href=3D"mailto:dick.hardt@gmail.com" =
target=3D"_blank">dick.hardt@gmail.com</a>] <br><b>Sent:</b> Tuesday, =
June 30, 2015 6:01 PM<br><b>To:</b> Mike Jones<br><b>Cc:</b> Jim Schaad; =
<a href=3D"mailto:cose@ietf.org" =
target=3D"_blank">cose@ietf.org</a><br><b>Subject:</b> Re: [Cose] Issue: =
Encoding for a single recipient or =
structure</span><o:p></o:p></p><div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>If I'm =
writing a library and I have to support multiple recipients to be =
compliant, then given a choice between dealing with both a singleton and =
an array(a) vs just an array (c), then I'll pick just an array (c). ... =
or am I missing some aspect of how this is simpler =
Mike?&nbsp;<o:p></o:p></p></div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On Tue, Jun =
30, 2015 at 5:45 PM, Mike Jones &lt;<a =
href=3D"mailto:Michael.Jones@microsoft.com" =
target=3D"_blank">Michael.Jones@microsoft.com</a>&gt; =
wrote:<o:p></o:p></p><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Reply =
inline below...<o:p></o:p></p><div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;margin-bottom:12.0pt'><br>&gt; =
-----Original Message-----<br>&gt; From: Jim Schaad [mailto:<a =
href=3D"mailto:ietf@augustcellars.com" =
target=3D"_blank">ietf@augustcellars.com</a>]<br>&gt; Sent: Tuesday, =
June 30, 2015 5:15 PM<br>&gt; To: Mike Jones; <a =
href=3D"mailto:cose@ietf.org" =
target=3D"_blank">cose@ietf.org</a><br>&gt; Subject: RE: [Cose] Issue: =
Encoding for a single recipient or =
structure<br>&gt;<br>&gt;<br>&gt;<br>&gt; &gt; -----Original =
Message-----<br>&gt; &gt; From: Mike Jones [mailto:<a =
href=3D"mailto:Michael.Jones@microsoft.com" =
target=3D"_blank">Michael.Jones@microsoft.com</a>]<br>&gt; &gt; Sent: =
Tuesday, June 30, 2015 3:45 PM<br>&gt; &gt; To: Jim Schaad; <a =
href=3D"mailto:cose@ietf.org" =
target=3D"_blank">cose@ietf.org</a><br>&gt; &gt; Subject: RE: [Cose] =
Issue: Encoding for a single recipient or<br>&gt; &gt; structure<br>&gt; =
&gt;<br>&gt; &gt; Hi Jim,<br>&gt; &gt;<br>&gt; &gt; Per your suggestion =
in response to my issue 1, I'm reviewing this thread.<br>&gt; &gt; (I'm =
also including the original message below so WG members who<br>&gt; &gt; =
joined the list when the WG was formed will see it.)<br>&gt; =
&gt;<br>&gt; &gt; First, let me ask a question to see if I correctly =
understand the<br>&gt; &gt; problem<br>&gt; with<br>&gt; &gt; your =
option (1) below.&nbsp; JWE used &quot;alg&quot; for the key =
management<br>&gt; &gt; algorithm and &quot;enc&quot; for the content =
encryption algorithm.&nbsp; Likewise,<br>&gt; &gt; JWE used =
&quot;encrypted_key&quot; for the encrypted key value and =
&quot;ciphertext&quot;<br>&gt; &gt; for the encrypted plaintext.&nbsp; =
Since there were no name collisions, all<br>&gt; &gt; could live<br>&gt; =
in<br>&gt; &gt; the top-level JSON object.&nbsp; Whereas, your current =
COSE draft uses the<br>&gt; &gt; equivalent of &quot;alg&quot; for both =
algorithms and the equivalent of &quot;ciphertext&quot;<br>&gt; &gt; for =
both encrypted values, hence the label collisions you are citing<br>&gt; =
below,<br>&gt; &gt; correct?<br>&gt; &gt;<br>&gt; &gt; If my =
understanding is right, then unless a JWE-like approach were<br>&gt; =
&gt; adopted in which different labels are used for the different =
purposes,<br>&gt; &gt; then yes, I agree that (1) wouldn't work.&nbsp; =
Was this change to a single<br>&gt; &gt; set of labels<br>&gt; =
the<br>&gt; &gt; intended topic of the thread &quot;[Cose] Issue:&nbsp; =
Reuse the Enrypt<br>&gt; &gt; structure<br>&gt; for<br>&gt; &gt; =
recipients&quot;?&nbsp; I'm asking because a lot of the thread ended up =
being<br>&gt; &gt; about<br>&gt; a<br>&gt; &gt; different topic - =
whether the encrypted_key value would contain just<br>&gt; &gt; an =
encrypted bare key or the equivalent of an encrypted JWK =
structure.<br>&gt; &gt;<br>&gt; &gt; You asked if I had anything new to =
add to the discussion.&nbsp; I'll add<br>&gt; this...<br>&gt; =
&gt;<br>&gt; &gt; Just like for JOSE, I expect that many applications =
will implement<br>&gt; &gt; only<br>&gt; the<br>&gt; &gt; COSE features =
that they need.&nbsp; For instance, JWT [RFC 7519]<br>&gt; &gt; =
implementations only need to implement the JOSE Compact =
Serializations<br>&gt; &gt; - not the JSON Serializations.&nbsp; I =
expect there to be many COSE<br>&gt; &gt; applications that will =
similarly only implement support for a single<br>&gt; &gt; =
recipient.&nbsp; This<br>&gt; would<br>&gt; &gt; save on code size and =
be simpler.<br>&gt; &gt;<br>&gt; &gt; I believe that applications that =
only use a single recipient will be<br>&gt; &gt; the<br>&gt; =
most<br>&gt; &gt; common, hence the goal stated in my review to optimize =
for this case.<br>&gt; &gt; Assuming we take your option (1) off the =
table and limit discussion to<br>&gt; only<br>&gt; &gt; your options (2) =
and (3) below, then the choice seems to be between<br>&gt; &gt; these =
effective grammars for the single recipient case:<br>&gt; &gt;&nbsp; =
&nbsp; &nbsp;(2) recipients: {recipient_data}<br>&gt; &gt;&nbsp; &nbsp; =
&nbsp;(3) recipients: [{recpient_data}]<br>&gt; &gt;<br>&gt; &gt; If =
you're only ever building code for the single recipient case, =
then<br>&gt; &gt; (2)<br>&gt; is<br>&gt; &gt; simpler.&nbsp; But I agree =
that if you're using code that supports multiple<br>&gt; &gt; =
recipients, then (3) is simpler, if somewhat less =
elegant.<br>&gt;<br>&gt; I am going to make the same challenge to you =
that I made to Derik at one<br>&gt; point.<br>&gt;<br>&gt; Can you =
provide code to show that option 2 is significantly larger than =
option<br>&gt; 3?<o:p></o:p></p></div></div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I'm not =
saying that there's a significant code size difference.&nbsp; Maybe you =
can tell us how much code would be removed from your implementation if =
you #ifdef'ed out the loops associated with producing and consuming the =
recipients arrays and just replaced it with code using a singleton array =
value (option 3) or simply a recipient_data map value (option 2).&nbsp; =
I admit up front that there will be almost no code size difference =
between 2 or 3 if the implementation has been compiled to only support a =
single recipient.<br><br>My main point in raising this issue now is =
we're likely to hear the same thing about COSE that Richard Barnes heard =
from developers who were really using the JSON Serializations before we =
added the flattened data representation - that having to emit and parse =
a singleton array is ugly, awkward, etc.<br><br>This isn't a =
show-stopper to me, but now that there's a working group, I wanted to =
raise the issue for the working group to explicitly consider up front, =
rather than wait until people are using early implementations and we =
hear back from developers &quot;why couldn't this have been simpler in =
the simple case&quot;?<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
Cheers,<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; -- =
Mike<o:p></o:p></p><div><div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><br>&gt; =
Jim<br>&gt;<br>&gt; &gt;<br>&gt; &gt; What do others think about this =
tradeoff?<br>&gt; &gt;<br>&gt; &gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;-- =
Mike<br>&gt; &gt;<br>&gt; &gt; -----Original Message-----<br>&gt; &gt; =
From: Cose [mailto:<a href=3D"mailto:cose-bounces@ietf.org" =
target=3D"_blank">cose-bounces@ietf.org</a>] On Behalf Of Jim =
Schaad<br>&gt; &gt; Sent: Thursday, April 30, 2015 3:59 PM<br>&gt; &gt; =
To: <a href=3D"mailto:cose@ietf.org" =
target=3D"_blank">cose@ietf.org</a><br>&gt; &gt; Subject: [Cose] Issue: =
Encoding for a single recipient or structure<br>&gt; &gt;<br>&gt; &gt; =
Question: Flattened encoding -<br>&gt; &gt; a)&nbsp; Roll into parent =
map<br>&gt; &gt; b)&nbsp; Just be a map<br>&gt; &gt; c)&nbsp; Single =
element in array<br>&gt; &gt;<br>&gt; &gt; Discussion:<br>&gt; =
&gt;<br>&gt; &gt; A late addition to the JOSE specification was the =
ability to fold a<br>&gt; &gt; single recipient map into the base =
encryption or signature map.&nbsp; This<br>&gt; &gt; is doable because =
the keys for all of the maps in question are unique.<br>&gt; &gt; This =
would<br>&gt; not<br>&gt; &gt; be true if the issue on reusing the =
encryption body for the recipient<br>&gt; &gt; structure is =
accepted.&nbsp; This issue is being discussed in a separate<br>&gt; &gt; =
mail<br>&gt; thread<br>&gt; &gt; (but is current).&nbsp; If arrays were =
to be used at the top level, one<br>&gt; &gt; just<br>&gt; =
appends<br>&gt; &gt; the elements to the end of the base structure&nbsp; =
(see examples in the<br>&gt; current<br>&gt; &gt; document).<br>&gt; =
&gt;<br>&gt; &gt; There are three different options that can be selected =
at this point:<br>&gt; &gt;<br>&gt; &gt; 1)&nbsp; The =
recipient/signature map is folded into the encryption/signing<br>&gt; =
&gt; message top level.&nbsp; If we accept the change for using the =
same<br>&gt; &gt; structure<br>&gt; for<br>&gt; &gt; both the encryption =
body and the recipients, this is not a viable<br>&gt; &gt; =
option<br>&gt; due<br>&gt; &gt; to collisions of keys in the =
map.<br>&gt; &gt;<br>&gt; &gt; 2)&nbsp; The recipient/signature element =
in the base map is permitted to be<br>&gt; &gt; either an array of =
recipient/signature elements or a single<br>&gt; &gt; =
recipient/signature map.&nbsp; This option was rejected by the JOSE =
group<br>&gt; &gt; as being too complicated for programmers to deal =
with.&nbsp; The cost of<br>&gt; &gt; this option is 2 bytes over option =
one.&nbsp; (One byte for the recipients<br>&gt; &gt; key, one byte for =
the map marker.)<br>&gt; &gt;<br>&gt; &gt; CDDL grammar would be:&nbsp; =
recipients: [+[recipient_data]] /<br>&gt; &gt; {recipient_data}<br>&gt; =
&gt;<br>&gt; &gt; 3)&nbsp; We do not support any special form of dealing =
with a single recipient.<br>&gt; &gt; The cost of this option is 3 bytes =
over option one.&nbsp; (One byte for the<br>&gt; &gt; recipients key, =
one byte for the array marker, one byte for the map<br>&gt; =
marker.)<br>&gt; &gt;<br>&gt; &gt; CDDL grammar would be:&nbsp; =
recipients: [+[recpient_data]]<br>&gt; &gt;<br>&gt; &gt; =
_______________________________________________<br>&gt; &gt; Cose =
mailing list<br>&gt; &gt; <a href=3D"mailto:Cose@ietf.org" =
target=3D"_blank">Cose@ietf.org</a><br>&gt; &gt; <a =
href=3D"https://www.ietf.org/mailman/listinfo/cose" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/cose</a><br><br>_=
______________________________________________<br>Cose mailing =
list<br><a href=3D"mailto:Cose@ietf.org" =
target=3D"_blank">Cose@ietf.org</a><br><a =
href=3D"https://www.ietf.org/mailman/listinfo/cose" =
target=3D"_blank">https://www.ietf.org/mailman/listinfo/cose</a><o:p></o:=
p></p></div></div></div><p class=3DMsoNormal =
style=3D'mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p><=
/o:p></p></div></div></div></div></div></blockquote></div><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></div></div></body></html>
------=_NextPart_000_00D1_01D0B37C.21C96DF0--

