
From nobody Tue May  5 13:05:59 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 3F1AB1B307F for <cose@ietfa.amsl.com>; Tue,  5 May 2015 13:05:55 -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 ftHPDV4Qgpuq for <cose@ietfa.amsl.com>; Tue,  5 May 2015 13:05:53 -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 193141B3082 for <cose@ietf.org>; Tue,  5 May 2015 13:05:47 -0700 (PDT)
Received: from Philemon (c-24-20-67-136.hsd1.or.comcast.net [24.20.67.136]) (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 9DBE038F3A for <cose@ietf.org>; Tue,  5 May 2015 13:05:46 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <cose@ietf.org>
Date: Tue, 5 May 2015 13:04:24 -0700
Message-ID: <018f01d0876e$af7224b0$0e566e10$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Content-Language: en-us
Thread-Index: AdCHbqAlTBZdZEGzTKabFWyl5oyS3g==
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/dcSjfWZXim0dXhgvXqtPJhS4Tsw>
Subject: [Cose] Any one alive?
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, 05 May 2015 20:05:55 -0000

I sent out a number of messages on Thursday and have gotten no input.
Please look at them and respond.

Jim



From nobody Tue May  5 23:56:14 2015
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 57BED1A7D80 for <cose@ietfa.amsl.com>; Tue,  5 May 2015 23:56:12 -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 TvV2aNdh29DF for <cose@ietfa.amsl.com>; Tue,  5 May 2015 23:56:10 -0700 (PDT)
Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com [209.85.217.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 E28EF1A86E1 for <cose@ietf.org>; Tue,  5 May 2015 23:56:09 -0700 (PDT)
Received: by lbbqq2 with SMTP id qq2so597138lbb.3 for <cose@ietf.org>; Tue, 05 May 2015 23:56: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:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type; bh=2i1hmZZHJgAlhBAOUtPsyDRvB+PGy7TELB6bFT5LPwg=; b=TbRHlYhWVThB6xUCL0CIKuTrEi6sVnCOgx+mBN57BUyH4LYQnTasysFBx0IB6jYReC LI7WL/zCIyIYJEby4fJMeMt2HDBIevGNXNtlB3Unkw2D0wCnU6xEwEfWAWT36lX0rLLV c/qAex2O4kJjAQel6rAe/Twk8lUUVC5zo/OGB7/p3eba7SVRpRrtsmxX3yMoZRAhi7PX KyDcSdTLUjKNtFwAUVtaez2732J9gbZtEZdVaYq/LuiOWbP0XFZWGj/QbIg2C+/MNjlk ksSKGK+5GFpI689psQs8bHYyQnd64eWEQPHUbhGR71XQ+K5SqczKbiJ648UDuUyk2pDf O3IQ==
X-Gm-Message-State: ALoCoQnJz4D8yDr2h7RNbNkmNQp5grHlgHKAJKTLgxykE7e3pkT4/W6hYJPt9ghxHLrhc13bQ4SW
X-Received: by 10.152.243.9 with SMTP id wu9mr26807098lac.63.1430895368431; Tue, 05 May 2015 23:56:08 -0700 (PDT)
Received: from [192.168.0.108] ([85.235.11.178]) by mx.google.com with ESMTPSA id lu12sm159239lac.49.2015.05.05.23.56.07 for <cose@ietf.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 05 May 2015 23:56:07 -0700 (PDT)
Message-ID: <5549BAFF.6020408@sics.se>
Date: Wed, 06 May 2015 08:55:59 +0200
From: Ludwig Seitz <ludwig@sics.se>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: cose@ietf.org
References: <001901d08399$020fcfd0$062f6f70$@augustcellars.com>
In-Reply-To: <001901d08399$020fcfd0$062f6f70$@augustcellars.com>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms000202040605020406000306"
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/IFkKkitG321Tg-_Iho9pKdjAqk0>
Subject: Re: [Cose] Key management in the World of 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: Wed, 06 May 2015 06:56:12 -0000

This is a cryptographically signed message in MIME format.

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

On 05/01/2015 12:57 AM, Jim Schaad wrote:
> I wanted to try and look closer at Carsten's call for more numbers in
> different applications, but before I can do that I need to figure out w=
hat
> applications there are and which ones are currently thought to be of gr=
eater
> importance.  I have tried to start by looking at the different security=

> constructs that may be used for these applications in terms of what the=

> needed security characteristics are.
[...]
> 3.  Integrity and low-level origination based on a long term shared key=
:
[...]
>
> 8. Confidentiality, integrity and low-level origination based on a long=
 term

> Which of these ten scenarios do we believe are going to be commonly use=
d?
> What percentage of the time do we think these options are going to be u=
sed?
> This will give us some starting data to look at which structures are go=
ing
> to be the most commonly used and get a start on which fields in the
> structures are going to be present.  There will be some follow on quest=
ions
> to try and make this determination.


I'm only conjecturing (which is why I kept quiet initially) but since=20
our common experience is that people tend to be lazy when it comes to=20
security, I would guess that these will be the most commonly used cases.

Why do I think so? Because these cases seem to be the most easy to=20
configure and administrate, so that's what the majority is going to use.

Regards,

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


--------------ms000202040605020406000306
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
AwwObHVkd2lnQHNpY3Muc2UxHTAbBgkqhkiG9w0BCQEWDmx1ZHdpZ0BzaWNzLnNlMIIBIjAN
BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxUHisC6rgXFsBHHBGo8ulz/cLX3gX5Ufhcwo
rp+7djzMMuKPM1KOHq0bjWhmFe8ly8CzWdk2NS600t7IEBQWJiHLsdc12UqmNswQUpD7oqkR
1nRGT6leAHYTWapkR+nczZ2NxD+H7u4ZWVIZg0DFiTqtY8ghYHHYYy8BBoc/jHG78X4+JJAg
s5XOa0gVl7W38vDvVpo14xhWEBGjzPk9WxWirqAF66PF+JEu2JD9LzFbpEq829SRXJMFB9wp
oQNlH0UQ01/2sWCIBxPpHuEjxEF/V3Z/F2VsNTy4zvYrd+/MYO3w30F+bWQNZsMHEkTW1pEh
iz7rQPWTBXoO8Fv0wQIDAQABo4IC1DCCAtAwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAw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CRACCzGBl6CBlDCB
jDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3Vy
ZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNz
IDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgMMhpgwDQYJKoZIhvcNAQEBBQAE
ggEAtYUJBEJD8elY3GGiS4SgP6flA0gg7g05GES4hGspVXqwLh2s+JG3+TP5rEBZQZwE/O+e
g78MsOp02ssZ2e/CR8uuUbRzJ+lHulp/kPkDZugk1jTCDo8HoNFpOMPIBe0Ngl6DGsf2GTMy
QxyzAlExm/gXLaE5CCnfDs2pOGrqiZiU2dER1qHgDSBUiFii3uMjbLjW3kM2hgnEMNK5bIiB
ookYEGAa3BSI+eLbb5A2rDM8I6kxJwdscBUh4+LspsEyPv1wqfGnJHERXjlbcEdAJed8NTj8
XeKB3Pe9S1fLBcifjdF2QK7LDX+deLTdSBjOPCbZN7nWuJJ87+jqvH5YHAAAAAAAAA==
--------------ms000202040605020406000306--


From nobody Wed May  6 00:02:32 2015
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 9827A1A86E8 for <cose@ietfa.amsl.com>; Wed,  6 May 2015 00:02: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 S4BTHktF7gES for <cose@ietfa.amsl.com>; Wed,  6 May 2015 00:02:30 -0700 (PDT)
Received: from mail-la0-f41.google.com (mail-la0-f41.google.com [209.85.215.41]) (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 C56DB1A7028 for <cose@ietf.org>; Wed,  6 May 2015 00:02:29 -0700 (PDT)
Received: by laat2 with SMTP id t2so705229laa.1 for <cose@ietf.org>; Wed, 06 May 2015 00:02:28 -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=UbRHh8UOjctmvZ977a/jpfZhE8cQ2CWv1IOYi7udre4=; b=NBz+CLwu8fhr9aF9LEz1mn8Ozfmpm5aWC2jsA7OWKPRNGQiQvc8Lab/ohwBtnCxwIL Zgr9FSCY2GZBYEtTrvP/0k646BbsVFWf9gLC9Mci3FCK7Fsj6pOuhmdcOTYYDcbNt/qv v6EmH2W1dymQ5hRKgWkxDzPcUBjer0X4/xIBN7MyjNAHd4FBQ8Pk8eSP2QJ8C/6q5dxE AtPRFjh7q9NpOGIY4HoG0+86+SdFAui9TD2ExDlmXtvrejvNSuKtDapkJcQpL38uAsUb FvLVASXq4RRe/MchmyIwtfVz0EJKUzJrFdzcok8Ht8bm5NzM483h8KmeUa/zb/SbsaVv 27Fg==
X-Gm-Message-State: ALoCoQmnOFQWxUftq6Bc4k/rNBStamnbjhtBsHjRoN0mHXgtYJeaIIVgqYNrzoAjay5n8hiO1/yI
X-Received: by 10.153.7.133 with SMTP id dc5mr2383007lad.17.1430895748233; Wed, 06 May 2015 00:02:28 -0700 (PDT)
Received: from [192.168.0.108] ([85.235.11.178]) by mx.google.com with ESMTPSA id u10sm166790lbb.30.2015.05.06.00.02.27 for <cose@ietf.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 May 2015 00:02:27 -0700 (PDT)
Message-ID: <5549BC81.1050808@sics.se>
Date: Wed, 06 May 2015 09:02:25 +0200
From: Ludwig Seitz <ludwig@sics.se>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: cose@ietf.org
References: <001a01d08399$26fe9d80$74fbd880$@augustcellars.com>
In-Reply-To: <001a01d08399$26fe9d80$74fbd880$@augustcellars.com>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms090803050600090008090407"
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/FYWalxpKrsalWFa1Kb5mVvUt0s0>
Subject: Re: [Cose] Issue:  Identification of the top level objects
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: Wed, 06 May 2015 07:02:31 -0000

This is a cryptographically signed message in MIME format.

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

On 05/01/2015 12:58 AM, Jim Schaad wrote:
> Question:  Identification of objects:
> a)  CBOR Tag - either general or specific to each type
> b)  Required Identifier
> c)  Use the same techniques as JOSE
>
> Discussion:
>
> One of the things that I have never liked with the JOSE document is the=

> method that is used to determine the type of object that one is dealing=

> with.   I would lie to get this corrected so that it is simple to make =
this
> determination.

Why was it done this way in JOSE in the first place?

A CBOR tag sounds neat, can the CBOR experts tell us if there are any=20
negative implications?

/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


--------------ms090803050600090008090407
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
AwwObHVkd2lnQHNpY3Muc2UxHTAbBgkqhkiG9w0BCQEWDmx1ZHdpZ0BzaWNzLnNlMIIBIjAN
BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxUHisC6rgXFsBHHBGo8ulz/cLX3gX5Ufhcwo
rp+7djzMMuKPM1KOHq0bjWhmFe8ly8CzWdk2NS600t7IEBQWJiHLsdc12UqmNswQUpD7oqkR
1nRGT6leAHYTWapkR+nczZ2NxD+H7u4ZWVIZg0DFiTqtY8ghYHHYYy8BBoc/jHG78X4+JJAg
s5XOa0gVl7W38vDvVpo14xhWEBGjzPk9WxWirqAF66PF+JEu2JD9LzFbpEq829SRXJMFB9wp
oQNlH0UQ01/2sWCIBxPpHuEjxEF/V3Z/F2VsNTy4zvYrd+/MYO3w30F+bWQNZsMHEkTW1pEh
iz7rQPWTBXoO8Fv0wQIDAQABo4IC1DCCAtAwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYD
VR0lBBYwFAYI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ELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3Vy
ZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNz
IDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgMMhpgwDQYJKoZIhvcNAQEBBQAE
ggEAj4kiB1m1IDNaTtNk8eA2rnNLtl88934HHCKc17Q2e+3XAeJopfxjB1IWQm9Lk0uFOhRb
lrXyz0Vu1rRL3JdM1GWkHVQDaeZuBc/AYNUjwEvvYMaVnIFDBigrfJsWLxEHt2HCECA3nxEm
Am/KQU2Mo9D3O77LegRm1luxbXA82jBpDmAovheblUovqyJCx3vlFc9tp91FzZ5GdUy7tf+f
TPKpI9YIbezJhZ+yBdGhaBc4iiKRsyFPoC9Zp7455ARP8cuix6sMcVdUHc5/KSJFe5n9CDce
ajMX0gp+zJWMJCXZICueEbSsCwngLrHHLzJPH87wXmoJbH6rUH7YlV/FZQAAAAAAAA==
--------------ms090803050600090008090407--


From nobody Wed May  6 02:34: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 B26A61A9071 for <cose@ietfa.amsl.com>; Wed,  6 May 2015 02:34:34 -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 zmd6dpBcDdG6 for <cose@ietfa.amsl.com>; Wed,  6 May 2015 02:34:33 -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 C04331A87E8 for <cose@ietf.org>; Wed,  6 May 2015 02:34:32 -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 t469YTq3021942; Wed, 6 May 2015 11:34:29 +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 3lhXnK0XrszDj7Y; Wed,  6 May 2015 11:34:29 +0200 (CEST)
Message-ID: <5549E023.1020600@tzi.org>
Date: Wed, 06 May 2015 11:34:27 +0200
From: Carsten Bormann <cabo@tzi.org>
User-Agent: Postbox 3.0.11 (Macintosh/20140602)
MIME-Version: 1.0
To: Ludwig Seitz <ludwig@sics.se>
References: <001a01d08399$26fe9d80$74fbd880$@augustcellars.com> <5549BC81.1050808@sics.se>
In-Reply-To: <5549BC81.1050808@sics.se>
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/JxKyTGsdLj8UQkYxGznWS2MoerU>
Cc: cose@ietf.org
Subject: Re: [Cose] Issue:  Identification of the top level objects
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: Wed, 06 May 2015 09:34:34 -0000

> Why was it done this way in JOSE in the first place?

Can't answer that one.

> A CBOR tag sounds neat, can the CBOR experts tell us if there are any
> negative implications?

Well, first of all, there should be no security implications of any of
this, as this identification information is not protected.

So we should have full freedom in doing what fits our applications.

Many applications already know the type of the object to be expected
from the context, so there isn't even a need for self-describing
identification.  E.g., in a CoAP environment, we could simply have three
different media types for the different types of COSE object.

Other applications would indeed derive a benefit from a self-describing
property.  These applications may, again, from context, know that they
are handling a COSE object, but not which one.  This is the situation
that is addressed by the current draft, which includes an identifying
number right at the start of the top-level array.

If an application could be handling other objects than COSE ones, where
these other objects also are encoded in CBOR, would benefit from a CBOR
tag.  Usage of such a tag could be left optional to also benefit those
applications that already have the contextual information.

>From an encoding overhead point of view, not providing identifying
information is of course best.  The solution to put in a small integer
in the top-level array consistently costs a single byte, independent of
whether the information is needed or not (of course, in the latter case
there is still a diagnostic value of that redundancy).  A CBOR tag can
be encoded in a single byte, but there are only very few code points for
that (24 in total, of which 9 are allocated by RFC 7049).  So I would
expect us to go for a tag value that allows encoding in two bytes (there
are 217 of these code points left, so taking three or four should not be
a problem).  So the cost would be two bytes if needed, and zero bytes if
supplied by context.

For the purposes of draft-selander-ace-object-security-01.txt, the type
of the object should always be known from the context, so here going for
an optional tag could actually be used to save a byte.

Grüße, Carsten


From nobody Wed May  6 06:04:43 2015
Return-Path: <goran.selander@ericsson.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 3C1551A8A77 for <cose@ietfa.amsl.com>; Wed,  6 May 2015 06:04:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.901
X-Spam-Level: 
X-Spam-Status: No, score=-0.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_17=0.6, J_CHICKENPOX_26=0.6, J_CHICKENPOX_32=0.6, J_CHICKENPOX_37=0.6, J_CHICKENPOX_42=0.6, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-2.3, 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 6Cd-xjf6TkLI for <cose@ietfa.amsl.com>; Wed,  6 May 2015 06:04:39 -0700 (PDT)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D92C11A0217 for <cose@ietf.org>; Wed,  6 May 2015 06:04:38 -0700 (PDT)
X-AuditID: c1b4fb3a-f79ec6d000006dc0-80-554a11645879
Received: from ESESSHC011.ericsson.se (Unknown_Domain [153.88.253.124]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id 19.6C.28096.4611A455; Wed,  6 May 2015 15:04:36 +0200 (CEST)
Received: from ESESSMB303.ericsson.se ([169.254.3.19]) by ESESSHC011.ericsson.se ([153.88.183.51]) with mapi id 14.03.0210.002; Wed, 6 May 2015 15:04:35 +0200
From: =?utf-8?B?R8O2cmFuIFNlbGFuZGVy?= <goran.selander@ericsson.com>
To: Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [Cose] Key management in the World of COSE
Thread-Index: AdCDmFbhTIQQ0AuDSXqf2/HXRZJL7wEZNxeA
Date: Wed, 6 May 2015 13:04:35 +0000
Message-ID: <D168D0C1.2E249%goran.selander@ericsson.com>
References: <001901d08399$020fcfd0$062f6f70$@augustcellars.com>
In-Reply-To: <001901d08399$020fcfd0$062f6f70$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.7.141117
x-originating-ip: [153.88.183.17]
Content-Type: text/plain; charset="utf-8"
Content-ID: <0B63AF4EF69F8747BB3A69F65B899333@ericsson.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmphkeLIzCtJLcpLzFFi42KZGfG3RjdF0CvUYOZ6U4tpW6eyWqye/p3N gclj45zpbB5LlvxkCmCK4rJJSc3JLEst0rdL4Mr4s/E7Y8GJFsaK18fb2RoYpzQydjFyckgI mEi8eHaVCcIWk7hwbz1bFyMXh5DAUUaJLafvsoEkhAQWMUqcm5cCYrMJuEg8aHgE1iAi4CGx a/cnZhBbWMBcYvH15WwQcQuJe09XsUDYRhL7dl0DW8YioCJxteckWC8vUM2ms2dZIObbS3zZ 2gNmcwo4SEzacZsdxGYEOuj7qTVg9cwC4hK3nsyHOlRAYsme88wQtqjEy8f/WEFsUQE9iZXX m4Bu4ACKK0os75cDMZkFNCXW79KHmGItseD6UhYIW1FiSvdDdohrBCVOznzCMoFRfBaSZbMQ umch6Z6FpHsWku4FjKyrGEWLU4uLc9ONjPRSizKTi4vz8/TyUks2MQKj7eCW31Y7GA8+dzzE KMDBqMTDu6DUM1SINbGsuDL3EKM0B4uSOK+d8aEQIYH0xJLU7NTUgtSi+KLSnNTiQ4xMHJxS DYzCPzU7vxxYbiVUs2zbnJVcp+2uHQkUf5D5o75onhZn3EQ1qdcnjl6rY3Cd8buoKWRv+m7D NeonIv7OSsuQndFa8SDOSWsLY/+LgzU7baZ9vcf216JEzztm+/YX2Y+05b13e/sahBaXXZ5T W9cwYx0D+1FZrvLjn742ePqcWyd4xXfjgbkbX+1XYinOSDTUYi4qTgQAxtikq5cCAAA=
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/S5fs76aCX9ZVX7HVaVbMupua35E>
Subject: Re: [Cose] Key management in the World of 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: Wed, 06 May 2015 13:04:42 -0000

SGkgSmltDQoNClNvcnJ5IGZvciB0aGUgZGVsYXkuIEkgZmlyc3QgZGVzY3JpYmUgdGhlIG5lZWRz
IEkgc2VlIGZyb20gYW4gQUNFIHBvaW50IG9mDQp2aWV3LCBhbmQgdGhlbiBsYXRlciB0cnkgdG8g
bWFwIHRoaXMgdG8gdGhlIGV4YW1wbGVzIGluIHlvdXIgbWFpbC4NCg0KRnJvbSB0aGUgQUNFIHBl
cnNwZWN0aXZlIHRoZXJlIGFyZSBhdCBsZWFzdCB0d28gc29ydHMgb2YgaW5mb3JtYXRpb24gZmxv
d3MNCndoZXJlIENPU0Ugb2JqZWN0cyBtYXkgYmUgcmVsZXZhbnQgKHNlZSBzZWN0aW9ucyAyLjMt
Mi40IG9mDQpodHRwOi8vd3d3LmlldGYub3JnL2lkL2RyYWZ0LWdlcmRlcy1hY2UtYWN0b3JzLTA1
LnR4dCk6DQoNCkEuIFRoZSBpbnRlcmFjdGlvbiBiZXR3ZWVuIHBvdGVudGlhbGx5IGNvbnN0cmFp
bmVkIGVuZHBvaW50cy4gVGhpcw0KaW5jbHVkZXMgd3JhcHBlZCBzdWJzZXRzIG9mIENvQVAgbWVz
c2FnZXMsIGUuZy4gcmVzb3VyY2UgcmVwcmVzZW50YXRpb25zLg0KDQpCLiAiQ29udHJvbCBpbmZv
cm1hdGlvbuKAnSBmb3IgY29uc3RyYWluZWQgZGV2aWNlcy4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fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
DQo+Q29zZSBtYWlsaW5nIGxpc3QNCj5Db3NlQGlldGYub3JnDQo+aHR0cHM6Ly93d3cuaWV0Zi5v
cmcvbWFpbG1hbi9saXN0aW5mby9jb3NlDQoNCg==


From nobody Wed May  6 14:28:34 2015
Return-Path: <paul.hoffman@vpnc.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 41AF01AD370 for <cose@ietfa.amsl.com>; Wed,  6 May 2015 14:28:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.347
X-Spam-Level: 
X-Spam-Status: No, score=-1.347 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553] 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 SZACkAYcKyAq for <cose@ietfa.amsl.com>; Wed,  6 May 2015 14:28:32 -0700 (PDT)
Received: from proper.com (Opus1.Proper.COM [207.182.41.91]) (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 915A11ACDD7 for <cose@ietf.org>; Wed,  6 May 2015 14:28:32 -0700 (PDT)
Received: from [10.20.30.101] (50-1-98-218.dsl.dynamic.fusionbroadband.com [50.1.98.218]) (authenticated bits=0) by proper.com (8.15.1/8.14.9) with ESMTPSA id t46LST3h052526 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 May 2015 14:28:30 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: proper.com: Host 50-1-98-218.dsl.dynamic.fusionbroadband.com [50.1.98.218] claimed to be [10.20.30.101]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <001a01d08399$26fe9d80$74fbd880$@augustcellars.com>
Date: Wed, 6 May 2015 14:28:29 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <22B93624-1F44-46CE-BB71-D03AB58ABB06@vpnc.org>
References: <001a01d08399$26fe9d80$74fbd880$@augustcellars.com>
To: Jim Schaad <ietf@augustcellars.com>
X-Mailer: Apple Mail (2.2098)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/zMnJZunrwJCaaf-g4ylFrXmXOJQ>
Cc: cose@ietf.org
Subject: Re: [Cose] Issue:  Identification of the top level objects
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: Wed, 06 May 2015 21:28:33 -0000

On Apr 30, 2015, at 3:58 PM, Jim Schaad <ietf@augustcellars.com> wrote:
> Question:  Identification of objects:
> a)  CBOR Tag - either general or specific to each type
> b)  Required Identifier
> c)  Use the same techniques as JOSE

(a) is OK, but (b) is more definitive. (c) is, as you point out, =
wasteful of program space.

I would more highly support (b) because it is a single byte whereas (a) =
might be one or more bytes.

--Paul Hoffman=


From nobody Wed May  6 14:30:19 2015
Return-Path: <paul.hoffman@vpnc.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 1E37D1B2FA9 for <cose@ietfa.amsl.com>; Wed,  6 May 2015 14:30:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.347
X-Spam-Level: 
X-Spam-Status: No, score=-1.347 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553] 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 sj1xhBIvIDP6 for <cose@ietfa.amsl.com>; Wed,  6 May 2015 14:30:18 -0700 (PDT)
Received: from proper.com (Opus1.Proper.COM [207.182.41.91]) (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 757681ACDD7 for <cose@ietf.org>; Wed,  6 May 2015 14:30:18 -0700 (PDT)
Received: from [10.20.30.101] (50-1-98-218.dsl.dynamic.fusionbroadband.com [50.1.98.218]) (authenticated bits=0) by proper.com (8.15.1/8.14.9) with ESMTPSA id t46LUG7p052559 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 May 2015 14:30:17 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: proper.com: Host 50-1-98-218.dsl.dynamic.fusionbroadband.com [50.1.98.218] claimed to be [10.20.30.101]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <001b01d08399$434ab9b0$c9e02d10$@augustcellars.com>
Date: Wed, 6 May 2015 14:30:16 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <724B1E60-A92F-42EB-B7BD-732A6B19ECCA@vpnc.org>
References: <001b01d08399$434ab9b0$c9e02d10$@augustcellars.com>
To: Jim Schaad <ietf@augustcellars.com>
X-Mailer: Apple Mail (2.2098)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/hq3Gn-6Y0MCPXMgwXc0ZKHaXfts>
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: <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, 06 May 2015 21:30:19 -0000

On Apr 30, 2015, at 3:59 PM, Jim Schaad <ietf@augustcellars.com> wrote:
> Question: Flattened encoding -
> a)  Roll into parent map
> b)  Just be a map
> c)  Single element in array

If the top level is an array, clearly (c) is the right way to go. =
Otherwise, both (a) and (b) seem similar in code size and data size.

--Paul Hoffman=


From nobody Wed May  6 21:02:51 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 84CA51A8AF9 for <cose@ietfa.amsl.com>; Wed,  6 May 2015 21:02:50 -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_00=-1.9, J_CHICKENPOX_17=0.6, J_CHICKENPOX_26=0.6, J_CHICKENPOX_29=0.6, J_CHICKENPOX_32=0.6, J_CHICKENPOX_37=0.6, J_CHICKENPOX_42=0.6, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_LOW=-0.7] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Y_pwwlbN5Wir for <cose@ietfa.amsl.com>; Wed,  6 May 2015 21:02: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 95F971A8AF5 for <cose@ietf.org>; Wed,  6 May 2015 21:02:47 -0700 (PDT)
Received: from Philemon (c-71-237-245-2.hsd1.or.comcast.net [71.237.245.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 73C682C9EE; Wed,  6 May 2015 21:02:46 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: =?UTF-8?Q?'G=C3=B6ran_Selander'?= <goran.selander@ericsson.com>, <cose@ietf.org>
References: <001901d08399$020fcfd0$062f6f70$@augustcellars.com> <D168D0C1.2E249%goran.selander@ericsson.com>
In-Reply-To: <D168D0C1.2E249%goran.selander@ericsson.com>
Date: Wed, 6 May 2015 21:01:24 -0700
Message-ID: <035901d0887a$7ccde3c0$7669ab40$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 14.0
Content-Language: en-us
Thread-Index: AQIiDDTO/LtF93LmyDHgR+orETQ1MQHuzG0UnL1iptA=
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/UeCj39d_Fvul7sfTR-sfiPAaTo8>
Subject: Re: [Cose] Key management in the World of 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: Thu, 07 May 2015 04:02:50 -0000

> -----Original Message-----
> From: G=C3=B6ran Selander [mailto:goran.selander@ericsson.com]
> Sent: Wednesday, May 06, 2015 6:05 AM
> To: Jim Schaad; cose@ietf.org
> Subject: Re: [Cose] Key management in the World of COSE
>=20
> Hi Jim
>=20
> Sorry for the delay. I first describe the needs I see from an ACE =
point of view,
> and then later try to map this to the examples in your mail.
>=20
> From the ACE perspective there are at least two sorts of information =
flows
> where COSE objects may be relevant (see sections 2.3-2.4 of
> http://www.ietf.org/id/draft-gerdes-ace-actors-05.txt):
>=20
> A. The interaction between potentially constrained endpoints. This =
includes
> wrapped subsets of CoAP messages, e.g. resource representations.
>=20
> B. "Control information=E2=80=9D for constrained devices. This include =
information
> necessary for authentication and authorization of the other =
potentially
> constrained endpoint, including wrapped keys/security contexts, =
credentials
> such as public keys or certificates or other assertions.
>=20
>=20
> Another assumption that may be important here is that we assume that =
in
> some cases we can assume some security state can be kept between =
sender
> and receiver over several message exchanges (keys, key identifiers,
> sequence numbers, . . .). I don=E2=80=99t know if your examples assume =
some aspect
> of statelessness?
>=20
>=20
> In terms of message protection, here are the security constructs we =
had in
> mind:
>=20
> a. Symmetric integrity protection  =E2=80=94 e.g. MAC(sk, m) b. =
Symmetric
> encryption + symmetric integrity protection =E2=80=94 e.g. AEAD(sk, m) =
c.
> Asymmetric integrity protection =E2=80=94 e.g. Sign(PrK, m) d. =
Symmetric encryption
> + asymmetric integrity protection =E2=80=94 e.g. AES(sk, m); Sign(PrK, =
AES(sk, m))
>=20
> sk=3Dsymmetric key, m=3Dmessage, PrK=3Dprivate key, PK=3Dpublic key
>=20
> We assume in all these constructs that the keys used are =
pre-established, or
> that new symmetric keys can become established.
>=20
> In order to reference a pre-established key we assume there is a key
> identifier associated to the key, e.g. using the "kid" parameter, or =
some
> variant allowing distinction between symmetric/asymmetric key here
> denoted "skid"/"akid". The identifers needed differ between the cases:
>=20
> a. skid =3D <identifier of sk>
> b. skid =3D <identifier of sk>
> c. akid =3D <identifier of PK>
> d. skid =3D <identifier of sk>, akid =3D <identifier of PK>
>=20
> To allow establishment of new symmetric keys we see use for the =
following
> methods in combination with a-d.
>=20
> (i) AES(sk1, sk2)
> (ii) Enc(PK, sk2)
> (iii) ECDH-ES
>=20
> (i) and (ii) are key push methods based on known recipient key (sk1 =
and PK,
> respectively). Method (iii) assumes the inclusion of sender "epk"
> header parameter and using a known static DH-key of the receiver (and
> known KDF etc.)
>=20
> When this key establishment is part of a message exchange as above, it
> replaces the "skid" parameter used in one of the methods a-d above. It
> should actually result in the generation of a new key identifier =
"skid"
> for the established key, which can be referenced in later exchanges.
>=20
> We also see the need for establishing keys and key identifiers without
> combining that with other message exchange, i.e. integrating the key
> establishment methods with relevant integrity protection such as for
> example:
>=20
> (i) + a (key transport of symmetric key with integrity protection, =
based on
> shared key)
> (ii) + c (key transport of symmetric key with integrity protection, =
based on
> asymmetric keys)
> (iii) + a (DH key establishment based on sender ephemeral PK and =
receiver
> static PK, authenticated with shared key)
>=20
>=20
> Further comments inline:
>=20
>=20
>=20
> On 2015-05-01 00:57, "Jim Schaad" <ietf@augustcellars.com> wrote:
>=20
> >I wanted to try and look closer at Carsten's call for more numbers in
> >different applications, but before I can do that I need to figure out
> >what applications there are and which ones are currently thought to =
be
> >of greater importance.  I have tried to start by looking at the
> >different security constructs that may be used for these applications
> >in terms of what the needed security characteristics are.
> >
> >1. Integrity based on recipient asymmetric key:  I expect that this =
is
> >not a common scenario to happen for CoRE systems.  This scenario
> >requires that the sender get a certified public key for the recipient
> >and uses that, along with some ephemeral data local to it, to create =
a
> >short term shared secret used to protect the integrity of the =
message.
> >This scenario provides no indication of where the data originated, =
thus
> >it can be used to create a message for multiple recipients.  An =
example
> >of how this would be implemented is the use of CBC-MAC with ECDH-ES
> key
> >agreement plus KDF.
>=20
> Do you mean "it can NOT be used to create a message for multiple
> recipients=E2=80=9D? I don=E2=80=99t see that it actually provides =
integrity, since anyone could
> wrap a symmetric key with the recipient public key and replace the =
MAC. In
> any case, I agree that this is probably not a common scenario.

Do not conflate the concepts of integrity with the origination.  This =
method only provides integrity.  The message has not been changed since =
it was sent.  You have no idea who sent it.  It could be somebody who =
just generated an ephemeral key and did the key agreement operation and =
sent you a message.  There is no need to postulate somebody who changed =
a message that they received.  In this case all you know is that the =
message was not sent since it was changed, not who sent it.  Thus a =
message can be sent to multiple people - they all can verify that the =
integrity on the message is intact and none of them can know who sent =
the message.


>=20
>=20
> >
> >2. Integrity and low-level origination based on a short term shared =
key:
> >Under the current system this would be setup using a DTLS session =
along
> >with an extractor to establish the key.  The key would be for
> >"short-term" use (i.e.  hours not days or weeks).  The option only
> >provides for point-to-point integrity not end-to-end integrity.
> >Integrity can be forged by any party that knows the shared-secret.  =
In
> >this mode, there needs to be a single recipient of the message.  If
> >this condition is met, origination is shown by saying "I did not make
> >this message so the other party must have done so." Origin of the
> >message cannot be proved to a third party.  An example of how this
> >would be implemented is the use of CBC-MAC with direct key.
>=20
> This corresponds to a. above.

No it does not - not the addition of origination that was missing in the =
first case.

>=20
> >
> >3.  Integrity and low-level origination based on a long term shared =
key:
> >Under the current system this would be setup using a pair-wise key
> >established between two entities.  The key would be for "long-term" =
use
> >(i.e.  weeks or months).  Given that this is a long term used key, =
the
> >problem of replay and potential forgeries is greater.   For this =
reason,
> >some type of key derivation on the shared security would be =
suggested.
> >The option only provides for end-to-end integrity between the =
parties.
> >Integrity can be forged by any party that knows the shared-secret.  =
In
> >this mode, there needs to be a single recipient of the message.  If
> >this condition is met, origination is shown by saying "I did not make
> >this message so the other party must have done so." Origin of the
> >message cannot be proved to a third party.  An example of how this
> >would be implemented is the use of CBC-MAC with direct key plus KDF.
>=20
> I see this as a minor variant of 2. I assume there will be some =
algorithm
> identifier that could optionally reference a KDF, and if it does then =
it is case
> 3 otherwise case 2. Or what else is the difference?

The difference here is a question of how long one can use a single =
shared key without having problems and how to increase that time period. =
 If you just got a new key from a key agreement operation, then you can =
use it for a while.  On the other hand if you have a key which is hard =
coded into the device, it makes sense to send messages which are not =
encoded with that key but with a secret derived from that key.  This =
means that compromise of the key is a two operation reversal rather than =
a single operation reversal.  Both the integrity on the message and the =
KDF need to be reversed.

>=20
>=20
> >
> >4.  Integrity and low-level origination based on two asymmetric keys:
> >This scenario requires that both the recipient and sender of the
> >message have well known key agreement keys.  Both entities must be =
able
> >to get these either from a trusted third party or over some type of
> >protocol that includes doing a proof-of-possession check on both =
sides.
> >Once this is done, a one-time shared security is generated that is =
used
> >to provide both end-to-end integrity protection and a degree of =
origination
> knowledge.
> >Origination of the message cannot be proved to a third party.  Both
> >parties must have a key that is in the same group.  A uniqueness =
value
> >must be interjected into the key agreement process by at least one of
> >the parties.
> >It is sufficient that a counter be used for this purposes, it is not
> >necessary for this value to be random.  An example of how this would =
be
> >implemented is the use of CBC-MAC with a ECDH-SS key agreement plus
> KDF.
>=20
> I don=E2=80=99t see how this or 9. adds much to the setting we look =
at.
>=20
> Either there is a shared secret between the sender and receiver. Then =
there
> is no need to do a Diffie-Hellman to derive a fresh shared secret, a =
KDF
> would do. Or, the public key of the sender is not known to the =
receiver, and
> then this seems to be very similar to ECDH-ES (6. below).

The assumption in this case is that one does know the public key of the =
recipient - either it is hard coded in the system or there is a method =
of querying for it.  It is quite possible that this is not a commonly =
used scenario.

>=20
>=20
> >
> >5. Integrity and high-level origination based on sender asymmetric =
key:
> >This scenario requires that a true signature algorithm be defined and
> >used as well as the ability for a recipient to query a trusted third
> >party that the binding of identity and public key is true.  Using =
this
> >allows for the origination and integrity of a message to be proved to =
a
> >third party, the signature is not directed at any specific party.  An
> >example of how this would be implemented is the use of ECDSA with =
SHA-
> 256.
>=20
> This corresponds to c. above
>=20
> >
> >6.  Confidentiality and integrity based on recipient asymmetric key:
> >This scenario shares most of the same functionality as does scenario =
1.
> >The required integrity can be obtained by the use of an AEAD =
algorithm
> >rather than a MAC algorithm.  An example of how this would be
> >implemented is the use of AES-CCM with ECDH-ES key agreement plus
> KDF.
>=20
> This is (iii) + b. above

Note - this case does not tell you who sent the message - note the =
absence of origination from the title.  This is the reason for doing =
ECDH-SS instead.

>=20
> >
> >7.  Confidentiality, integrity and low-level origination based on a
> >short term shared key: This scenario shares most of the same
> >functionality as does
> >scenario 2.   The required integrity can be obtained by the use of an =
AEAD
> >algorithm rather than a MAC algorithm  An example of how this would =
be
> >implemented is the use of AES-CCM with direct key.
>=20
> This corresponds to b. above.
>=20
> >
> >8. Confidentiality, integrity and low-level origination based on a =
long
> >term shared key:  This scenario shares most of the same functionality
> >as does scenario 3.  The required integrity can be obtained by the =
use
> >of an AEAD algorithm rather than a MAC algorithm.  An example of how
> >this would be implemented is the use of AES-CCM with direct key plus
> >KDF.
>=20
> Again a minor variant of 7.
>=20
> >
> >9. Confidentiality, integrity and low-level origination based on two
> >asymmetric keys:  This scenario shares most of the same functionality =
as
> >does scenario 4.    The required integrity can be obtained by the use =
of
> >an
> >AEAD algorithm rather than a MAC algorithm.  An example of how this
> >would be implemented is the use of AES-CCM with ECDH-SS key
> agreement
> >plus KDF.
>=20
> See scenario 4 above
>=20
> >
> >10. Confidentiality, integrity and high-level origination based on
> >sender asymmetric key:  This scenario shares the integrity and
> >origination requirements of scenario 5, however the algorithm choice
> >there does not provide an confidentiality.  A different =
confidentiality
> >mechanism must be used.  Any of the methods used in scenarios 5-9 =
could
> >be used for this purpose.  Getting both sets of functionality will
> >required the use of a wrapped message scenario where the signed
> message
> >is wrapped inside of an encrypted message.  (Attempting to do both in
> >the same message was removed between PKCS #7 and CMS due to security
> >flaws.  It was possible to both determine who the message signer was
> >and to do traffic analysis on the content of the message by looking =
at
> >the hash of the resulting signature.)
>=20
>=20
> We are looking for something like d. above. I think this is something
> different? The comment about security flaw in PKCS#7 seems from your
> short explanation to relate to sign-then-encrypt, is there also an =
issue with
> encrypt-then-sign?

No - my note relates to sign-and-encrypt.  It is not a problem here for =
either sign-then-encrypt or encrypt-then-sign.  Depending on what you =
want to do with the message, sign-then-encrypt is a better thing to do.  =
Note since this is asymmetric it is not the same issue as the =
MAC-then-encrypt issues that TLS has.

>=20
> A combination of 7 and 5 is an option to d, but replacing an AEAD with =
AES
> probably be more optimal.
>=20
>=20
> >
> >Which of these ten scenarios do we believe are going to be commonly
> used?
> >What percentage of the time do we think these options are going to be
> >used?
>=20
> It is difficult to predict, but I would expect the messages related to
> interaction based on existing keys (A) would be more prevalent than =
the
> message related to control information and establishment of keys (B).
> Further that point-to-point messages would be more prevalent than =
point-
> to-multipoint. Hence the most common would be a. and b., followed by =
c.
> and d., followed by (i)-(iii) in combination with a-d.
>=20
> G=C3=B6ran
>=20
> >This will give us some starting data to look at which structures are
> >going to be the most commonly used and get a start on which fields in
> >the structures are going to be present.  There will be some follow on
> >questions to try and make this determination.
> >
> >Jim
> >
> >
> >_______________________________________________
> >Cose mailing list
> >Cose@ietf.org
> >https://www.ietf.org/mailman/listinfo/cose



From nobody Thu May  7 00:11:55 2015
Return-Path: <goran.selander@ericsson.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 15FAD1B2A45 for <cose@ietfa.amsl.com>; Thu,  7 May 2015 00:11:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.301
X-Spam-Level: 
X-Spam-Status: No, score=-0.301 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, J_CHICKENPOX_17=0.6, J_CHICKENPOX_26=0.6, J_CHICKENPOX_29=0.6, J_CHICKENPOX_32=0.6, J_CHICKENPOX_37=0.6, J_CHICKENPOX_42=0.6, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_MED=-2.3, 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 tim2GI9kJ_1A for <cose@ietfa.amsl.com>; Thu,  7 May 2015 00:11:51 -0700 (PDT)
Received: from sessmg22.ericsson.net (sessmg22.ericsson.net [193.180.251.58]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1F3981A874C for <cose@ietf.org>; Thu,  7 May 2015 00:11:49 -0700 (PDT)
X-AuditID: c1b4fb3a-f79ec6d000006dc0-ff-554b1034ce97
Received: from ESESSHC003.ericsson.se (Unknown_Domain [153.88.253.124]) by sessmg22.ericsson.net (Symantec Mail Security) with SMTP id 66.75.28096.4301B455; Thu,  7 May 2015 09:11:48 +0200 (CEST)
Received: from ESESSMB303.ericsson.se ([169.254.3.19]) by ESESSHC003.ericsson.se ([153.88.183.27]) with mapi id 14.03.0210.002; Thu, 7 May 2015 09:11:47 +0200
From: =?utf-8?B?R8O2cmFuIFNlbGFuZGVy?= <goran.selander@ericsson.com>
To: Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [Cose] Key management in the World of COSE
Thread-Index: AdCDmFbhTIQQ0AuDSXqf2/HXRZJL7wEZNxeAABshSAAACtcyAA==
Date: Thu, 7 May 2015 07:11:47 +0000
Message-ID: <D170D03B.2E8D5%goran.selander@ericsson.com>
References: <001901d08399$020fcfd0$062f6f70$@augustcellars.com> <D168D0C1.2E249%goran.selander@ericsson.com> <035901d0887a$7ccde3c0$7669ab40$@augustcellars.com>
In-Reply-To: <035901d0887a$7ccde3c0$7669ab40$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.7.141117
x-originating-ip: [153.88.183.147]
Content-Type: text/plain; charset="utf-8"
Content-ID: <FF75A8C10EFAC24DA1C7D2DFDD35FDFC@ericsson.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmplkeLIzCtJLcpLzFFi42KZGfG3RtdEwDvUoP+nrMW0rVNZLVZP/87m wOSxcc50No8lS34yBTBFcdmkpOZklqUW6dslcGU8OH6OseDaTsaK5/2TmBoYv2xh7GLk5JAQ MJE48eUaE4QtJnHh3nq2LkYuDiGBo4wSjxbeYoFwFjFK3Px4HqyKTcBF4kHDIzBbRMBDYtfu T8wgtrCAucTi68vZIOIWEveermKBsJ0kOvctYwWxWQRUJE5O+AJUz8HBC1Qzd3MhxPwljBIn 5u0C6+UUcJB48+EI2ExGoIu+n1oDtotZQFzi1pP5UJcKSCzZc54ZwhaVePn4H9h8UQE9iZXX m9hA5ksIKElM25oGYjILaEqs36UPMcVa4sL5D8wQtqLElO6H7CA2r4CgxMmZT1gmMIrPQrJs FkL3LCTds5B0z0LSvYCRdRWjaHFqcXFuupGRXmpRZnJxcX6eXl5qySZGYLwd3PLbagfjweeO hxgFOBiVeHgVjnuFCrEmlhVX5h5ilOZgURLntTM+FCIkkJ5YkpqdmlqQWhRfVJqTWnyIkYmD U6qBcXnihYRp8Vuvfmn4MW+L/Pzb1XHX03/erFByPLOE6el2yfVH3kXo3jqUO2NpxVn/dM5P 81auCz93JkJw1cvV094JxPsu4o+pkXrz9AyHj2f1yQXfeziUrI9179n2f5sLl9y+Xgu1J+H5 LXX9N/Wln/lecPXfMVHljp29a2y//sHsBefUD2S29CixFGckGmoxFxUnAgCqRd/WmAIAAA==
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/yRyTg2pmZKLx5_89YuJpaggdBLk>
Subject: Re: [Cose] Key management in the World of 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: Thu, 07 May 2015 07:11:54 -0000

DQoNCk9uIDIwMTUtMDUtMDcgMDY6MDEsICJKaW0gU2NoYWFkIiA8aWV0ZkBhdWd1c3RjZWxsYXJz
LmNvbT4gd3JvdGU6DQoNCj4NCj4NCj4+IC0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+PiBG
cm9tOiBHw7ZyYW4gU2VsYW5kZXIgW21haWx0bzpnb3Jhbi5zZWxhbmRlckBlcmljc3Nvbi5jb21d
DQo+PiBTZW50OiBXZWRuZXNkYXksIE1heSAwNiwgMjAxNSA2OjA1IEFNDQo+PiBUbzogSmltIFNj
aGFhZDsgY29zZUBpZXRmLm9yZw0KPj4gU3ViamVjdDogUmU6IFtDb3NlXSBLZXkgbWFuYWdlbWVu
dCBpbiB0aGUgV29ybGQgb2YgQ09TRQ0KPj4gDQo+PiBIaSBKaW0NCj4+IA0KPj4gU29ycnkgZm9y
IHRoZSBkZWxheS4gSSBmaXJzdCBkZXNjcmliZSB0aGUgbmVlZHMgSSBzZWUgZnJvbSBhbiBBQ0Ug
cG9pbnQNCj4+b2YgdmlldywNCj4+IGFuZCB0aGVuIGxhdGVyIHRyeSB0byBtYXAgdGhpcyB0byB0
aGUgZXhhbXBsZXMgaW4geW91ciBtYWlsLg0KPj4gDQo+PiBGcm9tIHRoZSBBQ0UgcGVyc3BlY3Rp
dmUgdGhlcmUgYXJlIGF0IGxlYXN0IHR3byBzb3J0cyBvZiBpbmZvcm1hdGlvbg0KPj5mbG93cw0K
Pj4gd2hlcmUgQ09TRSBvYmplY3RzIG1heSBiZSByZWxldmFudCAoc2VlIHNlY3Rpb25zIDIuMy0y
LjQgb2YNCj4+IGh0dHA6Ly93d3cuaWV0Zi5vcmcvaWQvZHJhZnQtZ2VyZGVzLWFjZS1hY3RvcnMt
MDUudHh0KToNCj4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IGEgc3Rh
cnQgb24gd2hpY2ggZmllbGRzIGluDQo+PiA+dGhlIHN0cnVjdHVyZXMgYXJlIGdvaW5nIHRvIGJl
IHByZXNlbnQuICBUaGVyZSB3aWxsIGJlIHNvbWUgZm9sbG93IG9uDQo+PiA+cXVlc3Rpb25zIHRv
IHRyeSBhbmQgbWFrZSB0aGlzIGRldGVybWluYXRpb24uDQo+PiA+DQo+PiA+SmltDQo+PiA+DQo+
PiA+DQo+PiA+X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18N
Cj4+ID5Db3NlIG1haWxpbmcgbGlzdA0KPj4gPkNvc2VAaWV0Zi5vcmcNCj4+ID5odHRwczovL3d3
dy5pZXRmLm9yZy9tYWlsbWFuL2xpc3RpbmZvL2Nvc2UNCj4NCg0K


From nobody Thu May  7 01:16:27 2015
Return-Path: <kathleen.moriarty.ietf@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 ADD671B2F56; Thu,  7 May 2015 01:16:25 -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 bzCdSWNH44kn; Thu,  7 May 2015 01:16:24 -0700 (PDT)
Received: from mail-la0-x233.google.com (mail-la0-x233.google.com [IPv6:2a00:1450:4010:c03::233]) (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 D873D1B2F59; Thu,  7 May 2015 01:16:21 -0700 (PDT)
Received: by layy10 with SMTP id y10so25048163lay.0; Thu, 07 May 2015 01:16:20 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=teCKepUGGPlduFkTKZJsngibYdnqqSbILouO6SCvqfk=; b=SctmIC+lpomXQ3OazGY9vuFNZ4vCgKDBYV5KPOKMWG7ATA2jwBINAczcnfhHvBfkAf maHFD6rrK1b5ZTOd6eQJhAyE56EhpHrxyN1o7SkU87zU9w733pIPQUO/oRCH8KppOaMo uczK/3bq8ZXTzPsmRNM/1oIFQDC6ECDcsjqK6BhNwRTuhKyXsJCQkrWkq9dYalYLQU/0 evrYbqchBojR5ngtg7aylxgJX2svk9HWeuWdp3qO/+pRTMKqSm6ffxMEWhyWZiRppok0 Jo3vetUocM2plPtb80wP+MPsGoifImtMGrmrEWJPUH5+6Ecxpc7cHJM4oAkHTbp5ZtwY IljA==
MIME-Version: 1.0
X-Received: by 10.112.199.133 with SMTP id jk5mr2185866lbc.32.1430986580370; Thu, 07 May 2015 01:16:20 -0700 (PDT)
Received: by 10.112.11.199 with HTTP; Thu, 7 May 2015 01:16:20 -0700 (PDT)
In-Reply-To: <56BE4DD7-DE1F-4D58-80B9-AE5E26A53263@vpnc.org>
References: <20150428143033.5998.43672.idtracker@ietfa.amsl.com> <D1671A15.75E2%kepeng.lkp@alibaba-inc.com> <56BE4DD7-DE1F-4D58-80B9-AE5E26A53263@vpnc.org>
Date: Thu, 7 May 2015 04:16:20 -0400
Message-ID: <CAHbuEH6+Rek72ObF5F6XQxwbd8-Pj=0nCLTE+p4a+PevcD+ozQ@mail.gmail.com>
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
To: Paul Hoffman <paul.hoffman@vpnc.org>
Content-Type: multipart/alternative; boundary=001a11c264becd28d60515798606
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/bFoQ1AV6_TCDhzrjBLkLxY-qtRQ>
Cc: Stephen Farrell <stephen.farrell@cs.tcd.ie>, Kepeng Li <kepeng.lkp@alibaba-inc.com>, The IESG <iesg@ietf.org>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Stephen Farrell's Block on charter-ietf-cose-00-00: (with BLOCK and COMMENT)
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, 07 May 2015 08:16:25 -0000

--001a11c264becd28d60515798606
Content-Type: text/plain; charset=UTF-8

On Wed, Apr 29, 2015 at 11:46 AM, Paul Hoffman <paul.hoffman@vpnc.org>
wrote:

> On Apr 29, 2015, at 8:41 AM, Kepeng Li <kepeng.lkp@alibaba-inc.com> wrote:
> >> The milestone dates are nonsense. I'll buy the chairs a
> >> beverage if they happen though. It is fine if folks want
> >> to believe those dates though.
> >
> >
> > I checked the other charters, usually they put one year between
> submitting
> > a document as WG item and submitting a document to the IESG.
> >
> > Also we need a F2F meeting to discuss the drafts before adopting them, so
> > I propose to change June to July.
> >
> > How about this:
> >
> > OLD:
> > Jan 2016 Submit COSE constrained-appropriate algorithms to the IESG, for
> > publication as a Proposed Standard
> > Jan 2016 Submit COSE specification to the IESG, for publication as a
> > Proposed Standard
> > Jun 2015 Submit COSE constrained-appropriate algorithms as a WG item
> > Jun 2015 Submit COSE specification as a WG item
> >
> >
> > NEW:
> > Jul 2016 Submit COSE constrained-appropriate algorithms to the IESG, for
> > publication as a Proposed Standard
> > Jul 2016 Submit COSE specification to the IESG, for publication as a
> > Proposed Standard
> > Jul 2015 Submit COSE constrained-appropriate algorithms as a WG item
> > Jul 2015 Submit COSE specification as a WG item
>
> This was meant to be a short-lived WG for two focused items; it should not
> take a year to do this. Stephen might be right and we miss the goal of
> finishing this year, but I'd like to make him buy someone a beverage.
>

Please do reach this goal, I'd appreciate the win ;-)

>
> I also disagree that we need a F2F meeting on this at all. The mailing
> list is already working well on the early hard questions. If we can meet at
> an IETF meeting, great. If we need additional meetings, we can have a
> virtual interim. Please: let's not make this a "reason to travel" WG.
>

Meeting F2F is fine, we won't set any restrictions/expectations on that up
front.

Thanks,
Kathleen


>
> --Paul Hoffman
>



-- 

Best regards,
Kathleen

--001a11c264becd28d60515798606
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 Wed, Apr 29, 2015 at 11:46 AM, Paul Hoffman <span dir=3D"ltr">&lt;<a=
 href=3D"mailto:paul.hoffman@vpnc.org" target=3D"_blank">paul.hoffman@vpnc.=
org</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"><span class=3D"=
">On Apr 29, 2015, at 8:41 AM, Kepeng Li &lt;<a href=3D"mailto:kepeng.lkp@a=
libaba-inc.com">kepeng.lkp@alibaba-inc.com</a>&gt; wrote:<br>
&gt;&gt; The milestone dates are nonsense. I&#39;ll buy the chairs a<br>
&gt;&gt; beverage if they happen though. It is fine if folks want<br>
&gt;&gt; to believe those dates though.<br>
&gt;<br>
&gt;<br>
&gt; I checked the other charters, usually they put one year between submit=
ting<br>
&gt; a document as WG item and submitting a document to the IESG.<br>
&gt;<br>
&gt; Also we need a F2F meeting to discuss the drafts before adopting them,=
 so<br>
&gt; I propose to change June to July.<br>
&gt;<br>
&gt; How about this:<br>
&gt;<br>
&gt; OLD:<br>
&gt; Jan 2016 Submit COSE constrained-appropriate algorithms to the IESG, f=
or<br>
&gt; publication as a Proposed Standard<br>
&gt; Jan 2016 Submit COSE specification to the IESG, for publication as a<b=
r>
&gt; Proposed Standard<br>
&gt; Jun 2015 Submit COSE constrained-appropriate algorithms as a WG item<b=
r>
&gt; Jun 2015 Submit COSE specification as a WG item<br>
&gt;<br>
&gt;<br>
&gt; NEW:<br>
&gt; Jul 2016 Submit COSE constrained-appropriate algorithms to the IESG, f=
or<br>
&gt; publication as a Proposed Standard<br>
&gt; Jul 2016 Submit COSE specification to the IESG, for publication as a<b=
r>
&gt; Proposed Standard<br>
&gt; Jul 2015 Submit COSE constrained-appropriate algorithms as a WG item<b=
r>
&gt; Jul 2015 Submit COSE specification as a WG item<br>
<br>
</span>This was meant to be a short-lived WG for two focused items; it shou=
ld not take a year to do this. Stephen might be right and we miss the goal =
of finishing this year, but I&#39;d like to make him buy someone a beverage=
.<br></blockquote><div><br></div><div>Please do reach this goal, I&#39;d ap=
preciate the win ;-)=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"=
margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I also disagree that we need a F2F meeting on this at all. The mailing list=
 is already working well on the early hard questions. If we can meet at an =
IETF meeting, great. If we need additional meetings, we can have a virtual =
interim. Please: let&#39;s not make this a &quot;reason to travel&quot; WG.=
<br></blockquote><div><br></div><div>Meeting F2F is fine, we won&#39;t set =
any restrictions/expectations on that up front.</div><div><br></div><div>Th=
anks,</div><div>Kathleen</div><div>=C2=A0</div><blockquote class=3D"gmail_q=
uote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1e=
x">
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
--Paul Hoffman<br>
</font></span></blockquote></div><br><br clear=3D"all"><div><br></div>-- <b=
r><div class=3D"gmail_signature"><div dir=3D"ltr"><br><div>Best regards,</d=
iv><div>Kathleen</div></div></div>
</div></div>

--001a11c264becd28d60515798606--


From nobody Thu May  7 01:19:45 2015
Return-Path: <kathleen.moriarty.ietf@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 A5ACB1B2E05; Thu,  7 May 2015 01:19:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.399
X-Spam-Level: 
X-Spam-Status: No, score=-1.399 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, J_CHICKENPOX_22=0.6, 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 tErQ3ZDm9vIY; Thu,  7 May 2015 01:19:43 -0700 (PDT)
Received: from mail-lb0-x232.google.com (mail-lb0-x232.google.com [IPv6:2a00:1450:4010:c04::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 C5E4C1AD079; Thu,  7 May 2015 01:19:42 -0700 (PDT)
Received: by lbbzk7 with SMTP id zk7so25461018lbb.0; Thu, 07 May 2015 01:19:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=0uGovqMpGMsPZXms4hsnqXZdlFIuGDuXeJWbC0ge1II=; b=XSaBc7eik5T8PHi9bv9BLs2an8MxTQx3jLZ0lajbm7LuGV/kzzRCGBORlNjeT2lM1v ZPrKufyVZbRdFJWJ1f3+3XtfxmdvQAHUf0XTbLnrx51FQ2mAM+1Vo4qM+gvdlkvbH8oz PuuYMy7HPKPMFFs6Wesig31z2cN3CNY3bvURaf38nfBzMPcX8rbdOOKDTNbfPz8GFS1T TeHwdodT7n8qhoVujtzW491SufP97ZX6VnFEj4sZ1/vt4cWBiVVn3MxJ9Sy/WkK8YLko 2JSetOcIoEYU0DDSrjTmYQWtLr2NkBGvl7o1dZeUd+0a4ZPuqJcuTb51ZS/DW0CIXNoL KqIQ==
MIME-Version: 1.0
X-Received: by 10.112.202.194 with SMTP id kk2mr2192391lbc.0.1430986781173; Thu, 07 May 2015 01:19:41 -0700 (PDT)
Received: by 10.112.11.199 with HTTP; Thu, 7 May 2015 01:19:41 -0700 (PDT)
In-Reply-To: <D1671546.758F%kepeng.lkp@alibaba-inc.com>
References: <20150428143033.5998.43672.idtracker@ietfa.amsl.com> <39E2589A-483F-4DEE-AD5E-71AC75F1CAE3@vpnc.org> <553FAFFF.6010208@cs.tcd.ie> <522FAB4F-8E59-4D27-BE42-42DED9092D93@vpnc.org> <0F925919-5A1F-4087-AF8E-11F9C408C006@gmail.com> <D1671546.758F%kepeng.lkp@alibaba-inc.com>
Date: Thu, 7 May 2015 04:19:41 -0400
Message-ID: <CAHbuEH4ohrM_247okCVVxaz09wu3yTtTtefFhSx12GaNKobMNQ@mail.gmail.com>
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
To: Kepeng Li <kepeng.lkp@alibaba-inc.com>
Content-Type: multipart/alternative; boundary=001a11c37232c52b5f0515799287
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/yuCGHjgS9W1XKVB0hkLMVniSrRU>
Cc: The IESG <iesg@ietf.org>, Stephen Farrell <stephen.farrell@cs.tcd.ie>, Paul Hoffman <paul.hoffman@vpnc.org>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Stephen Farrell's Block on charter-ietf-cose-00-00: (with BLOCK and COMMENT)
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, 07 May 2015 08:19:44 -0000

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

I'll make these updates today to the charter under review today.

Thank you,
Kathleen

On Wed, Apr 29, 2015 at 11:29 AM, Kepeng Li <kepeng.lkp@alibaba-inc.com>
wrote:

> >I can do it, but it would be good to hear from more than one person and
> >to see if there is better wording as requested.
>
>
> I can help to consolidate the proposed changes and hopefully make it
> easier for you. :-)
>
> The proposed changes so far:
>
> 1) Add one paragraph below (proposed by Paul):
> The COSE WG will not innovate in terms of cryptography.  The specifiation
> of algorithms in COSE is limited to those in RFCs or active IETF WG
> documents.
>
>
> 2) Remove one sentence below (proposed by Paul):
> COSE will rely on the JOSE registries, and will expand them with
> additional information when necessary.
>
>
> 3) Change one sentence below (proposed by Stephen)
> OLD:
> The working group will coordinate its progress with the ACE, DICE and COR=
E
> working groups to ensure that we are fulfilling the needs of these
> Constituencies.
>
>
> NEW:
> The working group will coordinate its progress with the ACE, DICE and COR=
E
> working groups to ensure that we are fulfilling the needs of these
> Constituencies to the extent relevant to their work.
>
>
> Thanks,
>
> Kind Regards
> Kepeng
>
>
>
> =E5=9C=A8 29/4/15 12:38 am=EF=BC=8C "Kathleen Moriarty" <kathleen.moriart=
y.ietf@gmail.com>
> =E5=86=99=E5=85=A5:
>
> >
> >
> >Sent from my iPhone
> >
> >> On Apr 28, 2015, at 12:27 PM, Paul Hoffman <paul.hoffman@vpnc.org>
> >>wrote:
> >>
> >>> On Apr 28, 2015, at 9:06 AM, Stephen Farrell
> >>><stephen.farrell@cs.tcd.ie> wrote:
> >>>
> >>> tl;dr - make that or an equivalent change and I'll s/block/yes/
> >>
> >> Cool, thanks. I'm a bit embarrassed to admit that I don't know how to
> >>make a change to a proposed charter while it is in IESG evaluation. Doe=
s
> >>someone for the not-yet-WG do so? Or does the sponsoring AD do so?
> >>
> >
> >I can do it, but it would be good to hear from more than one person and
> >to see if there is better wording as requested.
> >
> >Thanks,
> >Kathleen
>
> >
>
>
>


--=20

Best regards,
Kathleen

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

<div dir=3D"ltr">I&#39;ll make these updates today to the charter under rev=
iew today.<div><br></div><div>Thank you,</div><div>Kathleen</div></div><div=
 class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed, Apr 29, 2015 =
at 11:29 AM, Kepeng Li <span dir=3D"ltr">&lt;<a href=3D"mailto:kepeng.lkp@a=
libaba-inc.com" target=3D"_blank">kepeng.lkp@alibaba-inc.com</a>&gt;</span>=
 wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;bor=
der-left:1px #ccc solid;padding-left:1ex"><span class=3D"">&gt;I can do it,=
 but it would be good to hear from more than one person and<br>
&gt;to see if there is better wording as requested.<br>
<br>
<br>
</span>I can help to consolidate the proposed changes and hopefully make it=
<br>
easier for you. :-)<br>
<br>
The proposed changes so far:<br>
<br>
1) Add one paragraph below (proposed by Paul):<br>
<span class=3D"">The COSE WG will not innovate in terms of cryptography.=C2=
=A0 The specifiation<br>
of algorithms in COSE is limited to those in RFCs or active IETF WG<br>
documents.<br>
<br>
<br>
</span>2) Remove one sentence below (proposed by Paul):<br>
<span class=3D"">COSE will rely on the JOSE registries, and will expand the=
m with<br>
</span>additional information when necessary.<br>
<br>
<br>
3) Change one sentence below (proposed by Stephen)<br>
OLD:<br>
The working group will coordinate its progress with the ACE, DICE and CORE<=
br>
working groups to ensure that we are fulfilling the needs of these<br>
Constituencies.<br>
<br>
<br>
NEW:<br>
The working group will coordinate its progress with the ACE, DICE and CORE<=
br>
working groups to ensure that we are fulfilling the needs of these<br>
Constituencies to the extent relevant to their work.<br>
<br>
<br>
Thanks,<br>
<br>
Kind Regards<br>
Kepeng<br>
<br>
<br>
<br>
=E5=9C=A8 29/4/15 12:38 am=EF=BC=8C &quot;Kathleen Moriarty&quot; &lt;<a hr=
ef=3D"mailto:kathleen.moriarty.ietf@gmail.com">kathleen.moriarty.ietf@gmail=
.com</a>&gt;<br>
=E5=86=99=E5=85=A5:<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
&gt;<br>
&gt;<br>
&gt;Sent from my iPhone<br>
&gt;<br>
&gt;&gt; On Apr 28, 2015, at 12:27 PM, Paul Hoffman &lt;<a href=3D"mailto:p=
aul.hoffman@vpnc.org">paul.hoffman@vpnc.org</a>&gt;<br>
&gt;&gt;wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; On Apr 28, 2015, at 9:06 AM, Stephen Farrell<br>
&gt;&gt;&gt;&lt;<a href=3D"mailto:stephen.farrell@cs.tcd.ie">stephen.farrel=
l@cs.tcd.ie</a>&gt; wrote:<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; tl;dr - make that or an equivalent change and I&#39;ll s/block=
/yes/<br>
&gt;&gt;<br>
&gt;&gt; Cool, thanks. I&#39;m a bit embarrassed to admit that I don&#39;t =
know how to<br>
&gt;&gt;make a change to a proposed charter while it is in IESG evaluation.=
 Does<br>
&gt;&gt;someone for the not-yet-WG do so? Or does the sponsoring AD do so?<=
br>
&gt;&gt;<br>
&gt;<br>
&gt;I can do it, but it would be good to hear from more than one person and=
<br>
&gt;to see if there is better wording as requested.<br>
&gt;<br>
&gt;Thanks,<br>
&gt;Kathleen<br>
<br>
&gt;<br>
<br>
<br>
</div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>=
<div class=3D"gmail_signature"><div dir=3D"ltr"><br><div>Best regards,</div=
><div>Kathleen</div></div></div>
</div>

--001a11c37232c52b5f0515799287--


From nobody Thu May  7 02:21:16 2015
Return-Path: <stephen.farrell@cs.tcd.ie>
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 6FD4E1A005C; Thu,  7 May 2015 02:21:14 -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] 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 q2n9JtnVv6ya; Thu,  7 May 2015 02:21:13 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 150521A0054; Thu,  7 May 2015 02:21:13 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "Stephen Farrell" <stephen.farrell@cs.tcd.ie>
To: "The IESG" <iesg@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.0.2.p2
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20150507092113.28231.14010.idtracker@ietfa.amsl.com>
Date: Thu, 07 May 2015 02:21:13 -0700
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/o6r_XmfUhd9QhcFCYQGlairWY3g>
Cc: cose@ietf.org
Subject: [Cose] Stephen Farrell's Yes on charter-ietf-cose-00-01: (with COMMENT)
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: Thu, 07 May 2015 09:21:14 -0000

Stephen Farrell has entered the following ballot position for
charter-ietf-cose-00-01: Yes

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)



The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/charter-ietf-cose/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

Thanks for addressing my comments. Just preserving a
part of that below as it may be of use to other ADs in
their evaluations.

I was initially skeptical of this work, doubting that
there is really sufficient real interest in CBOR to
justify spending the time on a WG. However, (just about)
enough people argued that they would or are using CBOR to
convince me that there could well be a real constituency
here. And given that, I'd prefer the work be done in the
IETF rather than ad-hoc and possibly by some folks who'd
prioritise constrained-system requirements too much over
security and privacy requirements. So in the end, I'm for
doing this.



From nobody Thu May  7 13:00:20 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 01B5C1A92E7 for <cose@ietfa.amsl.com>; Thu,  7 May 2015 13:00:18 -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_20=-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 Qih57kuib3Zj for <cose@ietfa.amsl.com>; Thu,  7 May 2015 13:00:16 -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 59D2E1A90D4 for <cose@ietf.org>; Thu,  7 May 2015 13:00:16 -0700 (PDT)
Received: from Philemon (c-24-20-67-136.hsd1.or.comcast.net [24.20.67.136]) (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 BD99F2CA06; Thu,  7 May 2015 13:00:15 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Ludwig Seitz'" <ludwig@sics.se>, <cose@ietf.org>
References: <001a01d08399$26fe9d80$74fbd880$@augustcellars.com> <5549BC81.1050808@sics.se>
In-Reply-To: <5549BC81.1050808@sics.se>
Date: Thu, 7 May 2015 12:58:53 -0700
Message-ID: <000401d08900$3f109100$bd31b300$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQHsJwC5M2J6P0ogmMRJ78f4EU04JwICODagnSlQ2PA=
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/yw0SK_MjJmddPBE4KVLd4B0PV3U>
Subject: Re: [Cose] Issue:  Identification of the top level objects
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, 07 May 2015 20:00:18 -0000

> -----Original Message-----
> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Ludwig Seitz
> Sent: Wednesday, May 06, 2015 12:02 AM
> To: cose@ietf.org
> Subject: Re: [Cose] Issue: Identification of the top level objects
>=20
> On 05/01/2015 12:58 AM, Jim Schaad wrote:
> > Question:  Identification of objects:
> > a)  CBOR Tag - either general or specific to each type
> > b)  Required Identifier
> > c)  Use the same techniques as JOSE
> >
> > Discussion:
> >
> > One of the things that I have never liked with the JOSE document is
> > the method that is used to determine the type of object that one is
dealing
> > with.   I would lie to get this corrected so that it is simple to =
make
this
> > determination.
>=20
> Why was it done this way in JOSE in the first place?

The major focus of the JOSE working group tended to be on the compact
encoding and in this case it was deemed to not be necessary to have as =
the
number of separation characters gave adequate indication of the type of
message it was.  This was not as true for the JSON encoding where there =
were
some kind of kludgy methods of doing the identification.  There were =
several
attempts to get this clarified up, but the push back was too large among =
the
people who were only interested in the compact format.

Jim

>=20
> A CBOR tag sounds neat, can the CBOR experts tell us if there are any
> negative implications?
>=20
> /Ludwig
>=20
> --
> Ludwig Seitz, PhD
> SICS Swedish ICT AB
> Ideon Science Park
> Building Beta 2
> Scheelev=E4gen 17
> SE-223 70 Lund
>=20
> Phone +46(0)70-349 92 51
> http://www.sics.se



From nobody Thu May  7 13:33: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 76F291AD084 for <cose@ietfa.amsl.com>; Thu,  7 May 2015 13:33:12 -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 dpso1uPza8Op for <cose@ietfa.amsl.com>; Thu,  7 May 2015 13:33:11 -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 F337B1AD0D0 for <cose@ietf.org>; Thu,  7 May 2015 13:33:10 -0700 (PDT)
Received: from Philemon (c-24-20-67-136.hsd1.or.comcast.net [24.20.67.136]) (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 55E4538F04; Thu,  7 May 2015 13:33:10 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Paul Hoffman'" <paul.hoffman@vpnc.org>
References: <001b01d08399$434ab9b0$c9e02d10$@augustcellars.com> <724B1E60-A92F-42EB-B7BD-732A6B19ECCA@vpnc.org>
In-Reply-To: <724B1E60-A92F-42EB-B7BD-732A6B19ECCA@vpnc.org>
Date: Thu, 7 May 2015 13:31:47 -0700
Message-ID: <00e601d08904$d7eecb90$87cc62b0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQJBW2regVOc1KgJrCGEY9SFfcIRjgEKuL5HnIb8NDA=
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/hR5Qb1MMyFXMa_llFwRoGKhZ5Lc>
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: <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, 07 May 2015 20:33:12 -0000

Paul,

Based on your comment I am not sure if I was clear about what I was asking -
Please let me know either way.

1. Gives a result of {"unprotected":xxx, "cipher_text":xxx, "header":xxx,
"encryptd_key":xxx }
2.  Gives a result of {"unprotected"xxx", "cipher_text"xxx,
"recipients":{"header":xxx, "encrypted_key":xxx }}
3 Gives a result of {"unprotected":xxx", "cipher_text":xxx,
"recipients:[{"header":xxx, "encrypted_key":xxx}]}

Labels disappear if the top level is an array and not a map - but no other
significant changes.

Jim


> -----Original Message-----
> From: Paul Hoffman [mailto:paul.hoffman@vpnc.org]
> Sent: Wednesday, May 06, 2015 2:30 PM
> To: Jim Schaad
> Cc: cose@ietf.org
> Subject: Re: [Cose] Issue: Encoding for a single recipient or structure
> 
> On Apr 30, 2015, at 3:59 PM, Jim Schaad <ietf@augustcellars.com> wrote:
> > Question: Flattened encoding -
> > a)  Roll into parent map
> > b)  Just be a map
> > c)  Single element in array
> 
> If the top level is an array, clearly (c) is the right way to go.
Otherwise, both
> (a) and (b) seem similar in code size and data size.
> 
> --Paul Hoffman=


From nobody Thu May  7 13:54:29 2015
Return-Path: <paul.hoffman@vpnc.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 F0C5D1B29F2 for <cose@ietfa.amsl.com>; Thu,  7 May 2015 13:54:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.347
X-Spam-Level: 
X-Spam-Status: No, score=-1.347 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HELO_MISMATCH_COM=0.553] 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 UQO2h7uByv3H for <cose@ietfa.amsl.com>; Thu,  7 May 2015 13:54:27 -0700 (PDT)
Received: from proper.com (Opus1.Proper.COM [207.182.41.91]) (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 553C91A8730 for <cose@ietf.org>; Thu,  7 May 2015 13:54:27 -0700 (PDT)
Received: from [10.20.30.101] (50-1-98-218.dsl.dynamic.fusionbroadband.com [50.1.98.218]) (authenticated bits=0) by proper.com (8.15.1/8.14.9) with ESMTPSA id t47KsO9P041320 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 7 May 2015 13:54:25 -0700 (MST) (envelope-from paul.hoffman@vpnc.org)
X-Authentication-Warning: proper.com: Host 50-1-98-218.dsl.dynamic.fusionbroadband.com [50.1.98.218] claimed to be [10.20.30.101]
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\))
From: Paul Hoffman <paul.hoffman@vpnc.org>
In-Reply-To: <00e601d08904$d7eecb90$87cc62b0$@augustcellars.com>
Date: Thu, 7 May 2015 13:54:24 -0700
Content-Transfer-Encoding: quoted-printable
Message-Id: <7FA52A2F-1612-487E-9096-4EE939B99BD2@vpnc.org>
References: <001b01d08399$434ab9b0$c9e02d10$@augustcellars.com> <724B1E60-A92F-42EB-B7BD-732A6B19ECCA@vpnc.org> <00e601d08904$d7eecb90$87cc62b0$@augustcellars.com>
To: Jim Schaad <ietf@augustcellars.com>
X-Mailer: Apple Mail (2.2098)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/qr0hyjjCXX8P8SnyddIM-xg0GJM>
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: <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, 07 May 2015 20:54:28 -0000

On May 7, 2015, at 1:31 PM, Jim Schaad <ietf@augustcellars.com> wrote:
> Based on your comment I am not sure if I was clear about what I was =
asking -
> Please let me know either way.
>=20
> 1. Gives a result of {"unprotected":xxx, "cipher_text":xxx, =
"header":xxx,
> "encryptd_key":xxx }
> 2.  Gives a result of {"unprotected"xxx", "cipher_text"xxx,
> "recipients":{"header":xxx, "encrypted_key":xxx }}
> 3 Gives a result of {"unprotected":xxx", "cipher_text":xxx,
> "recipients:[{"header":xxx, "encrypted_key":xxx}]}
>=20
> Labels disappear if the top level is an array and not a map - but no =
other
> significant changes.

Right, I completely misunderstood your shorthand. Given these, (c) seems =
better: it keeps the structure predictable, with a possible reduction of =
code for processing the structure (but not much, admittedly).

--Paul Hoffman=


From nobody Sun May 10 22:56:47 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 E4E241A00FD for <cose@ietfa.amsl.com>; Sun, 10 May 2015 22:56:45 -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 IbHXrqyoxJO6 for <cose@ietfa.amsl.com>; Sun, 10 May 2015 22:56: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 E1F751A00E0 for <cose@ietf.org>; Sun, 10 May 2015 22:56:43 -0700 (PDT)
Received: from Philemon (c-24-21-96-37.hsd1.or.comcast.net [24.21.96.37]) (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 2014138F1C for <cose@ietf.org>; Sun, 10 May 2015 22:56:43 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <cose@ietf.org>
Date: Sun, 10 May 2015 22:55:18 -0700
Message-ID: <027e01d08baf$0fa1bd20$2ee53760$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----=_NextPart_000_027F_01D08B74.6343CF80"
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AdCLqYqqIpBM2Wx4Q8mhu5BRuxfBUQ==
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/2Q-t_0HD7gP1aiPy4WmvHx85OEc>
Subject: [Cose] Sizes of messages
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, 11 May 2015 05:56:46 -0000

This is a multipart message in MIME format.

------=_NextPart_000_027F_01D08B74.6343CF80
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

I have spent a couple of days looking at messages that are likely to be sent
for the world of CoRE/ACE based on the draft
https://tools.ietf.org/html/draft-selander-ace-object-security-01 and the
response on key management that I got back recently.  I have made several
assumptions in doing the computations.  I have included my spreadsheet of
the different cases so that you can look at where I had assigned bytes used.
If people have other cases where they would like to get sizes computed,
please send them to me and I can run the numbers.


Case #1 - MAC on a content using a direct key.   I am assuming, probably
without cause, that this is going to be the most common message type sent.
(It could be case #2 instead).   The details of the message that I am
looking at are:
	-  We use a one byte internal identifier for the message type
	-  We are protecting the algorithm identifier and a nonce.
	-  We are carrying no unprotected headers
	-  We are using a nonce which is one byte long - increasing the size
of the nonce would uniformly increase the size of the message for both
configurations
	-  A payload of 19 bytes is assumed and it is assumed that the
content is being carried inside of the message.
	-  The algorithm for the MAC is HMAC-SHA-256 and the tag is
truncated to 16 bytes.
	-  A key identifier of 8 bytes is used.
	-  There is no AAD field built into the message, but there may be
external AAD information passed in (i.e. carried in the message header).
	-  Assuming a single recipient and the recipient information
structure is encoded as a map w/o an array wrapper.
	-  In this case using maps takes 62 octets and using arrays takes 63
octets.

Case #2 - Encryption on a content using a direct key.  The details of the
message that I am looking at are:
	-  We use a one byte internal identifier for the message type
	-  We are protecting the algorithm identifier
	-  We are carrying no unprotected headers
	-  We are carrying an IV of 8 bytes.  This could be shortened under
some circumstances, but that would be equal in both mappings.  There is no
reason to carry it as a protected header item as CCM and GCM both
automatically include the IV value in the authenticated data computation.
	-  A payload of 19 bytes is assumed and it is assumed that the
content is being carried inside of the message.
	-  The algorithm for the encryption is AES-128-CCM-64, the tag is  8
bytes.
	-  A key identifier of 8 bytes is used.
	-  There is no AAD field built into the message, but there may be
external AAD information passed in (i.e. carried in the message header).
	-  Assuming a single recipient and the recipient information
structure is encoded as a map w/o an array wrapper.
	-  In this case using maps takes 60 octets and using arrays takes 61
octets.

Case #3 - Sign a message using an asymmetric key.  The details of the
message that I am looking at are:
	-  We use a one byte internal identifier for the message type
	-  We are protecting the algorithm identifier and the kid
	-  We are carrying no unprotected headers
	-  We are assuming that the payload it detached and not part of the
message
	-  The algorithm is ECDSA using P-256 - thus the signature value
itself is 64 bytes.
	-  In this case using maps takes 82 bytes and arrays takes 83 bytes.
If content is included, then the array will be the same size as for map.

Case #4 - Sign a message using an asymmetric key and encrypt it using a
direct key.
	- For the signature, the conditions are the same as for 	case
#3 with the exception that the content is carried in the message.
	- For the encrypt operation, the conditions are the same as for case
#2.
	- For map, the size is 145 octets, for array the size is 146 octets.

For all of the cases that I have provided above, I am using the minimal set
of fields.  If any other fields are added, for example unprotected
attributes, then the balance tips from maps to arrays as the cost to add a
field is 2 octets plus the data, whereas the cost to add a field to an array
is just the size of the data.



------=_NextPart_000_027F_01D08B74.6343CF80
Content-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;
	name="message-sizes.xlsx"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="message-sizes.xlsx"

UEsDBBQABgAIAAAAIQDLn3dlfAEAAKgGAAATAAgCW0NvbnRlbnRfVHlwZXNdLnhtbCCiBAIooAAC
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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GAAgAAAAhAHZlgWd4AQAAsAIAAA8AAAAAAAAAAAAAAAAARAkAAHhsL3dvcmtib29r
LnhtbFBLAQItABQABgAIAAAAIQB8c4zytQQAAIUSAAAYAAAAAAAAAAAAAAAAAOkKAAB4bC93b3Jr
c2hlZXRzL3NoZWV0NC54bWxQSwECLQAUAAYACAAAACEAb+tBNYADAAA+DAAAGAAAAAAAAAAAAAAA
AADUDwAAeGwvd29ya3NoZWV0cy9zaGVldDIueG1sUEsBAi0AFAAGAAgAAAAhANUR4jAiAwAAaAkA
ABgAAAAAAAAAAAAAAAAAihMAAHhsL3dvcmtzaGVldHMvc2hlZXQzLnhtbFBLAQItABQABgAIAAAA
IQAQgAJh2QMAABoNAAAYAAAAAAAAAAAAAAAAAOIWAAB4bC93b3Jrc2hlZXRzL3NoZWV0MS54bWxQ
SwECLQAUAAYACAAAACEA+2KlbZQGAACnGwAAEwAAAAAAAAAAAAAAAADxGgAAeGwvdGhlbWUvdGhl
bWUxLnhtbFBLAQItABQABgAIAAAAIQCbPYBoIAEAAKUCAAAUAAAAAAAAAAAAAAAAALYhAAB4bC9z
aGFyZWRTdHJpbmdzLnhtbFBLAQItABQABgAIAAAAIQDQzEiUSAIAAOwEAAANAAAAAAAAAAAAAAAA
AAgjAAB4bC9zdHlsZXMueG1sUEsBAi0AFAAGAAgAAAAhAHFCnjx1AQAA3gQAABAAAAAAAAAAAAAA
AAAAeyUAAHhsL2NhbGNDaGFpbi54bWxQSwECLQAUAAYACAAAACEA9ecnWZ8BAABtAwAAEAAAAAAA
AAAAAAAAAAAeJwAAZG9jUHJvcHMvYXBwLnhtbFBLAQItABQABgAIAAAAIQAj9UywRwEAAGkCAAAR
AAAAAAAAAAAAAAAAAPMpAABkb2NQcm9wcy9jb3JlLnhtbFBLBQYAAAAADgAOAJADAABxLAAAAAA=

------=_NextPart_000_027F_01D08B74.6343CF80--


From nobody Sun May 10 23:39:55 2015
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 2619D1A1B45 for <cose@ietfa.amsl.com>; Sun, 10 May 2015 23:39:53 -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 uCawXe5L6myb for <cose@ietfa.amsl.com>; Sun, 10 May 2015 23:39:51 -0700 (PDT)
Received: from mail-la0-f48.google.com (mail-la0-f48.google.com [209.85.215.48]) (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 ECAD61A1B2C for <cose@ietf.org>; Sun, 10 May 2015 23:39:50 -0700 (PDT)
Received: by lagv1 with SMTP id v1so86454506lag.3 for <cose@ietf.org>; Sun, 10 May 2015 23:39:49 -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=Kzl23zIZ0mIhxGWvIupQbVaGhG4a4qG4QnSzLmJpATI=; b=VHQSORbd2pxeolPuG/Wf7Sm2MAsDrstP52++IP7rXqqNs5c2i5t/iTuVftI/Zg7t0F 4h6jBvPO5DMaeZQ60Gdcp/Y5rAPBmvvAatGfMlm/P4cHGqLJv7rXX3SXWzmwTA0kGtpr uiIrkzM9HMD27eJtxop6SYfrudc/0q1m3XKvif+xhRgvHFkEouMYUtTkNEFpUuSIXIgf 4ehHvg3X1ddSpYgGsaXjQP1sk8rmFNStAffSpME44eDIz7u1Ie5nbsw1VKXI1PEayHdU u9kBr5eMlL9EvkaiZ+gbvaVYZusqvhZgMR5ieo8IHyf7Rkb+nFtoPBoZuYo/x9iDzapF YNqQ==
X-Gm-Message-State: ALoCoQmcMYJ9seZyQefI/lQFHVTJyUOfzTdtbJHWjCCjDnVRZDYQqPEIVb2KlRUEQGYkgrPAMK9G
X-Received: by 10.153.4.43 with SMTP id cb11mr7098240lad.122.1431326389487; Sun, 10 May 2015 23:39:49 -0700 (PDT)
Received: from [192.168.0.108] ([85.235.11.178]) by mx.google.com with ESMTPSA id dc7sm2837215lad.22.2015.05.10.23.39.48 for <cose@ietf.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 10 May 2015 23:39:48 -0700 (PDT)
Message-ID: <55504EA3.7030405@sics.se>
Date: Mon, 11 May 2015 08:39:31 +0200
From: Ludwig Seitz <ludwig@sics.se>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: cose@ietf.org
References: <027e01d08baf$0fa1bd20$2ee53760$@augustcellars.com>
In-Reply-To: <027e01d08baf$0fa1bd20$2ee53760$@augustcellars.com>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms040802010005070506090303"
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/i-SK8lSmcGAVMG6g4ExEeFDhLLE>
Subject: Re: [Cose] Sizes of messages
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, 11 May 2015 06:39:53 -0000

This is a cryptographically signed message in MIME format.

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

On 05/11/2015 07:55 AM, Jim Schaad wrote:

> 	-  A payload of 19 bytes is assumed and it is assumed that the
> content is being carried inside of the message.

Just a quick comment on that one. In the world of sensor networks, the=20
payload of a message will often be a sensor reading, which could be as=20
small as e.g. a single floating point number or even an integer. So we=20
should assume we will get a significant number of payloads in the order=20
of magnitude of 2-4 bytes.

/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


--------------ms040802010005070506090303
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
AwwObHVkd2lnQHNpY3Muc2UxHTAbBgkqhkiG9w0BCQEWDmx1ZHdpZ0BzaWNzLnNlMIIBIjAN
BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxUHisC6rgXFsBHHBGo8ulz/cLX3gX5Ufhcwo
rp+7djzMMuKPM1KOHq0bjWhmFe8ly8CzWdk2NS600t7I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wDgYIKoZIhvcNAwICAgCAMA0GCCqGSIb3DQMCAgFA
MAcGBSsOAwIHMA0GCCqGSIb3DQMCAgEoMIGlBgkrBgEEAYI3EAQxgZcwgZQwgYwxCzAJBgNV
BAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRh
bCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1h
cnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQQIDDIaYMIGnBgsqhkiG9w0BCRACCzGBl6CBlDCB
jDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3Vy
ZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNz
IDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgMMhpgwDQYJKoZIhvcNAQEBBQAE
ggEAXqInUpnYymM+TtqeJKT8hg2O9/91yP2QamU6ZuoHzVDrtOiYOtEGLvmxERAALZNL9Lsy
rc4o6d494a1aVi4YzB+jtqoC30lLZ4FuYkCMXYHMpr+hpVeVHC3FjarImU08GeLtLEkeXpjn
lFVKCB1p3F2/AAaYM42Tr8qbXtEHxmvmsTNdlMvxAb8HO0A2X/fHHGezR8s37o3bERK18Ldh
INyYWYBui+zKjywLDT69qGtfLNJRtNIt4h5R5cjoawj0OSKc/9d9q8ZHWU4Mkopv5wE95f2o
f0YVf1BKbc/J+8cAJ9t263OAARPu4V36eT21EEujOWj6CxC4a1U7PpEgSQAAAAAAAA==
--------------ms040802010005070506090303--


From nobody Mon May 11 07:40:18 2015
Return-Path: <mamille2@cisco.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 B8D931A89AC for <cose@ietfa.amsl.com>; Mon, 11 May 2015 07:40:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.211
X-Spam-Level: 
X-Spam-Status: No, score=-14.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] 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 PC0espA0ryBU for <cose@ietfa.amsl.com>; Mon, 11 May 2015 07:40:16 -0700 (PDT)
Received: from alln-iport-3.cisco.com (alln-iport-3.cisco.com [173.37.142.90]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E1BF01A89A0 for <cose@ietf.org>; Mon, 11 May 2015 07:40:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1221; q=dns/txt; s=iport; t=1431355215; x=1432564815; h=message-id:date:from:mime-version:to:subject:references: in-reply-to:content-transfer-encoding; bh=RTZWMZwtNMIwIxKIAzIDi05nbTaUfjUx9YeIci8VfN0=; b=RldmYfk8qSlcJzEfOkvkHRkemWlve4CIfKHDvzKbGAke5E1dTAePw+W9 DazPrfM95MVooBMtSoUApUqqiL4R6owbU7n8pEYfA7+XEZRzz0b9VXa5t cy7062LQiDAccGYMaRDPHnIE466HxxRkpcLDWR3LiIgHgJD3nqwxH4qSF 0=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0B2BAA9vlBV/5NdJa1cgw9UXgaDGMFWCYFQhg0CgTA4FAEBAQEBAQGBCoQhAQEEI1URCw4KAgIFFgsCAgkDAgECAUUGAQwGAgEBiCi0KZNAAQEBAQEBAQEBAQEBAQEBAQEBARUEgSGKGIRSOoJogUUBBIwbikCGRYdZjn4jgggdgXFQgUWBAQEBAQ
X-IronPort-AV: E=Sophos;i="5.13,407,1427760000"; d="scan'208";a="148951592"
Received: from rcdn-core-11.cisco.com ([173.37.93.147]) by alln-iport-3.cisco.com with ESMTP; 11 May 2015 14:40:15 +0000
Received: from xhc-rcd-x15.cisco.com (xhc-rcd-x15.cisco.com [173.37.183.89]) by rcdn-core-11.cisco.com (8.14.5/8.14.5) with ESMTP id t4BEeFbc030838 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Mon, 11 May 2015 14:40:15 GMT
Received: from [10.129.24.109] (10.129.24.109) by xhc-rcd-x15.cisco.com (173.37.183.89) with Microsoft SMTP Server (TLS) id 14.3.195.1; Mon, 11 May 2015 09:40:14 -0500
Message-ID: <5550BF4E.1080003@cisco.com>
Date: Mon, 11 May 2015 08:40:14 -0600
From: =?UTF-8?B?4oyYIE1hdHQgTWlsbGVy?= <mamille2@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Jim Schaad <ietf@augustcellars.com>, <cose@ietf.org>
References: <001a01d08399$26fe9d80$74fbd880$@augustcellars.com>
In-Reply-To: <001a01d08399$26fe9d80$74fbd880$@augustcellars.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.129.24.109]
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/aANh2KvIpHr3EociHydc6XP0B_o>
Subject: Re: [Cose] Issue:  Identification of the top level objects
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, 11 May 2015 14:40:17 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 4/30/15 4:58 PM, Jim Schaad wrote:
> Question:  Identification of objects: a)  CBOR Tag - either
> general or specific to each type b)  Required Identifier c)  Use
> the same techniques as JOSE

I would prefer (b), but could live with (a). (b) makes an object that
is self-contained. I don't see a new top-level field with a simple
enumerated integer value to be that expensive, but would defer to the
rest of the group.

I object to (c). As does Jim, I find the JOSE technique to be overly
complex and really don't like it.


- -- 
- - m&m

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

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

iQEcBAEBCgAGBQJVUL9OAAoJEDWi+S0W7cO1D00H/iqK2od3xeJHtUDeCKDXjVWZ
zs5Wen1AxYoDzvErNZX3RM7Tpi7zHkOje+YhV+qFbQ04RgFKaXlrrje1uF0pCzpC
YxWgCmp9cSQviU3o6sbjQ1F0ZoO5tYXOY7FS6ZJx8ZqIMjMhR1zwlF/fOgQc+dXH
adF1WruOXNuVVjcvq3FfuMYxUoH/4aW2Tx0RR3s/Rf1DCSBQH6irJTebS4Ph2alr
QDn8H2y1rfLNWKN16XT8Tz9YlCKzhy3Db0SWamGQIXWRt31qMdayj7edQJ1Q1a1h
EexAaCOE8Bgp7KLefWH8rIo9LrDt0asj7KRJvuIGeDXhKMScQeVW1Ygkh0XrJHQ=
=tl1m
-----END PGP SIGNATURE-----


From nobody Mon May 11 07:48:10 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 93B7B1A8A42 for <cose@ietfa.amsl.com>; Mon, 11 May 2015 07:48:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.602
X-Spam-Level: 
X-Spam-Status: No, score=-1.602 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_8BIT_HEADER=0.3, 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 9RUaFR_4LdjX for <cose@ietfa.amsl.com>; Mon, 11 May 2015 07:48:08 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0710.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::710]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D4B1B1A8A3A for <cose@ietf.org>; Mon, 11 May 2015 07:48:07 -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.160.10; Mon, 11 May 2015 14:47:45 +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.0160.009; Mon, 11 May 2015 14:47:45 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: =?utf-8?B?4oyYIE1hdHQgTWlsbGVy?= <mamille2@cisco.com>, Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [Cose] Issue:  Identification of the top level objects
Thread-Index: AdCDmResR3Con3VeQQyPrJ6q3RWIkgIX0xYAAAAvRhA=
Date: Mon, 11 May 2015 14:47:45 +0000
Message-ID: <BY2PR03MB442A507A1E20E8E839118EAF5DB0@BY2PR03MB442.namprd03.prod.outlook.com>
References: <001a01d08399$26fe9d80$74fbd880$@augustcellars.com> <5550BF4E.1080003@cisco.com>
In-Reply-To: <5550BF4E.1080003@cisco.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: cisco.com; dkim=none (message not signed) header.d=none;
x-originating-ip: [193.1.64.12]
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB444;
x-microsoft-antispam-prvs: <BY2PR03MB44435FC430F46BA1C7B1F52F5DB0@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: 05739BA1B5
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(479174004)(54524002)(377454003)(24454002)(102836002)(77096005)(66066001)(15975445007)(107886002)(189998001)(5001960100002)(40100003)(86612001)(62966003)(2656002)(54356999)(92566002)(2501003)(19580395003)(77156002)(76176999)(87936001)(575784001)(33656002)(2900100001)(46102003)(122556002)(86362001)(50986999)(99286002)(2950100001)(5001770100001)(19580405001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB444; 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: 11 May 2015 14:47:45.1124 (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/R0Najtdmez_B7NiZgeA_6VtgOPg>
Subject: Re: [Cose] Issue:  Identification of the top level objects
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, 11 May 2015 14:48:09 -0000

Sk9TRSBhbHJlYWR5IGRlZmluZXMgYSAidHlwIiBoZWFkZXIgcGFyYW1ldGVyIGZvciBleGFjdGx5
IHRoaXMgcHVycG9zZSwgd2hpY2ggdXNlcyBNSU1FIFR5cGVzLiAgTGV0J3MganVzdCB1c2UgaXQs
IHJhdGhlciB0aGFuIGludmVudGluZyBzb21ldGhpbmcgZGlmZmVyZW50LiAgVGhlIHZhbHVlIG9m
IGRpdmVyZ2VuY2UgaW4gdGhpcyBjYXNlIGlzbid0IHdvcnRoIHRoZSBkaXZlcmdlbmNlLCBhdCBs
ZWFzdCBhcyBJIHNlZSBpdC4NCg0KCQkJCUNoZWVycywNCgkJCQktLSBNaWtlDQoNCi0tLS0tT3Jp
Z2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBDb3NlIFttYWlsdG86Y29zZS1ib3VuY2VzQGlldGYu
b3JnXSBPbiBCZWhhbGYgT2YgPyBNYXR0IE1pbGxlcg0KU2VudDogTW9uZGF5LCBNYXkgMTEsIDIw
MTUgMzo0MCBQTQ0KVG86IEppbSBTY2hhYWQ7IGNvc2VAaWV0Zi5vcmcNClN1YmplY3Q6IFJlOiBb
Q29zZV0gSXNzdWU6IElkZW50aWZpY2F0aW9uIG9mIHRo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RwczovL2dwZ3Rvb2xzLm9yZw0KDQppUUVjQkFFQkNnQUdC
UUpWVUw5T0FBb0pFRFdpK1MwVzdjTzFEMDBIL2lxSzJvZDN4ZUpIdFVEZUNLRFhqVldaDQp6czVX
ZW4xQXhZb0R6dkVyTlpYM1JNN1RwaTd6SGtPamUrWWhWK3FGYlEwNFJnRkthWGxycmplMXVGMHBD
enBDDQpZeFdnQ21wOWNTUXZpVTNvNnNialExRjBab081dFlYT1k3RlM2Wkp4OFpxSU1qTWhSMXp3
bEYvZk9nUWMrZFhIDQphZEYxV3J1T1hOdVZWamN2cTNGZnVNWXhVb0gvNGFXMlR4MFJSM3MvUmYx
RENTQlFINmlySlRlYlM0UGgyYWxyDQpRRG44SDJ5MXJmTE5XS04xNlhUOFR6OVlsQ0t6aHkzRGIw
U1dhbUdRSVhXUnQzMXFNZGF5ajdlZFFKMVExYTFoDQpFZXhBYUNPRThCZ3A3S0xlZldIOHJJbzlM
ckR0MGFzajdLUkp2dUlHZURYaEtNU2NRZVZXMVlna2gwWHJKSFE9DQo9dGwxbQ0KLS0tLS1FTkQg
UEdQIFNJR05BVFVSRS0tLS0tDQoNCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fDQpDb3NlIG1haWxpbmcgbGlzdA0KQ29zZUBpZXRmLm9yZw0KaHR0cHM6Ly93
d3cuaWV0Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9jb3NlDQo=


From nobody Mon May 11 08:04:33 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 28A3C1A8AC4 for <cose@ietfa.amsl.com>; Mon, 11 May 2015 08:04:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.311
X-Spam-Level: *
X-Spam-Status: No, score=1.311 tagged_above=-999 required=5 tests=[BAYES_50=0.8, 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 0YLiM1h2Q9dT for <cose@ietfa.amsl.com>; Mon, 11 May 2015 08:04:29 -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 84EA71A8AA8 for <cose@ietf.org>; Mon, 11 May 2015 08:04:29 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id 17B39E2036; Mon, 11 May 2015 11:04:28 -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 00627-03; Mon, 11 May 2015 11:04:25 -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 54683E2034; Mon, 11 May 2015 11:04:25 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1431356665; bh=2eXo8WhT9eGMkJzTbdxt3iZqQLpLs079yrjTvV2CUZI=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=glMjoAWVDtv6M3ZbIBilnnpDeepXnYxe/43hORbQA2M5XnMyvToO7gQAw24mhwc6H cbgG0UuyXtVh7m5ZHFJXQ3pufCHFYGxrDB3V1TIYJnd21yM7BhcSodXWx7VC7RwCFC yPKuIYnO7GkFBakvcUG3FobTAgT9KKxKIZUo+n/o=
Received: (from warlord@localhost) by securerf.ihtfp.org (8.14.8/8.14.8/Submit) id t4BF4OUd018956; Mon, 11 May 2015 11:04:24 -0400
From: Derek Atkins <derek@ihtfp.com>
To: "Jim Schaad" <ietf@augustcellars.com>
References: <001901d08399$020fcfd0$062f6f70$@augustcellars.com>
Date: Mon, 11 May 2015 11:04:24 -0400
In-Reply-To: <001901d08399$020fcfd0$062f6f70$@augustcellars.com> (Jim Schaad's message of "Thu, 30 Apr 2015 15:57:17 -0700")
Message-ID: <sjmy4kv17gn.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/kcHsrWsI-UWqkBGCGU4ijCK9NaQ>
Cc: cose@ietf.org
Subject: Re: [Cose] Key management in the World of 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: Mon, 11 May 2015 15:04:32 -0000

Hi Jim,

Sorry for the late LATE response.  My current use case is purely #5.

I see value in many of the others, but currently I only see myself using
#5 in my current product line.

-derek

"Jim Schaad" <ietf@augustcellars.com> writes:

> I wanted to try and look closer at Carsten's call for more numbers in
> different applications, but before I can do that I need to figure out what
> applications there are and which ones are currently thought to be of greater
> importance.  I have tried to start by looking at the different security
> constructs that may be used for these applications in terms of what the
> needed security characteristics are.
>
> 1. Integrity based on recipient asymmetric key:  I expect that this is not a
> common scenario to happen for CoRE systems.  This scenario requires that the
> sender get a certified public key for the recipient and uses that, along
> with some ephemeral data local to it, to create a short term shared secret
> used to protect the integrity of the message.  This scenario provides no
> indication of where the data originated, thus it can be used to create a
> message for multiple recipients.  An example of how this would be
> implemented is the use of CBC-MAC with ECDH-ES key agreement plus KDF.
>
> 2. Integrity and low-level origination based on a short term shared key:
> Under the current system this would be setup using a DTLS session along with
> an extractor to establish the key.  The key would be for "short-term" use
> (i.e.  hours not days or weeks).  The option only provides for
> point-to-point integrity not end-to-end integrity.  Integrity can be forged
> by any party that knows the shared-secret.  In this mode, there needs to be
> a single recipient of the message.  If this condition is met, origination is
> shown by saying "I did not make this message so the other party must have
> done so." Origin of the message cannot be proved to a third party.  An
> example of how this would be implemented is the use of CBC-MAC with direct
> key.
>
> 3.  Integrity and low-level origination based on a long term shared key:
> Under the current system this would be setup using a pair-wise key
> established between two entities.  The key would be for "long-term" use
> (i.e.  weeks or months).  Given that this is a long term used key, the
> problem of replay and potential forgeries is greater.   For this reason,
> some type of key derivation on the shared security would be suggested. The
> option only provides for end-to-end integrity between the parties.
> Integrity can be forged by any party that knows the shared-secret.  In this
> mode, there needs to be a single recipient of the message.  If this
> condition is met, origination is shown by saying "I did not make this
> message so the other party must have done so." Origin of the message cannot
> be proved to a third party.  An example of how this would be implemented is
> the use of CBC-MAC with direct key plus KDF.
>
> 4.  Integrity and low-level origination based on two asymmetric keys: This
> scenario requires that both the recipient and sender of the message have
> well known key agreement keys.  Both entities must be able to get these
> either from a trusted third party or over some type of protocol that
> includes doing a proof-of-possession check on both sides.  Once this is
> done, a one-time shared security is generated that is used to provide both
> end-to-end integrity protection and a degree of origination knowledge.
> Origination of the message cannot be proved to a third party.  Both parties
> must have a key that is in the same group.  A uniqueness value must be
> interjected into the key agreement process by at least one of the parties.
> It is sufficient that a counter be used for this purposes, it is not
> necessary for this value to be random.  An example of how this would be
> implemented is the use of CBC-MAC with a ECDH-SS key agreement plus KDF.  
>
> 5. Integrity and high-level origination based on sender asymmetric key:
> This scenario requires that a true signature algorithm be defined and used
> as well as the ability for a recipient to query a trusted third party that
> the binding of identity and public key is true.  Using this allows for the
> origination and integrity of a message to be proved to a third party, the
> signature is not directed at any specific party.  An example of how this
> would be implemented is the use of ECDSA with SHA-256.
>
> 6.  Confidentiality and integrity based on recipient asymmetric key: This
> scenario shares most of the same functionality as does scenario 1.  The
> required integrity can be obtained by the use of an AEAD algorithm rather
> than a MAC algorithm.  An example of how this would be implemented is the
> use of AES-CCM with ECDH-ES key agreement plus KDF.
>
> 7.  Confidentiality, integrity and low-level origination based on a short
> term shared key: This scenario shares most of the same functionality as does
> scenario 2.   The required integrity can be obtained by the use of an AEAD
> algorithm rather than a MAC algorithm  An example of how this would be
> implemented is the use of AES-CCM with direct key.
>
> 8. Confidentiality, integrity and low-level origination based on a long term
> shared key:  This scenario shares most of the same functionality as does
> scenario 3.  The required integrity can be obtained by the use of an AEAD
> algorithm rather than a MAC algorithm.  An example of how this would be
> implemented is the use of AES-CCM with direct key plus KDF.
>
> 9. Confidentiality, integrity and low-level origination based on two
> asymmetric keys:  This scenario shares most of the same functionality as
> does scenario 4.    The required integrity can be obtained by the use of an
> AEAD algorithm rather than a MAC algorithm.  An example of how this would be
> implemented is the use of AES-CCM with ECDH-SS key agreement plus KDF.
>
> 10. Confidentiality, integrity and high-level origination based on sender
> asymmetric key:  This scenario shares the integrity and origination
> requirements of scenario 5, however the algorithm choice there does not
> provide an confidentiality.  A different confidentiality mechanism must be
> used.  Any of the methods used in scenarios 5-9 could be used for this
> purpose.  Getting both sets of functionality will required the use of a
> wrapped message scenario where the signed message is wrapped inside of an
> encrypted message.  (Attempting to do both in the same message was removed
> between PKCS #7 and CMS due to security flaws.  It was possible to both
> determine who the message signer was and to do traffic analysis on the
> content of the message by looking at the hash of the resulting signature.)
>
> Which of these ten scenarios do we believe are going to be commonly used?
> What percentage of the time do we think these options are going to be used?
> This will give us some starting data to look at which structures are going
> to be the most commonly used and get a start on which fields in the
> structures are going to be present.  There will be some follow on questions
> to try and make this determination.
>
> Jim
>
>
> _______________________________________________
> 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 Mon May 11 08:15:40 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 9DFFB1A8AD9 for <cose@ietfa.amsl.com>; Mon, 11 May 2015 08:15:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.7
X-Spam-Level: 
X-Spam-Status: No, score=-1.7 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, MIME_8BIT_HEADER=0.3] 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 cZFJO8ufMyTN for <cose@ietfa.amsl.com>; Mon, 11 May 2015 08:15:38 -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 825DD1A8AC7 for <cose@ietf.org>; Mon, 11 May 2015 08:15:36 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id 0F6E0E2036; Mon, 11 May 2015 11:15: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 00655-06; Mon, 11 May 2015 11:15:33 -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 933A4E2034; Mon, 11 May 2015 11:15:33 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1431357333; bh=abIvuRJNLlWWwU86jMr0Ev8hArY1GvgYCehAM5DjLP0=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=gQcnyBjpmTrvghj+t5dJcphjlbXDLKT+IuQ8Py+0ndAKydPN+NBqdlrST+TNQH+x8 fdGdEZNIxGoo5uMePWxge6nRwWDo4SiUFq00UeUPyk4oz6JksqAicpzS/PtXU0A6pf Yw2KseY07a/xwmQYljHZo3bUp/GEC5mezUz28BPA=
Received: (from warlord@localhost) by securerf.ihtfp.org (8.14.8/8.14.8/Submit) id t4BFFXNf019832; Mon, 11 May 2015 11:15:33 -0400
From: Derek Atkins <derek@ihtfp.com>
To: =?utf-8?Q?=E2=8C=98?= Matt Miller <mamille2@cisco.com>
References: <001a01d08399$26fe9d80$74fbd880$@augustcellars.com> <5550BF4E.1080003@cisco.com>
Date: Mon, 11 May 2015 11:15:33 -0400
In-Reply-To: <5550BF4E.1080003@cisco.com> (=?utf-8?Q?=22=E2=8C=98?= Matt Miller"'s message of "Mon, 11 May 2015 08:40:14 -0600")
Message-ID: <sjmtwvj16y2.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; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Virus-Scanned: Maia Mailguard 1.0.2a
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/hAqDVnJ93hng-49lRw6WHLUJGVk>
Cc: Jim Schaad <ietf@augustcellars.com>, cose@ietf.org
Subject: Re: [Cose] Issue:  Identification of the top level objects
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, 11 May 2015 15:15:38 -0000

=E2=8C=98 Matt Miller <mamille2@cisco.com> writes:

> On 4/30/15 4:58 PM, Jim Schaad wrote:
>> Question:  Identification of objects: a)  CBOR Tag - either
>> general or specific to each type b)  Required Identifier c)  Use
>> the same techniques as JOSE
>
> I would prefer (b), but could live with (a). (b) makes an object that
> is self-contained. I don't see a new top-level field with a simple
> enumerated integer value to be that expensive, but would defer to the
> rest of the group.
>
> I object to (c). As does Jim, I find the JOSE technique to be overly
> complex and really don't like it.

+1

In my use case I'm nesting a bunch of objects so it would be useful to
have them be tagged compactly.

-derek

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


From nobody Mon May 11 08:20:49 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 202CC1A8BBE for <cose@ietfa.amsl.com>; Mon, 11 May 2015 08:20:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] 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 owGcY_6jQXow for <cose@ietfa.amsl.com>; Mon, 11 May 2015 08:20:47 -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 87D701A8AFC for <cose@ietf.org>; Mon, 11 May 2015 08:20:44 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id 5F85CE2036; Mon, 11 May 2015 11:20:43 -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 00627-09; Mon, 11 May 2015 11:20:41 -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 761AFE2034; Mon, 11 May 2015 11:20:41 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1431357641; bh=dpoYbe0YoT8WO0c0hrO8VjPt5ufOh3mqNBxgpv5oQeQ=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=s6f2lhvjLWrtPNZFGVbxDTbjsEGjO+gHCovdv4CgW51D/QV0/UcqrQ+NOMYaE1QU/ mWD06mCbStfd1nnLOPN4bMWOubwJXD9EeKr0E47zkcJuTBef4jMedeuQdLWBEsMTA2 BnRuPpnrVMTjKuCfJt6Td8xNcnA1SORroGZQsAnQ=
Received: (from warlord@localhost) by securerf.ihtfp.org (8.14.8/8.14.8/Submit) id t4BFKe9l020260; Mon, 11 May 2015 11:20:40 -0400
From: Derek Atkins <derek@ihtfp.com>
To: Paul Hoffman <paul.hoffman@vpnc.org>
References: <001b01d08399$434ab9b0$c9e02d10$@augustcellars.com> <724B1E60-A92F-42EB-B7BD-732A6B19ECCA@vpnc.org> <00e601d08904$d7eecb90$87cc62b0$@augustcellars.com> <7FA52A2F-1612-487E-9096-4EE939B99BD2@vpnc.org>
Date: Mon, 11 May 2015 11:20:40 -0400
In-Reply-To: <7FA52A2F-1612-487E-9096-4EE939B99BD2@vpnc.org> (Paul Hoffman's message of "Thu, 7 May 2015 13:54:24 -0700")
Message-ID: <sjmpp6716pj.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/DU912etYJrjY4UWowmPf8AJCq0M>
Cc: Jim Schaad <ietf@augustcellars.com>, 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: <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, 11 May 2015 15:20:48 -0000

Paul Hoffman <paul.hoffman@vpnc.org> writes:

> On May 7, 2015, at 1:31 PM, Jim Schaad <ietf@augustcellars.com> wrote:
>> Based on your comment I am not sure if I was clear about what I was asking -
>> Please let me know either way.
>> 
>> 1. Gives a result of {"unprotected":xxx, "cipher_text":xxx, "header":xxx,
>> "encryptd_key":xxx }
>> 2.  Gives a result of {"unprotected"xxx", "cipher_text"xxx,
>> "recipients":{"header":xxx, "encrypted_key":xxx }}
>> 3 Gives a result of {"unprotected":xxx", "cipher_text":xxx,
>> "recipients:[{"header":xxx, "encrypted_key":xxx}]}
>> 
>> Labels disappear if the top level is an array and not a map - but no other
>> significant changes.
>
> Right, I completely misunderstood your shorthand. Given these, (c)
> seems better: it keeps the structure predictable, with a possible
> reduction of code for processing the structure (but not much,
> admittedly).

+1 -- it should always be an array of recipients, even if it only has a
single element.

> --Paul Hoffman
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose

-derek

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


From nobody Mon May 11 08:22:59 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 AA9051A8BBE for <cose@ietfa.amsl.com>; Mon, 11 May 2015 08:22:58 -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 4vealH64Rcdk for <cose@ietfa.amsl.com>; Mon, 11 May 2015 08:22:57 -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 BC8851A8F45 for <cose@ietf.org>; Mon, 11 May 2015 08:22:51 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id 7DD0DE2036; Mon, 11 May 2015 11:22:50 -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 00655-10; Mon, 11 May 2015 11:22:47 -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 8DFD8E2034; Mon, 11 May 2015 11:22:47 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1431357767; bh=Vvtja5UEHFTjQ97sENmnBzDYioqSjfP8RTFsnnTauWc=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=nQm235eMHTvWX4G8+8urapaFQFvraY7hc4l1/TUwEAS8NWBTW65d1HZm7zCz8MkCh 2wZspzQtGIjjxXSuvO1HArDvuMQVaf0s0bDkdJWHRi3oM/F5KA0M3I4iDXb0DjesKG 19shRVDEak0puRyzfsTNWRUtCZQgBDNG2JNI5znY=
Received: (from warlord@localhost) by securerf.ihtfp.org (8.14.8/8.14.8/Submit) id t4BFMl3u020445; Mon, 11 May 2015 11:22:47 -0400
From: Derek Atkins <derek@ihtfp.com>
To: "Jim Schaad" <ietf@augustcellars.com>
References: <001c01d08399$642ed490$2c8c7db0$@augustcellars.com>
Date: Mon, 11 May 2015 11:22:47 -0400
In-Reply-To: <001c01d08399$642ed490$2c8c7db0$@augustcellars.com> (Jim Schaad's message of "Thu, 30 Apr 2015 16:00:01 -0700")
Message-ID: <sjmlhgv16m0.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/XLd2Nkk3AGdPteLxy0yE0l7kL1s>
Cc: 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, 11 May 2015 15:22:58 -0000

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


From nobody Mon May 11 08:28:37 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 BFC2E1A8AE3 for <cose@ietfa.amsl.com>; Mon, 11 May 2015 08:28:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] 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 5QRw60KViNpr for <cose@ietfa.amsl.com>; Mon, 11 May 2015 08:28:34 -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 333691A9061 for <cose@ietf.org>; Mon, 11 May 2015 08:28:17 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id 3544CE2036; Mon, 11 May 2015 11:28: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 00872-04; Mon, 11 May 2015 11:28:14 -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 27C34E2034; Mon, 11 May 2015 11:28:14 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1431358094; bh=AfI1roEx4VVxpYERY5EIe24+vbwjQFtZIyHSxqw8iYA=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=kJRpitjWGPdepgYSJnW9FHaILYIejz//REoXIXMa8yj/SzarjTBdoYguWmhsrCWBW jLQ/Bys/nFe/5p/EzNFl51msHNq+rHjJUe7k7wS3YCSJYLQseij+fI0bVzgtb6B7pm 9vJl0SYzQNbddDK3Cwpc6RnscBfCEIjpvB/6L3HQ=
Received: (from warlord@localhost) by securerf.ihtfp.org (8.14.8/8.14.8/Submit) id t4BFSDf5020968; Mon, 11 May 2015 11:28:13 -0400
From: Derek Atkins <derek@ihtfp.com>
To: Ludwig Seitz <ludwig@sics.se>
References: <027e01d08baf$0fa1bd20$2ee53760$@augustcellars.com> <55504EA3.7030405@sics.se>
Date: Mon, 11 May 2015 11:28:13 -0400
In-Reply-To: <55504EA3.7030405@sics.se> (Ludwig Seitz's message of "Mon, 11 May 2015 08:39:31 +0200")
Message-ID: <sjmh9rj16cy.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/itbi6KtLWMO4Lf9z3i_KlnBWAP8>
Cc: cose@ietf.org
Subject: Re: [Cose] Sizes of messages
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, 11 May 2015 15:28:35 -0000

Ludwig Seitz <ludwig@sics.se> writes:

> On 05/11/2015 07:55 AM, Jim Schaad wrote:
>
>> 	-  A payload of 19 bytes is assumed and it is assumed that the
>> content is being carried inside of the message.
>
> Just a quick comment on that one. In the world of sensor networks, the
> payload of a message will often be a sensor reading, which could be as
> small as e.g. a single floating point number or even an integer. So we
> should assume we will get a significant number of payloads in the
> order of magnitude of 2-4 bytes.

In my experience we've found that it's better to combine a bunch of
sensor readings together, specifically because they are so small that
the added overhead of separating them because unwieldly.

> /Ludwig

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


From nobody Mon May 11 08:35:19 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 170A21A9043 for <cose@ietfa.amsl.com>; Mon, 11 May 2015 08:35:18 -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 EIq3wKFZtpBR for <cose@ietfa.amsl.com>; Mon, 11 May 2015 08:35:14 -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 5134D1A1B30 for <cose@ietf.org>; Mon, 11 May 2015 08:35:14 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id 2927AE2036; Mon, 11 May 2015 11:35:13 -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 00862-06; Mon, 11 May 2015 11:35:10 -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 BEE4BE2034; Mon, 11 May 2015 11:35:10 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1431358510; bh=T2HZ/2FW3+IJXWVRTegHMyMceiqun34xP0HLf+0cr3Y=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=UtSryCkBTGaMvoo8R+B8d4id1SZ/UEh+3l/4o6OUP/REPS1N4yRmiAausJsabC01x mkEH8woSZdDJBqT0+1PxgcrR2ZF66T9KI6yxyzbGlqYXmnZI65A3eeFA6P8DlYlH6d 5FtkTX/Zp9S6G7FGLsARkmJaOB2GAwamIODHKtgY=
Received: (from warlord@localhost) by securerf.ihtfp.org (8.14.8/8.14.8/Submit) id t4BFZAhT021454; Mon, 11 May 2015 11:35:10 -0400
From: Derek Atkins <derek@ihtfp.com>
To: "Jim Schaad" <ietf@augustcellars.com>
References: <027e01d08baf$0fa1bd20$2ee53760$@augustcellars.com>
Date: Mon, 11 May 2015 11:35:10 -0400
In-Reply-To: <027e01d08baf$0fa1bd20$2ee53760$@augustcellars.com> (Jim Schaad's message of "Sun, 10 May 2015 22:55:18 -0700")
Message-ID: <sjmd227161d.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/-VP5cNZA3Ssl9_-ma9WFD8dA-IM>
Cc: cose@ietf.org
Subject: Re: [Cose] Sizes of messages
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, 11 May 2015 15:35:18 -0000

Jim,

"Jim Schaad" <ietf@augustcellars.com> writes:

> I have spent a couple of days looking at messages that are likely to be sent
> for the world of CoRE/ACE based on the draft
> https://tools.ietf.org/html/draft-selander-ace-object-security-01 and the
> response on key management that I got back recently.  I have made several
> assumptions in doing the computations.  I have included my spreadsheet of
> the different cases so that you can look at where I had assigned bytes used.
> If people have other cases where they would like to get sizes computed,
> please send them to me and I can run the numbers.

Thank you for this work!

> Case #1 - MAC on a content using a direct key.   I am assuming, probably
[snip]
> 	-  In this case using maps takes 62 octets and using arrays takes 63
> octets.
>
> Case #2 - Encryption on a content using a direct key.  The details of the
[snip]
> 	-  In this case using maps takes 60 octets and using arrays takes 61
> octets.
>
> Case #3 - Sign a message using an asymmetric key.  The details of the
[snip]
> 	-  In this case using maps takes 82 bytes and arrays takes 83 bytes.
> If content is included, then the array will be the same size as for map.
>
> Case #4 - Sign a message using an asymmetric key and encrypt it using a
[snip]
> 	- For map, the size is 145 octets, for array the size is 146 octets.
>
> For all of the cases that I have provided above, I am using the minimal set
> of fields.  If any other fields are added, for example unprotected
> attributes, then the balance tips from maps to arrays as the cost to add a
> field is 2 octets plus the data, whereas the cost to add a field to an array
> is just the size of the data.

So in the minimal case it definitely sounds like a map provides a tiny
edge in the data size over an array.  In my use case (#3 above) I do
expect that I'll have the payload included as opposed to detacted, so in
my case the sizes are equivalent.

However I feel that a map also enables future extensions easier than an
array, in particular if you have future optional features.  Not that I
can currently think of what extensions might occur, but I'm not
omniscient either ;)

Thanks,

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


From nobody Mon May 11 11:54:07 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 11B931A87EB for <cose@ietfa.amsl.com>; Mon, 11 May 2015 11:54:05 -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 DSShADnkmmRL for <cose@ietfa.amsl.com>; Mon, 11 May 2015 11:54:03 -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 499EE1A87E3 for <cose@ietf.org>; Mon, 11 May 2015 11:54:03 -0700 (PDT)
Received: from Philemon (c-24-21-96-37.hsd1.or.comcast.net [24.21.96.37]) (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 99E7B2CA47 for <cose@ietf.org>; Mon, 11 May 2015 11:54:02 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <cose@ietf.org>
Date: Mon, 11 May 2015 11:52:37 -0700
Message-ID: <006b01d08c1b$a6831b00$f3895100$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AdCMD4iwiwDWGFPrQzmf6gFdLBxZmw==
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/FYHuHE94i3hryy22bxpRuHpQCrA>
Subject: [Cose] Parameterization of CCM mode
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, 11 May 2015 18:54:05 -0000

As part of looking at the sizes of encodings for items, I was looking at the
use of CCM mode and trying to make guesses about what the parameters are
that are going to be used in constrained devices.  Trying to get the info
from https://tools.ietf.org/html/draft-selander-ace-object-security-01 did
not really help as it seemed to not have the correct set encoded into it.

The parameters that I have identified for CCM are the following:

1)  Key size - 128, 192, 256
2)  M - number of octets in the authentication field - 4, 6, 8, 10, 12, 14,
16
3)  L - number of octets in the length field - 2-8 octets


The key size does not affect the size of the output so it is not a big issue
relative to things.  While I would guess that generally only 128-bit keys
are used, it would probably makes sense to define at least 128 and 256 bit
key algorithms

The size of the authentication fields is currently defined as 8 from the
Selander draft.  It would make sense to have at least two sizes defined - 8
and 16, but I am not sure about other sizes.

The hardest one to make decisions on is the message length field.  For
constrained devices this could be a very small value as a value of 2 would
all for encrypting 2^(8*2) bytes and would allow for the key to be used a
lot as one then has a nonce of 15-2=13 bytes (allowing for a key to be used
~ 2^13 times assuming no birthday attacks).  Nonce values as 15-L bytes long
and nonce values must not be re-used.  On the other hand, for a more general
usage it makes sense to have a larger value of L to allow for bigger
messages with less key re-usage.  

The Selander draft appears to make the assumption that different keys are
used in each direction when encrypting messages.  This makes one problem
easier - there is no need to divide up the nonce space so that nonce values
are not re-used when encrypting messages.  It also makes nonce usage easier
because there is no need to try and synchronize the nonce value usage
between the two parties.  On the other hand, it means that there is more
data that needs to be keep on the device as you now need 2 keys and 2 nonce
counters for each pair-wise link which might be a space issue on the device.

In the Selander draft, there was the idea of having both a nonce counter and
salt value which is used to construct the nonce used in the encryption step.
As far as I know there is no security reason to salt the nonce unless there
is an expectation that the keys would ever be re-used.  If new keys are
generated each time that keys are generated then the salt is probably not
necessary to have.   However, use of a salt value can be used to divide up
the nonce space if the same key value is used in both directions.

While we need to do more research on figuring out how many times a key can
be used based on the nonce length, this is probably not dependent on the
values of L that we want to standardize.  The more items we standardize the
more selection different protocols will have, but I don't know how much
parameterization the implementations support or if they are using fixed
parameterization.

Jim



From nobody Mon May 11 13:38:38 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 7B27E1A901E for <cose@ietfa.amsl.com>; Mon, 11 May 2015 13:38:36 -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 vcrjlEYJ_je0 for <cose@ietfa.amsl.com>; Mon, 11 May 2015 13:38:34 -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 E14D61A902A for <cose@ietf.org>; Mon, 11 May 2015 13:38:34 -0700 (PDT)
Received: from Philemon (c-24-21-96-37.hsd1.or.comcast.net [24.21.96.37]) (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 4ABE72CA20; Mon, 11 May 2015 13:38:34 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Ludwig Seitz'" <ludwig@sics.se>, <cose@ietf.org>
References: <027e01d08baf$0fa1bd20$2ee53760$@augustcellars.com> <55504EA3.7030405@sics.se>
In-Reply-To: <55504EA3.7030405@sics.se>
Date: Mon, 11 May 2015 13:37:08 -0700
Message-ID: <007b01d08c2a$40b20cf0$c21626d0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQIRw4TV5Qa1tmqUq/LMooYCv8FDfgIaX6gznOP5J5A=
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/F0V2UDMSjBa4rRuAigiL7C2-fRo>
Subject: Re: [Cose] Sizes of messages
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, 11 May 2015 20:38:36 -0000

> -----Original Message-----
> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Ludwig Seitz
> Sent: Sunday, May 10, 2015 11:40 PM
> To: cose@ietf.org
> Subject: Re: [Cose] Sizes of messages
>=20
> On 05/11/2015 07:55 AM, Jim Schaad wrote:
>=20
> > 	-  A payload of 19 bytes is assumed and it is assumed that the
> > content is being carried inside of the message.
>=20
> Just a quick comment on that one. In the world of sensor networks, the
> payload of a message will often be a sensor reading, which could be as
small
> as e.g. a single floating point number or even an integer. So we =
should
> assume we will get a significant number of payloads in the order of
> magnitude of 2-4 bytes.
>=20
> /Ludwig

I kind of just chose an arbitrary number, this does not change what the
overhead of sending a message is   The break points on message sizes =
from
the size of CBOR are at 24/25 bytes (tag and length goes from 1 to 2 =
bytes)
and at 255/267 bytes (tag and length from 2 bytes to 3 bytes).  The next
break would be at 2^24 bytes.  =20

If you care about the ratio of content to overhead then knowing an exact
message size matters otherwise it probably doesn't.

If you sizes are really that small, what are you doing about dealing =
with
replay - are you assuming that is all covered in the security overhead
rather than in your base message size?

Jim

>=20
> --
> Ludwig Seitz, PhD
> SICS Swedish ICT AB
> Ideon Science Park
> Building Beta 2
> Scheelev=E4gen 17
> SE-223 70 Lund
>=20
> Phone +46(0)70-349 92 51
> http://www.sics.se



From nobody Mon May 11 14:15:20 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 C982A1A877F for <cose@ietfa.amsl.com>; Mon, 11 May 2015 14:15:17 -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 Xuzo_2JroTHL for <cose@ietfa.amsl.com>; Mon, 11 May 2015 14:15:16 -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 039451A7035 for <cose@ietf.org>; Mon, 11 May 2015 14:15:15 -0700 (PDT)
Received: from Philemon (c-24-21-96-37.hsd1.or.comcast.net [24.21.96.37]) (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 0C17B2C9BB; Mon, 11 May 2015 14:15:14 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Mike Jones'" <Michael.Jones@microsoft.com>, <cose@ietf.org>
References: <001a01d08399$26fe9d80$74fbd880$@augustcellars.com> <5550BF4E.1080003@cisco.com> <BY2PR03MB442A507A1E20E8E839118EAF5DB0@BY2PR03MB442.namprd03.prod.outlook.com>
In-Reply-To: <BY2PR03MB442A507A1E20E8E839118EAF5DB0@BY2PR03MB442.namprd03.prod.outlook.com>
Date: Mon, 11 May 2015 14:13:49 -0700
Message-ID: <008001d08c2f$609603a0$21c20ae0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQHsJwC5M2J6P0ogmMRJ78f4EU04JwK6VZYVAisC6iadGOTvsA==
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/uN9jC1Sb-NnhkxQMxt9XJxVfNa0>
Subject: Re: [Cose] Issue:  Identification of the top level objects
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, 11 May 2015 21:15:18 -0000

Of course in the world of JOSE, using this header cannot be done with a =
simple single call.=20

First it can be placed in either the protected or unprotected headers =
meaning that you have a couple of places to look.

Second while the headers are called "protected" and "unprotected" and =
are at the top level for an encrypted message.  For a signed message the =
headers are called "protected" and "header" and are part of the =
signature field, meaning that there two different levels that need to be =
looked at.

Finally, the description for "typ" in JWS states

This is intended for use by the application when more than one kind
   of object could be present in an application data structure that can
   contain a JWS; the application can use this value to disambiguate
   among the different kinds of objects that might be present.

Which is not the same as saying it should be used to disambiguate =
between an encrypted message, a MAC-ed message and a signed message.

Without some changes, I am not sure that this really maps to the same =
thing we are trying to accomplish.

Jim


> -----Original Message-----
> From: Mike Jones [mailto:Michael.Jones@microsoft.com]
> Sent: Monday, May 11, 2015 7:48 AM
> To: =E2=8C=98 Matt Miller; Jim Schaad; cose@ietf.org
> Subject: RE: [Cose] Issue: Identification of the top level objects
>=20
> JOSE already defines a "typ" header parameter for exactly this =
purpose,
> which uses MIME Types.  Let's just use it, rather than inventing =
something
> different.  The value of divergence in this case isn't worth the =
divergence, at
> least as I see it.
>=20
> 				Cheers,
> 				-- Mike
>=20
> -----Original Message-----
> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of ? Matt Miller
> Sent: Monday, May 11, 2015 3:40 PM
> To: Jim Schaad; cose@ietf.org
> Subject: Re: [Cose] Issue: Identification of the top level objects
>=20
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>=20
> On 4/30/15 4:58 PM, Jim Schaad wrote:
> > Question:  Identification of objects: a)  CBOR Tag - either general =
or
> > specific to each type b)  Required Identifier c)  Use the same
> > techniques as JOSE
>=20
> I would prefer (b), but could live with (a). (b) makes an object that =
is self-
> contained. I don't see a new top-level field with a simple enumerated =
integer
> value to be that expensive, but would defer to the rest of the group.
>=20
> I object to (c). As does Jim, I find the JOSE technique to be overly =
complex
> and really don't like it.
>=20
>=20
> - --
> - - m&m
>=20
> Matt Miller < mamille2@cisco.com >
> Cisco Systems, Inc.
>=20
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
> Comment: GPGTools - https://gpgtools.org
>=20
> iQEcBAEBCgAGBQJVUL9OAAoJEDWi+S0W7cO1D00H/iqK2od3xeJHtUDeCKDXj
> VWZ
> zs5Wen1AxYoDzvErNZX3RM7Tpi7zHkOje+YhV+qFbQ04RgFKaXlrrje1uF0pCzp
> C
> YxWgCmp9cSQviU3o6sbjQ1F0ZoO5tYXOY7FS6ZJx8ZqIMjMhR1zwlF/fOgQc+d
> XH
> adF1WruOXNuVVjcvq3FfuMYxUoH/4aW2Tx0RR3s/Rf1DCSBQH6irJTebS4Ph2a
> lr
> QDn8H2y1rfLNWKN16XT8Tz9YlCKzhy3Db0SWamGQIXWRt31qMdayj7edQJ1Q
> 1a1h
> EexAaCOE8Bgp7KLefWH8rIo9LrDt0asj7KRJvuIGeDXhKMScQeVW1Ygkh0XrJH
> Q=3D
> =3Dtl1m
> -----END PGP SIGNATURE-----
>=20
> _______________________________________________
> Cose mailing list
> Cose@ietf.org
> https://www.ietf.org/mailman/listinfo/cose


From nobody Mon May 11 14:43:29 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 6142E1A90A0 for <cose@ietfa.amsl.com>; Mon, 11 May 2015 14:43:28 -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 BeavTOIHEq9Q for <cose@ietfa.amsl.com>; Mon, 11 May 2015 14:43:26 -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 8E5A71A0041 for <cose@ietf.org>; Mon, 11 May 2015 14:43:26 -0700 (PDT)
Received: from Philemon (c-24-21-96-37.hsd1.or.comcast.net [24.21.96.37]) (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 0C4272C9BB; Mon, 11 May 2015 14:43:25 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Derek Atkins'" <derek@ihtfp.com>
References: <001c01d08399$642ed490$2c8c7db0$@augustcellars.com> <sjmlhgv16m0.fsf@securerf.ihtfp.org>
In-Reply-To: <sjmlhgv16m0.fsf@securerf.ihtfp.org>
Date: Mon, 11 May 2015 14:42:00 -0700
Message-ID: <008401d08c33$504feb60$f0efc220$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQHbZlBKHCCSWnQMz2VzSyrGcf61KQDaoPGQnVq9qfA=
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/BHwMjrLzdxSjT69NHIqwUCREe2w>
Cc: 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, 11 May 2015 21:43:28 -0000

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


From nobody Mon May 11 15:25:31 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 A32CB1A90EA for <cose@ietfa.amsl.com>; Mon, 11 May 2015 15:25:29 -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 oW89zU5HTpuL for <cose@ietfa.amsl.com>; Mon, 11 May 2015 15:25:27 -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 6DF511A90CF for <cose@ietf.org>; Mon, 11 May 2015 15:25:27 -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.160.10; Mon, 11 May 2015 22:25:19 +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.0160.009; Mon, 11 May 2015 22:25:19 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, 'Derek Atkins' <derek@ihtfp.com>
Thread-Topic: [Cose] Issue:  Reuse the Enrypt structure for recipients
Thread-Index: AdCDmVTi0lJyO1ENSaipAaz9l4o5TgIZQmWBAA08RwAAAVZ3kA==
Date: Mon, 11 May 2015 22:25:19 +0000
Message-ID: <BY2PR03MB44239554F035F86FAF90F13F5DB0@BY2PR03MB442.namprd03.prod.outlook.com>
References: <001c01d08399$642ed490$2c8c7db0$@augustcellars.com> <sjmlhgv16m0.fsf@securerf.ihtfp.org> <008401d08c33$504feb60$f0efc220$@augustcellars.com>
In-Reply-To: <008401d08c33$504feb60$f0efc220$@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: [5.149.172.123]
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB442;
x-microsoft-antispam-prvs: <BY2PR03MB442593F3FC353C900FC1D3FF5DB0@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: 05739BA1B5
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(377454003)(19580405001)(189998001)(15974865002)(5001960100002)(40100003)(2656002)(2900100001)(19580395003)(87936001)(74316001)(86362001)(122556002)(86612001)(2950100001)(66066001)(76176999)(50986999)(54356999)(33656002)(102836002)(15975445007)(77096005)(99286002)(46102003)(5001770100001)(92566002)(76576001)(77156002)(62966003); 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: 11 May 2015 22:25:19.2961 (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/dIqFb6JPC9f66pu7hHvj07VMjqc>
Cc: "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, 11 May 2015 22:25:29 -0000

>From my point of view, the JOSE WG didn't reject encrypting a JWK to repres=
ent 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 abo=
ut 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 fo=
rm 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.  I=
n the event that we want to talk about use the "recipient" structure as a t=
op 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
>=20
> I believe that yes, the map should be reused, however if we do that I=20
> wonder whether you need to add a tag that says whether it's an=20
> encrypted key or encrypted 'data'?
>=20
> -derek
>=20
> "Jim Schaad" <ietf@augustcellars.com> writes:
>=20
> > Question:  Reuse Encrypt body map for recipients
> >
> > Discussion:
> >
> > The concept of using the same structure for both recipients and the=20
> > base encryption map was introduced to the JOSE working group at the=20
> > Denver meeting.  The JOSE working group rejected the idea as being=20
> > too much of a change to make in the current working code.  The=20
> > concept is that the same data structure, with the same elements is=20
> > used to encode both the content encryption and each of the recipient st=
ructures.
> > 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 later=20
> > 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=20
> > encrypting keys allows for some neat tricks to be played at a later=20
> > date if needed.  One example is that you could separate the key=20
> > wrapping algorithm, and the ECDH-KDF algorithm pair into separate=20
> > layers.  This allows one to move towards a Chinese Menu method of=20
> > selecting and using algorithms rather than the current 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 be=20
> > 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 only=20
> > 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=20
> > recipient class.  While my code does not currently deal with idea of=20
> > having multiple layers of key management.  I believe that this would=20
> > be a minimal addition to the current code base.
> >
> >
> > _______________________________________________
> > 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

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


From nobody Mon May 11 15:31:41 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 C875C1A90EA for <cose@ietfa.amsl.com>; Mon, 11 May 2015 15:31:40 -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 8uh6BmIMlugr for <cose@ietfa.amsl.com>; Mon, 11 May 2015 15:31:39 -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 58CA01A90CF for <cose@ietf.org>; Mon, 11 May 2015 15:31:39 -0700 (PDT)
Received: from Philemon (c-24-21-96-37.hsd1.or.comcast.net [24.21.96.37]) (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 D0D342CA48 for <cose@ietf.org>; Mon, 11 May 2015 15:31:38 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <cose@ietf.org>
Date: Mon, 11 May 2015 15:30:13 -0700
Message-ID: <008501d08c3a$0c80bde0$258239a0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AdCMObiyqe9RKIH7R3KD00qjqIElIg==
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/Do99YlOEJ2TyaEc7a69Mk3ZH4FM>
Subject: [Cose] Reuse of Content Encryption Keys
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, 11 May 2015 22:31:40 -0000

I want to call the groups attention to this RFC "RFC 3185: Reuse of CMS
Content Encryption Keys"  (https://tools.ietf.org/html/rfc3185).  The draft
talks about a method in CMS to start with an asymmetric operation on a CMS
message followed by sending a number of messages back and forth that use a
symmetric key which can be computed from the original CEK value.

I don't know that it makes any sense for the group to adopt a similar
methodology, but I did want to make sure that group did at least see it.

Jim



From nobody Mon May 11 15:40:52 2015
Return-Path: <stephen.farrell@cs.tcd.ie>
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 881E21A92B8 for <cose@ietfa.amsl.com>; Mon, 11 May 2015 15:40:49 -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, 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 oOgLKfKmNeD3 for <cose@ietfa.amsl.com>; Mon, 11 May 2015 15:40:47 -0700 (PDT)
Received: from mercury.scss.tcd.ie (mercury.scss.tcd.ie [134.226.56.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 70C6A1A923D for <cose@ietf.org>; Mon, 11 May 2015 15:40:47 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mercury.scss.tcd.ie (Postfix) with ESMTP id C5A91BED5; Mon, 11 May 2015 23:40:45 +0100 (IST)
X-Virus-Scanned: Debian amavisd-new at scss.tcd.ie
Received: from mercury.scss.tcd.ie ([127.0.0.1]) by localhost (mercury.scss.tcd.ie [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mBIb8-W3DTPU; Mon, 11 May 2015 23:40:43 +0100 (IST)
Received: from [10.87.48.73] (unknown [86.46.19.109]) by mercury.scss.tcd.ie (Postfix) with ESMTPSA id BFB4DBEAA; Mon, 11 May 2015 23:40:43 +0100 (IST)
Message-ID: <55512FEB.4030209@cs.tcd.ie>
Date: Mon, 11 May 2015 23:40:43 +0100
From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Jim Schaad <ietf@augustcellars.com>, cose@ietf.org
References: <008501d08c3a$0c80bde0$258239a0$@augustcellars.com>
In-Reply-To: <008501d08c3a$0c80bde0$258239a0$@augustcellars.com>
OpenPGP: id=D66EA7906F0B897FB2E97D582F3C8736805F8DA2; url=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/7hnWy8RlfgBzvL1y24S4meqFei0>
Subject: Re: [Cose] Reuse of Content Encryption Keys
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, 11 May 2015 22:40:49 -0000

On 11/05/15 23:30, Jim Schaad wrote:
> I want to call the groups attention to this RFC "RFC 3185: Reuse of CMS
> Content Encryption Keys"  (https://tools.ietf.org/html/rfc3185).  

Now there's a blast from the past:-)

> The draft
> talks about a method in CMS to start with an asymmetric operation on a CMS
> message followed by sending a number of messages back and forth that use a
> symmetric key which can be computed from the original CEK value.
> 
> I don't know that it makes any sense for the group to adopt a similar
> methodology, but I did want to make sure that group did at least see it.

As a co-author, I can say that 3185 is, as far as I know, universally
unimplemented;-) It was developed as part of a Diameter e2e security
proposal that in the end didn't fly - iirc, the scenario was something
like Alice sends ciphertext to Bob who needs to be able to immediately
send ciphertext back to Alice with low overhead. I think the idea may
still be useful sometime though, but 3185 may be (rightly) considered
too hacky nowadays, but maybe with s/reverse bytes/use-KDF/ and a bit
more work, the basic concept might be acceptable. (And if that turns
out to be the case then well spotted Jim!)

S.


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


From nobody Mon May 11 15:48: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 3B09C1A92BC for <cose@ietfa.amsl.com>; Mon, 11 May 2015 15:48:29 -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 ZQmDpxiwoIiu for <cose@ietfa.amsl.com>; Mon, 11 May 2015 15:48:27 -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 CA0881A9110 for <cose@ietf.org>; Mon, 11 May 2015 15:48:18 -0700 (PDT)
Received: from Philemon (c-24-21-96-37.hsd1.or.comcast.net [24.21.96.37]) (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 420D42CA3C; Mon, 11 May 2015 15:48:18 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Mike Jones'" <Michael.Jones@microsoft.com>, "'Derek Atkins'" <derek@ihtfp.com>
References: <001c01d08399$642ed490$2c8c7db0$@augustcellars.com> <sjmlhgv16m0.fsf@securerf.ihtfp.org> <008401d08c33$504feb60$f0efc220$@augustcellars.com> <BY2PR03MB44239554F035F86FAF90F13F5DB0@BY2PR03MB442.namprd03.prod.outlook.com>
In-Reply-To: <BY2PR03MB44239554F035F86FAF90F13F5DB0@BY2PR03MB442.namprd03.prod.outlook.com>
Date: Mon, 11 May 2015 15:46:52 -0700
Message-ID: <008601d08c3c$6049a570$20dcf050$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQHbZlBKHCCSWnQMz2VzSyrGcf61KQDaoPGQAgu3YXUBfWV+bJ0+jerw
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/YuCKLu8iaffPN4bK05fPd9PqACc>
Cc: 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, 11 May 2015 22:48:29 -0000

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


From nobody Mon May 11 16:19:10 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 464E11AC3A0 for <cose@ietfa.amsl.com>; Mon, 11 May 2015 16:19:07 -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 7MIlwGE2EtMy for <cose@ietfa.amsl.com>; Mon, 11 May 2015 16:19:05 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0715.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::715]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B4F2C1AC39C for <cose@ietf.org>; Mon, 11 May 2015 16:19:04 -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.160.10; Mon, 11 May 2015 23:18:47 +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.0160.009; Mon, 11 May 2015 23:18:47 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, 'Derek Atkins' <derek@ihtfp.com>
Thread-Topic: [Cose] Issue:  Reuse the Enrypt structure for recipients
Thread-Index: AdCDmVTi0lJyO1ENSaipAaz9l4o5TgIZQmWBAA08RwAAAVZ3kAAA7X0AAADXG1A=
Date: Mon, 11 May 2015 23:18:46 +0000
Message-ID: <BY2PR03MB4421062B90DED9C1C38C45AF5DB0@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>
In-Reply-To: <008601d08c3c$6049a570$20dcf050$@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: [5.149.172.123]
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB443;
x-microsoft-antispam-prvs: <BY2PR03MB443E26270211B4DA26E8E01F5DB0@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: 05739BA1B5
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(377454003)(99286002)(74316001)(189998001)(19580395003)(122556002)(19580405001)(40100003)(77156002)(62966003)(93886004)(66066001)(86362001)(2900100001)(2950100001)(86612001)(46102003)(561944003)(2656002)(76176999)(54356999)(87936001)(15974865002)(50986999)(33656002)(77096005)(76576001)(92566002)(15975445007)(5001770100001)(102836002)(5001960100002); 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="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 11 May 2015 23:18:46.1606 (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/7bHz76qZLBALRXv6D9c0evzTqzU>
Cc: "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, 11 May 2015 23:19:07 -0000

What was presented to the JOSE working group in Denver by Richard Barnes wa=
s the option of representing encrypted keys as encrypted JWK structures, ra=
ther 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.  Encrypt=
ing just the bytes is smaller, and contains no redundant information that w=
ill simply be discarded.

That's why the JOSE working group rejected using encrypted JWKs as the encr=
ypted_key representation.  If the "encrypt structure" you're referring to i=
s 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 un=
used information, as Richard's proposal in Denver did.

				-- Mike

-----Original Message-----
From: Jim Schaad [mailto:ietf@augustcellars.com]=20
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 con=
tent?
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 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. =20
> > > The concept is that the same data structure, with the same=20
> > > elements is used to encode both the content encryption and each of=20
> > > 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 be=20
> > > 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 only=20
> > > code that deals with the cryptography of key management.  All of=20
> > > 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


From nobody Tue May 12 00:53:07 2015
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 CF78C1A1BCA for <cose@ietfa.amsl.com>; Tue, 12 May 2015 00:53:05 -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 A2Bm_fWsMTQy for <cose@ietfa.amsl.com>; Tue, 12 May 2015 00:53:02 -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 26F321A1B82 for <cose@ietf.org>; Tue, 12 May 2015 00:53:02 -0700 (PDT)
Received: by layy10 with SMTP id y10so110852404lay.0 for <cose@ietf.org>; Tue, 12 May 2015 00:53:00 -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=XDSzvMIP5kD8dVb1dGtXz6kzWo7wOcZy0ai9WVGFgEo=; b=AjqAszDPJhGoJVDRbLrvmMmzR6uImMEnVoX4/jns+XBTZfUXw24g5ohF/tDRvfNslj 5bVGZs3jnB3STVqhuXS7M+zK4L5vEb1pyZjDOIz49uVMeJWVICXvaYVJPCN5hoJTFAlQ G/y7eUAU42N2rjZe8EepD3N9MW2w3CbCMVTuzPOLQg2idJ95i64oVpFkxZAJOBPEY7S1 xp4aFnnNmGYYww957JLQyC9Gmt4mR9brFCqkMGPdXtMrQVeWzOQQi49pSQgeJ9iU8mR2 JvUL309wgjd/b8Y/HQ+VjtGoYJs9NwfsCgfVcZ74AVpUdkBy9Phh+PdtEjhzA4CKq05h oEGw==
X-Gm-Message-State: ALoCoQktZYVHyc3Dl5rFVTUzOupn8vmGotMfw7lq+OtIauiEL3zHC1JHOAE9/n7n+N/diaFnsvqB
X-Received: by 10.112.142.232 with SMTP id rz8mr10625552lbb.74.1431417180620;  Tue, 12 May 2015 00:53:00 -0700 (PDT)
Received: from [192.168.0.108] ([85.235.11.178]) by mx.google.com with ESMTPSA id r4sm3606146lae.13.2015.05.12.00.52.59 for <cose@ietf.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 May 2015 00:52:59 -0700 (PDT)
Message-ID: <5551B159.1050708@sics.se>
Date: Tue, 12 May 2015 09:52:57 +0200
From: Ludwig Seitz <ludwig@sics.se>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: cose@ietf.org
References: <027e01d08baf$0fa1bd20$2ee53760$@augustcellars.com> <55504EA3.7030405@sics.se> <007b01d08c2a$40b20cf0$c21626d0$@augustcellars.com>
In-Reply-To: <007b01d08c2a$40b20cf0$c21626d0$@augustcellars.com>
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms020705070204090802020406"
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/P1RQIUG4m7m1W_GxXvCDFHlNYIs>
Subject: Re: [Cose] Sizes of messages
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, 12 May 2015 07:53:06 -0000

This is a cryptographically signed message in MIME format.

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

On 05/11/2015 10:37 PM, Jim Schaad wrote:
>
>
>> -----Original Message-----
>> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Ludwig Seitz
>> Sent: Sunday, May 10, 2015 11:40 PM
>> To: cose@ietf.org
>> Subject: Re: [Cose] Sizes of messages
>>
>> On 05/11/2015 07:55 AM, Jim Schaad wrote:
>>
>>> 	-  A payload of 19 bytes is assumed and it is assumed that the
>>> content is being carried inside of the message.
>>
>> Just a quick comment on that one. In the world of sensor networks, the=

>> payload of a message will often be a sensor reading, which could be as=

> small
>> as e.g. a single floating point number or even an integer. So we shoul=
d
>> assume we will get a significant number of payloads in the order of
>> magnitude of 2-4 bytes.
>>
>> /Ludwig
>
> I kind of just chose an arbitrary number, this does not change what the=

> overhead of sending a message is   The break points on message sizes fr=
om
> the size of CBOR are at 24/25 bytes (tag and length goes from 1 to 2 by=
tes)
> and at 255/267 bytes (tag and length from 2 bytes to 3 bytes).  The nex=
t
> break would be at 2^24 bytes.
>
> If you care about the ratio of content to overhead then knowing an exac=
t
> message size matters otherwise it probably doesn't.

No argument about that, plus as Derek pointed out there are cases where=20
combining several of these values into one message makes sense.

>
> If you sizes are really that small, what are you doing about dealing wi=
th
> replay - are you assuming that is all covered in the security overhead
> rather than in your base message size?
>

Yes, I'm one of the co-authors of draft-selander, so for replay=20
protection we are suggesting to apply the procedure described in section =

5.3 (using sequence numbers + key identifier).


/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


--------------ms020705070204090802020406
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
AwwObHVkd2lnQHNpY3Muc2UxHTAbBgkqhkiG9w0BCQEWDmx1ZHdpZ0BzaWNzLnNlMIIBIjAN
BgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxUHisC6rgXFsBHHBGo8ulz/cLX3gX5Ufhcwo
rp+7djzMMuKPM1KOHq0bjWhmFe8ly8CzWdk2NS600t7IEBQWJiHLsdc12UqmNswQUpD7oqkR
1nRGT6leAHYTWapkR+nczZ2NxD+H7u4Z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GSIb3DQMCAgEoMIGlBgkrBgEEAYI3EAQxgZcwgZQwgYwxCzAJBgNV
BAYTAklMMRYwFAYDVQQKEw1TdGFydENvbSBMdGQuMSswKQYDVQQLEyJTZWN1cmUgRGlnaXRh
bCBDZXJ0aWZpY2F0ZSBTaWduaW5nMTgwNgYDVQQDEy9TdGFydENvbSBDbGFzcyAxIFByaW1h
cnkgSW50ZXJtZWRpYXRlIENsaWVudCBDQQIDDIaYMIGnBgsqhkiG9w0BCRACCzGBl6CBlDCB
jDELMAkGA1UEBhMCSUwxFjAUBgNVBAoTDVN0YXJ0Q29tIEx0ZC4xKzApBgNVBAsTIlNlY3Vy
ZSBEaWdpdGFsIENlcnRpZmljYXRlIFNpZ25pbmcxODA2BgNVBAMTL1N0YXJ0Q29tIENsYXNz
IDEgUHJpbWFyeSBJbnRlcm1lZGlhdGUgQ2xpZW50IENBAgMMhpgwDQYJKoZIhvcNAQEBBQAE
ggEAjk/LRNNNNHIMPsP2x1JVnjJCpnd3TdTqKlSrbGOWOq4WkuYqDyTat4gU3oPzpO9V+V7k
arwNXvufbSqkZ1HZf3rAqWOUbYR5mwvjo/WTCjdQizY6k8nIW1Hw5zJjZn+2A0hPE2GKeTAF
bYLIQG7enEFkFrLKvFlegWNzm597GHfSXoJ32Obgjo+KIW1/1B8Xv3vf8BR3Sc147dnJ0uQy
2QWd6NRiobUJ/vo0qY1lUasgGlN1AIhHlnkBoYd19bkm3yFUlck8X8fmG43rFpjBpo45HxG9
hK5rCj6vEuW6O1uVjH1xS008NjaQdvunzROm6d2fYtAoX9OkahcrcZnHaQAAAAAAAA==
--------------ms020705070204090802020406--


From nobody Tue May 12 04:21:40 2015
Return-Path: <goran.selander@ericsson.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 21FCC1A884D for <cose@ietfa.amsl.com>; Tue, 12 May 2015 04:21:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.901
X-Spam-Level: 
X-Spam-Status: No, score=-3.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_8BIT_HEADER=0.3, 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 nnTrEdUbGBMZ for <cose@ietfa.amsl.com>; Tue, 12 May 2015 04:21:36 -0700 (PDT)
Received: from sesbmg22.ericsson.net (sesbmg22.ericsson.net [193.180.251.48]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D66771A8843 for <cose@ietf.org>; Tue, 12 May 2015 04:21:35 -0700 (PDT)
X-AuditID: c1b4fb30-f798d6d0000009ec-29-5551e23d652d
Received: from ESESSHC010.ericsson.se (Unknown_Domain [153.88.253.124]) by sesbmg22.ericsson.net (Symantec Mail Security) with SMTP id C9.FA.02540.D32E1555; Tue, 12 May 2015 13:21:34 +0200 (CEST)
Received: from ESESSMB303.ericsson.se ([169.254.3.19]) by ESESSHC010.ericsson.se ([153.88.183.48]) with mapi id 14.03.0210.002; Tue, 12 May 2015 13:21:33 +0200
From: =?utf-8?B?R8O2cmFuIFNlbGFuZGVy?= <goran.selander@ericsson.com>
To: Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [Cose] Sizes of messages
Thread-Index: AdCLqYqqIpBM2Wx4Q8mhu5BRuxfBUQA/EG0A
Date: Tue, 12 May 2015 11:21:32 +0000
Message-ID: <D177A963.2EEF8%goran.selander@ericsson.com>
References: <027e01d08baf$0fa1bd20$2ee53760$@augustcellars.com>
In-Reply-To: <027e01d08baf$0fa1bd20$2ee53760$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.7.141117
x-originating-ip: [153.88.183.18]
Content-Type: text/plain; charset="utf-8"
Content-ID: <CFC7F0490FF109428C70B5922870C450@ericsson.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpikeLIzCtJLcpLzFFi42KZGfG3RtfuUWCowcqj3BbTtk5ltVg9/Tub A5PHxjnT2TyWLPnJFMAUxWWTkpqTWZZapG+XwJXxYeIKxoIlZhXTllxib2D8YNLFyMkhIWAi sWLbCXYIW0ziwr31bF2MXBxCAkcZJXadmcQGkhASWMwo8fpcMIjNJuAi8aDhEROILSLgIbFr 9yfmLkYODmEBVYnfm8wgwmoS2x7MYISwjSTeT3gENoYFqORe/wqwVl4BC4mLLfNZIcbbS0x4 dxCshlPAQaLh8QSwOCPQPd9PrQGrZxYQl7j1ZD4TxJ0CEkv2nGeGsEUlXj7+B1YvKqAnsfJ6 ExtEXFHi46t9jCCnMQtoSqzfpQ8xxlriy0uIcmagkindD9khzhGUODnzCcsERvFZSLbNQuie haR7FpLuWUi6FzCyrmIULU4tTspNNzLSSy3KTC4uzs/Ty0st2cQIjLSDW34b7GB8+dzxEKMA B6MSD++DK/6hQqyJZcWVuYcYpTlYlMR57YwPhQgJpCeWpGanphakFsUXleakFh9iZOLglGpg bFuytejl+U2rrO+lrJ95JEt9X8tnrlv6H1affiHnWNj9gP32mgsLn5yIOLWH7cWEBYIvHTb2 cTz+tGLuvrSj7v/zl+onvs2f3x7/Mm1OR/UxGw01b+ntlUFy9Wxmz3jy6hQcHt4zK/8wYVri y3D1ArXIAwuu/tYvOtprFKWsIK90zijKdpcHkxJLcUaioRZzUXEiABIUZtKVAgAA
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/bAdz00UvYZDFVQKz8E7t_c5xBQo>
Subject: Re: [Cose] Sizes of messages
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, 12 May 2015 11:21:39 -0000

DQoNCk9uIDIwMTUtMDUtMTEgMDc6NTUsICJKaW0gU2NoYWFkIiA8aWV0ZkBhdWd1c3RjZWxsYXJz
LmNvbT4gd3JvdGU6DQoNCj5JIGhhdmUgc3BlbnQgYSBjb3VwbGUgb2YgZGF5cyBsb29raW5nIGF0
IG1lc3NhZ2VzIHRoYXQgYXJlIGxpa2VseSB0byBiZQ0KPnNlbnQNCj5mb3IgdGhlIHdvcmxkIG9m
IENvUkUvQUNFIGJhc2VkIG9uIHRoZSBkcmFmdA0KPmh0dHBzOi8vdG9vbHMuaWV0Zi5vcmcvaHRt
bC9kcmFmdC1zZWxhbmRlci1hY2Utb2JqZWN0LXNlY3VyaXR5LTAxIGFuZCB0aGUNCj5yZXNwb25z
ZSBvbiBrZXkgbWFuYWdlbWVudCB0aGF0IEkgZ290IGJhY2sgcmVjZW50bHkuICBJIGhhdmUgbWFk
ZSBzZXZlcmFsDQo+YXNzdW1wdGlvbnMgaW4gZG9pbmcgdGhlIGNvbXB1dGF0aW9ucy4gIEkgaGF2
ZSBpbmNsdWRlZCBteSBzcHJlYWRzaGVldCBvZg0KPnRoZSBkaWZmZXJlbnQgY2FzZXMgc28gdGhh
dCB5b3UgY2FuIGxvb2sgYXQgd2hlcmUgSSBoYWQgYXNzaWduZWQgYnl0ZXMNCj51c2VkLg0KPklm
IHBlb3BsZSBoYXZlIG90aGVyIGNhc2VzIHdoZXJlIHRoZXkgd291bGQgbGlrZSB0byBnZXQgc2l6
ZXMgY29tcHV0Z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XVsdGlwbGUgbm9kZXMgc3Vic2NyaWJlIHRvIHRoZQ0KcHVibGljYXRpb25z
LiBUaGUgcHViLXN1YiBicm9rZXIgaXMgbm90IHRydXN0ZWQgd2l0aCB0aGUgcGxhaW4gdGV4dA0K
cHVibGljYXRpb25zIG9mIGl0cyBwdWJsaXNoZXJzLCBidXQgb25seSBwdWJsaXNoZXMgaXRzIGFz
c29jaWF0ZWQNCnB1Ymxpc2hlcnMgcHVibGljYXRpb25zLiBUaGUgcHVibGljYXRpb25zIGFyZSB0
aGVyZWZvcmUgZW5jcnlwdGVkIHdpdGggYQ0Kc3ltbWV0cmljIGtleSBzaGFyZWQgYW1vbmcgdGhl
IHN1YnNjcmliZXJzLCBhbmQgZnVydGhlciBzaWduZWQgd2l0aCB0aGUNCnByaXZhdGUga2V5IG9m
IHRoZSBwdWJsaXNoZXIuIFdpdGggYWNjZXNzIHRvIHRoZSBhdXRoZW50aWMga2V5IG9mIHRoZQ0K
cHVibGlzaGVyLCB0aGUgc3Vic2NyaWJlcnMgYW5kIHRoZSBwdWItc3ViIGJyb2tlciBjYW4gdmVy
aWZ5IHRoZQ0KcHVibGljYXRpb24gY29tZXMgZnJvbSB0aGUgcHVibGlzaGVyLg0KDQpJIGhvcGUg
aXQgd291bGQgYmUgcG9zc2libGUgaW4gdGhpcyBjYXNlIHRvIGdldCBhIG1lc3NhZ2Ugc2l6ZSBj
bG9zZXIgdG8NCmNhc2UgIzMgcmF0aGVyIHRoYW4gY2FzZSAjND8NCg0KR8O2cmFuDQoNCg0KDQoN
Cg==


From nobody Tue May 12 05:52:26 2015
Return-Path: <goran.selander@ericsson.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 E12EB1B2C2B for <cose@ietfa.amsl.com>; Tue, 12 May 2015 05:52:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.901
X-Spam-Level: 
X-Spam-Status: No, score=-3.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_8BIT_HEADER=0.3, 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 vFhfuMZ7XueN for <cose@ietfa.amsl.com>; Tue, 12 May 2015 05:52:20 -0700 (PDT)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A2D931B2C21 for <cose@ietf.org>; Tue, 12 May 2015 05:52:19 -0700 (PDT)
X-AuditID: c1b4fb2d-f794d6d000004501-96-5551f781bafb
Received: from ESESSHC008.ericsson.se (Unknown_Domain [153.88.253.124]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id 7A.D2.17665.187F1555; Tue, 12 May 2015 14:52:17 +0200 (CEST)
Received: from ESESSMB303.ericsson.se ([169.254.3.19]) by ESESSHC008.ericsson.se ([153.88.183.42]) with mapi id 14.03.0210.002; Tue, 12 May 2015 14:52:16 +0200
From: =?utf-8?B?R8O2cmFuIFNlbGFuZGVy?= <goran.selander@ericsson.com>
To: Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [Cose] Parameterization of CCM mode
Thread-Index: AdCMD4iwiwDWGFPrQzmf6gFdLBxZmwAovCMA
Date: Tue, 12 May 2015 12:52:16 +0000
Message-ID: <D177AEEF.2EF57%goran.selander@ericsson.com>
References: <006b01d08c1b$a6831b00$f3895100$@augustcellars.com>
In-Reply-To: <006b01d08c1b$a6831b00$f3895100$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.7.141117
x-originating-ip: [153.88.183.19]
Content-Type: text/plain; charset="utf-8"
Content-ID: <202456F655A3624FA21C5B1C40E00314@ericsson.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmphkeLIzCtJLcpLzFFi42KZGfG3Rrfxe2Cowf8uRYtpW6eyWqye/p3N gclj45zpbB5LlvxkCmCK4rJJSc3JLEst0rdL4Mr4vG0Jc8EK74o3K9vZGhg3eHYxcnJICJhI rG19ywphi0lcuLeerYuRi0NI4CijxKQrm6GcxYwSX5o62EGq2ARcJB40PGICsUUEPCR27f7E DGILCxhIbFzZAxU3lPg64wkjhG0ksXHWcrA4i4CqxIvWr2BzeAUsJB48aQCLCwnYS3zuOMEG YnMKOEgs37oTbCYj0EXfT60Bq2EWEJe49WQ+E8SlAhJL9pxnhrBFJV4+/gf2gaiAnsTK601s EHFFifanDUA3cAD1akqs36UPMcZa4sexeWwQtqLElO6HUOcISpyc+YRlAqP4LCTbZiF0z0LS PQtJ9ywk3QsYWVcxihanFhfnphsZ66UWZSYXF+fn6eWllmxiBEbbwS2/dXcwrn7teIhRgINR iYf3wRX/UCHWxLLiytxDjNIcLErivHbGh0KEBNITS1KzU1MLUovii0pzUosPMTJxcEo1MC7t 3uzjZf/cM5Zd8sO1+swX82b2GRwUZl5Y8L637PuXyNUuezR+Cibl7rba+vBRdPmJaxIfpN79 W8pT9DHg9a1e9ehXR/mWm9ve+G3z0PR46ZLFftHz1d9oxm4pjl74p/yVt9M5PeEzAonK09ru GGSb/T/NuLLn4Lm4YMFThRlvtZzrXzqcrVRiKc5INNRiLipOBAD0koC9lwIAAA==
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/ih2QgxU9YZMmb_j8Hd51eTRiYHk>
Subject: Re: [Cose] Parameterization of CCM mode
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, 12 May 2015 12:52:23 -0000

DQpIaSBKaW0NCg0KVGhhbmtzIGZvciB0aGUgcmFwaWQgcHJvZ3Jlc3MuDQoNClNpbmNlIHRoZXJl
IGFyZSBzZXZlcmFsIHJlZmVyZW5jZXMgdG8NCmh0dHBzOi8vdG9vbHMuaWV0Zi5vcmcvaHRtbC9k
cmFmdC1zZWxhbmRlci1hY2Utb2JqZWN0LXNlY3VyaXR5LTAxLCBsZXQgbWUNCmdpdmUgc29tZSBj
b250ZXh0IGFib3V0IHdoYXQgdGhpcyBkcmFmdCBpbnRlbmRlZCB0byBkbyB0aGF0IGlzIHJlbGV2
YW50IHRvDQpDT1NFIGZvciB0aG9zZSB0aGF0IGhhdmUgbm90IHJlYWQgaXQuIEZpcnN0IG9mIGFs
bCwgaXQgZGlkIG5vdCBpbnRlbmQgdG8NCnNwZWNpZnkgYSBnZW5lcmljIGNvbXBhY3Qgc2VjdXJl
IG1lc3NhZ2UgZm9ybWF0IGFzIGlzIHRoZSBvYmplY3RpdmUgb2YNCkNPU0UsIHNlZSBBcHBlbmRp
eCBDOg0KDQoiRm9yIGNvbnN0cmFpbmVkIGVudmlyb25tZW50cyBpdCBpcyBpbXBvcnRhbnQgdGhh
dCB0aGUgbWVzc2FnZQ0KICAgZXhwYW5zaW9uIGR1ZSB0byBzZWN1cml0eSBvdmVyaGVhZCBpcyBr
ZXB0IGF0IGEgbWluaW11bS4gIEFzIGFuDQogICBhdHRlbXB0IHRvIGFzc2VzcyB3aGF0IHRoaXMg
bWluaW11bSBleHBhbnNpb24gY291bGQgYmUsIGFuIG9wdGltaXplZA0KICAgU2VjdXJlIE1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b3IgaWYgdGhleSBhcmUgdXNpbmcgZml4ZWQNCj5wYXJhbWV0ZXJpemF0aW9uLg0KPg0K
PkppbQ0KPg0KPg0KPl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fDQo+Q29zZSBtYWlsaW5nIGxpc3QNCj5Db3NlQGlldGYub3JnDQo+aHR0cHM6Ly93d3cuaWV0
Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9jb3NlDQoNCg==


From nobody Tue May 12 09:54:01 2015
Return-Path: <mamille2@cisco.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 8B1A41A90A9 for <cose@ietfa.amsl.com>; Tue, 12 May 2015 09:54:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.211
X-Spam-Level: 
X-Spam-Status: No, score=-14.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] 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 Pvu5eOvTGzX0 for <cose@ietfa.amsl.com>; Tue, 12 May 2015 09:53:59 -0700 (PDT)
Received: from rcdn-iport-7.cisco.com (rcdn-iport-7.cisco.com [173.37.86.78]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1754F1A90A7 for <cose@ietf.org>; Tue, 12 May 2015 09:53:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=1983; q=dns/txt; s=iport; t=1431449632; x=1432659232; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=QEap+AAZV/y7hufZ+9xK6vr/oLrJrO+wbImcXFwyLbQ=; b=eLiu+Efk21d0QgYy4084NHZ5FPvG8zAloX56Fsn6hHZj9BRhT29ESAzY lhaA5zj6zaOUIawkVDcaO3tY6xldJRzh76m4imaK41lSYR4HYz73Wxt35 eau7qdmAAXzB+EJPvm3p51LJBeX7rVYgDKXRyJLEIY8DlM6F0CZBiWGjn E=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AOBQAQL1JV/5ldJa1cgw9UXgaDGMNihg0CgTtMAQEBAQEBgQuEIQEBBCNVARALGAICBRYLAgIJAwIBAgFFBgEMAQUCAQGIKLYLk2oBAQEBAQEBAQEBAQEBAQEBAQEBAQETBIEhihiEUjMHgmiBRQEEhmOFQYpOhkaBJINegluLOINVI4IIHYFxUIFFgQEBAQE
X-IronPort-AV: E=Sophos;i="5.13,416,1427760000"; d="scan'208";a="419061240"
Received: from rcdn-core-2.cisco.com ([173.37.93.153]) by rcdn-iport-7.cisco.com with ESMTP; 12 May 2015 16:53:51 +0000
Received: from xhc-rcd-x15.cisco.com (xhc-rcd-x15.cisco.com [173.37.183.89]) by rcdn-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id t4CGrpk6007651 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 12 May 2015 16:53:51 GMT
Received: from [10.129.24.109] (10.129.24.109) by xhc-rcd-x15.cisco.com (173.37.183.89) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 12 May 2015 11:53:51 -0500
Message-ID: <5552301E.6050805@cisco.com>
Date: Tue, 12 May 2015 10:53:50 -0600
From: =?UTF-8?B?4oyYIE1hdHQgTWlsbGVy?= <mamille2@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Derek Atkins <derek@ihtfp.com>, Paul Hoffman <paul.hoffman@vpnc.org>
References: <001b01d08399$434ab9b0$c9e02d10$@augustcellars.com> <724B1E60-A92F-42EB-B7BD-732A6B19ECCA@vpnc.org> <00e601d08904$d7eecb90$87cc62b0$@augustcellars.com> <7FA52A2F-1612-487E-9096-4EE939B99BD2@vpnc.org> <sjmpp6716pj.fsf@securerf.ihtfp.org>
In-Reply-To: <sjmpp6716pj.fsf@securerf.ihtfp.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.129.24.109]
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/LZDDnBRmpXbYYdKJWFVelhvbnSY>
Cc: Jim Schaad <ietf@augustcellars.com>, 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: <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, 12 May 2015 16:54:00 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 5/11/15 9:20 AM, Derek Atkins wrote:
> Paul Hoffman <paul.hoffman@vpnc.org> writes:
> 
>> On May 7, 2015, at 1:31 PM, Jim Schaad <ietf@augustcellars.com>
>> wrote:
>>> Based on your comment I am not sure if I was clear about what I
>>> was asking - Please let me know either way.
>>> 
>>> 1. Gives a result of {"unprotected":xxx, "cipher_text":xxx,
>>> "header":xxx, "encryptd_key":xxx } 2.  Gives a result of
>>> {"unprotected"xxx", "cipher_text"xxx, 
>>> "recipients":{"header":xxx, "encrypted_key":xxx }} 3 Gives a
>>> result of {"unprotected":xxx", "cipher_text":xxx, 
>>> "recipients:[{"header":xxx, "encrypted_key":xxx}]}
>>> 
>>> Labels disappear if the top level is an array and not a map -
>>> but no other significant changes.
>> 
>> Right, I completely misunderstood your shorthand. Given these,
>> (c) seems better: it keeps the structure predictable, with a
>> possible reduction of code for processing the structure (but not
>> much, admittedly).
> 
> +1 -- it should always be an array of recipients, even if it only
> has a single element.
> 

I have a light preference for (2), but am fine to sticking with (3).
This WG is arguably more at least as concerned with code size as with
on-the-wire size, and (2) would require (slightly?) more code than (3).


- -- 
- - m&m

Matt Miller < mamille2@cisco.com >
Cisco Systems, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org

iQEcBAEBCgAGBQJVUjAeAAoJEDWi+S0W7cO1/IMIAKZbQJDaAIlH/bvlSk1cHT++
zLw3KbX4EvIJgtGNIMqHxsQNTshd7WSWQQcw4ySzvI+dG0cExgmwKtbOWO2ezBiX
blGAYP0Nn5KI0IF7ydEDa/7mxbWPDzqbXTwOMq8nhxvDpTs1XUnHhzM4HJroKknS
P1bpC3uhbcgrRR1yOddu/zdu1E4HIMxZZylYv2ddztEYEwvtbPkDoBtVua7ig9jy
KlpPQqa6rcuNhkUwJq6B3y7LkQClrqNpIYs5NYXV0jGpR0ocGyQCAzc1uIaqFcZI
Q1fp4z9xLCGbSk7jdEP9LY5RAsUeSnund8wL8fShIls+U8bTEfAkIMQk6bzaVFY=
=Gt7Z
-----END PGP SIGNATURE-----


From nobody Tue May 12 09:56:02 2015
Return-Path: <mamille2@cisco.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 C13AF1A9108 for <cose@ietfa.amsl.com>; Tue, 12 May 2015 09:56:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.211
X-Spam-Level: 
X-Spam-Status: No, score=-14.211 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, MIME_8BIT_HEADER=0.3, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_DKIM_WL=-7.5] 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 yiwPKQgprjk1 for <cose@ietfa.amsl.com>; Tue, 12 May 2015 09:55:58 -0700 (PDT)
Received: from rcdn-iport-8.cisco.com (rcdn-iport-8.cisco.com [173.37.86.79]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E7EB91A910A for <cose@ietf.org>; Tue, 12 May 2015 09:55:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=4129; q=dns/txt; s=iport; t=1431449755; x=1432659355; h=message-id:date:from:mime-version:to:cc:subject: references:in-reply-to:content-transfer-encoding; bh=X3bQMOpBPkr1wKEhcGdGlcfQcSie4apCe4BrT6SfUW0=; b=FLtyyrnjkrB3SXFLrdhEymiWI4lvwrRZhQz0O7YXVaOrlelJFfTXRosv GvFkTnFiSiDxz19jWsdUY+0s9NDnBcmJGfDaLGBQjfbRPRndmXcxdbpzz UzXatRdfI0F+6xiffs9e7A0/G4WkheWFQZzxL1ctkkpcagRA+EcHJiK94 g=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0AQBQA0MFJV/5xdJa1ZA4MPVF4GgxjDYAqGBQKBO0wBAQEBAQGBC4QgAQEBBAEBASAmJQoBDAQLDgMEAQEBAgIFFggDAgIJAwIBAgEVHwkIBgEMAQUCAQGIKA21eJNpAQEBAQEBAQEBAQEBAQEBAQEBAQEBF4EhihiEUiMQBwYLgleBRQWGZYU/LooghkaHXY8NI4IIHYFxUIFFgQEBAQE
X-IronPort-AV: E=Sophos;i="5.13,416,1427760000"; d="scan'208";a="11261067"
Received: from rcdn-core-5.cisco.com ([173.37.93.156]) by rcdn-iport-8.cisco.com with ESMTP; 12 May 2015 16:55:54 +0000
Received: from xhc-rcd-x15.cisco.com (xhc-rcd-x15.cisco.com [173.37.183.89]) by rcdn-core-5.cisco.com (8.14.5/8.14.5) with ESMTP id t4CGtsGM011044 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL); Tue, 12 May 2015 16:55:54 GMT
Received: from [10.129.24.109] (10.129.24.109) by xhc-rcd-x15.cisco.com (173.37.183.89) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 12 May 2015 11:55:53 -0500
Message-ID: <55523098.8030302@cisco.com>
Date: Tue, 12 May 2015 10:55:52 -0600
From: =?UTF-8?B?4oyYIE1hdHQgTWlsbGVy?= <mamille2@cisco.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
MIME-Version: 1.0
To: Jim Schaad <ietf@augustcellars.com>, "'Derek Atkins'" <derek@ihtfp.com>
References: <001c01d08399$642ed490$2c8c7db0$@augustcellars.com> <sjmlhgv16m0.fsf@securerf.ihtfp.org> <008401d08c33$504feb60$f0efc220$@augustcellars.com>
In-Reply-To: <008401d08c33$504feb60$f0efc220$@augustcellars.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Originating-IP: [10.129.24.109]
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/scECoalqGs-_HLD0GcPNbrn2fX4>
Cc: 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: Tue, 12 May 2015 16:56:00 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I agree with Derek and Jim.  I would like to reuse the structure, and
I the context makes it clear enough to tell the difference.


- -- 
- - m&m

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

On 5/11/15 3:42 PM, Jim Schaad wrote:
> 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
> 

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

iQEcBAEBCgAGBQJVUjCYAAoJEDWi+S0W7cO1EEkH/i2p9ZMQKo7uzA1hQTUsrQ8U
zMwEfVxVuRLjASnsoftLbhlqEI+qhS5mPbfOLm7mu8soRpsLCJWGIi3CxQDueM39
yYWuAqKlZLLmiRs+hUiBkfTJFH3hzZXoBSMKkkoBG3lFQ7Thd+qcL5oOqhbI6ZQZ
Nwl1f0vGJcQNBIUeXaB0iyh0w/0AJ6SjH0CU4WNGf7PWZCtSSE6s/VuVVJ3MH8ai
pveKXu+hYsGCxa59Jr9DDs0k6m2CiTRLYoVxOtu2aljIltCTm+PxkmzmTsB2k1hr
nYRDsvXTvtetpCFEEYVrnXXKAh7x1tEnBJ9fZwuB2z07atzWybNZwcv2r2CX4S8=
=m1Of
-----END PGP SIGNATURE-----


From nobody Tue May 12 11:16:15 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 82E371ACDEB for <cose@ietfa.amsl.com>; Tue, 12 May 2015 11:16:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] 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 Sv9jFPDP-HTE for <cose@ietfa.amsl.com>; Tue, 12 May 2015 11:16:11 -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 96C801ACE29 for <cose@ietf.org>; Tue, 12 May 2015 11:16:10 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id C290EE2036; Tue, 12 May 2015 14:16:08 -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 11617-10; Tue, 12 May 2015 14:16:06 -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 D538EE2035; Tue, 12 May 2015 14:16:05 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1431454565; bh=aJYk41taIElor9KxCTnTmDVZXmKY+TcT1mYsG43M07k=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=CUQXhOIsP3GZE+OE1xvkfeEVMw15p1GhRIqv8eprowYH1tLEK1Tsa+Zxzb1jfybKA 9To5OujnxG+OtD1bAcghARZ3r4N59zox0yJD0T4NxiwwuRMej3zZuu+py0HXBjDIfz bsWeoOtL5PobEkF9UPxEbzUwhCEcIbDqqrColaaA=
Received: (from warlord@localhost) by securerf.ihtfp.org (8.14.8/8.14.8/Submit) id t4CIG5lU004577; Tue, 12 May 2015 14:16:05 -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>
Date: Tue, 12 May 2015 14:16:05 -0400
In-Reply-To: <BY2PR03MB4421062B90DED9C1C38C45AF5DB0@BY2PR03MB442.namprd03.prod.outlook.com> (Mike Jones's message of "Mon, 11 May 2015 23:18:46 +0000")
Message-ID: <sjm8uct1x22.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/dvHXQshafO6PSmqWdE2pMyzVzds>
Cc: Jim Schaad <ietf@augustcellars.com>, 'Derek Atkins' <derek@ihtfp.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: Tue, 12 May 2015 18:16:13 -0000

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 Tue May 12 11:23:07 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 7C40E1B2EE8 for <cose@ietfa.amsl.com>; Tue, 12 May 2015 11:23:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.089
X-Spam-Level: 
X-Spam-Status: No, score=-1.089 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, MIME_8BIT_HEADER=0.3] 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 p2gLmB5AgcXy for <cose@ietfa.amsl.com>; Tue, 12 May 2015 11:23:01 -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 561151ACE50 for <cose@ietf.org>; Tue, 12 May 2015 11:23:01 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id EB5EFE2036; Tue, 12 May 2015 14:22:59 -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 11964-02; Tue, 12 May 2015 14:22:58 -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 630CDE2035; Tue, 12 May 2015 14:22:58 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1431454978; bh=N8aceae9fPGfxeZ2ZPN5d7x7Y8Js60rJ4+cX39btLlM=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=jlOGbWb1FBKRFwbY4F+QFkaY5Px+ld4Ct1cLZZGeZU0ggq+W2ix3L1eSYqWnrcLol zqllEmOHyEP8eE2wW9W4b9Occnc4gk/+vVOll6funDg7+TXtW+89GHJ21/pnK9hugZ hmSx5ZsEVSp3GHvf3//fENLWP9lZtThBOqCaXKcQ=
Received: (from warlord@localhost) by securerf.ihtfp.org (8.14.8/8.14.8/Submit) id t4CIMvLe005005; Tue, 12 May 2015 14:22:57 -0400
From: Derek Atkins <derek@ihtfp.com>
To: =?utf-8?Q?G=C3=B6ran?= Selander <goran.selander@ericsson.com>
References: <027e01d08baf$0fa1bd20$2ee53760$@augustcellars.com> <D177A963.2EEF8%goran.selander@ericsson.com>
Date: Tue, 12 May 2015 14:22:57 -0400
In-Reply-To: <D177A963.2EEF8%goran.selander@ericsson.com> (=?utf-8?Q?=22G?= =?utf-8?Q?=C3=B6ran?= Selander"'s message of "Tue, 12 May 2015 11:21:32 +0000")
Message-ID: <sjm1til1wqm.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; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Virus-Scanned: Maia Mailguard 1.0.2a
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/tGZsg3a8E80iOAQRVA5DG2F9CUQ>
Cc: Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Sizes of messages
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, 12 May 2015 18:23:02 -0000

G=C3=B6ran Selander <goran.selander@ericsson.com> writes:

> On 2015-05-11 07:55, "Jim Schaad" <ietf@augustcellars.com> wrote:
>
[snip]
>>Case #2 - Encryption on a content using a direct key.  The details of the
>>message that I am looking at are:
[snip]
>>	-  In this case using maps takes 60 octets and using arrays takes 61
>>octets.
>>
>>Case #3 - Sign a message using an asymmetric key.  The details of the
>>message that I am looking at are:
[snip]
>>	-  In this case using maps takes 82 bytes and arrays takes 83 bytes.
>>If content is included, then the array will be the same size as for map.
>>
>>Case #4 - Sign a message using an asymmetric key and encrypt it using a
>>direct key.
>>	- For the signature, the conditions are the same as for 	case
>>#3 with the exception that the content is carried in the message.
>>	- For the encrypt operation, the conditions are the same as for case
>>#2.
>>	- For map, the size is 145 octets, for array the size is 146 octets.
>>
>>For all of the cases that I have provided above, I am using the minimal
>>set
>>of fields.  If any other fields are added, for example unprotected
>>attributes, then the balance tips from maps to arrays as the cost to add a
>>field is 2 octets plus the data, whereas the cost to add a field to an
>>array
>>is just the size of the data.
>>
>
> I=E2=80=99m missing an encrypt-then-sign case: Encryption of content usin=
g a
> direct key and sign it using an asymmetric key.

This is the same as case #4 except that the ordering/processes are reversed.

> Here is one use case:
>
[snip]
> I hope it would be possible in this case to get a message size closer to
> case #3 rather than case #4?

Nope, your use case is exactly the same as case #4 and would be exactly
the same size (assuming you're using a stream-like cipher and not a
block-like cipher).  The difference is only whether you encrypt the sign
or sign then encrypt.  The number of bytes required to hold the
signature and encryption metadata doesn't change and cannot be combined
just because you swap the order.

> G=C3=B6ran

-derek

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


From nobody Tue May 12 12:24: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 7E2A71A8880 for <cose@ietfa.amsl.com>; Tue, 12 May 2015 12:24:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.3
X-Spam-Level: 
X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_8BIT_HEADER=0.3, 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 YA7vkMfJGSnX for <cose@ietfa.amsl.com>; Tue, 12 May 2015 12:23:56 -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 9C0401ACEAC for <cose@ietf.org>; Tue, 12 May 2015 12:23:56 -0700 (PDT)
Received: from Philemon (c-24-21-96-37.hsd1.or.comcast.net [24.21.96.37]) (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 F23E52CA28; Tue, 12 May 2015 12:23:55 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: =?UTF-8?Q?'G=C3=B6ran_Selander'?= <goran.selander@ericsson.com>, <cose@ietf.org>
References: <006b01d08c1b$a6831b00$f3895100$@augustcellars.com> <D177AEEF.2EF57%goran.selander@ericsson.com>
In-Reply-To: <D177AEEF.2EF57%goran.selander@ericsson.com>
Date: Tue, 12 May 2015 12:22:29 -0700
Message-ID: <014601d08ce8$fd094990$f71bdcb0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQFFi6Vgyo+kYY/pA3P33MoaH5S9XAIqBq/Cnn1QyFA=
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/7GeaXfTHeQwD-Fyo3niZWXusqeM>
Subject: Re: [Cose] Parameterization of CCM mode
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, 12 May 2015 19:24:06 -0000

> -----Original Message-----
> From: G=C3=B6ran Selander [mailto:goran.selander@ericsson.com]
> Sent: Tuesday, May 12, 2015 5:52 AM
> To: Jim Schaad; cose@ietf.org
> Subject: Re: [Cose] Parameterization of CCM mode
>=20
>=20
> Hi Jim
>=20
> Thanks for the rapid progress.
>=20
> Since there are several references to
> https://tools.ietf.org/html/draft-selander-ace-object-security-01, let =
me give
> some context about what this draft intended to do that is relevant to =
COSE for
> those that have not read it. First of all, it did not intend to =
specify a generic
> compact secure message format as is the objective of COSE, see =
Appendix C:
>=20
> "For constrained environments it is important that the message
>    expansion due to security overhead is kept at a minimum.  As an
>    attempt to assess what this minimum expansion could be, an =
optimized
>    Secure Message format is defined, tailor-made for this setting.  =
This
>    is intended as a benchmark for generic content formats, to allow an
>    informed decision about which Secure Message format to mandate in a
>    future version of this draft.=E2=80=9D
>=20
> The main design objective was thus to estimate a minimum message size =
(using
> a bespoke format called CSM) while at the same time be flexible to =
take into
> account the great variation of settings for which this may be applied =
by
> allowing different ciphersuites, lengths of key identifiers and =
sequence
> numbers.
>=20
> As indicated by the latter, another design objective was to have =
built-in support
> for replay protection suitable for constrained devices independent of =
cipher
> suite. In this respect indexing the use of a particular key with a =
sequence
> numbers seemed a better candidate than nonces and time, considering =
storage
> and inaccuracy of clocks. Since different applications have different
> requirements in terms of number of messages we allowed a variable =
counter
> size and to minimize message size a default truncation of initial =
sequence
> number bytes containing zeros. Since different applications have =
varying
> degree of strictness on replay (sliding window to allow reordering =
etc.) we left
> to the application to define the exact processing rules. Finally, =
similar
> considerations was made on lengths of key identifiers, where different
> applications may require different sizes of name spaces.

I used this draft as the only one that I found with some concrete =
details about encryption.  I did not use it because it was either a good =
or bad design, just the only one that I found and thus the only starting =
point I had. =20

>=20
>=20
> Further comments inline
>=20
>=20
> On 2015-05-11 20:52, "Jim Schaad" <ietf@augustcellars.com> wrote:
>=20
> >As part of looking at the sizes of encodings for items, I was looking
> >at the use of CCM mode and trying to make guesses about what the
> >parameters are that are going to be used in constrained devices.
> >Trying to get the info from
> >https://tools.ietf.org/html/draft-selander-ace-object-security-01 did
> >not really help as it seemed to not have the correct set encoded into =
it.
> >
> >The parameters that I have identified for CCM are the following:
> >
> >1)  Key size - 128, 192, 256
> >2)  M - number of octets in the authentication field - 4, 6, 8, 10, =
12,
> >14,
> >16
> >3)  L - number of octets in the length field - 2-8 octets
>=20
> Length of message is not included in the CSM as we assumed that would =
be
> given by UDP. This may be a too restrictive assumption for COSE.
> I believe for UDP you would require 16 octets in the normal case, =
someone else
> could correct me on this.

I would start by suggesting that you re-read the CCM draft.  L is a =
parameter of the CCM algorithm, not a value in the wrapper.  The length =
of the plain text is included in the computation of the authentication =
value.  This is not anything about COSE or CSM, it is about CCM.

>=20
> >
> >The key size does not affect the size of the output so it is not a =
big
> >issue relative to things.  While I would guess that generally only
> >128-bit keys are used, it would probably makes sense to define at =
least
> >128 and 256 bit key algorithms
>=20
> Agree, that should be enough.
>=20
> >
> >The size of the authentication fields is currently defined as 8 from
> >the Selander draft.  It would make sense to have at least two sizes
> >defined -
> >8
> >and 16, but I am not sure about other sizes.
>=20
> Agree, good choice.
>=20
> >
> >The hardest one to make decisions on is the message length field.  =
For
> >constrained devices this could be a very small value as a value of 2
> >would all for encrypting 2^(8*2) bytes and would allow for the key to
> >be used a lot as one then has a nonce of 15-2=3D13 bytes (allowing =
for a
> >key to be used ~ 2^13 times assuming no birthday attacks).  Nonce
> >values as 15-L bytes long and nonce values must not be re-used.  On =
the
> >other hand, for a more general usage it makes sense to have a larger
> >value of L to allow for bigger messages with less key re-usage.
>=20
> I don=E2=80=99t understand the relationship between size of message =
and size of nonce.

Again, I think you need to read the CCM draft.   It has to do with how =
the counter field is built internally for CCM.

>=20
> >
> >The Selander draft appears to make the assumption that different keys
> >are used in each direction when encrypting messages.  This makes one
> >problem easier - there is no need to divide up the nonce space so =
that
> >nonce values are not re-used when encrypting messages.  It also makes
> >nonce usage easier because there is no need to try and synchronize =
the
> >nonce value usage between the two parties.  On the other hand, it =
means
> >that there is more data that needs to be keep on the device as you =
now
> >need 2 keys and 2 nonce counters for each pair-wise link which might =
be
> >a space issue on the device.
>=20
>=20
> Unique keys in each direction is in general good practice. In the case =
of sending
> one message to multiple receivers, each receiver needs a key and a =
nonce per
> sender. We used that as a general principle for all messages being =
passed. For
> nonce we proposed to reuse the sequence number + a salt (see below), =
so it is
> only the salt that is additionally stored. Moreover, if keys are =
changed for each
> message there is anyway need to store a random value from which new =
keys
> are derived (we used a different approach, see below).
>=20
> >
> >In the Selander draft, there was the idea of having both a nonce
> >counter and salt value which is used to construct the nonce used in =
the
> >encryption step.
> >As far as I know there is no security reason to salt the nonce unless
> >there is an expectation that the keys would ever be re-used.  If new
> >keys are generated each time that keys are generated then the salt is
> >probably not
> >necessary to have.   However, use of a salt value can be used to =
divide up
> >the nonce space if the same key value is used in both directions.
>=20
> As mentioned above, we already assumed there will be a unique sequence
> number associated to this key identifier and message. The combination =
of salt
> and sequence number becomes an unique nonce for each message which can
> be used with this key until the counter wraps, when key and key =
identifier needs
> to be updated. Since there is a processing cost to change key for each =
message,
> we thought this construction of using the key for a number of unique =
nonces
> could be favorable without compromising security.

Again - I think you need to read and understand the CCM draft.  I don't =
believe that the salt is required for anything, just the nonce works.  =
There is an independent counter for each message.  When you say counter =
above I am assuming that you are talking about a nonce counter.    =
Having a salt value potentially decreases the number of times that the =
same key can be used as it reduces the range of the sequence number.

jim

>=20
>=20
>=20
> G=C3=B6ran
>=20
>=20
> >
> >While we need to do more research on figuring out how many times a =
key
> >can be used based on the nonce length, this is probably not dependent
> >on the values of L that we want to standardize.  The more items we
> >standardize the more selection different protocols will have, but I
> >don't know how much parameterization the implementations support or =
if
> >they are using fixed parameterization.
> >
> >Jim
> >
> >
> >_______________________________________________
> >Cose mailing list
> >Cose@ietf.org
> >https://www.ietf.org/mailman/listinfo/cose



From nobody Tue May 12 12:39:29 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 D6B151A8A62 for <cose@ietfa.amsl.com>; Tue, 12 May 2015 12:39:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.3
X-Spam-Level: 
X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_8BIT_HEADER=0.3, 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 wZGkcnHKvMvv for <cose@ietfa.amsl.com>; Tue, 12 May 2015 12:39:26 -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 E52591A8955 for <cose@ietf.org>; Tue, 12 May 2015 12:39:24 -0700 (PDT)
Received: from Philemon (c-24-21-96-37.hsd1.or.comcast.net [24.21.96.37]) (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 6A9462C9BB; Tue, 12 May 2015 12:39:24 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Derek Atkins'" <derek@ihtfp.com>, =?UTF-8?Q?'G=C3=B6ran_Selander'?= <goran.selander@ericsson.com>
References: <027e01d08baf$0fa1bd20$2ee53760$@augustcellars.com>	<D177A963.2EEF8%goran.selander@ericsson.com> <sjm1til1wqm.fsf@securerf.ihtfp.org>
In-Reply-To: <sjm1til1wqm.fsf@securerf.ihtfp.org>
Date: Tue, 12 May 2015 12:37:55 -0700
Message-ID: <014c01d08ceb$2674b3d0$735e1b70$@augustcellars.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Microsoft Outlook 14.0
Thread-Index: AQIRw4TV5Qa1tmqUq/LMooYCv8FDfgK0JaodAiqyvKqcz1fWcA==
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/h0GeCcgNP6Q82fcDMV_F1avZUZY>
Cc: cose@ietf.org
Subject: Re: [Cose] Sizes of messages
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, 12 May 2015 19:39:28 -0000

> -----Original Message-----
> From: Derek Atkins [mailto:derek@ihtfp.com]
> Sent: Tuesday, May 12, 2015 11:23 AM
> To: G=C3=B6ran Selander
> Cc: Jim Schaad; cose@ietf.org
> Subject: Re: [Cose] Sizes of messages
>=20
> G=C3=B6ran Selander <goran.selander@ericsson.com> writes:
>=20
> > On 2015-05-11 07:55, "Jim Schaad" <ietf@augustcellars.com> wrote:
> >
> [snip]
> >>Case #2 - Encryption on a content using a direct key.  The details =
of
> >>the message that I am looking at are:
> [snip]
> >>	-  In this case using maps takes 60 octets and using arrays takes =
61
> >>octets.
> >>
> >>Case #3 - Sign a message using an asymmetric key.  The details of =
the
> >>message that I am looking at are:
> [snip]
> >>	-  In this case using maps takes 82 bytes and arrays takes 83 =
bytes.
> >>If content is included, then the array will be the same size as for =
map.
> >>
> >>Case #4 - Sign a message using an asymmetric key and encrypt it =
using
> >>a direct key.
> >>	- For the signature, the conditions are the same as for 	case
> >>#3 with the exception that the content is carried in the message.
> >>	- For the encrypt operation, the conditions are the same as for =
case
> >>#2.
> >>	- For map, the size is 145 octets, for array the size is 146 =
octets.
> >>
> >>For all of the cases that I have provided above, I am using the
> >>minimal set of fields.  If any other fields are added, for example
> >>unprotected attributes, then the balance tips from maps to arrays as
> >>the cost to add a field is 2 octets plus the data, whereas the cost =
to
> >>add a field to an array is just the size of the data.
> >>
> >
> > I=E2=80=99m missing an encrypt-then-sign case: Encryption of content =
using a
> > direct key and sign it using an asymmetric key.
>=20
> This is the same as case #4 except that the ordering/processes are =
reversed.
>=20
> > Here is one use case:
> >
> [snip]
> > I hope it would be possible in this case to get a message size =
closer
> > to case #3 rather than case #4?
>=20
> Nope, your use case is exactly the same as case #4 and would be =
exactly the
> same size (assuming you're using a stream-like cipher and not a =
block-like
> cipher).  The difference is only whether you encrypt the sign or sign =
then
> encrypt.  The number of bytes required to hold the signature and =
encryption
> metadata doesn't change and cannot be combined just because you swap
> the order.
>=20
> > G=C3=B6ran

What Derek said, this is basically re-arranging the deck chairs on the =
titanic, does not make much difference.

In terms of the use case that you gave (and Derek snipped).  I would =
want to know who is doing the group key distribution mechanism to the =
system.   I would normally expect this to be the same entity as is doing =
the re-distribution of the message so I don't know that I think this is =
a very realistic use case.  That entity is going to know all of the keys =
that belong to everybody anyway.

Jim

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


From nobody Tue May 12 13:26:16 2015
Return-Path: <goran.selander@ericsson.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 F26911AD062 for <cose@ietfa.amsl.com>; Tue, 12 May 2015 13:26:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.901
X-Spam-Level: 
X-Spam-Status: No, score=-3.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_8BIT_HEADER=0.3, 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 oYWhLAacHPmP for <cose@ietfa.amsl.com>; Tue, 12 May 2015 13:26:13 -0700 (PDT)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id F13E51AD060 for <cose@ietf.org>; Tue, 12 May 2015 13:26:12 -0700 (PDT)
X-AuditID: c1b4fb2d-f794d6d000004501-ad-555261e2e741
Received: from ESESSHC005.ericsson.se (Unknown_Domain [153.88.253.124]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id C2.EF.17665.2E162555; Tue, 12 May 2015 22:26:11 +0200 (CEST)
Received: from ESESSMB303.ericsson.se ([169.254.3.19]) by ESESSHC005.ericsson.se ([153.88.183.33]) with mapi id 14.03.0210.002; Tue, 12 May 2015 22:26:10 +0200
From: =?utf-8?B?R8O2cmFuIFNlbGFuZGVy?= <goran.selander@ericsson.com>
To: Jim Schaad <ietf@augustcellars.com>, 'Derek Atkins' <derek@ihtfp.com>
Thread-Topic: [Cose] Sizes of messages
Thread-Index: AQHQjOCrIpBM2Wx4Q8mhu5BRuxfBUZ14mwCAgAAvAYA=
Date: Tue, 12 May 2015 20:26:09 +0000
Message-ID: <D1782AF8.2F200%goran.selander@ericsson.com>
References: <027e01d08baf$0fa1bd20$2ee53760$@augustcellars.com> <D177A963.2EEF8%goran.selander@ericsson.com> <sjm1til1wqm.fsf@securerf.ihtfp.org> <014c01d08ceb$2674b3d0$735e1b70$@augustcellars.com>
In-Reply-To: <014c01d08ceb$2674b3d0$735e1b70$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.7.141117
x-originating-ip: [153.88.183.150]
Content-Type: text/plain; charset="utf-8"
Content-ID: <419C1454ED0A884CB80BEE2A809B4099@ericsson.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprJIsWRmVeSWpSXmKPExsUyM+Jvje7jxKBQg5Z1TBbTtk5ltVg5aQe7 xerp39kcmD02zpnO5rFkyU8mj+VfH7AEMEdx2aSk5mSWpRbp2yVwZfx618FY8Iyz4lfjYpYG xiOcXYycHBICJhKz2+ezQ9hiEhfurWfrYuTiEBI4yigx8ddRJghnMaNE358TLCBVbAIuEg8a HjGB2CICnhJd046ygtjMAsoSjRsuAdVwcAgLqEr83mQGUaImse3BDEaQsIiAlcST3QkgYRag ikNHm9lAbF4BC4n577dD7T3NKNFwegVYglPAQWLbxQdgNiPQcd9PrWGCWCUucevJfCaIowUk luw5zwxhi0q8fPwP7BxRAT2Jldeb2CDiShIrtl8Cu4FZQFNi/S59iDHWEvufbWGBsBUlpnQ/ ZIe4R1Di5MwnLBMYJWYh2TYLoXsWku5ZSLpnIelewMi6ilG0OLW4ODfdyFgvtSgzubg4P08v L7VkEyMwLg9u+a27g3H1a8dDjAIcjEo8vAvsg0KFWBPLiitzDzFKc7AoifPaGR8KERJITyxJ zU5NLUgtii8qzUktPsTIxMEp1cCo/fnJeZWNwVvL6iwemlupPG4oyHsm9leBS9t1gtG5q7oL Vx/bvvbF9aj92wUq3fk1lkQ9mqz+6aDQiyjVhmaDdkvdJMe9At9PWB7a/+XkZFHn1ma9F3qF K0wF2NXLjBhPVYrcVP4uGhWbOo35snbNgRfS7wz6T0Um/jXWe+fUxuG/V9Zxt7ESS3FGoqEW c1FxIgDRbbSZrAIAAA==
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/nrAaWrC2dYdv1V3L1DLiC1lu6Kw>
Cc: "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Sizes of messages
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, 12 May 2015 20:26:15 -0000

DQoNCk9uIDIwMTUtMDUtMTIgMjE6MzcsICJKaW0gU2NoYWFkIiA8aWV0ZkBhdWd1c3RjZWxsYXJz
LmNvbT4gd3JvdGU6DQoNCj4NCj5JbiB0ZXJtcyBvZiB0aGUgdXNlIGNhc2UgdGhhdCB5b3UgZ2F2
ZSAoYW5kIERlcmVrIHNuaXBwZWQpLiAgSSB3b3VsZCB3YW50DQo+dG8ga25vdyB3aG8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-Path: <goran.selander@ericsson.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 049EB1A1BB4 for <cose@ietfa.amsl.com>; Wed, 13 May 2015 01:23:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.901
X-Spam-Level: 
X-Spam-Status: No, score=-3.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, MIME_8BIT_HEADER=0.3, 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 WvxrPxqnc2FQ for <cose@ietfa.amsl.com>; Wed, 13 May 2015 01:23:40 -0700 (PDT)
Received: from sessmg23.ericsson.net (sessmg23.ericsson.net [193.180.251.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B4E1E1A1B9A for <cose@ietf.org>; Wed, 13 May 2015 01:23:00 -0700 (PDT)
X-AuditID: c1b4fb2d-f794d6d000004501-fd-555309e235ee
Received: from ESESSHC016.ericsson.se (Unknown_Domain [153.88.253.125]) by sessmg23.ericsson.net (Symantec Mail Security) with SMTP id B9.85.17665.2E903555; Wed, 13 May 2015 10:22:58 +0200 (CEST)
Received: from ESESSMB303.ericsson.se ([169.254.3.19]) by ESESSHC016.ericsson.se ([153.88.183.66]) with mapi id 14.03.0210.002; Wed, 13 May 2015 10:22:58 +0200
From: =?utf-8?B?R8O2cmFuIFNlbGFuZGVy?= <goran.selander@ericsson.com>
To: Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [Cose] Parameterization of CCM mode
Thread-Index: AdCMD4iwiwDWGFPrQzmf6gFdLBxZmwAovCMAAAlv7YAAH3LNgA==
Date: Wed, 13 May 2015 08:22:57 +0000
Message-ID: <D17890A5.2F28C%goran.selander@ericsson.com>
References: <006b01d08c1b$a6831b00$f3895100$@augustcellars.com> <D177AEEF.2EF57%goran.selander@ericsson.com> <014601d08ce8$fd094990$f71bdcb0$@augustcellars.com>
In-Reply-To: <014601d08ce8$fd094990$f71bdcb0$@augustcellars.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.4.7.141117
x-originating-ip: [153.88.183.20]
Content-Type: text/plain; charset="utf-8"
Content-ID: <404968BE575B134ABA47ADB522C023C3@ericsson.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpkkeLIzCtJLcpLzFFi42KZGfG3VvcRZ3CowcyrphbTtk5ltVg9/Tub A5PHxjnT2TyWLPnJFMAUxWWTkpqTWZZapG+XwJWx+sozloI5LhW3X+9ibWDc49TFyMkhIWAi 8fzsdHYIW0ziwr31bF2MXBxCAkcZJVafmMAI4SxmlNj0ahYjSBWbgIvEg4ZHTCC2iICHxK7d n5hBbGEBA4mNK3ug4oYSX2c8AarnALKdJGZc4QYJswioSrzedQoszCtgIbF5pSfE+CWMEvfu ngVr5RRwkNj++inYKkagg76fWgMWZxYQl7j1ZD4TxKECEkv2nGeGsEUlXj7+xwpiiwroSay8 3sQGEVeUuDp9ORPILmYBTYn1u/QhTGuJaz/EISYqSkzpfgj2Oq+AoMTJmU9YJjCKz0KybBZC 8yyE5llImmchaV7AyLqKUbQ4tbg4N93IWC+1KDO5uDg/Ty8vtWQTIzDODm75rbuDcfVrx0OM AhyMSjy8CS+CQoVYE8uKK3MPMUpzsCiJ89oZHwoREkhPLEnNTk0tSC2KLyrNSS0+xMjEwSnV wDi1zEmV3SMmmeWco/2pv1NvPzX6zbflaJQ3xy5ml1R1J1XD1BMGh5feiXNsY7u6fMne+62X 13/fxWc4K6RV4KtizK71rp91A3eEZeU+DbdQfXUnyWehs8IZ4dt3JFNN6+P4l6yqrKt7NNVp t7dw6uUX3Ys21D2yXvy89WXVjJrDM+PCsk+x+iixFGckGmoxFxUnAgAix+G6lAIAAA==
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/xVabfmpUddmlxknpUCdtzeevj2w>
Subject: Re: [Cose] Parameterization of CCM mode
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: Wed, 13 May 2015 08:23:43 -0000

DQoNCk9uIDIwMTUtMDUtMTIgMjE6MjIsICJKaW0gU2NoYWFkIiA8aWV0ZkBhdWd1c3RjZWxsYXJz
LmNvbT4gd3JvdGU6DQoNCg0KPg0KPj4gDQo+PiANCj4+IEZ1cnRoZXIgY29tbWVudHMgaW5saW5l
DQo+PiANCj4+IA0KPj4gT24gMjAxNS0wNS0xMSAyMDo1MiwgIkppbSBTY2hhYWQiIDxpZXRmQGF1
Z3VzdGNlbGxhcnMuY29tPiB3cm90ZToNCj4+IA0KPj4gPkFzIHBhcnQgb2YgbG9va2luZyBhdCB0
aGUgc2l6ZXMgb2YgZW5jb2RpbmdzIGZvciBpdGVtcywgSSB3YXMgbG9va2luZw0KPj4gPmF0IHRo
ZSB1c2Ugb2YgQ0NNIG1vZGUgYW5kIHRyeWluZyB0byBtYWtlIGd1ZXNzZXMgYWJvdXQgd2hhdCB0
aGUNCj4+ID5wYXJhbWV0ZXJzIGFyZSB0aGF0IGFyZSBnb2luZyB0byBiZSB1c2VkIGluIGNvbnN0
cmF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GVm
YXVsdCwgZm9sbG93aW5nIFJGQzY2NTUuIEhvd2V2ZXINCmluIEFwcGVuZGl4IEMgYW5kIGluIHRo
ZSBzZWN1cml0eSBjb25zaWRlcmF0aW9ucyBvZiBvdXIgZHJhZnQgd2UgYXNzdW1lDQp0aGF0IHRo
ZSBlbnRpcmUgQUVTIElWIG9mIDE2IGJ5dGVzLCBwYXJ0aXRpb25lZCBpbnRvIDggYnl0ZXMgc2Fs
dA0KKGVzdGFibGlzaGVkIG91dCBvZiBiYW5kKSBhbmQgOCBieXRlcyBzZXF1ZW5jZSBudW1iZXIg
KGluY2x1ZGVkIGluIHRoZQ0KbWVzc2FnZSksIGlzIGF2YWlsYWJsZSBhcyBub25jZSBmb3IgQ0NN
IC0gd2hpY2ggaXMgcGxhaW4gd3JvbmcuIENoYW5naW5nDQp0aGF0IGZyb20gdG8gNCBieXRlcyBz
YWx0IHdvdWxkIGNvcnJlY3QgdGhhdCBlcnJvciBhbmQgaGFybW9uaXplIHdpdGgNClJGQzY2NTUu
IEkgd291bGQgYXNzdW1lIEw9MyBpcyBhIHN0cm9uZyBjYW5kaWRhdGUgZm9yIENPU0UuIFJGQzQz
MDkNCm1hbmRhdGVzIEw9NCB0byBhY2NvbW1vZGF0ZSBqdW1ib2dyYW1zLCBidXQgSSBkb27igJl0
IGtub3cgaWYgdGhhdCBpcyBpbg0Kc2NvcGUgb2YgQ09TRS4NCg0KDQpHw7ZyYW4NCg0KDQo=


From nobody Wed May 13 19:18:57 2015
Return-Path: <ben@nostrum.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 2808F1A8982; Wed, 13 May 2015 19:17:47 -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] 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 hUkjfoVxHKXC; Wed, 13 May 2015 19:17:46 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 042A51A8971; Wed, 13 May 2015 19:17:46 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "Ben Campbell" <ben@nostrum.com>
To: "The IESG" <iesg@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.0.3
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20150514021746.20660.97327.idtracker@ietfa.amsl.com>
Date: Wed, 13 May 2015 19:17:46 -0700
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/nZ9RfKgxp3R5Twqw2lYxUVpg5lw>
X-Mailman-Approved-At: Wed, 13 May 2015 19:18:56 -0700
Cc: cose@ietf.org
Subject: [Cose] Ben Campbell's No Objection on charter-ietf-cose-00-01: (with COMMENT)
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: Thu, 14 May 2015 02:17:47 -0000

Ben Campbell has entered the following ballot position for
charter-ietf-cose-00-01: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)



The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/charter-ietf-cose/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

Maybe I am missing something, but I don't see an explicit statement of
what COSE is setting out to accomplish until I get to the deliverables. I
can infer it from the group name, and from the JOSE reference. But a
sentence in the first paragraph to the effect that COSE seeks to create
CBOR-based object signing and encryption formats would be helpful.
(Probably right before the JOSE reference).



From nobody Thu May 14 05:37:30 2015
Return-Path: <kathleen.moriarty.ietf@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 7612A1A8AA0; Thu, 14 May 2015 05:37:26 -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 u7sDSu_gdVla; Thu, 14 May 2015 05:37:24 -0700 (PDT)
Received: from mail-la0-x234.google.com (mail-la0-x234.google.com [IPv6:2a00:1450:4010:c03::234]) (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 8693B1A9135; Thu, 14 May 2015 05:35:18 -0700 (PDT)
Received: by layy10 with SMTP id y10so65286236lay.0; Thu, 14 May 2015 05:35: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:date:message-id:subject:from:to :cc:content-type; bh=FEgdkH2zXz5H+kOsp2fe9n9s/E5cWL09oTWtAUNaSHo=; b=OXyXiJlbHiac74c1/f/5+bc+DdSDbE2DncsyriloWXepYBDrQBZicC0vqxgi9cZxxs fUUnbvegmhdXa5dqfTIpVsieEAmrchDOjFH4RaZjjlju6xTK+hWmVNAhOmxGPM3OLGYK PnfeT8rwOtkP9ZCRchVjqB8rAfiOvTXiE+LurzvB9r4duLZZ2lMmrZnqi20hyDm3vjtV 2IOjxZOXX6Go0E6bI0MB1BzgDAOB/xXyMfuuwprPeOv0/hmdNnSLRaaLsBPZyYanpXJt r8W7nVZgsivOmlnpdFHiZFqhbVpv+vnemRge2rblvB/gGjD3ysw/Drt99W3ZFG5cjNN2 YsEQ==
MIME-Version: 1.0
X-Received: by 10.152.4.72 with SMTP id i8mr3106078lai.32.1431606914641; Thu, 14 May 2015 05:35:14 -0700 (PDT)
Received: by 10.112.11.199 with HTTP; Thu, 14 May 2015 05:35:14 -0700 (PDT)
In-Reply-To: <20150514021746.20660.97327.idtracker@ietfa.amsl.com>
References: <20150514021746.20660.97327.idtracker@ietfa.amsl.com>
Date: Thu, 14 May 2015 08:35:14 -0400
Message-ID: <CAHbuEH7h-OaD-o-mig0Aqm3qBQ280VJ2Ve31Cs8KBtvPpaVUWQ@mail.gmail.com>
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
To: Ben Campbell <ben@nostrum.com>
Content-Type: multipart/alternative; boundary=089e014942489af46a051609f51a
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/3jcST3GZrnUjcfrzxIuGO1ZytvA>
Cc: The IESG <iesg@ietf.org>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Ben Campbell's No Objection on charter-ietf-cose-00-01: (with COMMENT)
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, 14 May 2015 12:37:26 -0000

--089e014942489af46a051609f51a
Content-Type: text/plain; charset=UTF-8

Is there a proposal from the COSE list to address Ben's question?  I'll be
able to update it within the next 30 minutes, or later today.  It might be
tough to get to an agreed sentence or two in less than 30 though.

Thank you,
Kathleen

On Wed, May 13, 2015 at 10:17 PM, Ben Campbell <ben@nostrum.com> wrote:

> Ben Campbell has entered the following ballot position for
> charter-ietf-cose-00-01: No Objection
>
> When responding, please keep the subject line intact and reply to all
> email addresses included in the To and CC lines. (Feel free to cut this
> introductory paragraph, however.)
>
>
>
> The document, along with other ballot positions, can be found here:
> https://datatracker.ietf.org/doc/charter-ietf-cose/
>
>
>
> ----------------------------------------------------------------------
> COMMENT:
> ----------------------------------------------------------------------
>
> Maybe I am missing something, but I don't see an explicit statement of
> what COSE is setting out to accomplish until I get to the deliverables. I
> can infer it from the group name, and from the JOSE reference. But a
> sentence in the first paragraph to the effect that COSE seeks to create
> CBOR-based object signing and encryption formats would be helpful.
> (Probably right before the JOSE reference).
>
>
>


-- 

Best regards,
Kathleen

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

<div dir=3D"ltr">Is there a proposal from the COSE list to address Ben&#39;=
s question?=C2=A0 I&#39;ll be able to update it within the next 30 minutes,=
 or later today.=C2=A0 It might be tough to get to an agreed sentence or tw=
o in less than 30 though.<div><br></div><div>Thank you,</div><div>Kathleen<=
/div></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">On Wed=
, May 13, 2015 at 10:17 PM, Ben Campbell <span dir=3D"ltr">&lt;<a href=3D"m=
ailto:ben@nostrum.com" target=3D"_blank">ben@nostrum.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">Ben Campbell has entered the followin=
g ballot position for<br>
charter-ietf-cose-00-01: No Objection<br>
<br>
When responding, please keep the subject line intact and reply to all<br>
email addresses included in the To and CC lines. (Feel free to cut this<br>
introductory paragraph, however.)<br>
<br>
<br>
<br>
The document, along with other ballot positions, can be found here:<br>
<a href=3D"https://datatracker.ietf.org/doc/charter-ietf-cose/" target=3D"_=
blank">https://datatracker.ietf.org/doc/charter-ietf-cose/</a><br>
<br>
<br>
<br>
----------------------------------------------------------------------<br>
COMMENT:<br>
----------------------------------------------------------------------<br>
<br>
Maybe I am missing something, but I don&#39;t see an explicit statement of<=
br>
what COSE is setting out to accomplish until I get to the deliverables. I<b=
r>
can infer it from the group name, and from the JOSE reference. But a<br>
sentence in the first paragraph to the effect that COSE seeks to create<br>
CBOR-based object signing and encryption formats would be helpful.<br>
(Probably right before the JOSE reference).<br>
<br>
<br>
</blockquote></div><br><br clear=3D"all"><div><br></div>-- <br><div class=
=3D"gmail_signature"><div dir=3D"ltr"><br><div>Best regards,</div><div>Kath=
leen</div></div></div>
</div>

--089e014942489af46a051609f51a--


From nobody Thu May 14 06:46:02 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 E33051AD357; Thu, 14 May 2015 06:45:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] 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 MK8Q27FdnNmI; Thu, 14 May 2015 06:45:55 -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 47C6A1B2A31; Thu, 14 May 2015 06:45:44 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id 0B697E2036; Thu, 14 May 2015 09:45:43 -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 26870-07; Thu, 14 May 2015 09:45:40 -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 59F62E2035; Thu, 14 May 2015 09:45:40 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1431611140; bh=VihmYK69n2IWeAJnpKm60d2dFksZo8kWxv3+mA+T6w0=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=mLboNpr+2JYg5t5u51H3ek5L5v4KO60xNOHmZ2dV7PBWFQp1dbZxrBotuqLYpF+sq pwBlH1sDmgmG8trZR2JX6T3ULiHvlvwBL1b+IGDgwmA+LRlyzGgNFlO0oXWNfSQcmM ceEYTTSAy6wVKCmWEujvARkRhaKFPc4IHYqYLXaE=
Received: (from warlord@localhost) by securerf.ihtfp.org (8.14.8/8.14.8/Submit) id t4EDjdG9019952; Thu, 14 May 2015 09:45:39 -0400
From: Derek Atkins <derek@ihtfp.com>
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
References: <20150514021746.20660.97327.idtracker@ietfa.amsl.com> <CAHbuEH7h-OaD-o-mig0Aqm3qBQ280VJ2Ve31Cs8KBtvPpaVUWQ@mail.gmail.com>
Date: Thu, 14 May 2015 09:45:39 -0400
In-Reply-To: <CAHbuEH7h-OaD-o-mig0Aqm3qBQ280VJ2Ve31Cs8KBtvPpaVUWQ@mail.gmail.com> (Kathleen Moriarty's message of "Thu, 14 May 2015 08:35:14 -0400")
Message-ID: <sjmd223z30c.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; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Virus-Scanned: Maia Mailguard 1.0.2a
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/yjopbUyNH45RBOX6tLZ29SMA3J8>
Cc: Ben Campbell <ben@nostrum.com>, The IESG <iesg@ietf.org>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Ben Campbell's No Objection on charter-ietf-cose-00-01: (with COMMENT)
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, 14 May 2015 13:45:57 -0000

How about:

   COSE seeks to create CBOR-based object signing and encryption
   formats.

... placed just before the JOSE reference?   :)

-derek

Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com> writes:

> Is there a proposal from the COSE list to address Ben's question?=C2=A0 I=
'll be able
> to update it within the next 30 minutes, or later today.=C2=A0 It might b=
e tough to
> get to an agreed sentence or two in less than 30 though.
>
> Thank you,
> Kathleen
>
> On Wed, May 13, 2015 at 10:17 PM, Ben Campbell <ben@nostrum.com> wrote:
>
>     Ben Campbell has entered the following ballot position for
>     charter-ietf-cose-00-01: No Objection
>=20=20=20=20
>     When responding, please keep the subject line intact and reply to all
>     email addresses included in the To and CC lines. (Feel free to cut th=
is
>     introductory paragraph, however.)
>
>     The document, along with other ballot positions, can be found here:
>     https://datatracker.ietf.org/doc/charter-ietf-cose/
>
>     ----------------------------------------------------------------------
>     COMMENT:
>     ----------------------------------------------------------------------
>=20=20=20=20
>     Maybe I am missing something, but I don't see an explicit statement of
>     what COSE is setting out to accomplish until I get to the deliverable=
s. I
>     can infer it from the group name, and from the JOSE reference. But a
>     sentence in the first paragraph to the effect that COSE seeks to crea=
te
>     CBOR-based object signing and encryption formats would be helpful.
>     (Probably right before the JOSE reference).
>
> --
>
> Best regards,
> Kathleen
>
> _______________________________________________
> 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 Thu May 14 06:58:18 2015
Return-Path: <ben@nostrum.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 8CE0C1B2A5F; Thu, 14 May 2015 06:58:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level: 
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 vRiIshZUWf8k; Thu, 14 May 2015 06:58:15 -0700 (PDT)
Received: from nostrum.com (raven-v6.nostrum.com [IPv6:2001:470:d:1130::1]) (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 387CC1B2A5C; Thu, 14 May 2015 06:58:15 -0700 (PDT)
Received: from [10.0.1.23] (cpe-70-119-203-4.tx.res.rr.com [70.119.203.4]) (authenticated bits=0) by nostrum.com (8.15.1/8.14.9) with ESMTPSA id t4EDw2x2077739 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 May 2015 08:58:12 -0500 (CDT) (envelope-from ben@nostrum.com)
X-Authentication-Warning: raven.nostrum.com: Host cpe-70-119-203-4.tx.res.rr.com [70.119.203.4] claimed to be [10.0.1.23]
From: "Ben Campbell" <ben@nostrum.com>
To: "Derek Atkins" <derek@ihtfp.com>
Date: Thu, 14 May 2015 08:58:02 -0500
Message-ID: <5EE0EC5C-651A-403F-927F-66AC97E53B58@nostrum.com>
In-Reply-To: <sjmd223z30c.fsf@securerf.ihtfp.org>
References: <20150514021746.20660.97327.idtracker@ietfa.amsl.com> <CAHbuEH7h-OaD-o-mig0Aqm3qBQ280VJ2Ve31Cs8KBtvPpaVUWQ@mail.gmail.com> <sjmd223z30c.fsf@securerf.ihtfp.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Mailer: MailMate (1.9.1r5084)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/OsIUHyGJCOsoPY38t3XviJdPIOo>
Cc: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>, The IESG <iesg@ietf.org>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Ben Campbell's No Objection on charter-ietf-cose-00-01: (with COMMENT)
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, 14 May 2015 13:58:16 -0000

That would work for me :-)

On 14 May 2015, at 8:45, Derek Atkins wrote:

> How about:
>
> COSE seeks to create CBOR-based object signing and encryption
> formats.
>
> ... placed just before the JOSE reference?   :)
>
> -derek
>
> Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com> writes:
>
>> Is there a proposal from the COSE list to address Ben's question?  
>> I'll be able
>> to update it within the next 30 minutes, or later today.  It might 
>> be tough to
>> get to an agreed sentence or two in less than 30 though.
>>
>> Thank you,
>> Kathleen
>>
>> On Wed, May 13, 2015 at 10:17 PM, Ben Campbell <ben@nostrum.com> 
>> wrote:
>>
>>  Ben Campbell has entered the following ballot position for
>>  charter-ietf-cose-00-01: No Objection
>>
>>  When responding, please keep the subject line intact and reply to 
>> all
>>  email addresses included in the To and CC lines. (Feel free to cut 
>> this
>>  introductory paragraph, however.)
>>
>>  The document, along with other ballot positions, can be found here:
>>  https://datatracker.ietf.org/doc/charter-ietf-cose/
>>
>>  
>> ----------------------------------------------------------------------
>>  COMMENT:
>>  
>> ----------------------------------------------------------------------
>>
>>  Maybe I am missing something, but I don't see an explicit statement 
>> of
>>  what COSE is setting out to accomplish until I get to the 
>> deliverables. I
>>  can infer it from the group name, and from the JOSE reference. But a
>>  sentence in the first paragraph to the effect that COSE seeks to 
>> create
>>  CBOR-based object signing and encryption formats would be helpful.
>>  (Probably right before the JOSE reference).
>>
>> --
>>
>> Best regards,
>> Kathleen
>>
>> _______________________________________________
>> 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 May 14 06:59:54 2015
Return-Path: <kathleen.moriarty.ietf@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 5A0A91AC3B7; Thu, 14 May 2015 06:59:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id G84aLqfyvfOs; Thu, 14 May 2015 06:59:47 -0700 (PDT)
Received: from mail-qk0-x231.google.com (mail-qk0-x231.google.com [IPv6:2607:f8b0:400d:c09::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 966191AC3EF; Thu, 14 May 2015 06:59:44 -0700 (PDT)
Received: by qkgx75 with SMTP id x75so49659434qkg.1; Thu, 14 May 2015 06:59:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=from:content-type:mime-version:subject:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=0QbQT0cO7sHFxvEarBk+y9yGwe+ahOH+Aa+QwsC9/WY=; b=NjJFOrY+S5jtqKrrrjKeZvIsD4wYRSpTYhTBjS72wQXRFV8UJzdXmX5LHptxgKV6G0 9kXO7NFgsfMFk1qSh8vLml2NppciXzTEhF8Mbkmy6xiMuxr3ggTisTrRpHfgv1kov0pD k134QhQMFKU8/+wL07gxRs6n9Zbad0iIjw03cbKNf6PNODNybu4pCPhOky4WlkledKWc a0mDI8DtFeMxxEt+u8f6nAf7PVIlmhk67oJoheVF2hVl/LBxT0QMHRdjg2wzgKpEyFPp 4loGaWWUtjuRWYYdOHcpATLZVf3vyjpxrsxTvt1dgGpjwLtekkxodWk79NRwOwE7P1tG nVcA==
X-Received: by 10.55.18.139 with SMTP id 11mr9095064qks.5.1431611983886; Thu, 14 May 2015 06:59:43 -0700 (PDT)
Received: from [10.7.18.87] (mobile-107-107-60-5.mycingular.net. [107.107.60.5]) by mx.google.com with ESMTPSA id 78sm17836047qht.45.2015.05.14.06.59.42 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 14 May 2015 06:59:42 -0700 (PDT)
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
X-Google-Original-From: Kathleen Moriarty <Kathleen.Moriarty.ietf@gmail.com>
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (1.0)
X-Mailer: iPhone Mail (11D257)
In-Reply-To: <5EE0EC5C-651A-403F-927F-66AC97E53B58@nostrum.com>
Date: Thu, 14 May 2015 09:59:43 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <F70E759C-42AD-436C-85DD-46808E3F8E68@gmail.com>
References: <20150514021746.20660.97327.idtracker@ietfa.amsl.com> <CAHbuEH7h-OaD-o-mig0Aqm3qBQ280VJ2Ve31Cs8KBtvPpaVUWQ@mail.gmail.com> <sjmd223z30c.fsf@securerf.ihtfp.org> <5EE0EC5C-651A-403F-927F-66AC97E53B58@nostrum.com>
To: Ben Campbell <ben@nostrum.com>
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/yR-GhLieh8-oUcXHB9meyaEXUus>
Cc: Derek Atkins <derek@ihtfp.com>, The IESG <iesg@ietf.org>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Ben Campbell's No Objection on charter-ietf-cose-00-01: (with COMMENT)
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, 14 May 2015 13:59:49 -0000

Ok, thanks.  I'll add it in a little later today.

Kathleen=20

Sent from my iPhone

> On May 14, 2015, at 9:58 AM, "Ben Campbell" <ben@nostrum.com> wrote:
>=20
> That would work for me :-)
>=20
>> On 14 May 2015, at 8:45, Derek Atkins wrote:
>>=20
>> How about:
>>=20
>> COSE seeks to create CBOR-based object signing and encryption
>> formats.
>>=20
>> ... placed just before the JOSE reference?   :)
>>=20
>> -derek
>>=20
>> Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com> writes:
>>=20
>>> Is there a proposal from the COSE list to address Ben's question?  I'll b=
e able
>>> to update it within the next 30 minutes, or later today.  It might be to=
ugh to
>>> get to an agreed sentence or two in less than 30 though.
>>>=20
>>> Thank you,
>>> Kathleen
>>>=20
>>> On Wed, May 13, 2015 at 10:17 PM, Ben Campbell <ben@nostrum.com> wrote:
>>>=20
>>> Ben Campbell has entered the following ballot position for
>>> charter-ietf-cose-00-01: No Objection
>>>=20
>>> When responding, please keep the subject line intact and reply to all
>>> email addresses included in the To and CC lines. (Feel free to cut this
>>> introductory paragraph, however.)
>>>=20
>>> The document, along with other ballot positions, can be found here:
>>> https://datatracker.ietf.org/doc/charter-ietf-cose/
>>>=20
>>> ----------------------------------------------------------------------
>>> COMMENT:
>>> ----------------------------------------------------------------------
>>>=20
>>> Maybe I am missing something, but I don't see an explicit statement of
>>> what COSE is setting out to accomplish until I get to the deliverables. I=

>>> can infer it from the group name, and from the JOSE reference. But a
>>> sentence in the first paragraph to the effect that COSE seeks to create
>>> CBOR-based object signing and encryption formats would be helpful.
>>> (Probably right before the JOSE reference).
>>>=20
>>> --
>>>=20
>>> Best regards,
>>> Kathleen
>>>=20
>>> _______________________________________________
>>> 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 May 14 10:57:04 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 C354F1B2CD1; Thu, 14 May 2015 10:56:59 -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 M8z7yzPB7yPL; Thu, 14 May 2015 10:56:57 -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 A91AE1B2CD0; Thu, 14 May 2015 10:56:57 -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.160.10; Thu, 14 May 2015 17:56: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.0160.009; Thu, 14 May 2015 17:56:56 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>, Ben Campbell <ben@nostrum.com>
Thread-Topic: [Cose] Ben Campbell's No Objection on charter-ietf-cose-00-01: (with COMMENT)
Thread-Index: AQHQjkK+yH/+sVTcu0azVabJCUOZoJ17fB4TgAADWACAAAB5gIAAQiWg
Date: Thu, 14 May 2015 17:56:55 +0000
Message-ID: <BY2PR03MB442942FABE2E9DB1594493FF5D80@BY2PR03MB442.namprd03.prod.outlook.com>
References: <20150514021746.20660.97327.idtracker@ietfa.amsl.com> <CAHbuEH7h-OaD-o-mig0Aqm3qBQ280VJ2Ve31Cs8KBtvPpaVUWQ@mail.gmail.com> <sjmd223z30c.fsf@securerf.ihtfp.org> <5EE0EC5C-651A-403F-927F-66AC97E53B58@nostrum.com> <F70E759C-42AD-436C-85DD-46808E3F8E68@gmail.com>
In-Reply-To: <F70E759C-42AD-436C-85DD-46808E3F8E68@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: [5.149.172.123]
x-microsoft-exchange-diagnostics: 1; BY2PR03MB442; 3:sEkdhHSSWqVv9QwwZyvSKZdB256Zh2bA6oKIlUITxKmGKRQnm3t3TqDwWH1hwYcPiaA4A1G7SyHXHnbZ6PfOqwejR/+IMeVRHvbhYObfP2OJETARAdSAf/KK+nERpwKPpl6KpPsfTUtXFbTA6FQicg==; 10:QICgrWgy0tVcgPG83EfgGG5WSY3+QOAi0cFbTQLaEc6KPjpZ8unQV+SsmO4WNHvXMAmwh5GiURcDLg5lylDfE5Eq2lwNrU+g+tCB1KwSAGI=; 6:b5DxkpNd+4h74CyULM67aTQNsZ23OgqnleVyIfL6EiJSGcZq2CtC5SFPM2S6Emu6
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB442;
x-microsoft-antispam-prvs: <BY2PR03MB44254C2EAC495144BC5421BF5D80@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: 0576145E86
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(24454002)(13464003)(51704005)(377454003)(52044002)(77096005)(2656002)(99286002)(230783001)(102836002)(15975445007)(33656002)(86612001)(106116001)(5001960100002)(2900100001)(561944003)(46102003)(66066001)(50986999)(76176999)(54356999)(71446004)(74316001)(189998001)(5001770100001)(92566002)(93886004)(76576001)(122556002)(62966003)(77156002)(2950100001)(40100003)(19580395003)(87936001)(86362001)(19580405001)(15974865002); 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: 14 May 2015 17:56:55.7073 (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/usHaVCAaOOcL-RJ5vx8zpT4GOWA>
Cc: Derek Atkins <derek@ihtfp.com>, The IESG <iesg@ietf.org>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] Ben Campbell's No Objection on charter-ietf-cose-00-01: (with COMMENT)
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, 14 May 2015 17:56:59 -0000

s/signing and encryption/signing, encryption, and key representation/

-----Original Message-----
From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Kathleen Moriarty
Sent: Thursday, May 14, 2015 7:00 AM
To: Ben Campbell
Cc: Derek Atkins; The IESG; cose@ietf.org
Subject: Re: [Cose] Ben Campbell's No Objection on charter-ietf-cose-00-01:=
 (with COMMENT)

Ok, thanks.  I'll add it in a little later today.

Kathleen=20

Sent from my iPhone

> On May 14, 2015, at 9:58 AM, "Ben Campbell" <ben@nostrum.com> wrote:
>=20
> That would work for me :-)
>=20
>> On 14 May 2015, at 8:45, Derek Atkins wrote:
>>=20
>> How about:
>>=20
>> COSE seeks to create CBOR-based object signing and encryption=20
>> formats.
>>=20
>> ... placed just before the JOSE reference?   :)
>>=20
>> -derek
>>=20
>> Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com> writes:
>>=20
>>> Is there a proposal from the COSE list to address Ben's question? =20
>>> I'll be able to update it within the next 30 minutes, or later=20
>>> today.  It might be tough to get to an agreed sentence or two in less t=
han 30 though.
>>>=20
>>> Thank you,
>>> Kathleen
>>>=20
>>> On Wed, May 13, 2015 at 10:17 PM, Ben Campbell <ben@nostrum.com> wrote:
>>>=20
>>> Ben Campbell has entered the following ballot position for
>>> charter-ietf-cose-00-01: No Objection
>>>=20
>>> When responding, please keep the subject line intact and reply to=20
>>> all email addresses included in the To and CC lines. (Feel free to=20
>>> cut this introductory paragraph, however.)
>>>=20
>>> The document, along with other ballot positions, can be found here:
>>> https://datatracker.ietf.org/doc/charter-ietf-cose/
>>>=20
>>> --------------------------------------------------------------------
>>> --
>>> COMMENT:
>>> --------------------------------------------------------------------
>>> --
>>>=20
>>> Maybe I am missing something, but I don't see an explicit statement=20
>>> of what COSE is setting out to accomplish until I get to the=20
>>> deliverables. I can infer it from the group name, and from the JOSE=20
>>> reference. But a sentence in the first paragraph to the effect that=20
>>> COSE seeks to create CBOR-based object signing and encryption formats w=
ould be helpful.
>>> (Probably right before the JOSE reference).
>>>=20
>>> --
>>>=20
>>> Best regards,
>>> Kathleen
>>>=20
>>> _______________________________________________
>>> 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

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


From nobody Sun May 17 18:19:07 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 D10E61A87C1; Fri, 15 May 2015 10:25:55 -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 wTqK45HaNFRO; Fri, 15 May 2015 10:25:54 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 774A31A87AA; Fri, 15 May 2015 10:25:54 -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
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20150515172554.1006.60355.idtracker@ietfa.amsl.com>
Date: Fri, 15 May 2015 10:25:54 -0700
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/Eot3vLrnZLVFoK8B75Ej8U7oUnI>
X-Mailman-Approved-At: Sun, 17 May 2015 18:19:04 -0700
Cc: cose WG <cose@ietf.org>
Subject: [Cose] WG Review: 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: Fri, 15 May 2015 17:25:56 -0000

A new IETF working group has been proposed in the Security Area. The IESG
has not made any determination yet. The following draft charter was
submitted, and is provided for informational purposes only. Please send
your comments to the IESG mailing list (iesg at ietf.org) by 2015-05-25.

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

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 Sun May 17 18:19:08 2015
Return-Path: <ietf-secretariat-reply@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 7D96D1A8838 for <cose@ietfa.amsl.com>; Fri, 15 May 2015 10:29:10 -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] 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 9c9X1C-kM7ag for <cose@ietfa.amsl.com>; Fri, 15 May 2015 10:29:09 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id D0AC41A883B for <cose@ietf.org>; Fri, 15 May 2015 10:29:08 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
To: <cose@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.0.3
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20150515172908.31879.26277.idtracker@ietfa.amsl.com>
Date: Fri, 15 May 2015 10:29:08 -0700
From: IETF Secretariat <ietf-secretariat-reply@ietf.org>
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/imgBAKJTjeFjOVzBxPmIhYlImpY>
X-Mailman-Approved-At: Sun, 17 May 2015 18:19:04 -0700
Subject: [Cose] State changed: charter-ietf-cose-00-02
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: Fri, 15 May 2015 17:29:10 -0000

State changed to External review.

URL: https://datatracker.ietf.org/doc/charter-ietf-cose/


From nobody Sun May 17 18:19:09 2015
Return-Path: <ietf-secretariat-reply@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 3C2B81A883B; Fri, 15 May 2015 10:29:44 -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] 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 RGbbS8VcPYog; Fri, 15 May 2015 10:29:43 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 319641A8838; Fri, 15 May 2015 10:29:43 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
To: <iesg-secretary@ietf.org>, <iesg@ietf.org>, <cose@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.0.3
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20150515172943.30632.12549.idtracker@ietfa.amsl.com>
Date: Fri, 15 May 2015 10:29:43 -0700
From: IETF Secretariat <ietf-secretariat-reply@ietf.org>
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/1a92w7fXkrQK45caSLz6EfNQpEc>
X-Mailman-Approved-At: Sun, 17 May 2015 18:19:04 -0700
Subject: [Cose] Telechat update notice: <charter-ietf-cose-00-02.txt>
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: Fri, 15 May 2015 17:29:44 -0000

Telechat date has been changed to 2015-05-28 from 2015-05-14
ID Tracker URL: https://datatracker.ietf.org/doc/charter-ietf-cose/


From nobody Mon May 18 09:49: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 83AEC1AD0D0 for <cose@ietfa.amsl.com>; Mon, 18 May 2015 09:49:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.1
X-Spam-Level: 
X-Spam-Status: No, score=0.1 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  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 1fxrXgJ6FNXR for <cose@ietfa.amsl.com>; Mon, 18 May 2015 09:49: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 E72F21AD0B2 for <cose@ietf.org>; Mon, 18 May 2015 09:49:12 -0700 (PDT)
Received: from HoldOver (c-24-21-96-37.hsd1.or.comcast.net [24.21.96.37]) (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 C74222C9F4; Mon, 18 May 2015 09:49:11 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Derek Atkins'" <derek@ihtfp.com>, "'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>
In-Reply-To: <sjm8uct1x22.fsf@securerf.ihtfp.org>
Date: Mon, 18 May 2015 09:49:16 -0700
Message-ID: <010601d0918a$941ce3a0$bc56aae0$@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: AQHbZlBKHCCSWnQMz2VzSyrGcf61KQDaoPGQAgu3YXUBfWV+bAJ/Bf9GAoiqjqsCclhIcp0NWBgQ
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/FGVLIpW1aPvbP7Z7wI6sIcvS4vg>
Cc: 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, 18 May 2015 16:49:15 -0000

-----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?

[JLS]  This depends on if you are carrying a key just as a content, or if
you are carrying a key for use in the next layer down (i.e. as a recipient
structure).  In the first case, no there is no data and a JWK structure as
the content would be necessary.  In the latter case, the key type is known
because it is advertised in the next layer down.

Jim


> 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 Mon May 18 09:59:06 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 52DEC1AD2F6 for <cose@ietfa.amsl.com>; Mon, 18 May 2015 09:59:05 -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 1DtU43N_CzV4 for <cose@ietfa.amsl.com>; Mon, 18 May 2015 09:59:03 -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 AA1591AD1FE for <cose@ietf.org>; Mon, 18 May 2015 09:59:03 -0700 (PDT)
Received: from HoldOver (c-24-21-96-37.hsd1.or.comcast.net [24.21.96.37]) (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 328AD38EFA for <cose@ietf.org>; Mon, 18 May 2015 09:59:03 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <cose@ietf.org>
Date: Mon, 18 May 2015 09:59:07 -0700
Message-ID: <010701d0918b$f47d2bf0$dd7783d0$@augustcellars.com>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----=_NextPart_000_0108_01D09151.4824BC90"
X-Mailer: Microsoft Outlook 15.0
Thread-Index: AdCRi1xq+pygzAAzTiiOaC6bV19bYw==
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/8fKGZBMZuUmvJafwQodKqMxQGbc>
Subject: [Cose] Recap: 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: <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, 18 May 2015 16:59:05 -0000

This is a multipart message in MIME format.

------=_NextPart_000_0108_01D09151.4824BC90
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

> > Question: Flattened encoding -

> > a)  Roll into parent map

> > b)  Just be a map

> > c)  Single element in array

> 

 

 

Based on the messages, there seems to be no support for combining the two
maps together into a single map.  I have therefore removed that from my
working copy of the draft.

 

There was one request for allowing option b (where a single recipient can be
represented as a single map entry rather than as an array of a single map).
I have looked at code size, and there does not seem to be a lot of code
associated with this option, but as there was no outcry for this option I
have not included it.

 

Unless others have opinions that they believe need to be expressed, I am
closing this issue.

 


------=_NextPart_000_0108_01D09151.4824BC90
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:"Cambria Math";
	panose-1:0 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:#0563C1;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:#954F72;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{mso-style-priority:99;
	mso-style-link:"Plain Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
span.PlainTextChar
	{mso-style-name:"Plain Text Char";
	mso-style-priority:99;
	mso-style-link:"Plain Text";
	font-family:"Calibri",sans-serif;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]--></head><body lang=3DEN-US =
link=3D"#0563C1" vlink=3D"#954F72"><div class=3DWordSection1><p =
class=3DMsoPlainText>&gt; &gt; Question: Flattened encoding =
-<o:p></o:p></p><p class=3DMsoPlainText>&gt; &gt; a)&nbsp; Roll into =
parent map<o:p></o:p></p><p class=3DMsoPlainText>&gt; &gt; b)&nbsp; Just =
be a map<o:p></o:p></p><p class=3DMsoPlainText>&gt; &gt; c)&nbsp; Single =
element in array<o:p></o:p></p><p class=3DMsoPlainText>&gt; =
<o:p></o:p></p><p class=3DMsoNormal><o:p>&nbsp;</o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Based on the =
messages, there seems to be no support for combining the two maps =
together into a single map.&nbsp; I have therefore removed that from my =
working copy of the draft.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>There was =
one request for allowing option b (where a single recipient can be =
represented as a single map entry rather than as an array of a single =
map).&nbsp; I have looked at code size, and there does not seem to be a =
lot of code associated with this option, but as there was no outcry for =
this option I have not included it.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p><p class=3DMsoNormal>Unless =
others have opinions that they believe need to be expressed, I am =
closing this issue.<o:p></o:p></p><p =
class=3DMsoNormal><o:p>&nbsp;</o:p></p></div></body></html>
------=_NextPart_000_0108_01D09151.4824BC90--


From nobody Mon May 18 10:02: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 8F6481A1BE5 for <cose@ietfa.amsl.com>; Mon, 18 May 2015 10:02:34 -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 t2RywN4N-I5E for <cose@ietfa.amsl.com>; Mon, 18 May 2015 10:02:33 -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 18EFE1ACDD9 for <cose@ietf.org>; Mon, 18 May 2015 10:02:08 -0700 (PDT)
Received: from HoldOver (c-24-21-96-37.hsd1.or.comcast.net [24.21.96.37]) (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 9CDEA38EF6 for <cose@ietf.org>; Mon, 18 May 2015 10:02:07 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <cose@ietf.org>
Date: Mon, 18 May 2015 10:02:12 -0700
Message-ID: <010c01d0918c$626acdc0$27406940$@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: AdCRjASmOnaUEr4xSpeEwA6E4TiQMg==
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/I8-JAXnGvvIGLCQGLeggYESLfks>
Subject: [Cose] Recap:  Reuse the Encrypt 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, 18 May 2015 17:02:34 -0000

Question:  Reuse Encrypt body map for recipients

I saw no one saying that we should not reuse the same structure for
encrypting both the main content and the recipient structures.  The only
comment that I saw that was even potentially not supportive was just a
request from Mike that we not encrypt a JWK structure but just encrypt the
key in this case.

This is already the approach of my draft so this involves no changes in my
working draft.

Jim



From nobody Mon May 18 10:15:53 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 D052F1A1A3D for <cose@ietfa.amsl.com>; Mon, 18 May 2015 10:15:52 -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 b9ahohO72n1z for <cose@ietfa.amsl.com>; Mon, 18 May 2015 10:15:51 -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 5D74B1A03A6 for <cose@ietf.org>; Mon, 18 May 2015 10:15:51 -0700 (PDT)
Received: from HoldOver (c-24-21-96-37.hsd1.or.comcast.net [24.21.96.37]) (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 C7E3238EF6 for <cose@ietf.org>; Mon, 18 May 2015 10:15:50 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <cose@ietf.org>
Date: Mon, 18 May 2015 10:15:54 -0700
Message-ID: <012501d0918e$4d0f0d40$e72d27c0$@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: AdCRjIL6Rotw5ewfS8qNYqLRvEM3HQ==
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/679M2UsmLnztoyqvfpS6YRHdEj4>
Subject: [Cose] Recap: Identification of the top level objects
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, 18 May 2015 17:15:53 -0000

Question:  Identification of objects:
a)  CBOR Tag - either general or specific to each type
b)  Required Identifier
c)  Use the same techniques as JOSE

There was no support for option C.
There was support for Option B
There was some support for Option A, but only if it was optional.

Mike Jones suggested that we should use the header parameter 'typ', I
responded to this message saying that it was not clear that this was a
correct use of the field based on the description in the JWS document.  At
this point I will keep the field as mandatory and outside of the headers
field.

I am planning on doing the IANA request for a CBOR Tag and to keep the tag
as being optional in the grammar and text.

Jim



From nobody Mon May 18 14:05: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 7C76C1A1A6E for <cose@ietfa.amsl.com>; Mon, 18 May 2015 14:05:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.1
X-Spam-Level: 
X-Spam-Status: No, score=0.1 tagged_above=-999 required=5 tests=[BAYES_50=0.8,  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 HM_oBMNiIYTq for <cose@ietfa.amsl.com>; Mon, 18 May 2015 14:05:37 -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 A6CCA1A1A46 for <cose@ietf.org>; Mon, 18 May 2015 14:05:37 -0700 (PDT)
Received: from HoldOver (c-24-20-67-136.hsd1.or.comcast.net [24.20.67.136]) (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 74A852CA22 for <cose@ietf.org>; Mon, 18 May 2015 14:05:36 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <cose@ietf.org>
Date: Mon, 18 May 2015 14:05:42 -0700
Message-ID: <016501d091ae$67909510$36b1bf30$@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: AdCRq9rt20WbovolQKm1OfRYV6+NBg==
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/xPU9wZXc4bl4k2kA_MQYc03lyeQ>
Subject: [Cose] ISSUE:  Use of integer rather than string tags
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, 18 May 2015 21:05:39 -0000

Questions:
1.  Should we use integers only, integers and strings or strings only for
indexing of maps?
2.  Should we build one or more tables of values that allow for integers to
be used rather than strings?
3.  How many/what registries should be created or modified to indicate the
use of integer values and keys?

Discussion:

There has been a general assumption that we are going to use integer values
for keying of maps within COSE.  However there is an interesting question,
do we only use integer values or do we allow strings as well?  Allowing for
strings allows for easier creating of local keys and keys for testing
purposes than restricting the type to just integers.  However it might be
easier to go through the keys if strings are not allowed.  My presumption
has been that both are going to be allowed.

There is an interesting question of what registry tables we are going to
create to hold the keys and values in.  I believe that the following
locations of integer values exist that need to be assigned to tables.  If
you feel this list is incomplete then say so:

1.  Keys in top level maps.
2.  Keys associated with protected and unprotected header fields
3.  Values associated with top level keys
4.  Values associated with the various protected and unprotected header
keys.

It is probably that we need to enumerate the list of all of the header keys
and make a determination if we have a unique value table for that key or if
we are going to use a common table for that key.   As an example, it makes
sense that there would be a unique table that holds all of the algorithm
names in it.  However, if one looks at the curve names for EC, these names
could be placed in the algorithm name table, a separate curve table or in a
common table that is used for generic purposes. 

Another question is what document should the different tables be created or
updated in.  It makes sense that this document could update the algorithm
table.  However, that could also be done in the algorithm document that the
group is expected to create as well.  There has been a desire expressed to
update the mime-type table to have a column of integer values associated
with it.  This makes life much more fun as it is not clear that we want to
have a document do this, but rather just a document that is going to have a
procedure for doing so.   Such a proceeding would require some thought if
the one and two byte values are to be reserved for more commonly used mime
types.

Finally, are the values just positive integers or both positive and negative
integers.  Do we have reserved spaces for private usage in all of the tables
and, for new tables, what are the rules for updating the table.

This issue is somewhat open ended and some of the questions will more likely
be addressed as the procedure goes along and we start writing text for the
decisions that we are making.

Jim



From nobody Mon May 18 14:29: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 DEED01A6F27 for <cose@ietfa.amsl.com>; Mon, 18 May 2015 14:29:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.003
X-Spam-Level: 
X-Spam-Status: No, score=-0.003 tagged_above=-999 required=5 tests=[BAYES_20=-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 GPCeATRUmPJY for <cose@ietfa.amsl.com>; Mon, 18 May 2015 14:28:58 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1on0716.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::716]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5E22E1ACD15 for <cose@ietf.org>; Mon, 18 May 2015 14:28:58 -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.172.17; Mon, 18 May 2015 21:28: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.0172.012; Mon, 18 May 2015 21:28:40 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [Cose] ISSUE:  Use of integer rather than string tags
Thread-Index: AdCRq9rt20WbovolQKm1OfRYV6+NBgABX/HA
Date: Mon, 18 May 2015 21:28:39 +0000
Message-ID: <BY2PR03MB44276925116347400111C30F5C40@BY2PR03MB442.namprd03.prod.outlook.com>
References: <016501d091ae$67909510$36b1bf30$@augustcellars.com>
In-Reply-To: <016501d091ae$67909510$36b1bf30$@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: [66.194.79.10]
x-microsoft-exchange-diagnostics: 1; BY2PR03MB441; 3:0smqGP3i9cGw1uz/O93u7vL7lKHe+BOxdnsd4I+JBeLhMt8sRmXW7KVq0+SmIytEj3TRCGpt0yQ3X+f0rHX/nSZlr+IkGRS5D4H5HCndDsB+sm7fx1AGBY+ckvvd0j7l2hKFDzQCMZGBROtCfxoOow==; 10:aGHcedAbKbWd0qBXmNg+iarXQ7NLE7ZADAbKCWhWopFJrdOEuaTR+exv7dGfZgJZ3CUSb6vkfJdh51Dj6pFbGb1tzQRKXnz0wGc1v52Mogg=; 6:5VVhd7IUDInxX06MPh40pBZqKdmWqzqQCoszOfnwjwNh3Bdipt1kr0kAVzT5+3SA
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB441;
x-microsoft-antispam-prvs: <BY2PR03MB441B955F43257A65DF9CDCFF5C40@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: 058043A388
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(377454003)(199003)(13464003)(122556002)(189998001)(40100003)(15975445007)(102836002)(64706001)(86612001)(105586002)(4001540100001)(81156007)(92566002)(33656002)(97736004)(68736005)(77096005)(106356001)(66066001)(77156002)(62966003)(99286002)(19580405001)(19580395003)(46102003)(74316001)(87936001)(5001960100002)(76576001)(50986999)(107886002)(101416001)(2900100001)(76176999)(86362001)(54356999)(2501003)(2656002)(5001860100001)(2950100001)(5001770100001)(5001920100001)(5001830100001); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB441; H:BY2PR03MB442.namprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
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: 18 May 2015 21:28:39.8987 (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/7fGGOxv9BaARNd_fhVR1LxbJp20>
Subject: Re: [Cose] ISSUE:  Use of integer rather than string tags
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, 18 May 2015 21:29:01 -0000

Support both.  Lots of applications will have locally keys and using string=
s gives them an easy way to use collision-resistant names for these keys, r=
ather than having to register everything - even keys that will never be mea=
ningful outside the application - with IANA in order to avoid collisions.  =
Letting people use strings will thereby help us conserve a scarce resource =
- the short integer namespace.

				-- Mike

-----Original Message-----
From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Monday, May 18, 2015 2:06 PM
To: cose@ietf.org
Subject: [Cose] ISSUE: Use of integer rather than string tags

Questions:
1.  Should we use integers only, integers and strings or strings only for i=
ndexing of maps?
2.  Should we build one or more tables of values that allow for integers to=
 be used rather than strings?
3.  How many/what registries should be created or modified to indicate the =
use of integer values and keys?

Discussion:

There has been a general assumption that we are going to use integer values=
 for keying of maps within COSE.  However there is an interesting question,=
 do we only use integer values or do we allow strings as well?  Allowing fo=
r strings allows for easier creating of local keys and keys for testing pur=
poses than restricting the type to just integers.  However it might be easi=
er to go through the keys if strings are not allowed.  My presumption has b=
een that both are going to be allowed.

There is an interesting question of what registry tables we are going to cr=
eate to hold the keys and values in.  I believe that the following location=
s of integer values exist that need to be assigned to tables.  If you feel =
this list is incomplete then say so:

1.  Keys in top level maps.
2.  Keys associated with protected and unprotected header fields 3.  Values=
 associated with top level keys 4.  Values associated with the various prot=
ected and unprotected header keys.

It is probably that we need to enumerate the list of all of the header keys=
 and make a determination if we have a unique value table for that key or i=
f
we are going to use a common table for that key.   As an example, it makes
sense that there would be a unique table that holds all of the algorithm na=
mes in it.  However, if one looks at the curve names for EC, these names co=
uld be placed in the algorithm name table, a separate curve table or in a c=
ommon table that is used for generic purposes.=20

Another question is what document should the different tables be created or=
 updated in.  It makes sense that this document could update the algorithm =
table.  However, that could also be done in the algorithm document that the=
 group is expected to create as well.  There has been a desire expressed to=
 update the mime-type table to have a column of integer values associated w=
ith it.  This makes life much more fun as it is not clear that we want to h=
ave a document do this, but rather just a document that is going to have a
procedure for doing so.   Such a proceeding would require some thought if
the one and two byte values are to be reserved for more commonly used mime =
types.

Finally, are the values just positive integers or both positive and negativ=
e integers.  Do we have reserved spaces for private usage in all of the tab=
les and, for new tables, what are the rules for updating the table.

This issue is somewhat open ended and some of the questions will more likel=
y be addressed as the procedure goes along and we start writing text for th=
e decisions that we are making.

Jim


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


From nobody Wed May 20 11:12:56 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 79CF01A8A43 for <cose@ietfa.amsl.com>; Wed, 20 May 2015 11:12:52 -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 AOhAbMjWkO7Q for <cose@ietfa.amsl.com>; Wed, 20 May 2015 11:12:50 -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 C969E1A8A52 for <cose@ietf.org>; Wed, 20 May 2015 11:12:46 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id 3DC94E2036; Wed, 20 May 2015 14:12:45 -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 12652-01; Wed, 20 May 2015 14:12:43 -0400 (EDT)
Received: from securerf.ihtfp.org (c-50-189-135-154.hsd1.ct.comcast.net [50.189.135.154]) (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 C6B6AE2035; Wed, 20 May 2015 14:12:42 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1432145562; bh=SmI4bYCv9lFqtfcOKQDxsrduhA6xSEPPnwqnRDI1H8g=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=Jntectrs21kD7/D44kAol/uzhN9YBCjig55U83MJzi3kfAftlYT5SbcvKhwu+k048 RB+bSBCLY/Jm6AVluS3l4KkFiGviHLeV0CbIqvPSL1636apy0m/oU2mYK6/GJYtgZs L0Wn3qIiv3tgzq7/iBc/DosZ6YcJcE9C5oXw3x8A=
Received: (from warlord@localhost) by securerf.ihtfp.org (8.14.8/8.14.8/Submit) id t4KICZVo014592; Wed, 20 May 2015 14:12:35 -0400
From: Derek Atkins <derek@ihtfp.com>
To: "Jim Schaad" <ietf@augustcellars.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> <010601d0918a$941ce3a0$bc56aae0$@augustcellars.com>
Date: Wed, 20 May 2015 14:12:35 -0400
In-Reply-To: <010601d0918a$941ce3a0$bc56aae0$@augustcellars.com> (Jim Schaad's message of "Mon, 18 May 2015 09:49:16 -0700")
Message-ID: <sjmh9r7jey4.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/oe0ZwJWBBjPAPSGg8VQGfxk4dIA>
Cc: 'Mike Jones' <Michael.Jones@microsoft.com>, 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: Wed, 20 May 2015 18:12:52 -0000

"Jim Schaad" <ietf@augustcellars.com> writes:

> -----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?
>
> [JLS]  This depends on if you are carrying a key just as a content, or if
> you are carrying a key for use in the next layer down (i.e. as a recipient
> structure).  In the first case, no there is no data and a JWK structure as
> the content would be necessary.  In the latter case, the key type is known
> because it is advertised in the next layer down.

This says to me that there are use-cases where the extra data is not
redundant, so it should be possible to put it in there.

> Jim

-derek

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


From nobody Wed May 20 11:25:27 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 23C291A8A62 for <cose@ietfa.amsl.com>; Wed, 20 May 2015 11:25:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1] 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 V-QEINcbkKUW for <cose@ietfa.amsl.com>; Wed, 20 May 2015 11:25:23 -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 7EA981A8A55 for <cose@ietf.org>; Wed, 20 May 2015 11:25:23 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id 23F92E2036; Wed, 20 May 2015 14:25: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 12652-02; Wed, 20 May 2015 14:25:18 -0400 (EDT)
Received: from securerf.ihtfp.org (c-50-189-135-154.hsd1.ct.comcast.net [50.189.135.154]) (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 CC645E2035; Wed, 20 May 2015 14:25:17 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1432146318; bh=CiCu/i+HL+sDwSNKJW3XAts5lKexsp3ahNi5cNKSvbc=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=NkdqM9wcX6wT8Q35+i2MZrWkbW/xPfuRsLSeXeCE0HeqdZLWhQY76cn0js1a5CTVY ukw2qASuH6Td11VyoUcUvYRvkGqgwaZ4q7VLsiSx0nwlbKnr3cFWFALT2y+4sxRB/Z R1anKi6HWRgN9eREdOMzzDxh/Sj1MWVkLOs6sb0E=
Received: (from warlord@localhost) by securerf.ihtfp.org (8.14.8/8.14.8/Submit) id t4KIPGbw014748; Wed, 20 May 2015 14:25:16 -0400
From: Derek Atkins <derek@ihtfp.com>
To: "Jim Schaad" <ietf@augustcellars.com>
References: <016501d091ae$67909510$36b1bf30$@augustcellars.com>
Date: Wed, 20 May 2015 14:25:16 -0400
In-Reply-To: <016501d091ae$67909510$36b1bf30$@augustcellars.com> (Jim Schaad's message of "Mon, 18 May 2015 14:05:42 -0700")
Message-ID: <sjmd21vjecz.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/g0Mg9JvEFD2JbGSIVkwuJgt4Gtk>
Cc: cose@ietf.org
Subject: Re: [Cose] ISSUE:  Use of integer rather than string tags
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: Wed, 20 May 2015 18:25:26 -0000

Hi Jim,

"Jim Schaad" <ietf@augustcellars.com> writes:

> Questions:
> 1.  Should we use integers only, integers and strings or strings only for
> indexing of maps?

We should allow both integers and strings.

> 2.  Should we build one or more tables of values that allow for integers to
> be used rather than strings?

Yes.

> 3.  How many/what registries should be created or modified to indicate the
> use of integer values and keys?

We probably need "separate" registries for known keys/values in each of
the maps we create.

> Discussion:
>
> There has been a general assumption that we are going to use integer values
> for keying of maps within COSE.  However there is an interesting question,
> do we only use integer values or do we allow strings as well?  Allowing for
> strings allows for easier creating of local keys and keys for testing
> purposes than restricting the type to just integers.  However it might be
> easier to go through the keys if strings are not allowed.  My presumption
> has been that both are going to be allowed.
>
> There is an interesting question of what registry tables we are going to
> create to hold the keys and values in.  I believe that the following
> locations of integer values exist that need to be assigned to tables.  If
> you feel this list is incomplete then say so:
>
> 1.  Keys in top level maps.
> 2.  Keys associated with protected and unprotected header fields
> 3.  Values associated with top level keys
> 4.  Values associated with the various protected and unprotected header
> keys.
>
> It is probably that we need to enumerate the list of all of the header keys
> and make a determination if we have a unique value table for that key or if
> we are going to use a common table for that key.   As an example, it makes
> sense that there would be a unique table that holds all of the algorithm
> names in it.  However, if one looks at the curve names for EC, these names
> could be placed in the algorithm name table, a separate curve table or in a
> common table that is used for generic purposes. 

It depends whether we want to have to say something like:

alg => {ec_sha2 => p256}  instead of alg => es256

Similar for AES.  Do we need one registry with 'aes' and another with
known "key sizes" (128, 256), or just two algorithm entries, aes128 and
aes256?  I would argue that it's "easier" to just have a single
algorithm registry where "cipher-family" and "parameter" are combined.

This does mean if we choose to include a dozen different ECC curves then
we'd need a dozen entries in this table.

Note also that I say this as a purveyor of a crypto algorithm where even
just saying the parameter level (eg 2^128 level security) is not
sufficient to nail down the actual parameters to use, as there are an
infinite number of potential parameters at every security level.  But
like everyone else I would need to nail down parameter sets.

> Another question is what document should the different tables be created or
> updated in.  It makes sense that this document could update the algorithm
> table.  However, that could also be done in the algorithm document that the
> group is expected to create as well.  There has been a desire expressed to
> update the mime-type table to have a column of integer values associated
> with it.  This makes life much more fun as it is not clear that we want to
> have a document do this, but rather just a document that is going to have a
> procedure for doing so.   Such a proceeding would require some thought if
> the one and two byte values are to be reserved for more commonly used mime
> types.

I'm fine with this all being defined in a single COSE spec document.  I
don't feel we need to break it apart into multiple documents like JOSE
did.  Indeed, I would argue that a single cohesive document is easier to
follow than what JOSE did.

> Finally, are the values just positive integers or both positive and negative
> integers.  Do we have reserved spaces for private usage in all of the tables
> and, for new tables, what are the rules for updating the table.

For cleverness I think we can use both positives and negatives.  We
should reserve all 1-byte-resulting numbers.  We should have some
reserved spaces for private usage.  As for the rules, I think the
single-byte numbers should be Standard Required and the multi-byte
numbers can be Expert Review.

> This issue is somewhat open ended and some of the questions will more likely
> be addressed as the procedure goes along and we start writing text for the
> decisions that we are making.

:)

> Jim

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


From nobody Wed May 20 12:29:04 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 B7A991A8AC3 for <cose@ietfa.amsl.com>; Wed, 20 May 2015 12:29:03 -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 JlUvc8MDy2fC for <cose@ietfa.amsl.com>; Wed, 20 May 2015 12:29:01 -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 8F46A1A8BB7 for <cose@ietf.org>; Wed, 20 May 2015 12:29:01 -0700 (PDT)
Received: from HoldOver (c-24-21-96-37.hsd1.or.comcast.net [24.21.96.37]) (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 067302CA0B; Wed, 20 May 2015 12:29:00 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Derek Atkins'" <derek@ihtfp.com>
References: <016501d091ae$67909510$36b1bf30$@augustcellars.com> <sjmd21vjecz.fsf@securerf.ihtfp.org>
In-Reply-To: <sjmd21vjecz.fsf@securerf.ihtfp.org>
Date: Wed, 20 May 2015 12:29:10 -0700
Message-ID: <000701d09333$3fa641e0$bef2c5a0$@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: AQE1tZrJJMzJio9nPTRuR95tavrVZQLhK4A2nqPwMSA=
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/JS2_OTSg9c7JI1rDRVdKz_TOI3c>
Cc: cose@ietf.org
Subject: Re: [Cose] ISSUE:  Use of integer rather than string tags
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: Wed, 20 May 2015 19:29:03 -0000

> -----Original Message-----
> From: Derek Atkins [mailto:derek@ihtfp.com]
> Sent: Wednesday, May 20, 2015 11:25 AM
> To: Jim Schaad
> Cc: cose@ietf.org
> Subject: Re: [Cose] ISSUE: Use of integer rather than string tags
> 
> Hi Jim,
> 
> "Jim Schaad" <ietf@augustcellars.com> writes:
> 
> > Questions:
> > 1.  Should we use integers only, integers and strings or strings only
> > for indexing of maps?
> 
> We should allow both integers and strings.
> 
> > 2.  Should we build one or more tables of values that allow for
> > integers to be used rather than strings?
> 
> Yes.
> 
> > 3.  How many/what registries should be created or modified to indicate
> > the use of integer values and keys?
> 
> We probably need "separate" registries for known keys/values in each of
the
> maps we create.
> 
> > Discussion:
> >
> > There has been a general assumption that we are going to use integer
> > values for keying of maps within COSE.  However there is an
> > interesting question, do we only use integer values or do we allow
> > strings as well?  Allowing for strings allows for easier creating of
> > local keys and keys for testing purposes than restricting the type to
> > just integers.  However it might be easier to go through the keys if
> > strings are not allowed.  My presumption has been that both are going to
be
> allowed.
> >
> > There is an interesting question of what registry tables we are going
> > to create to hold the keys and values in.  I believe that the
> > following locations of integer values exist that need to be assigned
> > to tables.  If you feel this list is incomplete then say so:
> >
> > 1.  Keys in top level maps.
> > 2.  Keys associated with protected and unprotected header fields 3.
> > Values associated with top level keys 4.  Values associated with the
> > various protected and unprotected header keys.
> >
> > It is probably that we need to enumerate the list of all of the header
> > keys and make a determination if we have a unique value table for that
key
> or if
> > we are going to use a common table for that key.   As an example, it
makes
> > sense that there would be a unique table that holds all of the
> > algorithm names in it.  However, if one looks at the curve names for
> > EC, these names could be placed in the algorithm name table, a
> > separate curve table or in a common table that is used for generic
purposes.
> 
> It depends whether we want to have to say something like:
> 
> alg => {ec_sha2 => p256}  instead of alg => es256

My assumption has been that we are going to use a similar naming scheme to
that followed by JOSE.

alg=> ec_sha2 - but the curve is defined in the key used.   Thus ec_sha2 can
be used for any of the NIST curves and any other curve that follows the same
point convention.

This means that we are going to get two versions of ECDH - one for the
current {x,y} points and a new one for the {x} only points.

In terms of doing something like ECHD - there are a number of other items
that are defined in the algorithm id, i.e. not Chinese menu, that will lead
to some proliferation of algorithms.  But not as badly as TLS where a
complete set of all algorithms are combined in a single suite value.


Jim

> 
> Similar for AES.  Do we need one registry with 'aes' and another with
known
> "key sizes" (128, 256), or just two algorithm entries, aes128 and aes256?
I
> would argue that it's "easier" to just have a single algorithm registry
where
> "cipher-family" and "parameter" are combined.
> 
> This does mean if we choose to include a dozen different ECC curves then
we'd
> need a dozen entries in this table.
> 
> Note also that I say this as a purveyor of a crypto algorithm where even
just
> saying the parameter level (eg 2^128 level security) is not sufficient to
nailsimi
> down the actual parameters to use, as there are an infinite number of
potential
> parameters at every security level.  But like everyone else I would need
to nail
> down parameter sets.
> 
> > Another question is what document should the different tables be
> > created or updated in.  It makes sense that this document could update
> > the algorithm table.  However, that could also be done in the
> > algorithm document that the group is expected to create as well.
> > There has been a desire expressed to update the mime-type table to
> > have a column of integer values associated with it.  This makes life
> > much more fun as it is not clear that we want to have a document do
this, but
> rather just a document that is going to have a
> > procedure for doing so.   Such a proceeding would require some thought
if
> > the one and two byte values are to be reserved for more commonly used
> > mime types.
> 
> I'm fine with this all being defined in a single COSE spec document.  I
don't feel
> we need to break it apart into multiple documents like JOSE did.  Indeed,
I
> would argue that a single cohesive document is easier to follow than what
JOSE
> did.
> 
> > Finally, are the values just positive integers or both positive and
> > negative integers.  Do we have reserved spaces for private usage in
> > all of the tables and, for new tables, what are the rules for updating
the table.
> 
> For cleverness I think we can use both positives and negatives.  We should
> reserve all 1-byte-resulting numbers.  We should have some reserved spaces
> for private usage.  As for the rules, I think the single-byte numbers
should be
> Standard Required and the multi-byte numbers can be Expert Review.
> 
> > This issue is somewhat open ended and some of the questions will more
> > likely be addressed as the procedure goes along and we start writing
> > text for the decisions that we are making.
> 
> :)
> 
> > Jim
> 
> -derek
> --
>        Derek Atkins                 617-623-3745
>        derek@ihtfp.com             www.ihtfp.com
>        Computer and Internet Security Consultant


From nobody Wed May 20 12:30:22 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 49CCA1A8F43 for <cose@ietfa.amsl.com>; Wed, 20 May 2015 12:30:20 -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 Le93K_wEGic0 for <cose@ietfa.amsl.com>; Wed, 20 May 2015 12:30:19 -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 F201F1A8F42 for <cose@ietf.org>; Wed, 20 May 2015 12:30:18 -0700 (PDT)
Received: from HoldOver (c-24-21-96-37.hsd1.or.comcast.net [24.21.96.37]) (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 2CC752CA00; Wed, 20 May 2015 12:30:18 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Derek Atkins'" <derek@ihtfp.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>	<010601d0918a$941ce3a0$bc56aae0$@augustcellars.com> <sjmh9r7jey4.fsf@securerf.ihtfp.org>
In-Reply-To: <sjmh9r7jey4.fsf@securerf.ihtfp.org>
Date: Wed, 20 May 2015 12:30:27 -0700
Message-ID: <000801d09333$6da9e3d0$48fdab70$@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: AQHbZlBKHCCSWnQMz2VzSyrGcf61KQDaoPGQAgu3YXUBfWV+bAJ/Bf9GAoiqjqsCclhIcgG8rBW0AdAIfPSc9EZFoA==
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/7Tyhc7MK5Hz7DwMS-kCu_FRqHfc>
Cc: 'Mike Jones' <Michael.Jones@microsoft.com>, 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: Wed, 20 May 2015 19:30:20 -0000

> -----Original Message-----
> From: Derek Atkins [mailto:derek@ihtfp.com]
> Sent: Wednesday, May 20, 2015 11:13 AM
> To: Jim Schaad
> Cc: 'Mike Jones'; cose@ietf.org
> Subject: Re: [Cose] Issue: Reuse the Enrypt structure for recipients
> 
> "Jim Schaad" <ietf@augustcellars.com> writes:
> 
> > -----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?
> >
> > [JLS]  This depends on if you are carrying a key just as a content, or
> > if you are carrying a key for use in the next layer down (i.e. as a
> > recipient structure).  In the first case, no there is no data and a
> > JWK structure as the content would be necessary.  In the latter case,
> > the key type is known because it is advertised in the next layer down.
> 
> This says to me that there are use-cases where the extra data is not
redundant,
> so it should be possible to put it in there.

Not redundant in the first case or in the second case?

Jim

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


From nobody Fri May 22 08:32:56 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 0C9331A01F4 for <cose@ietfa.amsl.com>; Fri, 22 May 2015 08:32:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.101
X-Spam-Level: 
X-Spam-Status: No, score=-0.101 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, 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 ODRhljs7OPEI for <cose@ietfa.amsl.com>; Fri, 22 May 2015 08:32:53 -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 CEF741A026E for <cose@ietf.org>; Fri, 22 May 2015 08:32:34 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id 1603AE2036; Fri, 22 May 2015 11:32:31 -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 28626-07; Fri, 22 May 2015 11:32:30 -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 3FF68E2035; Fri, 22 May 2015 11:32:30 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1432308750; bh=DmT8CPUgN83+IV0TbJXuwnj4PRtj4mWGLjdo+o0Onig=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=al0sbEJn04qaitRJrNLr99SZlI9aoj2P9jmAfpKojZ9S8odvyHVDhOIQ2G+xheUho vrENkLNerlxdyVQJfcTFwZAizxdDCAkvIEgtwILHeLOktDhLNzBMKBht0jarszdKyX rctt7K06oBGg1XfHZVwjKYuoJSUtUAZp9nhgtPcY=
Received: (from warlord@localhost) by securerf.ihtfp.org (8.14.8/8.14.8/Submit) id t4MFWTlG012545; Fri, 22 May 2015 11:32:29 -0400
From: Derek Atkins <derek@ihtfp.com>
To: "Jim Schaad" <ietf@augustcellars.com>
References: <016501d091ae$67909510$36b1bf30$@augustcellars.com> <sjmd21vjecz.fsf@securerf.ihtfp.org> <000701d09333$3fa641e0$bef2c5a0$@augustcellars.com>
Date: Fri, 22 May 2015 11:32:29 -0400
In-Reply-To: <000701d09333$3fa641e0$bef2c5a0$@augustcellars.com> (Jim Schaad's message of "Wed, 20 May 2015 12:29:10 -0700")
Message-ID: <sjmegm8iq5u.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/j9Rkmc-mbnlo-aYDhQZ4jI2Hrfw>
Cc: 'Derek Atkins' <derek@ihtfp.com>, cose@ietf.org
Subject: Re: [Cose] ISSUE:  Use of integer rather than string tags
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, 22 May 2015 15:32:55 -0000

"Jim Schaad" <ietf@augustcellars.com> writes:

>> It depends whether we want to have to say something like:
>> 
>> alg => {ec_sha2 => p256}  instead of alg => es256
>
> My assumption has been that we are going to use a similar naming scheme to
> that followed by JOSE.
>
> alg=> ec_sha2 - but the curve is defined in the key used.   Thus ec_sha2 can
> be used for any of the NIST curves and any other curve that follows the same
> point convention.
>
> This means that we are going to get two versions of ECDH - one for the
> current {x,y} points and a new one for the {x} only points.
>
> In terms of doing something like ECHD - there are a number of other items
> that are defined in the algorithm id, i.e. not Chinese menu, that will lead
> to some proliferation of algorithms.  But not as badly as TLS where a
> complete set of all algorithms are combined in a single suite value.

I am fine with this approach (although I thought JOSE combined the EC
with the Signature and Key Size, e.g. { alg: ES256 }?

> Jim

-derek

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


From nobody Fri May 22 12:01: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 0001D1A19E4; Fri, 22 May 2015 12:01:47 -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 uwz6yDJfA161; Fri, 22 May 2015 12:01:46 -0700 (PDT)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0119.outbound.protection.outlook.com [65.55.169.119]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A04A01A07BC; Fri, 22 May 2015 12:01:40 -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.172.17; Fri, 22 May 2015 19:01:38 +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.0172.012; Fri, 22 May 2015 19:01:38 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: The IESG <iesg-secretary@ietf.org>, IETF-Announce <ietf-announce@ietf.org>
Thread-Topic: [Cose] WG Review: CBOR Object Signing and Encryption (cose)
Thread-Index: AQHQkQikDPNsZ9VDmkWEn+79NegWnp2IYAkQ
Date: Fri, 22 May 2015 19:01:38 +0000
Message-ID: <BY2PR03MB4427F774DD21BC31CF50682F5C00@BY2PR03MB442.namprd03.prod.outlook.com>
References: <20150515172554.1006.60355.idtracker@ietfa.amsl.com>
In-Reply-To: <20150515172554.1006.60355.idtracker@ietfa.amsl.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: [2001:4898:80e0:ed43::2]
x-microsoft-exchange-diagnostics: 1; BY2PR03MB442; 3:xcjRLojFUdAQS0xfjeMqY+7hl0Oxp/N5K370jeerdun1bQiBSj8YVwJF29DsOcAKhVw17BluuPXSE5Y553J51UD5691rWGsUrdLHAZ5sW8rAphgVYFWv9WGaIQi7VLAZqkVZDwGYVvX8n5nhQO377A==; 10:ja4viyI16AMDj//cNKBfLuGTHiZLG6hIBl9GIk/UzbFMVBMNCFhq/telFDw+fiAEi8uHPehb4a6+FT1+dZV3XCS+FR9JMr8v06lpjFqZhDs=; 6:5UvNJLbOSl7ZLWGJDyAuHkC2hUfnAhFAj6vrg3sF2MV8peek954Kusggoon6Ebvt
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB442;
x-microsoft-antispam-prvs: <BY2PR03MB442E232577208BBD110F754F5C00@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)(520002)(3002001); SRVR:BY2PR03MB442; BCL:0;  PCL:0; RULEID:; SRVR:BY2PR03MB442; 
x-forefront-prvs: 058441C12A
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(377454003)(45074003)(13464003)(189002)(199003)(2656002)(62966003)(105586002)(87936001)(450100001)(46102003)(19580405001)(5001860100001)(5001960100002)(5001770100001)(64706001)(5001830100001)(86362001)(99286002)(106356001)(92566002)(77156002)(76576001)(189998001)(54356999)(106116001)(76176999)(50986999)(97736004)(40100003)(77096005)(81156007)(4001540100001)(101416001)(122556002)(74316001)(15975445007)(102836002)(68736005)(2950100001)(2900100001)(19580395003)(33656002)(86612001)(3826002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB442; H:BY2PR03MB442.namprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
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: 22 May 2015 19:01:38.4033 (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/st31wIokQ31GnizVz92IpypPpjs>
Cc: cose WG <cose@ietf.org>
Subject: Re: [Cose] WG Review: CBOR Object Signing and Encryption (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, 22 May 2015 19:01:48 -0000

In my reviews of the charter draft, I had pointed out that the deliverables=
 should include a CBOR-based key representation format equivalent to the JS=
ON-based key representation format specified in RFC 7517 (JWK).  I had thou=
ght that, as a result of these comments and concurrence by others participa=
ting in the discussion, the sentence "COSE seeks to create CBOR-based objec=
t signing and encryption formats" was going to be amended to "COSE seeks to=
 create CBOR-based object signing, encryption, and key representation forma=
ts".  But this apparently didn't occur.

I approve of the creation of this working group, subject to the charter tex=
t being amended to clarify that a JWK equivalent is a chartered work item.

				-- Mike

-----Original Message-----
From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of The IESG
Sent: Friday, May 15, 2015 10:26 AM
To: IETF-Announce
Cc: cose WG
Subject: [Cose] WG Review: CBOR Object Signing and Encryption (cose)

A new IETF working group has been proposed in the Security Area. The IESG h=
as not made any determination yet. The following draft charter was submitte=
d, and is provided for informational purposes only. Please send your commen=
ts to the IESG mailing list (iesg at ietf.org) by 2015-05-25.

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

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 f=
ormat for the serialization of data structured to an extended version of th=
e JSON data model. COSE seeks to create CBOR-based object signing and encry=
ption formats. One motivation for COSE was to reuse functionality from the =
JOSE working group using the CBOR data representation as it is more amenabl=
e to constrained nodes and constrained node networks (RFC 7228).

The JOSE working group recently completed producing representations for cry=
ptographic keys, message authentication (MACs), encryption, and digital sig=
natures, using JSON representation.=20

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 sui=
t constrained environments, where this is expected to  be used.
    o Improve security
    o Provide new functionality for additional use cases that were not requ=
ired for JOSE.=20

Key management and binding of keys to identities are out of scope for the w=
orking group.  The COSE WG will not innovate in terms of cryptography.=20
The specification of algorithms in COSE is limited to those in RFCs or acti=
ve 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 constitu=
encies to the extent relevant to their work. Other groups may be added to t=
his 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 approp=
riate 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 Pr=
oposed Standard
  Jan 2016 - Submit COSE constrained-appropriate algorithms to the IESG, fo=
r publication as a Proposed Standard


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


From nobody Fri May 22 12:53:27 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 D178B1A874D for <cose@ietfa.amsl.com>; Fri, 22 May 2015 12:53:25 -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 zXOYyFoEbJDE for <cose@ietfa.amsl.com>; Fri, 22 May 2015 12:53:24 -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 967421A8746 for <cose@ietf.org>; Fri, 22 May 2015 12:53:23 -0700 (PDT)
Received: from hebrews (c-24-21-96-37.hsd1.or.comcast.net [24.21.96.37]) (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 F2DF538F15; Fri, 22 May 2015 12:53:22 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Derek Atkins'" <derek@ihtfp.com>
References: <016501d091ae$67909510$36b1bf30$@augustcellars.com>	<sjmd21vjecz.fsf@securerf.ihtfp.org>	<000701d09333$3fa641e0$bef2c5a0$@augustcellars.com> <sjmegm8iq5u.fsf@securerf.ihtfp.org>
In-Reply-To: <sjmegm8iq5u.fsf@securerf.ihtfp.org>
Date: Fri, 22 May 2015 12:53:20 -0700
Message-ID: <027d01d094c8$f4aad1f0$de0075d0$@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: AQE1tZrJJMzJio9nPTRuR95tavrVZQLhK4A2ApWjTTsCgPm6055+W2qQ
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/EUgSOUs_co_aAAjnh7XvVmSjhto>
Cc: cose@ietf.org
Subject: Re: [Cose] ISSUE:  Use of integer rather than string tags
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, 22 May 2015 19:53:26 -0000

-----Original Message-----
From: Derek Atkins [mailto:derek@ihtfp.com] 
Sent: Friday, May 22, 2015 8:32 AM
To: Jim Schaad
Cc: 'Derek Atkins'; cose@ietf.org
Subject: Re: [Cose] ISSUE: Use of integer rather than string tags

"Jim Schaad" <ietf@augustcellars.com> writes:

>> It depends whether we want to have to say something like:
>> 
>> alg => {ec_sha2 => p256}  instead of alg => es256
>
> My assumption has been that we are going to use a similar naming 
> scheme to that followed by JOSE.
>
> alg=> ec_sha2 - but the curve is defined in the key used.   Thus ec_sha2
can
> be used for any of the NIST curves and any other curve that follows 
> the same point convention.
>
> This means that we are going to get two versions of ECDH - one for the 
> current {x,y} points and a new one for the {x} only points.
>
> In terms of doing something like ECHD - there are a number of other 
> items that are defined in the algorithm id, i.e. not Chinese menu, 
> that will lead to some proliferation of algorithms.  But not as badly 
> as TLS where a complete set of all algorithms are combined in a single
suite value.

I am fine with this approach (although I thought JOSE combined the EC with
the Signature and Key Size, e.g. { alg: ES256 }?

[JLS] No that is actually hash size.

jim

> Jim

-derek

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


From nobody Fri May 22 13:06:48 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 DE5371A877D for <cose@ietfa.amsl.com>; Fri, 22 May 2015 13:06:46 -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 sJJcT7lpu_lF for <cose@ietfa.amsl.com>; Fri, 22 May 2015 13:06:45 -0700 (PDT)
Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0748.outbound.protection.outlook.com [IPv6:2a01:111:f400:fc10::1:748]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EB6E31A8768 for <cose@ietf.org>; Fri, 22 May 2015 13:06:44 -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.172.17; Fri, 22 May 2015 20:06:23 +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.0172.012; Fri, 22 May 2015 20:06:18 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Jim Schaad <ietf@augustcellars.com>, 'Derek Atkins' <derek@ihtfp.com>
Thread-Topic: [Cose] ISSUE:  Use of integer rather than string tags
Thread-Index: AdCRq9rt20WbovolQKm1OfRYV6+NBgBfn9i6AAI5IAAAXFXFxAAJF4EAAABMjpA=
Date: Fri, 22 May 2015 20:06:17 +0000
Message-ID: <BY2PR03MB44227FE4286301C4AD4A129F5C00@BY2PR03MB442.namprd03.prod.outlook.com>
References: <016501d091ae$67909510$36b1bf30$@augustcellars.com> <sjmd21vjecz.fsf@securerf.ihtfp.org> <000701d09333$3fa641e0$bef2c5a0$@augustcellars.com> <sjmegm8iq5u.fsf@securerf.ihtfp.org> <027d01d094c8$f4aad1f0$de0075d0$@augustcellars.com>
In-Reply-To: <027d01d094c8$f4aad1f0$de0075d0$@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: [2001:4898:80e0:ed43::2]
x-microsoft-exchange-diagnostics: 1; BY2PR03MB443; 3:zJvCQKIr6GtgR/kc5jOeex2LfEByd01XhsLZRI9nFrkPK5heZ6J5JnF6hivVP95nFH9RlWYSvJZT5QSZTsiZZn363tv/zzxTwk6wMCt3atXEqRqSU5nuAHnQmkZ/rasdHmEQ2StSjkpYPATrL1Xi/w==; 10:7bC7PSfJt7dbbBKU86pEQQ6mBwSrcy+W48EFhmL4NQlsD2E+on8Wim4DKuHeoIL+UXn3tlQKD/NYwRdw4Dy/KTVZPsXAbJAW7QteqaGoNz4=; 6:/c1ae84mGZArAP05DrJQaNovaovnhkdU396BUFjpMSjyx1c0JJVi6/26Nm9+t0fq
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB443;
x-microsoft-antispam-prvs: <BY2PR03MB443F16717CF1C7139191448F5C00@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)(520002)(3002001); SRVR:BY2PR03MB443; BCL:0;  PCL:0; RULEID:; SRVR:BY2PR03MB443; 
x-forefront-prvs: 058441C12A
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(51704005)(13464003)(377454003)(189002)(199003)(122556002)(4001540100001)(19580395003)(2900100001)(33656002)(86612001)(64706001)(5001860100001)(40100003)(86362001)(189998001)(102836002)(77096005)(19580405001)(5001770100001)(15975445007)(106356001)(5001830100001)(99286002)(81156007)(68736005)(97736004)(2950100001)(50986999)(105586002)(54356999)(76176999)(2656002)(87936001)(76576001)(15974865002)(101416001)(77156002)(62966003)(92566002)(5001960100002)(74316001)(46102003)(93886004)(3826002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB443; H:BY2PR03MB442.namprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; 
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
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: 22 May 2015 20:06:17.1359 (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/sACNSLnM3amh793doMW27e0VVEw>
Cc: "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] ISSUE:  Use of integer rather than string tags
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, 22 May 2015 20:06:47 -0000

Derek, you're right that JOSE chose to use string identifiers for algorithm=
s, rather than structured identifiers.  That means that algorithm processin=
g just requires table lookup, rather than structure parsing.  There are no =
modifiers or additional algorithm parameters specified separately, by desig=
n.  One of the ways that the working group tried to "keep simple things sim=
ple".

				Cheers,
				-- Mike

-----Original Message-----
From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
Sent: Friday, May 22, 2015 12:53 PM
To: 'Derek Atkins'
Cc: cose@ietf.org
Subject: Re: [Cose] ISSUE: Use of integer rather than string tags



-----Original Message-----
From: Derek Atkins [mailto:derek@ihtfp.com]
Sent: Friday, May 22, 2015 8:32 AM
To: Jim Schaad
Cc: 'Derek Atkins'; cose@ietf.org
Subject: Re: [Cose] ISSUE: Use of integer rather than string tags

"Jim Schaad" <ietf@augustcellars.com> writes:

>> It depends whether we want to have to say something like:
>>=20
>> alg =3D> {ec_sha2 =3D> p256}  instead of alg =3D> es256
>
> My assumption has been that we are going to use a similar naming=20
> scheme to that followed by JOSE.
>
> alg=3D> ec_sha2 - but the curve is defined in the key used.   Thus ec_sha=
2
can
> be used for any of the NIST curves and any other curve that follows=20
> the same point convention.
>
> This means that we are going to get two versions of ECDH - one for the=20
> current {x,y} points and a new one for the {x} only points.
>
> In terms of doing something like ECHD - there are a number of other=20
> items that are defined in the algorithm id, i.e. not Chinese menu,=20
> that will lead to some proliferation of algorithms.  But not as badly=20
> as TLS where a complete set of all algorithms are combined in a single
suite value.

I am fine with this approach (although I thought JOSE combined the EC with =
the Signature and Key Size, e.g. { alg: ES256 }?

[JLS] No that is actually hash size.

jim

> Jim

-derek

--=20
       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


From nobody Fri May 22 19:13:48 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 4A7A81A8A6E; Fri, 22 May 2015 19:13: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 crvTR0wiMEsx; Fri, 22 May 2015 19:13:38 -0700 (PDT)
Received: from out4133-2.mail.aliyun.com (out4133-2.mail.aliyun.com [42.120.133.2]) by ietfa.amsl.com (Postfix) with ESMTP id DD41D1A8A80; Fri, 22 May 2015 19:13:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alibaba-inc.com; s=default; t=1432347217; h=Date:Subject:From:To:Message-ID:Mime-version:Content-type; bh=BLXbE3Yp+oP3GY9/WQYBVWtwiSv1/wkczvtz8gCjkoY=; b=OP98Jqtr6uAkKbtKJIcCgBdRpJpJiQC0MtTF60EmmjpW33HtW1vhLavK0Wsg/74lTqj3Qvz4cWg8UIYPv9qidtcMVdPP+bv0F4HNjiuQ8Ifka4N/FFP5cwUriLvGwl7hGFActjvEZuSmJLWakfzwBHMgdU6cQR+xc84d6cwaLfA=
X-Alimail-AntiSpam: AC=PASS; BC=-1|-1; BR=01201311R111e4; FP=0|-1|-1|-1|0|-1|-1|-1; HT=r41f05042; MF=kepeng.lkp@alibaba-inc.com; PH=DS;  RN=3; RT=3; SR=0; 
Received: from 10.22.58.136(mailfrom:kepeng.lkp@alibaba-inc.com ip:42.120.73.208) by smtp.aliyun-inc.com(127.0.0.1); Sat, 23 May 2015 10:13:33 +0800
User-Agent: Microsoft-MacOutlook/14.4.8.150116
Date: Sat, 23 May 2015 10:13:25 +0800
From: "Kepeng Li" <kepeng.lkp@alibaba-inc.com>
To: Mike Jones <Michael.Jones@microsoft.com>, The IESG <iesg-secretary@ietf.org>
Message-ID: <D1860046.ACC0%kepeng.lkp@alibaba-inc.com>
Thread-Topic: [Cose] WG Review: CBOR Object Signing and Encryption (cose)
References: <20150515172554.1006.60355.idtracker@ietfa.amsl.com> <BY2PR03MB4427F774DD21BC31CF50682F5C00@BY2PR03MB442.namprd03.prod.outlook.com>
In-Reply-To: <BY2PR03MB4427F774DD21BC31CF50682F5C00@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/FXPnt-uSt8NG0bDvTqRhodmh_WY>
Cc: cose WG <cose@ietf.org>
Subject: Re: [Cose] WG Review: CBOR Object Signing and Encryption (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: Sat, 23 May 2015 02:13:45 -0000

Hi Mike,

According to the previous discussion, CBOR-based key representation format
is implied as a charter item:
http://www.ietf.org/mail-archive/web/cose/current/msg00022.html

It should be fine to change the charter text as requested.

OLD:
COSE seeks to create CBOR-based object signing and encryption formats.

NEW:
COSE seeks to create CBOR-based object signing, encryption, and key
representation formats.


Kind Regards
Kepeng=20

=D4=DA 23/5/15 3:01 am=A3=AC "Mike Jones" <Michael.Jones@microsoft.com> =D0=B4=C8=EB:

>In my reviews of the charter draft, I had pointed out that the
>deliverables should include a CBOR-based key representation format
>equivalent to the JSON-based key representation format specified in RFC
>7517 (JWK).  I had thought that, as a result of these comments and
>concurrence by others participating in the discussion, the sentence "COSE
>seeks to create CBOR-based object signing and encryption formats" was
>going to be amended to "COSE seeks to create CBOR-based object signing,
>encryption, and key representation formats".  But this apparently didn't
>occur.
>
>I approve of the creation of this working group, subject to the charter
>text being amended to clarify that a JWK equivalent is a chartered work
>item.
>
>				-- Mike
>
>-----Original Message-----
>From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of The IESG
>Sent: Friday, May 15, 2015 10:26 AM
>To: IETF-Announce
>Cc: cose WG
>Subject: [Cose] WG Review: CBOR Object Signing and Encryption (cose)
>
>A new IETF working group has been proposed in the Security Area. The IESG
>has not made any determination yet. The following draft charter was
>submitted, and is provided for informational purposes only. Please send
>your comments to the IESG mailing list (iesg at ietf.org) by 2015-05-25.
>
>CBOR Object Signing and Encryption (cose)
>------------------------------------------------
>Current Status: Proposed WG
>
>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
>
>
>_______________________________________________
>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 May 22 19:15:40 2015
Return-Path: <hallam@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 4B7F31A0063; Fri, 22 May 2015 11:52:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level: 
X-Spam-Status: No, score=-1.277 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CjwHG6hg-2Yj; Fri, 22 May 2015 11:52:09 -0700 (PDT)
Received: from mail-lb0-x232.google.com (mail-lb0-x232.google.com [IPv6:2a00:1450:4010:c04::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 9EC631A0019; Fri, 22 May 2015 11:52:08 -0700 (PDT)
Received: by lbbzk7 with SMTP id zk7so18982234lbb.0; Fri, 22 May 2015 11:52:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=4tPoluRdPKp+3jJCyB1LrBDDekt7aR8XNA/xbOeU7vI=; b=fqDhhPXoEw/H7fSZ0J/l/7Xr+xPhQSzxOEQV+MFFj6uMGcpRf0yR5BmGCogzsnzyid OxbmVcVtMA9punCV1Uj15BxAZqJKO5xhus4oC8BJkDDW9BkfjzSYUQkRZ21YkP3Vrv+8 eebziyM1H6bkslEM633b/OmJdfas0R+ZcOQJAfgLbqmHIaT1PnCXivTTU8+99GKnuExQ j00Mz1b6mZa2LdAwPeJnp2aDBUqfIoZAROLQeSjqUlKgyeqRUQiqsbZtvn0joHSf8euQ 2qE2eN180t6/rOEcjdgVphZf4YEZCPZTEx38uCLs3ckwaujEEbXewWQxhcShFRpbjLUW QlBA==
MIME-Version: 1.0
X-Received: by 10.112.72.40 with SMTP id a8mr4647509lbv.58.1432320727065; Fri, 22 May 2015 11:52:07 -0700 (PDT)
Sender: hallam@gmail.com
Received: by 10.112.203.163 with HTTP; Fri, 22 May 2015 11:52:06 -0700 (PDT)
In-Reply-To: <20150515172554.1006.60355.idtracker@ietfa.amsl.com>
References: <20150515172554.1006.60355.idtracker@ietfa.amsl.com>
Date: Fri, 22 May 2015 14:52:06 -0400
X-Google-Sender-Auth: odEqU-J44vQg-u-I_PibTbPE8ZA
Message-ID: <CAMm+LwgwLNVRu6vmb8j+MKvJHePek7XO5VSok9xXGTi4L1gAVw@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: IETF Discussion Mailing List <ietf@ietf.org>
Content-Type: multipart/alternative; boundary=001a11c23e2e24317c0516b0287f
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/R33MvesEG5LOY1ucUfap_TRzrts>
X-Mailman-Approved-At: Fri, 22 May 2015 19:15:39 -0700
Cc: IETF-Announce <ietf-announce@ietf.org>, cose WG <cose@ietf.org>
Subject: Re: [Cose] WG Review: CBOR Object Signing and Encryption (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, 22 May 2015 18:52:12 -0000

--001a11c23e2e24317c0516b0287f
Content-Type: text/plain; charset=UTF-8

As I stated in the JOSE working group, this is a very bad idea and should
not go forward.

When CBOR was proposed, the group working on it asserted that it was a
private initiative, outside IETF process and they had no obligation to
consider other design approaches. As a result they chose to design a new
binary encoding that is not based on the JSON model, offers no advantages
over the JSON model and requires protocols making use of the encoding to be
hand tweaked on a case by case basis.

If the CBOR group had been willing to accept input from outside their
closed circle, this could have been avoided.


The core problem with CBOR is that it appears that the network protocol
specification community has made a consensus decision to base all future
work on the JSON encoding specification. A binary encoding obviously cannot
be compatible with JSON but it can be compatible with the JSON data model.
CBOR throws away the JSON data model and replaces it with its own
idiosyncratic approach.

The 'need' for this new working group is purely the result of that
decision. While it is 'possible' to encode JSON in CBOR and vice versa, the
same is true of JSON and XML, XML and ASN.1 and JSON and ASN.1. Nobody
disputes that it is possible to use CBOR as a binary encoding for JSON. The
problem is that the introduction of a new and incompatible data model means
that such a mapping has to be written by hand.


It did not need to be this way. Many of us who commented on CBOR said that
we do not want any encoding that changes the JSON data model. In fact the
only limitations we find in JSON are the need to perform escaping on string
literals and the lack of a binary blob type. Rather than develop a
completely new encoding we would much prefer to simply add these two
missing features to JSON. While the result is no longer a pure text
encoding, it is close enough that we can add support by simply adding a few
extra tags to the existing JSON encoding.


One of the problems of dealing with a situation like this is that the first
response is 'make your own proposal' and if you do that the response is to
accuse detractors of clinging to their own scheme. For the record, the only
reason I wrote my counter-proposal was to demonstrate that it is possible
to develop a binary encoding of JSON that is efficient and does not require
any further work to apply it to JOSE or any other JSON based protocol.

This binary encoding is described in:

https://www.ietf.org/archive/id/draft-hallambaker-jsonbcd-02.txt

Since this encoding does not change the JSON data model, no additional
specification is required to describe the application to JOSE. Applying the
encoding to the example in the JOSE specification produces the following
results:

In JSON:   244 bytes
    Protected 35 / Payload 70 / Signature 32
In JSON-B: 165 bytes
    Protected 24 / Payload 70 / Signature 32
In JSON-C: 129 bytes
    Protected 13 / Payload 70 / Signature 32

JSON-B is JSON with minimal extensions to support binary encoding, JSON-C
adds a compression capability. While a compression capability may or may
not be desirable, it is useful to have data to make such a decision.

The issue here is not just JOSE. If this precedent is accepted we can
expect a demand for similar groups to repeat all the work that is being
done in JSON in CBOR. So after we complete ACME we will have a proposal to
start a CACME working group. And on and on and on.

Choice of binary versus text encoding should be no more than a switch like
choosing UTF8 encoding versus UTF16. If changing the position of the switch
has knock on effects in the rest of the specification there is something
seriously wrong with the design.

Choice of encoding is not an 'editor war' issue because it is a choice that
affects everyone in the user community. I want to see as much commonality
across the design space as possible. JSON is not the perfect encoding but
it does eliminate the primary objections to the use of XML and ASN.1,
namely the fact that they impose a highly convoluted and complex set of
rules for converting between data structures and the encoding. The fact
that JSON can encode the same data with equivalent or better efficiency to
XML shows that the rules are not necessary. JSON-B achieves similar
efficiency to ASN.1


The only reason this group is necessary is that CBOR is not suited to IETF
needs. Rather than starting a working group to rewrite IETF standards so
they are suited to work in CBOR we should start a working group to make
something that does the job of CBOR that is suited to use by the IETF.

IESG should reject this WG proposal and all future proposals of this type.



On Fri, May 15, 2015 at 1:25 PM, The IESG <iesg-secretary@ietf.org> wrote:

> A new IETF working group has been proposed in the Security Area. The IESG
> has not made any determination yet. The following draft charter was
> submitted, and is provided for informational purposes only. Please send
> your comments to the IESG mailing list (iesg at ietf.org) by 2015-05-25.
>
> CBOR Object Signing and Encryption (cose)
> ------------------------------------------------
> Current Status: Proposed WG
>
> 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
>
>
>

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

<div dir=3D"ltr">As I stated in the JOSE working group, this is a very bad =
idea and should not go forward.<div><br></div><div>When CBOR was proposed, =
the group working on it asserted that it was a private initiative, outside =
IETF process and they had no obligation to consider other design approaches=
. As a result they chose to design a new binary encoding that is not based =
on the JSON model, offers no advantages over the JSON model and requires pr=
otocols making use of the encoding to be hand tweaked on a case by case bas=
is.</div><div><br></div><div>If the CBOR group had been willing to accept i=
nput from outside their closed circle, this could have been avoided.</div><=
div><br></div><div><br></div><div>The core problem with CBOR is that it app=
ears that the network protocol specification community has made a consensus=
 decision to base all future work on the JSON encoding specification. A bin=
ary encoding obviously cannot be compatible with JSON but it can be compati=
ble with the JSON data model. CBOR throws away the JSON data model and repl=
aces it with its own idiosyncratic approach.=C2=A0</div><div><br></div><div=
>The &#39;need&#39; for this new working group is purely the result of that=
 decision. While it is &#39;possible&#39; to encode JSON in CBOR and vice v=
ersa, the same is true of JSON and XML, XML and ASN.1 and JSON and ASN.1. N=
obody disputes that it is possible to use CBOR as a binary encoding for JSO=
N. The problem is that the introduction of a new and incompatible data mode=
l means that such a mapping has to be written by hand.</div><div><br></div>=
<div><br></div><div>It did not need to be this way. Many of us who commente=
d on CBOR said that we do not want any encoding that changes the JSON data =
model. In fact the only limitations we find in JSON are the need to perform=
 escaping on string literals and the lack of a binary blob type. Rather tha=
n develop a completely new encoding we would much prefer to simply add thes=
e two missing features to JSON. While the result is no longer a pure text e=
ncoding, it is close enough that we can add support by simply adding a few =
extra tags to the existing JSON encoding.=C2=A0</div><div><br></div><div><b=
r></div><div>One of the problems of dealing with a situation like this is t=
hat the first response is &#39;make your own proposal&#39; and if you do th=
at the response is to accuse detractors of clinging to their own scheme. Fo=
r the record, the only reason I wrote my counter-proposal was to demonstrat=
e that it is possible to develop a binary encoding of JSON that is efficien=
t and does not require any further work to apply it to JOSE or any other JS=
ON based protocol.</div><div><br></div><div><div>This binary encoding is de=
scribed in:</div><div><br></div><div><a href=3D"https://www.ietf.org/archiv=
e/id/draft-hallambaker-jsonbcd-02.txt">https://www.ietf.org/archive/id/draf=
t-hallambaker-jsonbcd-02.txt</a></div></div><div><br></div><div>Since this =
encoding does not change the JSON data model, no additional specification i=
s required to describe the application to JOSE. Applying the encoding to th=
e example in the JOSE specification produces the following results:</div><d=
iv><pre style=3D"color:rgb(0,0,0)">In JSON:   244 bytes
    Protected 35 / Payload 70 / Signature 32
In JSON-B: 165 bytes
    Protected 24 / Payload 70 / Signature 32
In JSON-C: 129 bytes
    Protected 13 / Payload 70 / Signature 32</pre></div><div>JSON-B is JSON=
 with minimal extensions to support binary encoding, JSON-C adds a compress=
ion capability. While a compression capability may or may not be desirable,=
 it is useful to have data to make such a decision.</div><div><br></div><di=
v>The issue here is not just JOSE. If this precedent is accepted we can exp=
ect a demand for similar groups to repeat all the work that is being done i=
n JSON in CBOR. So after we complete ACME we will have a proposal to start =
a CACME working group. And on and on and on.=C2=A0</div><div><br></div><div=
>Choice of binary versus text encoding should be no more than a switch like=
 choosing UTF8 encoding versus UTF16. If changing the position of the switc=
h has knock on effects in the rest of the specification there is something =
seriously wrong with the design.<br></div><div><br></div><div>Choice of enc=
oding is not an &#39;editor war&#39; issue because it is a choice that affe=
cts everyone in the user community. I want to see as much commonality acros=
s the design space as possible. JSON is not the perfect encoding but it doe=
s eliminate the primary objections to the use of XML and ASN.1, namely the =
fact that they impose a highly convoluted and complex set of rules for conv=
erting between data structures and the encoding. The fact that JSON can enc=
ode the same data with equivalent or better efficiency to XML shows that th=
e rules are not necessary. JSON-B achieves similar efficiency to ASN.1=C2=
=A0</div><div><br></div><div><br></div><div>The only reason this group is n=
ecessary is that CBOR is not suited to IETF needs. Rather than starting a w=
orking group to rewrite IETF standards so they are suited to work in CBOR w=
e should start a working group to make something that does the job of CBOR =
that is suited to use by the IETF.</div><div><br></div><div>IESG should rej=
ect this WG proposal and all future proposals of this type.=C2=A0</div><div=
><br></div><div><br></div></div><div class=3D"gmail_extra"><br><div class=
=3D"gmail_quote">On Fri, May 15, 2015 at 1:25 PM, The IESG <span dir=3D"ltr=
">&lt;<a href=3D"mailto:iesg-secretary@ietf.org" target=3D"_blank">iesg-sec=
retary@ietf.org</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">A n=
ew IETF working group has been proposed in the Security Area. The IESG<br>
has not made any determination yet. The following draft charter was<br>
submitted, and is provided for informational purposes only. Please send<br>
your comments to the IESG mailing list (iesg at <a href=3D"http://ietf.org"=
 target=3D"_blank">ietf.org</a>) by 2015-05-25.<br>
<br>
CBOR Object Signing and Encryption (cose)<br>
------------------------------------------------<br>
Current Status: Proposed WG<br>
<br>
Assigned Area Director:<br>
=C2=A0 Kathleen Moriarty &lt;<a href=3D"mailto:Kathleen.Moriarty.ietf@gmail=
.com">Kathleen.Moriarty.ietf@gmail.com</a>&gt;<br>
<br>
Mailing list<br>
=C2=A0 Address: <a href=3D"mailto:cose@ietf.org">cose@ietf.org</a><br>
=C2=A0 To Subscribe: <a href=3D"https://www.ietf.org/mailman/listinfo/cose"=
 target=3D"_blank">https://www.ietf.org/mailman/listinfo/cose</a><br>
=C2=A0 Archive: <a href=3D"http://www.ietf.org/mail-archive/web/cose/" targ=
et=3D"_blank">http://www.ietf.org/mail-archive/web/cose/</a><br>
<br>
Charter:<br>
<br>
Concise Binary Object Representation (CBOR, RFC 7049) is a concise binary<b=
r>
format for the serialization of data structured to an extended version of<b=
r>
the JSON data model. COSE seeks to create CBOR-based object signing and<br>
encryption formats. One motivation for COSE was to reuse functionality<br>
from the JOSE working group using the CBOR data representation as it is<br>
more amenable to constrained nodes and constrained node networks (RFC<br>
7228).<br>
<br>
The JOSE working group recently completed producing representations for<br>
cryptographic keys, message authentication (MACs), encryption, and<br>
digital signatures, using JSON representation.<br>
<br>
The resulting formats will not be cryptographically convertible from or<br>
to JOSE formats. This lack of a need for bit-for-bit compatibility will<br>
enable some simplification in the adaptation process.<br>
<br>
Criteria that should be considered in the decision making process,<br>
changing from JSON to CBOR encoding include:<br>
=C2=A0 =C2=A0 o Maintain the current JOSE paradigms and formatting where fe=
asible.<br>
=C2=A0 =C2=A0 o Minimize message size, code size, and computational complex=
ity to<br>
suit constrained environments, where this is expected to=C2=A0 be used.<br>
=C2=A0 =C2=A0 o Improve security<br>
=C2=A0 =C2=A0 o Provide new functionality for additional use cases that wer=
e not<br>
required for JOSE.<br>
<br>
Key management and binding of keys to identities are out of scope for the<b=
r>
working group.=C2=A0 The COSE WG will not innovate in terms of cryptography=
.<br>
The specification of algorithms in COSE is limited to those in RFCs or<br>
active IETF WG documents.<br>
<br>
The working group will coordinate its progress with the ACE, DICE and<br>
CORE working groups to ensure that we are fulfilling the needs of these<br>
constituencies to the extent relevant to their work. Other groups may be<br=
>
added to this list as the set of use cases is expanded.<br>
<br>
The WG will have two deliverables:<br>
<br>
1. A standards-track specification covering the same cryptographic<br>
formats from JOSE, with optimizations for constrained device processing,<br=
>
expressed in CBOR;<br>
2. Registration for algorithms (such as AES-CCM-8) that are appropriate<br>
for constrained environments.<br>
The Working Group will use a wiki to track desired use cases for its<br>
work, but does not intend to publish this as an RFC.<br>
<br>
Milestones:<br>
=C2=A0 Jun 2015 - Submit COSE specification as a WG item<br>
=C2=A0 Jun 2015 - Submit COSE constrained-appropriate algorithms as a WG it=
em<br>
=C2=A0 Jan 2016 - Submit COSE specification to the IESG, for publication as=
 a<br>
Proposed Standard<br>
=C2=A0 Jan 2016 - Submit COSE constrained-appropriate algorithms to the IES=
G,<br>
for publication as a Proposed Standard<br>
<br>
<br>
</blockquote></div><br></div>

--001a11c23e2e24317c0516b0287f--


From nobody Fri May 22 19:15:41 2015
Return-Path: <nico@cryptonector.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 D1D3A1A87E6; Fri, 22 May 2015 14:04:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.034
X-Spam-Level: *
X-Spam-Status: No, score=1.034 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, 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 Hh7O-sZ-bpDg; Fri, 22 May 2015 14:04:18 -0700 (PDT)
Received: from homiemail-a54.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id 3ABB31A8889; Fri, 22 May 2015 14:04:18 -0700 (PDT)
Received: from homiemail-a54.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a54.g.dreamhost.com (Postfix) with ESMTP id E9B5740120658; Fri, 22 May 2015 14:04:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=eYFIi3GMtP1n+c DQBhVe8HdcX4o=; b=e92ZHGhYsczgecBGcAVua0H5LC0Zxg2X7bH8n/u2XDCoXG 1BI1lTeNf/FwBD3RB2DErvunDAdv0MuY9eud4K9w28M/y0QlFfuc2BHWiutWCfbL y545KuxidDz+OYQUA2duu5Iy35BT3oEc+e3+hragicgnjsfanPzApTaGdP8/M=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a54.g.dreamhost.com (Postfix) with ESMTPA id 69A8F400DC13C; Fri, 22 May 2015 14:04:17 -0700 (PDT)
Date: Fri, 22 May 2015 16:04:16 -0500
From: Nico Williams <nico@cryptonector.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
Message-ID: <20150522210306.GH3791@localhost>
References: <20150515172554.1006.60355.idtracker@ietfa.amsl.com> <CAMm+LwgwLNVRu6vmb8j+MKvJHePek7XO5VSok9xXGTi4L1gAVw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAMm+LwgwLNVRu6vmb8j+MKvJHePek7XO5VSok9xXGTi4L1gAVw@mail.gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/XmPNm5IxsNNS81LoR60JwqWZ0Vg>
X-Mailman-Approved-At: Fri, 22 May 2015 19:15:39 -0700
Cc: IETF Discussion Mailing List <ietf@ietf.org>, IETF-Announce <ietf-announce@ietf.org>, cose WG <cose@ietf.org>
Subject: Re: [Cose] WG Review: CBOR Object Signing and Encryption (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, 22 May 2015 21:04:19 -0000

On Fri, May 22, 2015 at 02:52:06PM -0400, Phillip Hallam-Baker wrote:
> It did not need to be this way. Many of us who commented on CBOR said that
> we do not want any encoding that changes the JSON data model. In fact the
> only limitations we find in JSON are the need to perform escaping on string
> literals and the lack of a binary blob type. Rather than develop a [...]

Also inefficiency as to numbers.  In a binary protocol ideally numbers
could be sent in whatever format is easiest for the sender (e.g.,
little-endian IEEE754 doubles).

All I wanted was: chunking for strings, which effectively takes care of
the need for a binary type, and binary numbers.  CBOR added a datetime
type, optional tagging of items, and who knows what else.

> IESG should reject this WG proposal and all future proposals of this type.

+1 to this and Sam's take.

Nico
-- 


From nobody Fri May 22 19:15:43 2015
Return-Path: <nico@cryptonector.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 CB18E1A8A08; Fri, 22 May 2015 16:54:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.034
X-Spam-Level: *
X-Spam-Status: No, score=1.034 tagged_above=-999 required=5 tests=[BAYES_50=0.8, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, 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 GQAeJRvf8Upr; Fri, 22 May 2015 16:54:45 -0700 (PDT)
Received: from homiemail-a54.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id 03C3E1A89F5; Fri, 22 May 2015 16:54:44 -0700 (PDT)
Received: from homiemail-a54.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a54.g.dreamhost.com (Postfix) with ESMTP id B95F1400F8E11; Fri, 22 May 2015 16:54:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=i582FspZ1x27wZ o5BqYCTGi4un0=; b=xhtjILZPn3KY3PgzFN9870ylT4ZI+ebnOD+aC9uCDi/qKD 3OH5q33B0XHUhnvbvLT1mEfxdFF/6aoU6EyQtVgUqIF8gYHG8aWvPRjx9z6xZYc6 SOwPEuLcEYEC9U/05ls4kZ6rqbhv6aHEeb8/WVqDuMJOh0Yxu12wLAPMVqPT4=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a54.g.dreamhost.com (Postfix) with ESMTPA id 6ECD7400F8E10; Fri, 22 May 2015 16:54:43 -0700 (PDT)
Date: Fri, 22 May 2015 18:54:42 -0500
From: Nico Williams <nico@cryptonector.com>
To: IETF Discussion Mailing List <ietf@ietf.org>
Message-ID: <20150522235442.GA2166@localhost>
References: <20150515172554.1006.60355.idtracker@ietfa.amsl.com> <CAMm+LwgwLNVRu6vmb8j+MKvJHePek7XO5VSok9xXGTi4L1gAVw@mail.gmail.com> <20150522210306.GH3791@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20150522210306.GH3791@localhost>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/CA1q9JmzzPoZXBIHI_hTte1p5-Y>
X-Mailman-Approved-At: Fri, 22 May 2015 19:15:39 -0700
Cc: cose@ietf.org
Subject: Re: [Cose] WG Review: CBOR Object Signing and Encryption (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, 22 May 2015 23:54:46 -0000

I should clarify that my objection is to a working group IF a JOSE->CBOR
mapping is trivial enough, and if it's not trivial due to CBOR having a
different data model from JOSE, well, then there's Phillip's I-told-you-
so.

Also, COSE is predicated on constrained devices ("class 1"), and some
thought convinces me that it is true that [at least a profile of] CBOR
is easier to implement than JSON, but mostly that's a function of a)
being able to use base-2 number representations on the wire, and b) not
having to escape/unescape strings.  Decimal<->IEEE754 conversions are
easily the trickiest part of any decent JSON parser/encoder, so I'm
quire prepared to believe that CBOR is easier to implement on class 1
constrained devices.

Now, looking again at the WG proposal, there are deliverables that go
beyond merely mapping JOSE onto CBOR, so perhaps there is enough work
for a WG.  Therefore I retract my opposition.

Nico
-- 


From nobody Tue May 26 12:50:38 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 8D1701A212A; Tue, 26 May 2015 12:50:33 -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 6vTKjfVngySl; Tue, 26 May 2015 12:50:31 -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 E12061A008F; Tue, 26 May 2015 12:50:30 -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 t4QJoRR9003398; Tue, 26 May 2015 21:50:27 +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 3lx5Vq1nGSz8xsg; Tue, 26 May 2015 21:50:27 +0200 (CEST)
Message-ID: <5564CE81.7040904@tzi.org>
Date: Tue, 26 May 2015 21:50:25 +0200
From: Carsten Bormann <cabo@tzi.org>
User-Agent: Postbox 3.0.11 (Macintosh/20140602)
MIME-Version: 1.0
To: Andrew Newton <andy@hxr.us>
References: <20150515172554.1006.60355.idtracker@ietfa.amsl.com> <CAMm+LwgwLNVRu6vmb8j+MKvJHePek7XO5VSok9xXGTi4L1gAVw@mail.gmail.com> <CAAQiQRdXJHNNoJ4_iCR32UyC7PUHcNU0EUNbmLAkXaPA7-OLVQ@mail.gmail.com>
In-Reply-To: <CAAQiQRdXJHNNoJ4_iCR32UyC7PUHcNU0EUNbmLAkXaPA7-OLVQ@mail.gmail.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/B8OpWX8DJ7NkV31Epfn1KRUFDMQ>
Cc: cose WG <cose@ietf.org>, IETF Discussion Mailing List <ietf@ietf.org>, "iesg@ietf.org" <iesg@ietf.org>
Subject: Re: [Cose] WG Review: CBOR Object Signing and Encryption (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: Tue, 26 May 2015 19:50:33 -0000

Andrew Newton wrote:
> Fair enough, however basing further IETF work on it may not be wrong but
> does not seem right either. 

CBOR is getting a lot of traction in the constrained node networking
space (the low-resource part of the "Internet of Things"), which is not
surprising as it was designed for hat.
Not basing further IETF work on CBOR would ensure the IETF loses impact
there, and would accomplish what?

> I also noticed that the active draft for this effort has a normative
> dependency on CDDL.

How best to write up the spec is indeed an interesting issue.

For now, CDDL is a good way to discuss the draft, much better than
lobbing around large quantities of ambiguous English prose.
But then, CDDL is still being tweaked, and it is not clear that the IETF
wants to give this language a role similar to the one ABNF has for text,
or (even if that is at some point accepted as a reasonable thing to do)
would want to reach a decision on something like this before COSE is done.

So, once the remaining decisions have been taken, the CDDL snippets will
probably move to an appendix, and will be replaced in their normative
role by gobs of ambiguous English prose.  With any luck, we may be able
to generate that automatically from the CDDL (just as we are already
checking the examples automatically against the CDDL).

(Kudos, by the way, for the concepts the CDDL authors could steal from
JCR; what a great source of inspiration.)

Grüße, Carsten


From nobody Wed May 27 03:40:46 2015
Return-Path: <andy@hxr.us>
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 20DF41B2FDE for <cose@ietfa.amsl.com>; Tue, 26 May 2015 11:31:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.977
X-Spam-Level: 
X-Spam-Status: No, score=-1.977 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=unavailable
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 5zsklu54YJPD for <cose@ietfa.amsl.com>; Tue, 26 May 2015 11:31:39 -0700 (PDT)
Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) (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 87A421B2FDF for <cose@ietf.org>; Tue, 26 May 2015 11:31:37 -0700 (PDT)
Received: by wizk4 with SMTP id k4so86839548wiz.1 for <cose@ietf.org>; Tue, 26 May 2015 11:31:36 -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:date :message-id:subject:from:to:cc:content-type; bh=GRo0pQUsVQb1WHvmBCdgUmyRaAEhJi8CIX15wA7+RnE=; b=AnHbmqC09XSV8/R6B0L4nUXMV2UK0P61TLmdHORwY3eEIHSL6KtXgkHwLpoxttSr7A OJY3J11mZ5GzfGtGHzOtGca08+OjP/6Htx7fN9ZTnbMRM7O4Yc5+P9dk3oefMxbzg0yJ r2mrTZ9mfBPrGqwfzSd4HyZJxhrrVezPqdaNDFwLYTcrAR83zGcvMZ0jfuNBEA95PYv7 NDL3z7W1+Dkf5GBySQs+46N6eYP85w92IfKIinDJA6G7JD+sEH3wm76gW6WsO3nZYCAc 5olglx4ARB1Ts8Ez8t4YcY/HF12yKCsL6I9UUxVGyn8u4BKUCt9erzxdz3vTcKXwirwD MJvg==
X-Gm-Message-State: ALoCoQkVF1BZdbHoE0/W6hppkNbBFw4uMQLnftW0j77MMskSyiP/rhF1LLYxNKSMV60CRNbJD2Pj
MIME-Version: 1.0
X-Received: by 10.180.106.97 with SMTP id gt1mr11481702wib.37.1432665096204; Tue, 26 May 2015 11:31:36 -0700 (PDT)
Received: by 10.194.249.99 with HTTP; Tue, 26 May 2015 11:31:36 -0700 (PDT)
X-Originating-IP: [2001:500:4:15:6d13:f92f:21d4:d470]
In-Reply-To: <CAMm+LwgwLNVRu6vmb8j+MKvJHePek7XO5VSok9xXGTi4L1gAVw@mail.gmail.com>
References: <20150515172554.1006.60355.idtracker@ietfa.amsl.com> <CAMm+LwgwLNVRu6vmb8j+MKvJHePek7XO5VSok9xXGTi4L1gAVw@mail.gmail.com>
Date: Tue, 26 May 2015 14:31:36 -0400
Message-ID: <CAAQiQRdXJHNNoJ4_iCR32UyC7PUHcNU0EUNbmLAkXaPA7-OLVQ@mail.gmail.com>
From: Andrew Newton <andy@hxr.us>
To: IETF Discussion Mailing List <ietf@ietf.org>, "iesg@ietf.org" <iesg@ietf.org>
Content-Type: multipart/alternative; boundary=f46d04428066244d77051700560f
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/ag0tDDciZKjy_2mGY26jUYXShsQ>
X-Mailman-Approved-At: Wed, 27 May 2015 03:40:44 -0700
Cc: Phillip Hallam-Baker <phill@hallambaker.com>, cose WG <cose@ietf.org>
Subject: Re: [Cose] WG Review: CBOR Object Signing and Encryption (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: Tue, 26 May 2015 18:31:40 -0000

--f46d04428066244d77051700560f
Content-Type: text/plain; charset=UTF-8

First, I appreciate the effort that went into this charter text. It is
clear, understandable, and properly focused.

That being said...

On Fri, May 22, 2015 at 2:52 PM, Phillip Hallam-Baker <phill@hallambaker.com>
wrote:
> When CBOR was proposed, the group working on it asserted that it was a
> private initiative, outside IETF process and they had no obligation to
> consider other design approaches.

There was an appeal regarding the publication of CBOR for which the outcome
was: 1) IETF process was not followed, and 2) but the RFC is already
published and some bells cannot be unrung. Fair enough, however basing
further IETF work on it may not be wrong but does not seem right either.
Phillip, having been active in the JSON wg and a known security-area
participant, has a broader point that different design decisions may have
been made had we known things would go this far.

I also noticed that the active draft for this effort has a normative
dependency on CDDL. Working groups such as TZDIST were told they could not
normatively depend on JCR. Again, fair enough. But what is to happen here?
Given the parallels drawn between CBOR and JSON, it would be unfortunate
for the IETF to bless one "JSON schema language" without a wider
discussion. I am not saying they shouldn't use CDDL, but it would be best
if the relationship between it and JSON were more clearly understood.

-andy

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

<div dir=3D"ltr"><div>First, I appreciate the effort that went into this ch=
arter text. It is clear, understandable, and properly focused.</div><div><b=
r></div><div>That being said...</div><br>On Fri, May 22, 2015 at 2:52 PM, P=
hillip Hallam-Baker &lt;<a href=3D"mailto:phill@hallambaker.com">phill@hall=
ambaker.com</a>&gt; wrote:<br>&gt; When CBOR was proposed, the group workin=
g on it asserted that it was a<br>&gt; private initiative, outside IETF pro=
cess and they had no obligation to<br>&gt; consider other design approaches=
.<br><br>There was an appeal regarding the publication of CBOR for which th=
e outcome was: 1) IETF process was not followed, and 2) but the RFC is alre=
ady published and some bells cannot be unrung. Fair enough, however basing =
further IETF work on it may not be wrong but does not seem right either. Ph=
illip, having been active in the JSON wg and a known security-area particip=
ant, has a broader point that different design decisions may have been made=
 had we known things would go this far.<div><br></div><div>I also noticed t=
hat the active draft for this effort has a normative dependency on CDDL. Wo=
rking groups such as TZDIST were told they could not normatively depend on =
JCR. Again, fair enough. But what is to happen here? Given the parallels dr=
awn between CBOR and JSON, it would be unfortunate for the IETF to bless on=
e &quot;JSON schema language&quot; without a wider discussion. I am not say=
ing they shouldn&#39;t use CDDL, but it would be best if the relationship b=
etween it and JSON were more clearly understood.</div><div><br></div><div>-=
andy</div></div>

--f46d04428066244d77051700560f--


From nobody Wed May 27 03:56:16 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 778B01ACD0A; Wed, 27 May 2015 03:56:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.35
X-Spam-Level: 
X-Spam-Status: No, score=0.35 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HELO_EQ_DE=0.35, HTML_MESSAGE=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 0OHbUVYfIHZD; Wed, 27 May 2015 03:56:11 -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 132C91A87C5; Wed, 27 May 2015 03:56:10 -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 t4RAu3Tg018915; Wed, 27 May 2015 12:56:03 +0200 (CEST)
Received: from alma.local (unknown [IPv6:2002:8666:da7b:0:94cb:259:d06b:b7c7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by submithost.informatik.uni-bremen.de (Postfix) with ESMTPSA id 3lxTbk5PCMz8xtC; Wed, 27 May 2015 12:56:02 +0200 (CEST)
Date: Wed, 27 May 2015 12:56:02 +0200
From: Carsten Bormann <cabo@tzi.org>
To: Nico Williams <nico@cryptonector.com>, IETF Discussion Mailing List <ietf@ietf.org>
Message-ID: <etPan.5565a2c2.14131b52.7e3b@alma.local>
In-Reply-To: <20150522235442.GA2166@localhost>
References: <20150515172554.1006.60355.idtracker@ietfa.amsl.com> <CAMm+LwgwLNVRu6vmb8j+MKvJHePek7XO5VSok9xXGTi4L1gAVw@mail.gmail.com> <20150522210306.GH3791@localhost> <20150522235442.GA2166@localhost>
X-Mailer: Airmail (303)
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="5565a2c2_dcc3b3a_7e3b"
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/efUBSUgG-ZcV7avKPmMGbrgMMhc>
Cc: cose@ietf.org
Subject: Re: [Cose] WG Review: CBOR Object Signing and Encryption (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: Wed, 27 May 2015 10:56:12 -0000

--5565a2c2_dcc3b3a_7e3b
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On 23 May 2015 at 04:16:00, Nico Williams (nico=40cryptonector.com) wrote=
:
I should clarify that my objection is to a working group I=46 a JOSE->CBO=
R=C2=A0
mapping is trivial enough,=C2=A0
The CBOR data model is a superset of the JSON data model, so a trivial tr=
anslation of JOSE to CBOR is indeed trivial.

Doing such a trivial mapping would be completely misguided, though, as CB=
OR has additional capabilities, and the efficiencies we need in the const=
rained node network environment are indeed made possible by those additio=
nal capabilities =5B1=5D. =C2=A0So the main work of the WG will simply be=
 about how exactly to use those capabilities. =C2=A0(It all looks trivial=
 on a napkin, but a few bikesheds still have to be painted.) =C2=A0Any ot=
her hypothetical approach that adds binary capabilities to the JSON data =
model will need to do this kind of work, bold statements to the contrary =
notwithstanding.

The lack of a need for backward compatibility with dusty JavaScript decks=
 also means that a few unsavory details of JOSE can be cleaned up in the =
process (e.g., JOSE muddles up MACs and signatures, which is easily fixed=
). =C2=A0The WG clearly is mandated to be rather conservative in those cl=
eanups.

Now, looking again at the WG proposal, there are deliverables that go=C2=A0=

beyond merely mapping JOSE onto CBOR, so perhaps there is enough work=C2=A0=

for a WG. Therefore I retract my opposition.=C2=A0
Thank you.

Gr=C3=BC=C3=9Fe, Carsten

=5B1=5D: http://www.ietf.org/proceedings/90/slides/slides-90-jose-2.pdf


--5565a2c2_dcc3b3a_7e3b
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<html><head><style>body=7Bfont-family:Helvetica,Arial;font-size:13px=7D</=
style></head><body style=3D=22word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space;=22><div id=3D=22bloop=5Fcust=
omfont=22 style=3D=22font-family:Helvetica,Arial;font-size:13px; color: r=
gba(0,0,0,1.0); margin: 0px; line-height: auto;=22>On 23 May 2015 at 04:1=
6:00, Nico Williams (<a href=3D=22mailto:nico=40cryptonector.com=22>nico=40=
cryptonector.com</a>) wrote:</div> <div><blockquote type=3D=22cite=22 cla=
ss=3D=22clean=5Fbq=22 style=3D=22color: rgb(0, 0, 0); font-family: Helvet=
ica, Arial; font-size: 13px; font-style: normal; font-variant: normal; fo=
nt-weight: normal; letter-spacing: normal; line-height: normal; orphans: =
auto; text-align: start; text-indent: 0px; text-transform: none; white-sp=
ace: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;=22><span><div><div></div><div>I should clarify that my objection is =
to a working group I=46 a JOSE-&gt;CBOR<span class=3D=22Apple-converted-s=
pace=22>&nbsp;</span><br>mapping is trivial enough,<span class=3D=22Apple=
-converted-space=22>&nbsp;</span></div></div></span></blockquote></div><p=
>The CBOR data model is a superset of the JSON data model, so a trivial t=
ranslation of JOSE to CBOR is indeed trivial.</p><p>Doing such a trivial =
mapping would be completely misguided, though, as CBOR has additional cap=
abilities, and the efficiencies we need in the constrained node network e=
nvironment are indeed made possible by those additional capabilities =5B1=
=5D. &nbsp;So the main work of the WG will simply be about how exactly to=
 use those capabilities. &nbsp;(It all looks trivial on a napkin, but a f=
ew bikesheds still have to be painted.) &nbsp;Any other hypothetical appr=
oach that adds binary capabilities to the JSON data model will need to do=
 this kind of work, bold statements to the contrary notwithstanding.</p><=
p>The lack of a need for backward compatibility with dusty JavaScript dec=
ks also means that a few unsavory details of JOSE can be cleaned up in th=
e process (e.g., JOSE muddles up MACs and signatures, which is easily fix=
ed). &nbsp;The WG clearly is mandated to be rather conservative in those =
cleanups.</p><div><div><blockquote type=3D=22cite=22 class=3D=22clean=5Fb=
q=22 style=3D=22color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-=
size: 13px; font-style: normal; font-variant: normal; font-weight: normal=
; letter-spacing: normal; line-height: normal; orphans: auto; text-align:=
 start; text-indent: 0px; text-transform: none; white-space: normal; wido=
ws: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;=22><span><di=
v><div>Now, looking again at the WG proposal, there are deliverables that=
 go<span class=3D=22Apple-converted-space=22>&nbsp;</span><br>beyond mere=
ly mapping JOSE onto CBOR, so perhaps there is enough work<span class=3D=22=
Apple-converted-space=22>&nbsp;</span><br>for a WG. Therefore I retract m=
y opposition.<span class=3D=22Apple-converted-space=22>&nbsp;</span></div=
></div></span></blockquote></div><p>Thank you.</p><p>Gr=C3=BC=C3=9Fe, Car=
sten</p><p>=5B1=5D: http://www.ietf.org/proceedings/90/slides/slides-90-j=
ose-2.pdf</p><div></div></div></body></html>
--5565a2c2_dcc3b3a_7e3b--


From nobody Wed May 27 07:38:17 2015
Return-Path: <andy@hxr.us>
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 A1A4A1A89B9 for <cose@ietfa.amsl.com>; Wed, 27 May 2015 07:38:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.078
X-Spam-Level: 
X-Spam-Status: No, score=-0.078 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=unavailable
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 8lZ8lm0zNZ7t for <cose@ietfa.amsl.com>; Wed, 27 May 2015 07:38:13 -0700 (PDT)
Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) (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 D43521B2B82 for <cose@ietf.org>; Wed, 27 May 2015 07:38:03 -0700 (PDT)
Received: by wicmc15 with SMTP id mc15so95973280wic.1 for <cose@ietf.org>; Wed, 27 May 2015 07:38:02 -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:date :message-id:subject:from:to:cc:content-type; bh=KbsuglCorg4Smxe0HTCrujg8e1iQ6cjztnzPLzc9SlM=; b=dLNX81iEyayo8pdYGVCQ6+T3oP6U0FxRWp4g4JzMphJtbtstaNv3aRjZ5CFIfYHdZx jx4PKwvV4+q+x2VU1azq3RGdfDLXcIzkg3RK8xZCJlkIzxd1LTmxZBRU73+txS8MwR26 SvXsZpzJIcXe/Cup75yaWjyB9FOIv9oKgFMjaf7rtc931aJt3uZCbbMRaxrPfCQNmytF Idw/uKAuLV00EVNcNhuz+NLTHG91LzUG+x1yjYpLMg2TjxQDLm7JhWLa9JDNZcl1LE3u UXVChlpkI7nzndc8KPEq09F5VvvogfvhL3DZEkfWOfi+OjWpdwumuhL7YjFlOV7ldRN5 3F3Q==
X-Gm-Message-State: ALoCoQmHLCPyRlldsYJ7tumqzHnvdijnWJKxozXgt5XD6PHEc+dGhoTc8gK182PLMEcxu55DoOxj
MIME-Version: 1.0
X-Received: by 10.194.5.135 with SMTP id s7mr60524293wjs.115.1432737482610; Wed, 27 May 2015 07:38:02 -0700 (PDT)
Received: by 10.194.249.99 with HTTP; Wed, 27 May 2015 07:38:02 -0700 (PDT)
X-Originating-IP: [2001:500:4:15:6d13:f92f:21d4:d470]
In-Reply-To: <5564CE81.7040904@tzi.org>
References: <20150515172554.1006.60355.idtracker@ietfa.amsl.com> <CAMm+LwgwLNVRu6vmb8j+MKvJHePek7XO5VSok9xXGTi4L1gAVw@mail.gmail.com> <CAAQiQRdXJHNNoJ4_iCR32UyC7PUHcNU0EUNbmLAkXaPA7-OLVQ@mail.gmail.com> <5564CE81.7040904@tzi.org>
Date: Wed, 27 May 2015 10:38:02 -0400
Message-ID: <CAAQiQRdKa1kXk82OkHyT1HGNJWvGtZk3pVY3Y5yCiwkXC9pg2Q@mail.gmail.com>
From: Andrew Newton <andy@hxr.us>
To: Carsten Bormann <cabo@tzi.org>
Content-Type: multipart/alternative; boundary=047d7b5d5896b532f20517113083
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/s0BChVLKkQ6Ip0Co3X7kb5leIcQ>
Cc: cose WG <cose@ietf.org>, IETF Discussion Mailing List <ietf@ietf.org>, "iesg@ietf.org" <iesg@ietf.org>
Subject: Re: [Cose] WG Review: CBOR Object Signing and Encryption (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: Wed, 27 May 2015 14:38:14 -0000

--047d7b5d5896b532f20517113083
Content-Type: text/plain; charset=UTF-8

On Tue, May 26, 2015 at 3:50 PM, Carsten Bormann <cabo@tzi.org> wrote:

> Not basing further IETF work on CBOR would ensure the IETF loses impact
> there, and would accomplish what?
>
>
To head off one of those threads where arguments are rehashed repeatedly, I
think I'm gonna let the arguments given by Phillip and Sam stand on their
own now that I've stated my concern.


> > I also noticed that the active draft for this effort has a normative
> > dependency on CDDL.
>
> How best to write up the spec is indeed an interesting issue.
>
> For now, CDDL is a good way to discuss the draft, much better than
> lobbing around large quantities of ambiguous English prose.
>

You and I agree here. I favor whatever it takes to make CDDL a viable
normative reference, so long as it doesn't preclude other efforts.

-andy

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On Tue, May 26, 2015 at 3:50 PM, Carsten Bormann <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:cabo@tzi.org" target=3D"_blank">cabo@tzi.org</a>&gt;</span> w=
rote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;borde=
r-left:1px #ccc solid;padding-left:1ex"><div id=3D":30f" class=3D"a3s" styl=
e=3D"overflow:hidden">Not basing further IETF work on CBOR would ensure the=
 IETF loses impact<br>
there, and would accomplish what?<br>
<span class=3D""><br></span></div></blockquote><div><br></div><div>To head =
off one of those threads where arguments are rehashed repeatedly, I think I=
&#39;m gonna let the arguments given by Phillip and Sam stand on their own =
now that I&#39;ve stated my concern.</div><div>=C2=A0</div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;pad=
ding-left:1ex"><div id=3D":30f" class=3D"a3s" style=3D"overflow:hidden"><sp=
an class=3D"">
&gt; I also noticed that the active draft for this effort has a normative<b=
r>
&gt; dependency on CDDL.<br>
<br>
</span>How best to write up the spec is indeed an interesting issue.<br>
<br>
For now, CDDL is a good way to discuss the draft, much better than<br>
lobbing around large quantities of ambiguous English prose.</div></blockquo=
te></div><br>You and I agree here. I favor whatever it takes to make CDDL a=
 viable normative reference, so long as it doesn&#39;t preclude other effor=
ts.</div><div class=3D"gmail_extra"><br></div><div class=3D"gmail_extra">-a=
ndy</div></div>

--047d7b5d5896b532f20517113083--


From nobody Wed May 27 09:34:54 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 E5BA21A700C for <cose@ietfa.amsl.com>; Wed, 27 May 2015 09:34:52 -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 YUyRCGTKwgfc for <cose@ietfa.amsl.com>; Wed, 27 May 2015 09:34:51 -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 BB0F81A701A for <cose@ietf.org>; Wed, 27 May 2015 09:34:36 -0700 (PDT)
Received: from hebrews (c-24-21-96-37.hsd1.or.comcast.net [24.21.96.37]) (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 1700A38EEF for <cose@ietf.org>; Wed, 27 May 2015 09:34:36 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: <cose@ietf.org>
Date: Wed, 27 May 2015 09:34:36 -0700
Message-ID: <033201d0989b$05a3fb50$10ebf1f0$@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: AdCYmHCuRWNxkz9wSmGis3qLNLwTBQ==
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/h8IHEfhzHzZn30-Sl98QU3n50m8>
Subject: [Cose] ISSUE: Algorithm parameters grouping and location
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: Wed, 27 May 2015 16:34:53 -0000

Questions:

1.  Should we create a grouping for algorithm parameters?

2.  Should we move IV from a top level item to an algorithm parameter?

Discussion:

When one looks at algorithm parameters there are two types, those that are
long term (i.e. shared secrets, public keys, curves) and for a specific
usage (nonces, iteration counts).  The current system places all of the
short term algorithm parameters into the protected or unprotected header
map.  Thus for ECDH you get

{"protected": {"apu": "base64", "apv": "base64", "alg": "ECDH-ES", "kid":
"my first key"}}

If you grouped them together you would get

{"protected": {"alg":"ECDH-ES", "kid": "my first key",
"alg-params":{"apu":"base64", "apv":"base64"}}

I think that I remember this issue being discussed briefly in the JOSE
working group and the decisions was made to keep things flat because it was
thought to be simpler.   (The proposal was not quite the same as alg and
alg-params were folded together.) If this change was made it would be at a
cost of 2 bytes for every structure.  The major benefit would probably be
seen at registration time as it is easier to figure out if there are
registry duplication where each registration would be on a per algorithm
basis rather than on a global basis.  It might be possible to have a range
of values in the header key table that has the values re-used for different
algorithms rather than to have different identifiers used for different
algorithms.   This might mean that "nonce" and "salt" could have the same
key identification value since one of them is for AES-GCM and one of them is
for PBSE key derivation.  Thus their usage should never overlap.

As part of thinking about this, I was also wondering if we should move the
IV from a top level item to become a header parameter.  This is a wash in
terms of size when maps are used and a gain of one byte per recipient if
more than one recipient is used for encryption if arrays are used at the top
level.  There is no big reason to do it from a size perspective, but it
makes sense to do it from a conceptual perspective as it is the only
"per-use" algorithm parameter which is at the top level and not in the
header maps.  It did not make any real difference for JOSE since the same
structure was not used for both the content and recipient encryption and all
content encryption algorithms required an IV to be present.

Jim



From nobody Wed May 27 15:31:00 2015
Return-Path: <ben@nostrum.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 773A01ACDDA; Wed, 27 May 2015 15:30:57 -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] 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 7lY9tjCtiDG3; Wed, 27 May 2015 15:30:56 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 5730D1ACDD7; Wed, 27 May 2015 15:30:56 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "Ben Campbell" <ben@nostrum.com>
To: "The IESG" <iesg@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.0.3.p1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20150527223056.7066.40172.idtracker@ietfa.amsl.com>
Date: Wed, 27 May 2015 15:30:56 -0700
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/765FGZJHLoK5XxEpCZvWJb53OTU>
Cc: cose@ietf.org
Subject: [Cose] Ben Campbell's No Objection on charter-ietf-cose-00-02: (with COMMENT)
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, 27 May 2015 22:30:57 -0000

Ben Campbell has entered the following ballot position for
charter-ietf-cose-00-02: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)



The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/charter-ietf-cose/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

Thanks for addressing my previous comment.



From nobody Wed May 27 23:54:06 2015
Return-Path: <hallam@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 5548B1A90DE; Wed, 27 May 2015 12:54:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level: 
X-Spam-Status: No, score=-1.277 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r_lIbaYdGODJ; Wed, 27 May 2015 12:53:57 -0700 (PDT)
Received: from mail-la0-x232.google.com (mail-la0-x232.google.com [IPv6:2a00:1450:4010:c03::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 1CC1E1A90C7; Wed, 27 May 2015 12:53:57 -0700 (PDT)
Received: by labko7 with SMTP id ko7so11978889lab.2; Wed, 27 May 2015 12:53:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=tlJY8v57PI+J4AE5J323iwZ6u7vayzh/K26PcfQxcYc=; b=PhUX+k8PFXLzTbWD1Ak4kZVaKIhmEFqUa/QKHw+uWayOqkuUQyqqv7TD515q8gxWBC 0fFWKOOgjX1XMWlyx6ANaQtqWydpHummWqeROlSX6UjIhWc8D2fhp+Ko4dj+uSKsfJyC yjIA5ks6JqBn3cqA6iy7A86ILEJanR2zngbwUsD+k0LqwNyCO3OeXh+TWI0BeVAvkLqy W+mkPLvbGenTRYWY7e6JQ7ZG3eSuWSjrBUPSqivzLcepI+eiDoUmooLJV9avpRpG+mfW lH645OvXuadF3JPE2hWSjwr57ywC3KlXSN/sX2TGQg1Kj5MWfYhoBq+TW8rfp/HLExwy gP3w==
MIME-Version: 1.0
X-Received: by 10.152.36.65 with SMTP id o1mr30233178laj.55.1432756435458; Wed, 27 May 2015 12:53:55 -0700 (PDT)
Sender: hallam@gmail.com
Received: by 10.112.203.163 with HTTP; Wed, 27 May 2015 12:53:55 -0700 (PDT)
In-Reply-To: <etPan.5565a2c2.14131b52.7e3b@alma.local>
References: <20150515172554.1006.60355.idtracker@ietfa.amsl.com> <CAMm+LwgwLNVRu6vmb8j+MKvJHePek7XO5VSok9xXGTi4L1gAVw@mail.gmail.com> <20150522210306.GH3791@localhost> <20150522235442.GA2166@localhost> <etPan.5565a2c2.14131b52.7e3b@alma.local>
Date: Wed, 27 May 2015 15:53:55 -0400
X-Google-Sender-Auth: sGhDDl8BeKBS7hcIdoPeYBNjdx8
Message-ID: <CAMm+LwhUc2O9hbFcbEBXh6VN03VMi2Z9qAvz7qe00Qw8TJO_nA@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: Carsten Bormann <cabo@tzi.org>
Content-Type: multipart/alternative; boundary=089e0158b6c262a2db0517159a04
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/pTVdUNrPh8YM1P8D4VDJfZ_za4Y>
X-Mailman-Approved-At: Wed, 27 May 2015 23:54:03 -0700
Cc: Nico Williams <nico@cryptonector.com>, IETF Discussion Mailing List <ietf@ietf.org>, cose WG <cose@ietf.org>
Subject: Re: [Cose] WG Review: CBOR Object Signing and Encryption (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: Wed, 27 May 2015 19:54:00 -0000

--089e0158b6c262a2db0517159a04
Content-Type: text/plain; charset=UTF-8

On Wed, May 27, 2015 at 6:56 AM, Carsten Bormann <cabo@tzi.org> wrote:

> On 23 May 2015 at 04:16:00, Nico Williams (nico@cryptonector.com) wrote:
>
> I should clarify that my objection is to a working group IF a JOSE->CBOR
> mapping is trivial enough,
>
> The CBOR data model is a superset of the JSON data model, so a trivial
> translation of JOSE to CBOR is indeed trivial.
>
It is a rather complex superset.


> Doing such a trivial mapping would be completely misguided, though, as
> CBOR has additional capabilities, and the efficiencies we need in the
> constrained node network environment are indeed made possible by those
> additional capabilities [1].
>
I note that you still haven't answered my challenge on data encoding
efficiency. My JSON-C encoding shows what can be achieved using the JSON
data model with only the addition of a binary blob data type. I posted the
encoding for the JOSE signing example shortly after Dallas.

What your constrained node example needs is a better encoding for JSON, not
the introduction of yet another encoding for a random data model.

So the main work of the WG will simply be about how exactly to use those
> capabilities.  (It all looks trivial on a napkin, but a few bikesheds still
> have to be painted.)  Any other hypothetical approach that adds binary
> capabilities to the JSON data model will need to do this kind of work, bold
> statements to the contrary notwithstanding.
>
My encoding is generated entirely mechanically. Switching from a text
encoding to binary means simply choosing a different encoding method. Using
compressed tags is slightly more complicated in that a dictionary has to be
compiled, but that is at worst a registration effort.

I repeat that no Working Group effort is required or desired for applying
the encoding to JOSE, ACME or any current or future JSON spec.

--089e0158b6c262a2db0517159a04
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 Wed, May 27, 2015 at 6:56 AM, Carsten Bormann <span dir=3D"ltr">&lt;=
<a href=3D"mailto:cabo@tzi.org" target=3D"_blank">cabo@tzi.org</a>&gt;</spa=
n> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b=
order-left:1px #ccc solid;padding-left:1ex"><div style=3D"word-wrap:break-w=
ord"><span class=3D""><div style=3D"font-family:Helvetica,Arial;font-size:1=
3px;color:rgba(0,0,0,1.0);margin:0px;line-height:auto">On 23 May 2015 at 04=
:16:00, Nico Williams (<a href=3D"mailto:nico@cryptonector.com" target=3D"_=
blank">nico@cryptonector.com</a>) wrote:</div> <div><blockquote type=3D"cit=
e" style=3D"color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:13px;fon=
t-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal=
;line-height:normal;text-align:start;text-indent:0px;text-transform:none;wh=
ite-space:normal;word-spacing:0px"><span><div><div></div><div>I should clar=
ify that my objection is to a working group IF a JOSE-&gt;CBOR<span>=C2=A0<=
/span><br>mapping is trivial enough,<span>=C2=A0</span></div></div></span><=
/blockquote></div></span><p>The CBOR data model is a superset of the JSON d=
ata model, so a trivial translation of JOSE to CBOR is indeed trivial.</p><=
/div></blockquote><div>It is a rather complex superset.=C2=A0</div><div>=C2=
=A0<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;b=
order-left:1px #ccc solid;padding-left:1ex"><div style=3D"word-wrap:break-w=
ord"><p>Doing such a trivial mapping would be completely misguided, though,=
 as CBOR has additional capabilities, and the efficiencies we need in the c=
onstrained node network environment are indeed made possible by those addit=
ional capabilities [1]. =C2=A0</p></div></blockquote><div>I note that you s=
till haven&#39;t answered my challenge on data encoding efficiency. My JSON=
-C encoding shows what can be achieved using the JSON data model with only =
the addition of a binary blob data type. I posted the encoding for the JOSE=
 signing example shortly after Dallas.</div><div><br></div><div>What your c=
onstrained node example needs is a better encoding for JSON, not the introd=
uction of yet another encoding for a random data model.</div><div><br></div=
><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1=
px #ccc solid;padding-left:1ex"><div style=3D"word-wrap:break-word"><p>So t=
he main work of the WG will simply be about how exactly to use those capabi=
lities. =C2=A0(It all looks trivial on a napkin, but a few bikesheds still =
have to be painted.) =C2=A0Any other hypothetical approach that adds binary=
 capabilities to the JSON data model will need to do this kind of work, bol=
d statements to the contrary notwithstanding.</p></div></blockquote><div>My=
 encoding is generated entirely mechanically. Switching from a text encodin=
g to binary means simply choosing a different encoding method. Using compre=
ssed tags is slightly more complicated in that a dictionary has to be compi=
led, but that is at worst a registration effort.=C2=A0</div><div><br></div>=
<div>I repeat that no Working Group effort is required or desired for apply=
ing the encoding to JOSE, ACME or any current or future JSON spec.</div><di=
v><br></div><div><br></div></div></div></div>

--089e0158b6c262a2db0517159a04--


From nobody Wed May 27 23:54:08 2015
Return-Path: <hildjj@cursive.net>
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 4AF7A1A92F8 for <cose@ietfa.amsl.com>; Wed, 27 May 2015 13:25:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.79
X-Spam-Level: 
X-Spam-Status: No, score=-1.79 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, 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 GhCc_E3cQ-6u for <cose@ietfa.amsl.com>; Wed, 27 May 2015 13:25:04 -0700 (PDT)
Received: from mail-pa0-x231.google.com (mail-pa0-x231.google.com [IPv6:2607:f8b0:400e:c03::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 0DAA41A92FB for <cose@ietf.org>; Wed, 27 May 2015 13:25:03 -0700 (PDT)
Received: by pabru16 with SMTP id ru16so5901098pab.1 for <cose@ietf.org>; Wed, 27 May 2015 13:25:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cursive.net; s=google;  h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; bh=nprPVz69NEU2ymAHPQHWT02UZX7rONADJBbB128eO3k=; b=kj5BMJhiEKQ5UFcXjvkU/bGHNPNBkxsKbDVi54SW0J7eJJgzc/wnfzttIIpa5VvaKq aQmFrs+NmsuRtTqq3SB4XejlHJushYUqeXfViTiBCAAnE2c4VmTJscqSUqYr7FKLyz3w 7Ph1j7KsYevle3cDRSoL76i3Zl5N/tzAgWzzU=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-type; bh=nprPVz69NEU2ymAHPQHWT02UZX7rONADJBbB128eO3k=; b=JqQbe/pSQryGibT01UcqzMuV+fZGjnbN34vR1fhcpTmR5sWhePc2Ggdleye6aq8kBN oUPywlXjco33ACSn2NKu+NMgpg8Iv4x03o2gTJ8VfElRoSOI6jPAd+k++KJn4OaY9Fzh RKXdSb/LgYZFFqtMP4zzY2keHxXBZfknYt61nTNwsZ/JZjJ+SbX6nZEA1o0oe3AG9WRc gUeJO2UjnrcE3giXbmq2Hn3hPrDG0YmkhmrZT163lbighjgCFvgt6vk7E12RbQRkWa+X 6gNW+OFhLLgoa512weBsH2sZfuPNtiomC7yvFrBikTPqOPQ715ws9BEjwq7pBtfwk6b4 R9jg==
X-Gm-Message-State: ALoCoQnww4LtEgWJCCWQKSLEYbCZjurTpUpdwNlwwiOnF5XXCpjrHBukiAGuZ69CvXNVpNsxUUtr
X-Received: by 10.70.37.167 with SMTP id z7mr62132785pdj.55.1432758303515; Wed, 27 May 2015 13:25:03 -0700 (PDT)
Received: from [10.24.14.31] ([128.107.241.175]) by mx.google.com with ESMTPSA id fd3sm47369pdb.0.2015.05.27.13.25.01 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 27 May 2015 13:25:02 -0700 (PDT)
From: "Joe Hildebrand" <hildjj@cursive.net>
To: "Phillip Hallam-Baker" <phill@hallambaker.com>
Date: Wed, 27 May 2015 14:24:48 -0600
Message-ID: <F37BDD76-4CED-4847-8801-146F6E034CEA@cursive.net>
In-Reply-To: <CAMm+LwhUc2O9hbFcbEBXh6VN03VMi2Z9qAvz7qe00Qw8TJO_nA@mail.gmail.com>
References: <20150515172554.1006.60355.idtracker@ietfa.amsl.com> <CAMm+LwgwLNVRu6vmb8j+MKvJHePek7XO5VSok9xXGTi4L1gAVw@mail.gmail.com> <20150522210306.GH3791@localhost> <20150522235442.GA2166@localhost> <etPan.5565a2c2.14131b52.7e3b@alma.local> <CAMm+LwhUc2O9hbFcbEBXh6VN03VMi2Z9qAvz7qe00Qw8TJO_nA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
X-Mailer: MailMate Trial (1.9.1r5084)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/OkUO9Zuj4CKTnSfDzpqyJzrN0q8>
X-Mailman-Approved-At: Wed, 27 May 2015 23:54:03 -0700
Cc: Carsten Bormann <cabo@tzi.org>, IETF Discussion Mailing List <ietf@ietf.org>, cose WG <cose@ietf.org>
Subject: Re: [Cose] WG Review: CBOR Object Signing and Encryption (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: Wed, 27 May 2015 20:25:05 -0000

On 27 May 2015, at 13:53, Phillip Hallam-Baker wrote:

>> The CBOR data model is a superset of the JSON data model, so a 
>> trivial
>> translation of JOSE to CBOR is indeed trivial.

> It is a rather complex superset.

It takes less code to parse than JSON, however, which is ironic.  For 
those that haven't thought about the problem, consider this bit of valid 
JSON:

{ "one": 1e400, "on\u0065": "\udead" }

1e400 is bigger than most implementations can deal with.  Are "one" and 
"on\u0065" the same thing? (yes)  If so, what do you do about the 
duplicate key? (implementation-defined, non-interoperable) What do you 
do about the half surrogate pair \udead, since JSON is defined as an odd 
subset of UTF-16 that allows invalid 16-bit code units? (usually: 
generate an invalid codepoint and hope for the best)

The added complexity of CBOR yields interesting properties, such as 
removing some of the ambiguities and edge cases of JSON that hinder 
interoperability.  That said, most of the things that are in the 
superset (other than binary blobs, unambiguous UTF-8 strings, and 
interoperable integers) are unlikely to be used in a COSE spec.  Some 
CBOR implementations already have flags to turn off some of those 
features, such as unambiguous IEEE754 floating point numbers in order to 
reduce code size.

>> Doing such a trivial mapping would be completely misguided, though, 
>> as
>> CBOR has additional capabilities, and the efficiencies we need in the
>> constrained node network environment are indeed made possible by 
>> those
>> additional capabilities [1].
>>
> I note that you still haven't answered my challenge on data encoding
> efficiency. My JSON-C encoding shows what can be achieved using the 
> JSON
> data model with only the addition of a binary blob data type. I posted 
> the
> encoding for the JOSE signing example shortly after Dallas.

I've just gone back and looked at draft-hallambaker-jsonbcd-02 again.  I 
agree with you that JSON-[BCD] do a better job at segregating 
functionality that might be needed by different applications than CBOR 
does, at the expense of some implementation complexity and complexity on 
the part of the protocol designer picking which level to use.

I disagree that there is a difference in the degree to which JSON-C 
differs from JSON than CBOR does.  If you compare Table 1 and Table 2 of 
your doc to Section 2.1 of RFC 7049, for example, there's a lot of 
similarity.  The ASN.1 OID references in your Section 5 would need to be 
both motivated better and better described before they would be 
interoperably implemented.

If you wanted to do the work to turn this doc into one or more 
specifications that were ready to publish as RFCs, with more complete 
explanations and examples, then wanted to define a JOSE mapping into 
that set of specifications, I would fight for your right to do so 
(although probably wouldn't provide much technical help beyond reviewing 
for completeness).

However, I don't see any likely possibility that we could talk existing 
JSON implementations (such as those in browsers) into implementing these 
formats natively, so we're looking at completely new code for both 
parsing and generation.  At that point, retaining any kind of 
compatibility with JSON doesn't provide a win, and retains all of JSONs 
interoperability issues.

> What your constrained node example needs is a better encoding for 
> JSON, not
> the introduction of yet another encoding for a random data model.

The goal is a substantially similar data model.  Potentially even 
identical, depending upon which warts of JOSE the working group would 
have consensus to fix.

> My encoding is generated entirely mechanically. Switching from a text
> encoding to binary means simply choosing a different encoding method. 
> Using
> compressed tags is slightly more complicated in that a dictionary has 
> to be
> compiled, but that is at worst a registration effort.

Really not that different from CBOR.

> I repeat that no Working Group effort is required or desired for 
> applying
> the encoding to JOSE, ACME or any current or future JSON spec.

Some relatively-large amount of work would be necessary to get your 
JSON-[BCD] spec ready for publication as one or more RFCs.  If you have 
a group of people who have the energy for that work, then I think you 
should do so.  If you then have a group of people who have the energy to 
do a spec (however minimal in size) for a JOSE encoding, you should do 
that, too.  I would suggest that you get some buy-in from folks that are 
in the community you want to implement those specs before you start.

In the meantime, your potential desire to do other work shouldn't keep 
the COSE work from starting, in my opinion.

-- 
Joe Hildebrand


From nobody Wed May 27 23:54:09 2015
Return-Path: <hallam@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 ED7DC1A92E9; Wed, 27 May 2015 13:30:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level: 
X-Spam-Status: No, score=-1.277 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SYYfDkSak94A; Wed, 27 May 2015 13:30:34 -0700 (PDT)
Received: from mail-lb0-x236.google.com (mail-lb0-x236.google.com [IPv6:2a00:1450:4010:c04::236]) (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 C4BC91A8A67; Wed, 27 May 2015 13:30:33 -0700 (PDT)
Received: by lbbuc2 with SMTP id uc2so15305660lbb.2; Wed, 27 May 2015 13:30:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=girVN1/uAA3X7RsZq6PSBrIs0RoIOB6A8B5Ao27o6+A=; b=oszrBWF+GoUCFfCFimVaJAymx2F8FBiK/GXAlYCSApsn5u0BFKblSLR0EvfluKqrdb v+e5bqeFKdw+PySbHJDRZaUsszhnkSgb16X8YN/4on2rKXZsVc9U80d8GddQormcFRBh 2kzIFbJI/yItSeuwpx9yukr3MderrGhXg81LUFLKJ0AgMhuM5yR6cu1B5M89M+l8vlr+ ugfxVL90ol+y/KJUiW+9oqmeusuIny/vB1ICYnifTKbYTKkA/3NqVxj4cRHeZoM3Za2T yUyboCMyAIlcS5MTGA6MnD9qEVaY5O2HneW0LlN+XDTLNiYxgMT8wen/FFaqjwO5rror wFbQ==
MIME-Version: 1.0
X-Received: by 10.152.43.168 with SMTP id x8mr30022451lal.79.1432758632329; Wed, 27 May 2015 13:30:32 -0700 (PDT)
Sender: hallam@gmail.com
Received: by 10.112.203.163 with HTTP; Wed, 27 May 2015 13:30:32 -0700 (PDT)
In-Reply-To: <CAAQiQRdKa1kXk82OkHyT1HGNJWvGtZk3pVY3Y5yCiwkXC9pg2Q@mail.gmail.com>
References: <20150515172554.1006.60355.idtracker@ietfa.amsl.com> <CAMm+LwgwLNVRu6vmb8j+MKvJHePek7XO5VSok9xXGTi4L1gAVw@mail.gmail.com> <CAAQiQRdXJHNNoJ4_iCR32UyC7PUHcNU0EUNbmLAkXaPA7-OLVQ@mail.gmail.com> <5564CE81.7040904@tzi.org> <CAAQiQRdKa1kXk82OkHyT1HGNJWvGtZk3pVY3Y5yCiwkXC9pg2Q@mail.gmail.com>
Date: Wed, 27 May 2015 16:30:32 -0400
X-Google-Sender-Auth: ZjoUKTOskyBdeRKy9Q8hkiSj-cs
Message-ID: <CAMm+LwgbwXhORCYUHiBgMgRo-0dBvcvrQfrEBx7=4i85fY+ZrA@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: Andrew Newton <andy@hxr.us>
Content-Type: multipart/alternative; boundary=001a11c22a5e5438650517161da3
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/pS_HTSzrbUCMwPTVIyhpkPz8e9M>
X-Mailman-Approved-At: Wed, 27 May 2015 23:54:03 -0700
Cc: "iesg@ietf.org" <iesg@ietf.org>, Carsten Bormann <cabo@tzi.org>, IETF Discussion Mailing List <ietf@ietf.org>, cose WG <cose@ietf.org>
Subject: Re: [Cose] WG Review: CBOR Object Signing and Encryption (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: Wed, 27 May 2015 20:30:36 -0000

--001a11c22a5e5438650517161da3
Content-Type: text/plain; charset=UTF-8

On Wed, May 27, 2015 at 10:38 AM, Andrew Newton <andy@hxr.us> wrote:

>
> On Tue, May 26, 2015 at 3:50 PM, Carsten Bormann <cabo@tzi.org> wrote:
>
>>
>> For now, CDDL is a good way to discuss the draft, much better than
>> lobbing around large quantities of ambiguous English prose.
>>
>
> You and I agree here. I favor whatever it takes to make CDDL a viable
> normative reference, so long as it doesn't preclude other efforts.
>

At this point I have schema driven tools for the following encodings:

* RFC822 style headers (works for RFC documented HTTP, SMTP headers)
* RFC821 style command
* JSON
* ASN.1
* TLS
* DNS
* XMLSchema[*]
* Goedel meta-synthesizer

None of these use a syntax that looks remotely like the encodings they
target, nor do I find the slightest use for the ASN.1 or XML schema
languages. I developed my first encoder after getting fed up of having to
edit XML Schema by hand for the SAML 1.0 spec.

Right now only a few of the tools share the same input language but they
all look pretty similar except for the DNS parser. JSON is obviously better
for highly nested structures than RFC822 but it isn't difficult to subset.

In recent years there has been a trend towards using YANG at the lower
levels in the stack and I think that is a good approach at the transport
layer down. But the features that make YANG useful at that layer make it
less appropriate for the application layer and above where the objective is
to make the mapping between the protocol data structures and the
implementation data languages as simple and straightforward as possibles.

Right now most JSON Web Services are layered on top of HTTP which means
that we have the following encodings involved:

RFC821 [Method line]
RFC822 [Headers]
MIME-ish [Chunked Encoding]
JSON [Payload]

And that is going to be where a large fraction of Web Services are going to
be for the next couple of decades. But the fact is that we can convert the
entire stack into JSON without any change to the semantics. And if we use
JSON-B or JSON-C we get improved efficiency as well.

One of the odd features of Web Services is that even though we have to do
all that implementation work above, almost none of it provides any payoff
from an architectural point of view. Yes 'in theory' it is possible to
route HTTP messages as if they are multiparty transactions and this is what
SOAP tried to support. But the cost of making that work was to insert a
whole new framing layer for SOAP which made the HTTP layer redundant.


If we get the DNS client-resolver link fixed so it is practical to make
multiple requests in one round trip request, it is a simple matter to
define a DNS record that says 'this Web Service available over the HTTP
binding and the J-Binding using encoding X'

Note however that people who write and deploy Web services are not going to
support two syntaxes for the same protocol and thus make a transition
strategy possible unless providing support for the two stacks is completely
transparent and automatic.


What I am getting to here is that if we want to have a cleaner, simpler
Internet some time in the future, we should be looking at approaches that
allow us to remove the unnecessary variations in encoding at some point. We
really should be looking at ways to reduce the number of encodings, not
varying them to no benefit.

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

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On W=
ed, May 27, 2015 at 10:38 AM, Andrew Newton <span dir=3D"ltr">&lt;<a href=
=3D"mailto:andy@hxr.us" target=3D"_blank">andy@hxr.us</a>&gt;</span> wrote:=
<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor=
der-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:sol=
id;padding-left:1ex"><div dir=3D"ltr"><div class=3D"gmail_extra"><br><div c=
lass=3D"gmail_quote"><span class=3D"">On Tue, May 26, 2015 at 3:50 PM, Cars=
ten Bormann <span dir=3D"ltr">&lt;<a href=3D"mailto:cabo@tzi.org" target=3D=
"_blank">cabo@tzi.org</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_q=
uote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-c=
olor:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style=
=3D"overflow:hidden"><br></div></blockquote></span><span class=3D""><blockq=
uote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-wi=
dth:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-=
left:1ex"><div style=3D"overflow:hidden">
For now, CDDL is a good way to discuss the draft, much better than<br>
lobbing around large quantities of ambiguous English prose.</div></blockquo=
te></span></div><br>You and I agree here. I favor whatever it takes to make=
 CDDL a viable normative reference, so long as it doesn&#39;t preclude othe=
r efforts.</div></div></blockquote><div><br></div><div>At this point I have=
 schema driven tools for the following encodings:</div><div><br></div><div>=
* RFC822 style headers (works for RFC documented HTTP, SMTP headers)</div><=
div>* RFC821 style command</div><div>* JSON</div><div>* ASN.1</div><div>* T=
LS</div><div>* DNS</div><div>* XMLSchema[*]</div><div>* Goedel meta-synthes=
izer=C2=A0</div><div><br></div><div>None of these use a syntax that looks r=
emotely like the encodings they target, nor do I find the slightest use for=
 the ASN.1 or XML schema languages. I developed my first encoder after gett=
ing fed up of having to edit XML Schema by hand for the SAML 1.0 spec.=C2=
=A0</div><div><br></div><div>Right now only a few of the tools share the sa=
me input language but they all look pretty similar except for the DNS parse=
r. JSON is obviously better for highly nested structures than RFC822 but it=
 isn&#39;t difficult to subset.</div><div><br></div><div>In recent years th=
ere has been a trend towards using YANG at the lower levels in the stack an=
d I think that is a good approach at the transport layer down. But the feat=
ures that make YANG useful at that layer make it less appropriate for the a=
pplication layer and above where the objective is to make the mapping betwe=
en the protocol data structures and the implementation data languages as si=
mple and straightforward as possibles.</div><div><br></div><div>Right now m=
ost JSON Web Services are layered on top of HTTP which means that we have t=
he following encodings involved:</div><div><br></div><div>RFC821 [Method li=
ne]<br></div><div>RFC822 [Headers]<br></div><div>MIME-ish [Chunked Encoding=
]</div><div>JSON [Payload]</div><div><br></div><div>And that is going to be=
 where a large fraction of Web Services are going to be for the next couple=
 of decades. But the fact is that we can convert the entire stack into JSON=
 without any change to the semantics. And if we use JSON-B or JSON-C we get=
 improved efficiency as well.</div><div><br></div><div>One of the odd featu=
res of Web Services is that even though we have to do all that implementati=
on work above, almost none of it provides any payoff from an architectural =
point of view. Yes &#39;in theory&#39; it is possible to route HTTP message=
s as if they are multiparty transactions and this is what SOAP tried to sup=
port. But the cost of making that work was to insert a whole new framing la=
yer for SOAP which made the HTTP layer redundant.<br></div><div><br></div><=
div><br></div><div>If we get the DNS client-resolver link fixed so it is pr=
actical to make multiple requests in one round trip request, it is a simple=
 matter to define a DNS record that says &#39;this Web Service available ov=
er the HTTP binding and the J-Binding using encoding X&#39;</div><div><br><=
/div><div>Note however that people who write and deploy Web services are no=
t going to support two syntaxes for the same protocol and thus make a trans=
ition strategy possible unless providing support for the two stacks is comp=
letely transparent and automatic.</div><div><br></div><div><br></div><div>W=
hat I am getting to here is that if we want to have a cleaner, simpler Inte=
rnet some time in the future, we should be looking at approaches that allow=
 us to remove the unnecessary variations in encoding at some point. We real=
ly should be looking at ways to reduce the number of encodings, not varying=
 them to no benefit.</div></div></div></div>

--001a11c22a5e5438650517161da3--


From nobody Wed May 27 23:54:10 2015
Return-Path: <nico@cryptonector.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 693BF1A1BE9; Wed, 27 May 2015 14:03:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.666
X-Spam-Level: 
X-Spam-Status: No, score=-1.666 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, 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 XTFj8Nxyq9p3; Wed, 27 May 2015 14:03:19 -0700 (PDT)
Received: from homiemail-a108.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id 3D6231A1BB8; Wed, 27 May 2015 14:03:19 -0700 (PDT)
Received: from homiemail-a108.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a108.g.dreamhost.com (Postfix) with ESMTP id 0EA112005D91F; Wed, 27 May 2015 14:03:19 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=cryptonector.com; bh=oTD2F6+wiLjbOI wG/Y3aQliNGIk=; b=nK6noVW/L4fGJvyj7NyAYmLWglbj8DRbMRRptwXHij1od4 SEFKLvOUkDgeb7D+ktMMAP+8k5pQhBkN4EQDr/XJPyexcYaWgMTbbxPBBAwDUocY XMjhyrpjolqZ0K5zi0m4WYI1FqLuB51OFQkL+oQXo5HtbszR4GbvF09/Ud/Hg=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a108.g.dreamhost.com (Postfix) with ESMTPA id CDF712005D82E; Wed, 27 May 2015 14:03:17 -0700 (PDT)
Date: Wed, 27 May 2015 16:03:16 -0500
From: Nico Williams <nico@cryptonector.com>
To: Joe Hildebrand <hildjj@cursive.net>
Message-ID: <20150527210315.GC1733@localhost>
References: <20150515172554.1006.60355.idtracker@ietfa.amsl.com> <CAMm+LwgwLNVRu6vmb8j+MKvJHePek7XO5VSok9xXGTi4L1gAVw@mail.gmail.com> <20150522210306.GH3791@localhost> <20150522235442.GA2166@localhost> <etPan.5565a2c2.14131b52.7e3b@alma.local> <CAMm+LwhUc2O9hbFcbEBXh6VN03VMi2Z9qAvz7qe00Qw8TJO_nA@mail.gmail.com> <F37BDD76-4CED-4847-8801-146F6E034CEA@cursive.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <F37BDD76-4CED-4847-8801-146F6E034CEA@cursive.net>
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/OePj1_pUGvu_jDtXX4LGpjvoeeM>
X-Mailman-Approved-At: Wed, 27 May 2015 23:54:03 -0700
Cc: Carsten Bormann <cabo@tzi.org>, Phillip Hallam-Baker <phill@hallambaker.com>, IETF Discussion Mailing List <ietf@ietf.org>, cose WG <cose@ietf.org>
Subject: Re: [Cose] WG Review: CBOR Object Signing and Encryption (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: Wed, 27 May 2015 21:03:20 -0000

On Wed, May 27, 2015 at 02:24:48PM -0600, Joe Hildebrand wrote:
> However, I don't see any likely possibility that we could talk
> existing JSON implementations (such as those in browsers) into
> implementing these formats natively, so we're looking at completely
> new code for both parsing and generation.  At that point, retaining
> any kind of compatibility with JSON doesn't provide a win, and
> retains all of JSONs interoperability issues.

I agree that a binary JSON parser/encoder would not share much code with
a plain JSON parser/encoder, but just to be clear, having the same data
model is a win because many tools (e.g., JSON query/pointer-type tools,
such as jq) would remain usable with binary JSON.

For example, for jq to speak a binary JSON wouldn't be too hard, but for
jq to speak CBOR would require mapping CBOR non-JSON data types onto
JSON data types -- such mappings must be lossy.  Alternatively jq would
need to be extended to support CBOR data types, which would require
significantly more work.  (If and when we add CBOR support we'll have to
deal with this; we might never get there.)

The jq programming language is so useful to me when dealing with JSON
that I suspect it will be useful when dealing with JSON variants, but
the less they stray from the JSON data model, the easier it will be to
add support for them.  I suspect this is true for many other JSON tools.

Nico
-- 


From nobody Wed May 27 23:54:12 2015
Return-Path: <hallam@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 9E93C1A9103; Wed, 27 May 2015 16:35:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.277
X-Spam-Level: 
X-Spam-Status: No, score=-1.277 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x7gNBVMl4UGJ; Wed, 27 May 2015 16:34:59 -0700 (PDT)
Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::229]) (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 297641A9109; Wed, 27 May 2015 16:34:57 -0700 (PDT)
Received: by labpy14 with SMTP id py14so7239122lab.0; Wed, 27 May 2015 16:34:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=maZ/vmw+d0L+SVS3JcwMblWwPcMLlIRpSKHAvYBs9Y8=; b=nVxQ4ICUCJD0KxwZFKFEbFAE+4hfYvZt7L+fqJT0qTZuoMWNN6kd23aUEsMD7rISV2 Zh0koFfpga9tOdIZjMKfV92qVD3HUif3Wq33dbHeFh9yh5twNnkihuWzRJasow1bTMAm MTOAYc6wcQKCiSvUqPJRRQj/Yt0SbVJjlbG4VmlmUedoR/sBDmBFBJMNLWbTKjWnc9Fj yo5AhER6hD/PkSJ9VyzW51WH9q8OecbbRB9D3VRzatoqXyXx8oQMTkJj3FaDfM9RdfKA PfrVO2NISg5iQCeKzVkk6v0NXpNIRdubx07FqAvHOYjFufMLKVXP0TpEOSTEzV4F1ByC hWFA==
MIME-Version: 1.0
X-Received: by 10.153.7.104 with SMTP id db8mr30911383lad.124.1432769695557; Wed, 27 May 2015 16:34:55 -0700 (PDT)
Sender: hallam@gmail.com
Received: by 10.112.203.163 with HTTP; Wed, 27 May 2015 16:34:55 -0700 (PDT)
In-Reply-To: <F37BDD76-4CED-4847-8801-146F6E034CEA@cursive.net>
References: <20150515172554.1006.60355.idtracker@ietfa.amsl.com> <CAMm+LwgwLNVRu6vmb8j+MKvJHePek7XO5VSok9xXGTi4L1gAVw@mail.gmail.com> <20150522210306.GH3791@localhost> <20150522235442.GA2166@localhost> <etPan.5565a2c2.14131b52.7e3b@alma.local> <CAMm+LwhUc2O9hbFcbEBXh6VN03VMi2Z9qAvz7qe00Qw8TJO_nA@mail.gmail.com> <F37BDD76-4CED-4847-8801-146F6E034CEA@cursive.net>
Date: Wed, 27 May 2015 19:34:55 -0400
X-Google-Sender-Auth: TPR0976BtEPWKVBvc1qZuMdKLLs
Message-ID: <CAMm+Lwhp-wkAkC782fkLQ27MSCfp6he6FAh3R3Q_S5067EgM3w@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: Joe Hildebrand <hildjj@cursive.net>
Content-Type: multipart/alternative; boundary=001a1134c8a0bfb197051718b0ef
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/tRgHKWlxjDxcLnuNpDZ8w4bjJBI>
X-Mailman-Approved-At: Wed, 27 May 2015 23:54:03 -0700
Cc: Carsten Bormann <cabo@tzi.org>, IETF Discussion Mailing List <ietf@ietf.org>, cose WG <cose@ietf.org>
Subject: Re: [Cose] WG Review: CBOR Object Signing and Encryption (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: Wed, 27 May 2015 23:35:01 -0000

--001a1134c8a0bfb197051718b0ef
Content-Type: text/plain; charset=UTF-8

On Wed, May 27, 2015 at 4:24 PM, Joe Hildebrand <hildjj@cursive.net> wrote:

> On 27 May 2015, at 13:53, Phillip Hallam-Baker wrote:
>
>  The CBOR data model is a superset of the JSON data model, so a trivial
>>> translation of JOSE to CBOR is indeed trivial.
>>>
>>
>  It is a rather complex superset.
>>
>
> It takes less code to parse than JSON, however, which is ironic.  For
> those that haven't thought about the problem, consider this bit of valid
> JSON:
>
> { "one": 1e400, "on\u0065": "\udead" }
>
> 1e400 is bigger than most implementations can deal with.  Are "one" and
> "on\u0065" the same thing? (yes)  If so, what do you do about the duplicate
> key? (implementation-defined, non-interoperable) What do you do about the
> half surrogate pair \udead, since JSON is defined as an odd subset of
> UTF-16 that allows invalid 16-bit code units? (usually: generate an invalid
> codepoint and hope for the best)
>

These are not a problem in protocols since we almost never use floating
point numbers. We do use decimals but those are rare as well.


Doing such a trivial mapping would be completely misguided, though, as
>>> CBOR has additional capabilities, and the efficiencies we need in the
>>> constrained node network environment are indeed made possible by those
>>> additional capabilities [1].
>>>
>>>  I note that you still haven't answered my challenge on data encoding
>> efficiency. My JSON-C encoding shows what can be achieved using the JSON
>> data model with only the addition of a binary blob data type. I posted the
>> encoding for the JOSE signing example shortly after Dallas.
>>
>
> I've just gone back and looked at draft-hallambaker-jsonbcd-02 again.  I
> agree with you that JSON-[BCD] do a better job at segregating functionality
> that might be needed by different applications than CBOR does, at the
> expense of some implementation complexity and complexity on the part of the
> protocol designer picking which level to use.
>

The aim would be to leave these to deployment.



> I disagree that there is a difference in the degree to which JSON-C
> differs from JSON than CBOR does.  If you compare Table 1 and Table 2 of
> your doc to Section 2.1 of RFC 7049, for example, there's a lot of
> similarity.


Yes, there is a lot of similarity and had certain individuals been willing
to consider external input we could have come up with one specification
very easily.

The key difference is that JSON-C is doing string segment compression and a
single dictionary can be used for any code point. There is no context
sensitivity. That greatly reduces the complexity of writing
encoder/decoders at a modest cost in space efficiency.



> The ASN.1 OID references in your Section 5 would need to be both motivated
> better and better described before they would be interoperably implemented.
>

The reason I let that draft expire is I have been working on this one that
eliminates the need for the ASN.1 there:

https://tools.ietf.org/html/draft-hallambaker-udf-00

Basically it is a spec that generalizes OpenPGP fingerprints to allow other
content to be digested in the same fashion without ambiguity.



> If you wanted to do the work to turn this doc into one or more
> specifications that were ready to publish as RFCs, with more complete
> explanations and examples, then wanted to define a JOSE mapping into that
> set of specifications, I would fight for your right to do so (although
> probably wouldn't provide much technical help beyond reviewing for
> completeness).
>

Thanks.

However, I don't see any likely possibility that we could talk existing
> JSON implementations (such as those in browsers) into implementing these
> formats natively, so we're looking at completely new code for both parsing
> and generation.  At that point, retaining any kind of compatibility with
> JSON doesn't provide a win, and retains all of JSONs interoperability
> issues.


Since the specs are supersets a JSON-D decoder will decode JSON, JSON-B or
JSON-C. A JSON-C decoder, JSON-B and JSON and so on.

The advantage comes when you have nested structures. Say you have a JSON
document and you want to include in another structure. You can copy across
the bytes verbatim without worrying if they are JSON or JSON-B.

--001a1134c8a0bfb197051718b0ef
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 Wed, May 27, 2015 at 4:24 PM, Joe Hildebrand <span dir=3D"ltr">&lt;<=
a href=3D"mailto:hildjj@cursive.net" target=3D"_blank">hildjj@cursive.net</=
a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0=
px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);b=
order-left-style:solid;padding-left:1ex"><span class=3D"">On 27 May 2015, a=
t 13:53, Phillip Hallam-Baker wrote:<br>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px =
0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-l=
eft-style:solid;padding-left:1ex">
The CBOR data model is a superset of the JSON data model, so a trivial<br>
translation of JOSE to CBOR is indeed trivial.<br>
</blockquote></blockquote>
<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;p=
adding-left:1ex">
It is a rather complex superset.<br>
</blockquote>
<br></span>
It takes less code to parse than JSON, however, which is ironic.=C2=A0 For =
those that haven&#39;t thought about the problem, consider this bit of vali=
d JSON:<br>
<br>
{ &quot;one&quot;: 1e400, &quot;on\u0065&quot;: &quot;\udead&quot; }<br>
<br>
1e400 is bigger than most implementations can deal with.=C2=A0 Are &quot;on=
e&quot; and &quot;on\u0065&quot; the same thing? (yes)=C2=A0 If so, what do=
 you do about the duplicate key? (implementation-defined, non-interoperable=
) What do you do about the half surrogate pair \udead, since JSON is define=
d as an odd subset of UTF-16 that allows invalid 16-bit code units? (usuall=
y: generate an invalid codepoint and hope for the best)<br></blockquote><di=
v><br></div><div>These are not a problem in protocols since we almost never=
 use floating point numbers. We do use decimals but those are rare as well.=
</div><div><br></div><div><br></div><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(20=
4,204,204);border-left-style:solid;padding-left:1ex"><span class=3D""><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-=
width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;paddin=
g-left:1ex"><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0=
.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-s=
tyle:solid;padding-left:1ex">Doing such a trivial mapping would be complete=
ly misguided, though, as<br>
CBOR has additional capabilities, and the efficiencies we need in the<br>
constrained node network environment are indeed made possible by those<br>
additional capabilities [1].<br>
<br>
</blockquote>
I note that you still haven&#39;t answered my challenge on data encoding<br=
>
efficiency. My JSON-C encoding shows what can be achieved using the JSON<br=
>
data model with only the addition of a binary blob data type. I posted the<=
br>
encoding for the JOSE signing example shortly after Dallas.<br>
</blockquote>
<br></span>
I&#39;ve just gone back and looked at draft-hallambaker-jsonbcd-02 again.=
=C2=A0 I agree with you that JSON-[BCD] do a better job at segregating func=
tionality that might be needed by different applications than CBOR does, at=
 the expense of some implementation complexity and complexity on the part o=
f the protocol designer picking which level to use.<br></blockquote><div><b=
r></div><div>The aim would be to leave these to deployment.=C2=A0</div><div=
><br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"marg=
in:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,20=
4);border-left-style:solid;padding-left:1ex">
I disagree that there is a difference in the degree to which JSON-C differs=
 from JSON than CBOR does.=C2=A0 If you compare Table 1 and Table 2 of your=
 doc to Section 2.1 of RFC 7049, for example, there&#39;s a lot of similari=
ty. </blockquote><div><br></div><div>Yes, there is a lot of similarity and =
had certain individuals been willing to consider external input we could ha=
ve come up with one specification very easily.</div><div><br></div><div>The=
 key difference is that JSON-C is doing string segment compression and a si=
ngle dictionary can be used for any code point. There is no context sensiti=
vity. That greatly reduces the complexity of writing encoder/decoders at a =
modest cost in space efficiency.</div><div><br></div><div>=C2=A0</div><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-=
width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;paddin=
g-left:1ex">The ASN.1 OID references in your Section 5 would need to be bot=
h motivated better and better described before they would be interoperably =
implemented.<br></blockquote><div><br></div><div>The reason I let that draf=
t expire is I have been working on this one that eliminates the need for th=
e ASN.1 there:</div><div><br></div><div><a href=3D"https://tools.ietf.org/h=
tml/draft-hallambaker-udf-00">https://tools.ietf.org/html/draft-hallambaker=
-udf-00</a><br></div><div><br></div><div>Basically it is a spec that genera=
lizes OpenPGP fingerprints to allow other content to be digested in the sam=
e fashion without ambiguity.</div><div><br></div><div>=C2=A0<br></div><bloc=
kquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-=
width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;paddin=
g-left:1ex">
If you wanted to do the work to turn this doc into one or more specificatio=
ns that were ready to publish as RFCs, with more complete explanations and =
examples, then wanted to define a JOSE mapping into that set of specificati=
ons, I would fight for your right to do so (although probably wouldn&#39;t =
provide much technical help beyond reviewing for completeness).<br></blockq=
uote><div><br></div><div>Thanks.=C2=A0</div><div><br></div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;b=
order-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"=
>
However, I don&#39;t see any likely possibility that we could talk existing=
 JSON implementations (such as those in browsers) into implementing these f=
ormats natively, so we&#39;re looking at completely new code for both parsi=
ng and generation.=C2=A0 At that point, retaining any kind of compatibility=
 with JSON doesn&#39;t provide a win, and retains all of JSONs interoperabi=
lity issues.</blockquote><div><br></div><div>Since the specs are supersets =
a JSON-D decoder will decode JSON, JSON-B or JSON-C. A JSON-C decoder, JSON=
-B and JSON and so on.</div><div><br></div><div>The advantage comes when yo=
u have nested structures. Say you have a JSON document and you want to incl=
ude in another structure. You can copy across the bytes verbatim without wo=
rrying if they are JSON or JSON-B.</div><div><br></div><div><br></div><div>=
=C2=A0</div></div><br></div></div>

--001a1134c8a0bfb197051718b0ef--


From nobody Wed May 27 23:54:14 2015
Return-Path: <masinter@adobe.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 A68831B2B2D; Wed, 27 May 2015 18:02:11 -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 bRBGywWkWEfQ; Wed, 27 May 2015 18:02:09 -0700 (PDT)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0098.outbound.protection.outlook.com [65.55.169.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 456AE1B2ACD; Wed, 27 May 2015 18:02:09 -0700 (PDT)
Received: from SN1PR02MB1326.namprd02.prod.outlook.com (25.162.0.144) by SN1PR02MB1647.namprd02.prod.outlook.com (25.162.129.13) with Microsoft SMTP Server (TLS) id 15.1.172.22; Thu, 28 May 2015 01:02:07 +0000
Received: from SN1PR02MB1328.namprd02.prod.outlook.com (25.162.0.146) by SN1PR02MB1326.namprd02.prod.outlook.com (25.162.0.144) with Microsoft SMTP Server (TLS) id 15.1.172.22; Thu, 28 May 2015 01:02:06 +0000
Received: from SN1PR02MB1328.namprd02.prod.outlook.com ([25.162.0.146]) by SN1PR02MB1328.namprd02.prod.outlook.com ([25.162.0.146]) with mapi id 15.01.0172.012; Thu, 28 May 2015 01:02:06 +0000
From: Larry Masinter <masinter@adobe.com>
To: Joe Hildebrand <hildjj@cursive.net>, Phillip Hallam-Baker <phill@hallambaker.com>
Thread-Topic: [Cose] WG Review: CBOR Object Signing and Encryption (cose)
Thread-Index: AQHQlMByub14AVBi4kG0Ww87JDgi/52IfDgAgAcx1gaAAJYqgIAACKEA///YIIA=
Date: Thu, 28 May 2015 01:02:06 +0000
Message-ID: <2DADC75C-35E5-43EB-8680-C224A8E7128A@adobe.com>
References: <20150515172554.1006.60355.idtracker@ietfa.amsl.com> <CAMm+LwgwLNVRu6vmb8j+MKvJHePek7XO5VSok9xXGTi4L1gAVw@mail.gmail.com> <20150522210306.GH3791@localhost> <20150522235442.GA2166@localhost> <etPan.5565a2c2.14131b52.7e3b@alma.local> <CAMm+LwhUc2O9hbFcbEBXh6VN03VMi2Z9qAvz7qe00Qw8TJO_nA@mail.gmail.com> <F37BDD76-4CED-4847-8801-146F6E034CEA@cursive.net>
In-Reply-To: <F37BDD76-4CED-4847-8801-146F6E034CEA@cursive.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/0.0.0.150508
authentication-results: spf=none (sender IP is ) smtp.mailfrom=masinter@adobe.com; 
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [50.184.24.49]
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:; SRVR:SN1PR02MB1326; UriScan:; BCL:0; PCL:0; RULEID:; SRVR:SN1PR02MB1647; 
x-microsoft-antispam-prvs: <SN1PR02MB13263B12B438BF14CECD3328C3CA0@SN1PR02MB1326.namprd02.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(520003)(5005006)(3002001); SRVR:SN1PR02MB1326; BCL:0; PCL:0; RULEID:; SRVR:SN1PR02MB1326; 
x-forefront-prvs: 0590BBCCBC
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(189002)(199003)(2656002)(101416001)(83506001)(76176999)(50986999)(87936001)(86362001)(83716003)(5002640100001)(15975445007)(92566002)(33656002)(5001860100001)(68736005)(5001830100001)(102836002)(122556002)(106116001)(99286002)(2900100001)(4001350100001)(5001770100001)(36756003)(189998001)(106356001)(5001960100002)(66066001)(19580395003)(64706001)(54356999)(2950100001)(105586002)(40100003)(93886004)(62966003)(97736004)(81156007)(46102003)(4001540100001)(77156002)(82746002)(104396002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR02MB1326; H:SN1PR02MB1328.namprd02.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords;  MX:1; A:1; LANG:en; 
received-spf: None (protection.outlook.com: adobe.com does not designate permitted sender hosts)
Content-Type: text/plain; charset="utf-8"
Content-ID: <E5A4D3F1632D3244A203EF8DB3E6769F@namprd02.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 May 2015 01:02:06.3740 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: fa7b1b5a-7b34-4387-94ae-d2c178decee1
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR02MB1326
X-OriginatorOrg: adobe.com
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/5uwSNUr-vpJ4HeaDh4ysY86x980>
X-Mailman-Approved-At: Wed, 27 May 2015 23:54:03 -0700
Cc: Carsten Bormann <cabo@tzi.org>, IETF Discussion Mailing List <ietf@ietf.org>, cose WG <cose@ietf.org>
Subject: Re: [Cose] WG Review: CBOR Object Signing and Encryption (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: Thu, 28 May 2015 01:02:11 -0000

Q291bGQgdGhlIHdvcmtpbmcgZ3JvdXAgYmUgY2hhcnRlcmVkIHdpdGggYSByZXF1aXJlbWVudCB0
byBhbGlnbiDigJxPYmplY3QgU2lnbmluZyBhbmQgRW5jcnlwdGlvbuKAnSBzbyB0aGF0IGl0IHVu
aWZvcm1seSBhcHBsaWVzIHRvIENCT1IgYW5kIEpTT04/DQoNCkkgdGhpbmsgdGhlIGNhc2UgaGFz
IGJlZW4gbWFkZSB0aGF0IHRoZSBkYXRhIG1vZGVsIGRpZmZlcmVuY2VzIGJldHdlZW4gSlNPTiBh
bmQgQ0JPUiBhcmUgbGVnaXRpbWF0ZSBhbmQgSSBkb27igJl0IHRoaW5rIHRoZSBJRVRGIHNob3Vs
ZCBwaWNrIG9uZSBvdmVyIHRoZSBvdGhlciBhcyBhIHBvbGljeSwgbGV0IHRoZSBzaWRlcyBmaWdo
dCBpdCBvdXQgaW4gdGhlIG1hcmtldCwgbm90IGluIHRoZSBkZWNpc2lvbiB3aGV0aGVyIHRvIGNo
YXJ0ZXIgYSB3b3JraW5nIGdyb3VwLg0KDQpCdXQgZ2V0dGluZyBlYWNoIHNpZGUgdG8gcmVjb2du
aXplIHRoZSBsZWdpdGltYWN5IG9mIHRoZSBvdGhlciBhbmQgbWFraW5nIE9TRSBtb3JlIGluZGVw
ZW5kZW50IG9mIHRoZSBkZXRhaWxzIG9mIHRoZSBkYXRhIG1vZGVsIHdvdWxkIGJlIHJlYWxseSBo
ZWxwZnVsLg0KV2h5IG5vdCBYTUwgYW5kIGh0dHA6Ly93d3cudzMub3JnL1hNTC9FWEkvIHRvbz8N
Cg0KTGFycnkNCuKAlA0KaHR0cDovL2xhcnJ5Lm1hc2ludGVyLm5ldA0KDQoNCg0K


From nobody Wed May 27 23:54:15 2015
Return-Path: <hallam@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 C970E1A1B74; Wed, 27 May 2015 18:08:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.178
X-Spam-Level: *
X-Spam-Status: No, score=1.178 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, FRT_ADOBE2=2.455, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b3IC9-tqdLLd; Wed, 27 May 2015 18:08:18 -0700 (PDT)
Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::229]) (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 1DCF71A8726; Wed, 27 May 2015 18:08:18 -0700 (PDT)
Received: by laat2 with SMTP id t2so20096723laa.1; Wed, 27 May 2015 18:08:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=Cmh9FzzLotdYm2w7lx/u926YteyljEmWCDh4tMxMfos=; b=TyBrMkSeikxz2z9EBMm6rpseDhtCMdZl5N3UXZ0p6WN+npXouQMg8Ma/Q+JhfU8KFC ypVytpr57Yix4aT7owMltWAU6DKBK4lmFxLgBOMiwpYTcF2WBiJfTB0H/H1Gd5gCsaM2 H9HsPlSnnC23LalikhtEVP8GoA+Ssexqp9yYtS2tPTQ+0hjYSfN6UZXSOkHC7rvZHVAE ihosgQZ6jyHKPSwPV7CX2U1Esz72dzC+wJaxu9RLQPRYQZMOZohgsn5hN3d7WsiBcUdq xyRzu7ogVc3AdzeGBjkPC0nYDEN18n/l0jMTiMA9R5xFPvJiRphGyGgzsTf3iOdfwpp+ TvXg==
MIME-Version: 1.0
X-Received: by 10.152.197.2 with SMTP id iq2mr134636lac.103.1432775296556; Wed, 27 May 2015 18:08:16 -0700 (PDT)
Sender: hallam@gmail.com
Received: by 10.112.203.163 with HTTP; Wed, 27 May 2015 18:08:16 -0700 (PDT)
In-Reply-To: <2DADC75C-35E5-43EB-8680-C224A8E7128A@adobe.com>
References: <20150515172554.1006.60355.idtracker@ietfa.amsl.com> <CAMm+LwgwLNVRu6vmb8j+MKvJHePek7XO5VSok9xXGTi4L1gAVw@mail.gmail.com> <20150522210306.GH3791@localhost> <20150522235442.GA2166@localhost> <etPan.5565a2c2.14131b52.7e3b@alma.local> <CAMm+LwhUc2O9hbFcbEBXh6VN03VMi2Z9qAvz7qe00Qw8TJO_nA@mail.gmail.com> <F37BDD76-4CED-4847-8801-146F6E034CEA@cursive.net> <2DADC75C-35E5-43EB-8680-C224A8E7128A@adobe.com>
Date: Wed, 27 May 2015 21:08:16 -0400
X-Google-Sender-Auth: yleRlkWOwsWR9mYkfrYdcCSp-lU
Message-ID: <CAMm+LwjDBsZZYGoxSS3GYr9tMqORXQy8tW0LVfPs9Jp0urW07g@mail.gmail.com>
From: Phillip Hallam-Baker <phill@hallambaker.com>
To: Larry Masinter <masinter@adobe.com>
Content-Type: multipart/alternative; boundary=001a11340b069827b1051719fe49
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/dY87v0eTqRjsvyNpOcFX0Sn4WVw>
X-Mailman-Approved-At: Wed, 27 May 2015 23:54:03 -0700
Cc: Joe Hildebrand <hildjj@cursive.net>, Carsten Bormann <cabo@tzi.org>, IETF Discussion Mailing List <ietf@ietf.org>, cose WG <cose@ietf.org>
Subject: Re: [Cose] WG Review: CBOR Object Signing and Encryption (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: Thu, 28 May 2015 01:08:20 -0000

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

On Wed, May 27, 2015 at 9:02 PM, Larry Masinter <masinter@adobe.com> wrote:

> Could the working group be chartered with a requirement to align =E2=80=
=9CObject
> Signing and Encryption=E2=80=9D so that it uniformly applies to CBOR and =
JSON?
>
> I think the case has been made that the data model differences between
> JSON and CBOR are legitimate and I don=E2=80=99t think the IETF should pi=
ck one
> over the other as a policy, let the sides fight it out in the market, not
> in the decision whether to charter a working group.
>
> But getting each side to recognize the legitimacy of the other and making
> OSE more independent of the details of the data model would be really
> helpful.
> Why not XML and http://www.w3.org/XML/EXI/ too?
>
>
Because XML is a document format which makes it a bad choice for a data
format.

The order of elements means absolutely nothing in an object.
<a><b/><c/></a> conveys exactly the same information as <a><c/><b/></a>. If
the order of a sequence of objects matters, then a sequence should be used.

SGML/XML offer a lot of flexibility in expression because this does matter
in documents. Documents are edited by hand and so schema validation is
useful.

Moving data in a Web Service is essentially just an API call or a return
[occasionally a callback]. More flexibility is neither necessary or
desirable.

--001a11340b069827b1051719fe49
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 Wed, May 27, 2015 at 9:02 PM, Larry Masinter <span dir=3D"ltr">&lt;<=
a href=3D"mailto:masinter@adobe.com" target=3D"_blank">masinter@adobe.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">Could the working gr=
oup be chartered with a requirement to align =E2=80=9CObject Signing and En=
cryption=E2=80=9D so that it uniformly applies to CBOR and JSON?<br>
<br>
I think the case has been made that the data model differences between JSON=
 and CBOR are legitimate and I don=E2=80=99t think the IETF should pick one=
 over the other as a policy, let the sides fight it out in the market, not =
in the decision whether to charter a working group.<br>
<br>
But getting each side to recognize the legitimacy of the other and making O=
SE more independent of the details of the data model would be really helpfu=
l.<br>
Why not XML and <a href=3D"http://www.w3.org/XML/EXI/" target=3D"_blank">ht=
tp://www.w3.org/XML/EXI/</a> too?<br><br></blockquote><div><br></div><div>B=
ecause XML is a document format which makes it a bad choice for a data form=
at.</div><div><br></div><div>The order of elements means absolutely nothing=
 in an object. &lt;a&gt;&lt;b/&gt;&lt;c/&gt;&lt;/a&gt; conveys exactly the =
same information as &lt;a&gt;&lt;c/&gt;&lt;b/&gt;&lt;/a&gt;. If the order o=
f a sequence of objects matters, then a sequence should be used.</div><div>=
<br></div><div>SGML/XML offer a lot of flexibility in expression because th=
is does matter in documents. Documents are edited by hand and so schema val=
idation is useful.</div><div><br></div><div>Moving data in a Web Service is=
 essentially just an API call or a return [occasionally a callback]. More f=
lexibility is neither necessary or desirable.</div></div><br></div></div>

--001a11340b069827b1051719fe49--


From nobody Wed May 27 23:54:16 2015
Return-Path: <masinter@adobe.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 45A3F1B2B92; Wed, 27 May 2015 18:52:24 -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 w_rm19d-MIcu; Wed, 27 May 2015 18:52:22 -0700 (PDT)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0054.outbound.protection.outlook.com [65.55.169.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 933671B2B84; Wed, 27 May 2015 18:52:22 -0700 (PDT)
Received: from SN1PR02MB1328.namprd02.prod.outlook.com (25.162.0.146) by SN1PR02MB1327.namprd02.prod.outlook.com (25.162.0.145) with Microsoft SMTP Server (TLS) id 15.1.172.22; Thu, 28 May 2015 01:52:19 +0000
Received: from SN1PR02MB1328.namprd02.prod.outlook.com ([25.162.0.146]) by SN1PR02MB1328.namprd02.prod.outlook.com ([25.162.0.146]) with mapi id 15.01.0172.012; Thu, 28 May 2015 01:52:19 +0000
From: Larry Masinter <masinter@adobe.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
Thread-Topic: [Cose] WG Review: CBOR Object Signing and Encryption (cose)
Thread-Index: AQHQlMByub14AVBi4kG0Ww87JDgi/52IfDgAgAcx1gaAAJYqgIAACKEA///YIICAAHcTAP//lvUA
Date: Thu, 28 May 2015 01:52:19 +0000
Message-ID: <7BBB4E21-BDDB-4A11-B178-32BAFFB7D170@adobe.com>
References: <20150515172554.1006.60355.idtracker@ietfa.amsl.com> <CAMm+LwgwLNVRu6vmb8j+MKvJHePek7XO5VSok9xXGTi4L1gAVw@mail.gmail.com> <20150522210306.GH3791@localhost> <20150522235442.GA2166@localhost> <etPan.5565a2c2.14131b52.7e3b@alma.local> <CAMm+LwhUc2O9hbFcbEBXh6VN03VMi2Z9qAvz7qe00Qw8TJO_nA@mail.gmail.com> <F37BDD76-4CED-4847-8801-146F6E034CEA@cursive.net> <2DADC75C-35E5-43EB-8680-C224A8E7128A@adobe.com> <CAMm+LwjDBsZZYGoxSS3GYr9tMqORXQy8tW0LVfPs9Jp0urW07g@mail.gmail.com>
In-Reply-To: <CAMm+LwjDBsZZYGoxSS3GYr9tMqORXQy8tW0LVfPs9Jp0urW07g@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/0.0.0.150508
authentication-results: spf=none (sender IP is ) smtp.mailfrom=masinter@adobe.com; 
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [50.184.24.49]
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR02MB1327;
x-microsoft-antispam-prvs: <SN1PR02MB1327798BA0F0262140995FDBC3CA0@SN1PR02MB1327.namprd02.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(520003)(5005006)(3002001); SRVR:SN1PR02MB1327; BCL:0; PCL:0; RULEID:; SRVR:SN1PR02MB1327; 
x-forefront-prvs: 0590BBCCBC
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(189002)(199003)(92566002)(86362001)(87936001)(82746002)(83506001)(54356999)(66066001)(64706001)(189998001)(93886004)(99286002)(76176999)(36756003)(105586002)(106116001)(106356001)(68736005)(16236675004)(122556002)(5001860100001)(62966003)(102836002)(83716003)(5001960100002)(33656002)(4001540100001)(97736004)(2950100001)(110136002)(5001830100001)(40100003)(50986999)(4001350100001)(81156007)(77156002)(101416001)(5002640100001)(2900100001)(46102003)(2656002)(104396002); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR02MB1327; H:SN1PR02MB1328.namprd02.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords;  MX:1; A:1; LANG:en; 
received-spf: None (protection.outlook.com: adobe.com does not designate permitted sender hosts)
Content-Type: multipart/alternative; boundary="_000_7BBB4E21BDDB4A11B17832BAFFB7D170adobecom_"
MIME-Version: 1.0
X-OriginatorOrg: adobe.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 May 2015 01:52:19.3682 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: fa7b1b5a-7b34-4387-94ae-d2c178decee1
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR02MB1327
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/iIbo5ypp6bhvAkI4I6YJyCtHCA0>
X-Mailman-Approved-At: Wed, 27 May 2015 23:54:03 -0700
Cc: Joe Hildebrand <hildjj@cursive.net>, Carsten Bormann <cabo@tzi.org>, IETF Discussion Mailing List <ietf@ietf.org>, cose WG <cose@ietf.org>
Subject: Re: [Cose] WG Review: CBOR Object Signing and Encryption (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: Thu, 28 May 2015 01:52:24 -0000

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

SSB0aGluayB5b3UgbWlzc2VkIHRoZSBwb2ludDogaXMgaXQgcG9zc2libGUgbm90IHRvIGhhdmUg
dG8gcmVzcGVjIHNpZ25pbmcgYW5kIGVuY3J5cHRpb24NCmZvciBldmVyeSB2YXJpYW50IG9mIGRh
dGEgbW9kZWwgYW5kIHNlcmlhbGl6YXRpb24/DQoNCj4gIFhNTCBpcyBhIGRvY3VtZW50IGZvcm1h
dCB3aGljaCBtYWtlcyBpdCBhIGJhZCBjaG9pY2UgZm9yIGEgZGF0YSBmb3JtYXQuDQpUaGVyZSBh
cmUgYSB3aWRlIHZhcmlldHkgb2YgY29udGV4dHMgYW5kIGNvbnNpZGVyYXRpb25zLg0KDQpIb3cg
d291bGQgeW91IHVwZGF0ZSBCQ1A3MCBvbiB1c2Ugb2YgWE1MPyBTZWN0aW9uIDMgY292ZXJzIG1h
bnkgb2YgdGhlIHBvaW50cy4NCg0KDQoNCg0K

--_000_7BBB4E21BDDB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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 081691A8A84 for <cose@ietfa.amsl.com>; Wed, 27 May 2015 19:15:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.79
X-Spam-Level: 
X-Spam-Status: No, score=-1.79 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, 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 l3wFdgAPBpRs for <cose@ietfa.amsl.com>; Wed, 27 May 2015 19:15:07 -0700 (PDT)
Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::22a]) (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 4C03F1A8A7D for <cose@ietf.org>; Wed, 27 May 2015 19:15:07 -0700 (PDT)
Received: by iepj10 with SMTP id j10so27913332iep.3 for <cose@ietf.org>; Wed, 27 May 2015 19:15:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cursive.net; s=google;  h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-type; bh=XNYonwGkjTzKQXprR/bbg7nEnNt/tkkfC0pewZr7hUs=; b=irPxvhpl2OBzuP5rTWAwrJ39Z9S8udU3EtG973oQBwqHpuPvRaIRF4qB9JlluvwiDt eeKmG1rQD5bIw8bDwHmToDAMlTDGySPwUdeF75XWqiGBZJGupuQKokVcBfCFl4XMpX1c cSvV5JFU9XWuYxbKFYbrSDngjvvo0MbMzAQn0=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-type; bh=XNYonwGkjTzKQXprR/bbg7nEnNt/tkkfC0pewZr7hUs=; b=fNfk+1NvUw8yidZ8MjOeBat+mVQkpF5ORI3WvJTzQAe3WmMbOgbn3qCVUQC23CMFxF 7qz3MisAGhvg6H8pBU8CTkdKZpg5QHpRVrLu6MGsPVvBxe+RRzi+d59ZVAMBlLkZ72t6 kMyWHVE5k9lPOI8H5EBo1yxBZE+dgGrA0lhtloH3Yow/TAv0a27nKd+/vKzlUeOMagvT 4sJPyPzTya8jHzZwsl2FK6jfoU652hY4JZMKAri08j7TzhwiB/5z5yIx4IshRUQQi4Hq Ztw1xJTtVxZT+5f/PlKz0lROtIf9zcm2QOzts4CnqZ34SOANfVO5MQm2N0FCboGJkAE+ S1ew==
X-Gm-Message-State: ALoCoQno0UI9ufXhE0aVZj1MonY0mCNH5ZAn0ts/vzVmHu4/DoKrdT/ge3g9wsjuVViWRWLnXhxY
X-Received: by 10.43.152.204 with SMTP id kx12mr6762105icc.51.1432779306452; Wed, 27 May 2015 19:15:06 -0700 (PDT)
Received: from [192.168.59.3] (c-71-229-199-131.hsd1.co.comcast.net. [71.229.199.131]) by mx.google.com with ESMTPSA id h128sm665970ioh.38.2015.05.27.19.15.04 (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 27 May 2015 19:15:05 -0700 (PDT)
From: "Joe Hildebrand" <hildjj@cursive.net>
To: "Larry Masinter" <masinter@adobe.com>
Date: Wed, 27 May 2015 20:14:52 -0600
Message-ID: <30714C6A-805E-48EE-B78D-A19A2C2243CB@cursive.net>
In-Reply-To: <7BBB4E21-BDDB-4A11-B178-32BAFFB7D170@adobe.com>
References: <20150515172554.1006.60355.idtracker@ietfa.amsl.com> <CAMm+LwgwLNVRu6vmb8j+MKvJHePek7XO5VSok9xXGTi4L1gAVw@mail.gmail.com> <20150522210306.GH3791@localhost> <20150522235442.GA2166@localhost> <etPan.5565a2c2.14131b52.7e3b@alma.local> <CAMm+LwhUc2O9hbFcbEBXh6VN03VMi2Z9qAvz7qe00Qw8TJO_nA@mail.gmail.com> <F37BDD76-4CED-4847-8801-146F6E034CEA@cursive.net> <2DADC75C-35E5-43EB-8680-C224A8E7128A@adobe.com> <CAMm+LwjDBsZZYGoxSS3GYr9tMqORXQy8tW0LVfPs9Jp0urW07g@mail.gmail.com> <7BBB4E21-BDDB-4A11-B178-32BAFFB7D170@adobe.com>
MIME-Version: 1.0
Content-Type: text/plain; format=flowed
X-Mailer: MailMate Trial (1.9.1r5084)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/D_ZjfpTk3bBnS-lSxqNNDG5Ya5w>
X-Mailman-Approved-At: Wed, 27 May 2015 23:54:03 -0700
Cc: Carsten Bormann <cabo@tzi.org>, Phillip Hallam-Baker <phill@hallambaker.com>, IETF Discussion Mailing List <ietf@ietf.org>, cose WG <cose@ietf.org>
Subject: Re: [Cose] WG Review: CBOR Object Signing and Encryption (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: Thu, 28 May 2015 02:15:08 -0000

On 27 May 2015, at 19:52, Larry Masinter wrote:

> How would you update BCP70 on use of XML? Section 3 covers many of the 
> points.

Reduce it to one sentence:

"Do not use XML for new wire protocols, please."

-- 
Joe Hildebrand


From nobody Wed May 27 23:55:12 2015
Return-Path: <fanf2@hermes.cam.ac.uk>
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 B2C001B2A99; Wed, 27 May 2015 15:54:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.209
X-Spam-Level: 
X-Spam-Status: No, score=-4.209 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_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 U0cswr9ormHE; Wed, 27 May 2015 15:54:28 -0700 (PDT)
Received: from ppsw-41.csi.cam.ac.uk (ppsw-41.csi.cam.ac.uk [131.111.8.141]) (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 422061B2A62; Wed, 27 May 2015 15:54:27 -0700 (PDT)
X-Cam-AntiVirus: no malware found
X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/
Received: from 94.197.120.240.threembb.co.uk ([94.197.120.240]:40206 helo=[10.90.119.64]) by ppsw-41.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.157]:587) with esmtpsa (PLAIN:fanf2) (TLSv1:DHE-RSA-AES256-SHA:256) id 1YxkDN-00027y-S0 (Exim 4.82_3-c0e5623) (return-path <fanf2@hermes.cam.ac.uk>); Wed, 27 May 2015 23:54:21 +0100
Content-Type: multipart/alternative; boundary=Apple-Mail-89D7CE00-9D57-4083-A983-1FAB908EAA70
Mime-Version: 1.0 (1.0)
From: Tony Finch <dot@dotat.at>
X-Mailer: iPhone Mail (12F70)
In-Reply-To: <CAMm+LwgbwXhORCYUHiBgMgRo-0dBvcvrQfrEBx7=4i85fY+ZrA@mail.gmail.com>
Date: Wed, 27 May 2015 23:54:20 +0100
Content-Transfer-Encoding: 7bit
Message-Id: <A5B49165-9C4B-4BAD-AC0D-4C8FDE4340BA@dotat.at>
References: <20150515172554.1006.60355.idtracker@ietfa.amsl.com> <CAMm+LwgwLNVRu6vmb8j+MKvJHePek7XO5VSok9xXGTi4L1gAVw@mail.gmail.com> <CAAQiQRdXJHNNoJ4_iCR32UyC7PUHcNU0EUNbmLAkXaPA7-OLVQ@mail.gmail.com> <5564CE81.7040904@tzi.org> <CAAQiQRdKa1kXk82OkHyT1HGNJWvGtZk3pVY3Y5yCiwkXC9pg2Q@mail.gmail.com> <CAMm+LwgbwXhORCYUHiBgMgRo-0dBvcvrQfrEBx7=4i85fY+ZrA@mail.gmail.com>
To: Phillip Hallam-Baker <phill@hallambaker.com>
Sender: Tony Finch <fanf2@hermes.cam.ac.uk>
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/7l02HGkDG7u8cB40hjj7eoPpAWM>
X-Mailman-Approved-At: Wed, 27 May 2015 23:55:09 -0700
Cc: Carsten Bormann <cabo@tzi.org>, cose WG <cose@ietf.org>, IETF Discussion Mailing List <ietf@ietf.org>, "iesg@ietf.org" <iesg@ietf.org>, Andrew Newton <andy@hxr.us>
Subject: Re: [Cose] WG Review: CBOR Object Signing and Encryption (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: Wed, 27 May 2015 22:54:30 -0000

--Apple-Mail-89D7CE00-9D57-4083-A983-1FAB908EAA70
Content-Type: text/plain;
	charset=us-ascii
Content-Transfer-Encoding: quoted-printable


> On 27 May 2015, at 21:30, Phillip Hallam-Baker <phill@hallambaker.com> wro=
te:
>=20
> If we get the DNS client-resolver link fixed so it is practical to make mu=
ltiple requests in one round trip request,=20

It is already possible to send multiple DNS requests in one round trip. I kn=
ow you want to be able to ask multiple questions in one request, but it is p=
ractically impossible to upgrade everything to support that, and there is no=
 need since concurrent requests work.

Tony.
--=20
f.anthony.n.finch  <dot@dotat.at>  http://dotat.at=

--Apple-Mail-89D7CE00-9D57-4083-A983-1FAB908EAA70
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable

<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charset=3D=
utf-8"></head><body dir=3D"auto"><div><br></div><div><div><font color=3D"#00=
0000"><span style=3D"background-color: rgba(255, 255, 255, 0);">On 27 May 20=
15, at 21:30, Phillip Hallam-Baker &lt;<a href=3D"mailto:phill@hallambaker.c=
om">phill@hallambaker.com</a>&gt; wrote:<br><br></span></font></div><blockqu=
ote type=3D"cite"><div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"=
gmail_quote"><font color=3D"#000000"><span style=3D"background-color: rgba(2=
55, 255, 255, 0);">If we get the DNS client-resolver link fixed so it is pra=
ctical to make multiple requests in one round trip request,&nbsp;</span></fo=
nt></div></div></div></blockquote><div><br></div><div>It is already possible=
 to send multiple DNS requests in one round trip. I know you want to be able=
 to ask multiple questions in one request, but it is practically impossible t=
o upgrade everything to support that, and there is no need since concurrent r=
equests work.</div><br>Tony.<div>--&nbsp;</div><div>f.anthony.n.finch &nbsp;=
&lt;<a href=3D"mailto:dot@dotat.at">dot@dotat.at</a>&gt; &nbsp;<a href=3D"ht=
tp://dotat.at">http://dotat.at</a></div></div></body></html>=

--Apple-Mail-89D7CE00-9D57-4083-A983-1FAB908EAA70--


From nobody Thu May 28 06:30:55 2015
Return-Path: <Kathleen.Moriarty.ietf@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 370E11AC41A; Thu, 28 May 2015 06:30:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level: 
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=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 SbQfsTmh-CUT; Thu, 28 May 2015 06:30:50 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id A1E221AC416; Thu, 28 May 2015 06:30:48 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "Kathleen Moriarty" <Kathleen.Moriarty.ietf@gmail.com>
To: "The IESG" <iesg@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.0.3.p1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20150528133048.17003.68658.idtracker@ietfa.amsl.com>
Date: Thu, 28 May 2015 06:30:48 -0700
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/54ZKnfCj8azlRyC7yAIQ6ScQaHU>
Cc: cose@ietf.org
Subject: [Cose] Kathleen Moriarty's Yes on charter-ietf-cose-00-02: (with COMMENT)
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: Thu, 28 May 2015 13:30:51 -0000

Kathleen Moriarty has entered the following ballot position for
charter-ietf-cose-00-02: Yes

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)



The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/charter-ietf-cose/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

Since this is the first charter I am putting through, I didn't realize I
also had to add a ballot after putting this in external review.  If I
need to defer this to the next call, that will have to be ok...  The
working group is active on items anyway, so it shouldn't hold them up
much.



From nobody Thu May 28 06:38:33 2015
Return-Path: <ietf-secretariat-reply@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 0E36B1A923D for <cose@ietfa.amsl.com>; Thu, 28 May 2015 06:30:09 -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] 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 A-eCYqY7pSwM for <cose@ietfa.amsl.com>; Thu, 28 May 2015 06:30:08 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 311201AC41C for <cose@ietf.org>; Thu, 28 May 2015 06:30:07 -0700 (PDT)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
To: <cose@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.0.3.p1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20150528133007.3597.36605.idtracker@ietfa.amsl.com>
Date: Thu, 28 May 2015 06:30:07 -0700
From: IETF Secretariat <ietf-secretariat-reply@ietf.org>
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/OWcafM4NKzLczgDIrjsQFS1UwRM>
X-Mailman-Approved-At: Thu, 28 May 2015 06:38:32 -0700
Subject: [Cose] State changed: charter-ietf-cose-00-02
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: Thu, 28 May 2015 13:30:09 -0000

State changed to IESG review.

URL: https://datatracker.ietf.org/doc/charter-ietf-cose/


From nobody Thu May 28 06:42:14 2015
Return-Path: <barryleiba@computer.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 3CA2F1A889F; Thu, 28 May 2015 06:40:00 -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] 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 koedp360FqHR; Thu, 28 May 2015 06:39:59 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id AFAC01AC442; Thu, 28 May 2015 06:39:36 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "Barry Leiba" <barryleiba@computer.org>
To: "The IESG" <iesg@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.0.3.p1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20150528133936.13861.16377.idtracker@ietfa.amsl.com>
Date: Thu, 28 May 2015 06:39:36 -0700
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/QmxEzU99DUp4oeQokuQm8OBlNp0>
X-Mailman-Approved-At: Thu, 28 May 2015 06:42:13 -0700
Cc: cose@ietf.org
Subject: [Cose] Barry Leiba's No Objection on charter-ietf-cose-00-02: (with COMMENT)
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: Thu, 28 May 2015 13:40:00 -0000

Barry Leiba has entered the following ballot position for
charter-ietf-cose-00-02: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)



The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/charter-ietf-cose/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

Phill is not wrong in his comments, and I have some sympathy for the path
he would rather go down.

That said, there is clearly interest and need here, and the energy to do
the work, and that would be so regardless of how we got here -- indeed,
even if CBOR had just been an ad hoc representation format that people
had started to use, that came completely from outside the IETF.

I think, therefore, that this working group should go ahead... and that
the sort of thing that Phill suggests should also go ahead, if there is
interest and energy to start a working group on it.



From nobody Thu May 28 06:50:54 2015
Return-Path: <stephen.farrell@cs.tcd.ie>
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 30E7A1ACD24; Thu, 28 May 2015 06:50:52 -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] 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 sUUMBDktJT2z; Thu, 28 May 2015 06:50:51 -0700 (PDT)
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 0963D1A88A9; Thu, 28 May 2015 06:50:51 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: "Stephen Farrell" <stephen.farrell@cs.tcd.ie>
To: "The IESG" <iesg@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.0.3.p1
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20150528135051.2798.47281.idtracker@ietfa.amsl.com>
Date: Thu, 28 May 2015 06:50:51 -0700
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/ebiQJbF-gP_c7xBL98zkPTkNp4M>
Cc: cose@ietf.org
Subject: [Cose] Stephen Farrell's Yes on charter-ietf-cose-00-02: (with COMMENT)
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: Thu, 28 May 2015 13:50:52 -0000

Stephen Farrell has entered the following ballot position for
charter-ietf-cose-00-02: Yes

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)



The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/charter-ietf-cose/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

I was initially sceptical that there were enough folks 
interested in CBOR to justify this but was convinced
that there are. 

That does sort-of create a precedent for us that anytime
someone comes along with a way of representing data
on the wire then we should be ok with a WG to define
the crypto for that so long as there's enough folks
interested. I'm fine with that, but that does follow from
saying yes here I think so I just wanted to call that
out to the IESG in case someone disagrees.



From nobody Thu May 28 07:05:17 2015
Return-Path: <barryleiba@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 8D8E81ACD29; Thu, 28 May 2015 07:00:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level: 
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id rKYxlEVLBEcs; Thu, 28 May 2015 07:00:51 -0700 (PDT)
Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::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 71E9F1A8A23; Thu, 28 May 2015 07:00:51 -0700 (PDT)
Received: by iepj10 with SMTP id j10so38699687iep.3; Thu, 28 May 2015 07:00:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=2WV5IIeZHeOoqr4dqlOjZ/QU6S2IkUlTqB1INtEFShg=; b=lps7fAKOwhvN1ErVSl1OmNzCmVchEZ0UiNwNV3ezGeJu/lZhVNlheIoJ2IUE+2qvdG BFtbfKoyoMFxUeheZi71+E2uRsSqIC9HLbfJjqSTToFPTsgpYxR3FsOitJUjS9BuSyB/ JobGX5HVDLhgM7/qkkkq3mAcJAks7HAvc4nYNMMggXasyA9RmAKjBrrja6jBszqcZDOG RdRe5+gziPXWAQGxvmkSmxFj3SO2y5ZIq0YclWHa8z3siX4wIiDfbmr5zFUG1vNyAcxm POz7E/pEzt5rVw6Q6dSrnNZqNTG2bqctTHdVSciHbBHzoSAhwXhd8RvxHS7WVTx8fjFI 17Iw==
MIME-Version: 1.0
X-Received: by 10.43.34.205 with SMTP id st13mr9584681icb.4.1432821650936; Thu, 28 May 2015 07:00:50 -0700 (PDT)
Sender: barryleiba@gmail.com
Received: by 10.107.3.195 with HTTP; Thu, 28 May 2015 07:00:50 -0700 (PDT)
In-Reply-To: <20150528135051.2798.47281.idtracker@ietfa.amsl.com>
References: <20150528135051.2798.47281.idtracker@ietfa.amsl.com>
Date: Thu, 28 May 2015 10:00:50 -0400
X-Google-Sender-Auth: _4P0gDu87ogpbM2jBIZj5fKnnZU
Message-ID: <CALaySJL_r-_GwPkTuc658hY-dU1CNKKhWTuP=AgjUGSaacNDVA@mail.gmail.com>
From: Barry Leiba <barryleiba@computer.org>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/5bf5I5pziRd2p1n6dXlTrcFkzOg>
X-Mailman-Approved-At: Thu, 28 May 2015 07:05:15 -0700
Cc: The IESG <iesg@ietf.org>, cose@ietf.org
Subject: Re: [Cose] Stephen Farrell's Yes on charter-ietf-cose-00-02: (with COMMENT)
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, 28 May 2015 14:00:52 -0000

> That does sort-of create a precedent for us that anytime
> someone comes along with a way of representing data
> on the wire then we should be ok with a WG to define
> the crypto for that so long as there's enough folks
> interested. I'm fine with that, but that does follow from
> saying yes here I think so I just wanted to call that
> out to the IESG in case someone disagrees.

For the record, I think my comment amounts to the same sort of result as yours.

Barry


From nobody Thu May 28 07:27:38 2015
Return-Path: <kathleen.moriarty.ietf@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 626831ACDEC; Thu, 28 May 2015 07:27:36 -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 rZdmdUXvQ7r1; Thu, 28 May 2015 07:27:34 -0700 (PDT)
Received: from mail-lb0-x235.google.com (mail-lb0-x235.google.com [IPv6:2a00:1450:4010:c04::235]) (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 BFB021ACDBC; Thu, 28 May 2015 07:22:38 -0700 (PDT)
Received: by lbcue7 with SMTP id ue7so29421038lbc.0; Thu, 28 May 2015 07:22:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XuvpLg/xmz745daEC1OkJWAtWUg2TfoKRIF649de9J8=; b=Oj/CzT2md34+NUf7TZZSa7tTyPc3TFayVhLcHWRoYP3Sbs3wPudvgAJxmd34uBVSIx ts0nUDmMOYtJ3FHz4cdNNV9EyqyoVMoQOlknvnDQ5QyfiOb6BZziGGn9Dr1UtYcgrLgu /1PTpUAnMbvWHLqus+Ujz7+0Vte3UVVwzG+O6IGnVtm3N3TMYEad8bqCMiHyK2XIBJdD 4PdUT/oQiSD7JsA28f4bj+8bjD6Knevkqarz5+mHUcbfXxd4enjK5ufwxL/lUaRClp9/ ReUsR7DHkhQk24LOsclpTNg1xjb34sbuimT/9MG4I1YWl8FCblfkodac3G7FeS3FKvGI Mg6g==
MIME-Version: 1.0
X-Received: by 10.152.121.42 with SMTP id lh10mr3209754lab.0.1432822957243; Thu, 28 May 2015 07:22:37 -0700 (PDT)
Received: by 10.112.11.199 with HTTP; Thu, 28 May 2015 07:22:37 -0700 (PDT)
In-Reply-To: <CALaySJL_r-_GwPkTuc658hY-dU1CNKKhWTuP=AgjUGSaacNDVA@mail.gmail.com>
References: <20150528135051.2798.47281.idtracker@ietfa.amsl.com> <CALaySJL_r-_GwPkTuc658hY-dU1CNKKhWTuP=AgjUGSaacNDVA@mail.gmail.com>
Date: Thu, 28 May 2015 10:22:37 -0400
Message-ID: <CAHbuEH7+ren_GbuQwanx=RpeABHVOOge=LLmO8pqf6t+aWmvjg@mail.gmail.com>
From: Kathleen Moriarty <kathleen.moriarty.ietf@gmail.com>
To: Barry Leiba <barryleiba@computer.org>
Content-Type: multipart/alternative; boundary=089e0117748564834705172517e0
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/QL6aG_plGft5wRoymPW2f3WIRDI>
Cc: "cose@ietf.org" <cose@ietf.org>, The IESG <iesg@ietf.org>, Stephen Farrell <stephen.farrell@cs.tcd.ie>
Subject: Re: [Cose] Stephen Farrell's Yes on charter-ietf-cose-00-02: (with COMMENT)
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, 28 May 2015 14:27:36 -0000

--089e0117748564834705172517e0
Content-Type: text/plain; charset=UTF-8

On Thu, May 28, 2015 at 10:00 AM, Barry Leiba <barryleiba@computer.org>
wrote:

> > That does sort-of create a precedent for us that anytime
> > someone comes along with a way of representing data
> > on the wire then we should be ok with a WG to define
> > the crypto for that so long as there's enough folks
> > interested. I'm fine with that, but that does follow from
> > saying yes here I think so I just wanted to call that
> > out to the IESG in case someone disagrees.
>
> For the record, I think my comment amounts to the same sort of result as
> yours.
>
> Thanks, Barry.  I got this info up front in meetings and discussions, so
it was good to see it on list again for everyone else's benefit.


> Barry
>
>


-- 

Best regards,
Kathleen

--089e0117748564834705172517e0
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 Thu, May 28, 2015 at 10:00 AM, Barry Leiba <span dir=3D"ltr">&lt;<a =
href=3D"mailto:barryleiba@computer.org" target=3D"_blank">barryleiba@comput=
er.org</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"><span class=
=3D"">&gt; That does sort-of create a precedent for us that anytime<br>
&gt; someone comes along with a way of representing data<br>
&gt; on the wire then we should be ok with a WG to define<br>
&gt; the crypto for that so long as there&#39;s enough folks<br>
&gt; interested. I&#39;m fine with that, but that does follow from<br>
&gt; saying yes here I think so I just wanted to call that<br>
&gt; out to the IESG in case someone disagrees.<br>
<br>
</span>For the record, I think my comment amounts to the same sort of resul=
t as yours.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br></font></span></blockquo=
te><div>Thanks, Barry.=C2=A0 I got this info up front in meetings and discu=
ssions, so it was good to see it on list again for everyone else&#39;s bene=
fit.</div><div>=C2=A0<br></div><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=
=3D"HOEnZb"><font color=3D"#888888">
Barry<br>
<br>
</font></span></blockquote></div><br><br clear=3D"all"><div><br></div>-- <b=
r><div class=3D"gmail_signature"><div dir=3D"ltr"><br><div>Best regards,</d=
iv><div>Kathleen</div></div></div>
</div></div>

--089e0117748564834705172517e0--


From nobody Thu May 28 09:39:33 2015
Return-Path: <martin.thomson@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 B52C21A1B2D; Thu, 28 May 2015 09:39:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level: 
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9,  DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id klAAITjZaRw2; Thu, 28 May 2015 09:39:30 -0700 (PDT)
Received: from mail-yh0-x231.google.com (mail-yh0-x231.google.com [IPv6:2607:f8b0:4002:c01::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 0228F1A0015; Thu, 28 May 2015 09:39:28 -0700 (PDT)
Received: by yhda23 with SMTP id a23so12571051yhd.2; Thu, 28 May 2015 09:39:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;  h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PmoEDvkCc1P6UGsgg1/AaU6XbKKKjGdf+QPvoOEBEyI=; b=lkQuabkDhHDaHqU+IHHXDYwLSHrjcYebbYS3L8Kyu+KCHVACDa1PPootIIB8v08xtR C9GO1U+3pSRpqe9Pk43FwK/RH0AVfQK6agYAIINkpH/g80mR9yJP7HgSh2I8+MF+17tu NTddCPVN8S9ecTcgrjjvP4DH0VwIXR1hlDWLyq4jzHn0ocENeF4b80JPm1PQYZCFWnP8 PD/4FshvyM+rOpYi5Ya2rrDi5wrI7+UwOZQq/6hMAvtJKOJmlBK3NYS5yh9uE5eEQrtr FEmrIgZDCcmZAA6ttn4XLaEjy24uX3UockyyJ4VHjAA8FGyfglRylmmocH7U7nUzevdA Sc/Q==
MIME-Version: 1.0
X-Received: by 10.236.47.169 with SMTP id t29mr3528944yhb.69.1432831167448; Thu, 28 May 2015 09:39:27 -0700 (PDT)
Received: by 10.129.110.138 with HTTP; Thu, 28 May 2015 09:39:27 -0700 (PDT)
In-Reply-To: <30714C6A-805E-48EE-B78D-A19A2C2243CB@cursive.net>
References: <20150515172554.1006.60355.idtracker@ietfa.amsl.com> <CAMm+LwgwLNVRu6vmb8j+MKvJHePek7XO5VSok9xXGTi4L1gAVw@mail.gmail.com> <20150522210306.GH3791@localhost> <20150522235442.GA2166@localhost> <etPan.5565a2c2.14131b52.7e3b@alma.local> <CAMm+LwhUc2O9hbFcbEBXh6VN03VMi2Z9qAvz7qe00Qw8TJO_nA@mail.gmail.com> <F37BDD76-4CED-4847-8801-146F6E034CEA@cursive.net> <2DADC75C-35E5-43EB-8680-C224A8E7128A@adobe.com> <CAMm+LwjDBsZZYGoxSS3GYr9tMqORXQy8tW0LVfPs9Jp0urW07g@mail.gmail.com> <7BBB4E21-BDDB-4A11-B178-32BAFFB7D170@adobe.com> <30714C6A-805E-48EE-B78D-A19A2C2243CB@cursive.net>
Date: Thu, 28 May 2015 09:39:27 -0700
Message-ID: <CABkgnnXRD+vBE2FCDr9P=5ZccOFNY4TwRirVU=0jFmCGHDYsQg@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
To: Joe Hildebrand <hildjj@cursive.net>
Content-Type: text/plain; charset=UTF-8
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/l8KtqzKvg-r3vPucgpKt_tMXMv8>
Cc: Carsten Bormann <cabo@tzi.org>, Phillip Hallam-Baker <phill@hallambaker.com>, cose WG <cose@ietf.org>, IETF Discussion Mailing List <ietf@ietf.org>, Larry Masinter <masinter@adobe.com>
Subject: Re: [Cose] WG Review: CBOR Object Signing and Encryption (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: Thu, 28 May 2015 16:39:31 -0000

On 27 May 2015 at 19:14, Joe Hildebrand <hildjj@cursive.net> wrote:
>
>> How would you update BCP70 on use of XML? Section 3 covers many of the
>> points.
>
>
> Reduce it to one sentence:
>
> "Do not use XML for new wire protocols, please."


Yes.  Lesson learned.


From nobody Thu May 28 12:04:24 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 13AAA1A1BB3; Thu, 28 May 2015 12:04:23 -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 ooDKQ9y0ElWR; Thu, 28 May 2015 12:04:22 -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 3C3E31A1B9A; Thu, 28 May 2015 12:04:22 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id B239FE2036; Thu, 28 May 2015 15:04:20 -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 15571-09; Thu, 28 May 2015 15:04:19 -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 AF435E2035; Thu, 28 May 2015 15:04:18 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1432839858; bh=LniAEH93JAgY5+LSPFOw5Jqa2+JY17NB5E4/6IsQOek=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=LJkYX6fdLsDEn0MJDi7UWOSS57hJ7MV/+YB53H/n9iMxcBLdWfXZFEE3Eyhox/jil IREEGW4k819rwC33Mz/iJf5rU4V2m72DIhLdD3MT27E2NZlJ79ghyqbG2F/TRBizz3 +lfkvojhPdJDVkoB7/V4IEyNAi+JefS2XJk6wR+I=
Received: (from warlord@localhost) by securerf.ihtfp.org (8.14.8/8.14.8/Submit) id t4SJ4IGx027836; Thu, 28 May 2015 15:04:18 -0400
From: Derek Atkins <derek@ihtfp.com>
To: "Stephen Farrell" <stephen.farrell@cs.tcd.ie>
References: <20150528135051.2798.47281.idtracker@ietfa.amsl.com>
Date: Thu, 28 May 2015 15:04:18 -0400
In-Reply-To: <20150528135051.2798.47281.idtracker@ietfa.amsl.com> (Stephen Farrell's message of "Thu, 28 May 2015 06:50:51 -0700")
Message-ID: <sjmzj4ofrrh.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/Ookx04g3msdL8bvtOhYIlZIm4so>
Cc: The IESG <iesg@ietf.org>, cose@ietf.org
Subject: Re: [Cose] Stephen Farrell's Yes on charter-ietf-cose-00-02: (with COMMENT)
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, 28 May 2015 19:04:23 -0000

"Stephen Farrell" <stephen.farrell@cs.tcd.ie> writes:

> That does sort-of create a precedent for us that anytime
> someone comes along with a way of representing data
> on the wire then we should be ok with a WG to define
> the crypto for that so long as there's enough folks
> interested. I'm fine with that, but that does follow from
> saying yes here I think so I just wanted to call that
> out to the IESG in case someone disagrees.

I'll note that if CBOR had not already been an IETF RFC (7049) then I'd
have less of an positive attitude towards it (and as a result COSE).  So
it's not quite "anytime someone comes along with a way of representing
data on the wire."

On the other hand I'll point out that the IETF has long been a place
where outside work has been accepted.  C.f. XMPP/BEEP, OAuth, and a
bunch of other stuff too.

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


From nobody Fri May 29 12:41:55 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 459181A1B9E for <cose@ietfa.amsl.com>; Fri, 29 May 2015 12:41:55 -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 epNqp-BYnHuQ for <cose@ietfa.amsl.com>; Fri, 29 May 2015 12:41:54 -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 1C2B31A1B7C for <cose@ietf.org>; Fri, 29 May 2015 12:41:54 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id 30FB2E203A; Fri, 29 May 2015 15:41:52 -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 23969-08; Fri, 29 May 2015 15:41:50 -0400 (EDT)
Received: from securerf.ihtfp.org (marriott-chateau-champlain-montreal.sites.intello.com [66.171.169.34]) (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 38275E2038; Fri, 29 May 2015 15:41:50 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1432928510; bh=USOH4J5vH4WMl/wNVJz6GTWQ8okdlXsLC0f2CYjAjoU=; h=From:To:Cc:Subject:References:Date:In-Reply-To; b=OKcSr/Q+mITdrOn7TAovJid1ytcKFAO4OpHK4HSugEPfSExPG3XrjE3UF2xa7GnmO CTN7edAFoLeXbH7hzTbDC/FkO+Lkp1Hr5rsfSAsHzLDRkfQOsdLRn68pC48xGC0VsD vz6K299ckJGMhNSSZBdVPt8qB4ezLUj4jaYSt4F0=
Received: (from warlord@localhost) by securerf.ihtfp.org (8.14.8/8.14.8/Submit) id t4QKY1oJ012404; Tue, 26 May 2015 16:34:01 -0400
From: Derek Atkins <derek@ihtfp.com>
To: Mike Jones <Michael.Jones@microsoft.com>
References: <016501d091ae$67909510$36b1bf30$@augustcellars.com> <sjmd21vjecz.fsf@securerf.ihtfp.org> <000701d09333$3fa641e0$bef2c5a0$@augustcellars.com> <sjmegm8iq5u.fsf@securerf.ihtfp.org> <027d01d094c8$f4aad1f0$de0075d0$@augustcellars.com> <BY2PR03MB44227FE4286301C4AD4A129F5C00@BY2PR03MB442.namprd03.prod.outlook.com>
Date: Tue, 26 May 2015 16:34:01 -0400
In-Reply-To: <BY2PR03MB44227FE4286301C4AD4A129F5C00@BY2PR03MB442.namprd03.prod.outlook.com> (Mike Jones's message of "Fri, 22 May 2015 20:06:17 +0000")
Message-ID: <sjm617fhydi.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/k-lLWmIaN3aS30p9Q5M510GrzMg>
Cc: Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] ISSUE:  Use of integer rather than string tags
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, 29 May 2015 19:41:55 -0000

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

> Derek, you're right that JOSE chose to use string identifiers for
> algorithms, rather than structured identifiers.  That means that
> algorithm processing just requires table lookup, rather than structure
> parsing.  There are no modifiers or additional algorithm parameters
> specified separately, by design.  One of the ways that the working
> group tried to "keep simple things simple".

So for "ES256" is that always ECC P-256 with SHA-2 256?  Is there, e.g.,
no way to specify a different 256-bit curve, or a different hash
algorithm?

> 				Cheers,
> 				-- Mike

-derek

> -----Original Message-----
> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
> Sent: Friday, May 22, 2015 12:53 PM
> To: 'Derek Atkins'
> Cc: cose@ietf.org
> Subject: Re: [Cose] ISSUE: Use of integer rather than string tags
>
>
>
> -----Original Message-----
> From: Derek Atkins [mailto:derek@ihtfp.com]
> Sent: Friday, May 22, 2015 8:32 AM
> To: Jim Schaad
> Cc: 'Derek Atkins'; cose@ietf.org
> Subject: Re: [Cose] ISSUE: Use of integer rather than string tags
>
> "Jim Schaad" <ietf@augustcellars.com> writes:
>
>>> It depends whether we want to have to say something like:
>>> 
>>> alg => {ec_sha2 => p256}  instead of alg => es256
>>
>> My assumption has been that we are going to use a similar naming 
>> scheme to that followed by JOSE.
>>
>> alg=> ec_sha2 - but the curve is defined in the key used.   Thus ec_sha2
> can
>> be used for any of the NIST curves and any other curve that follows 
>> the same point convention.
>>
>> This means that we are going to get two versions of ECDH - one for the 
>> current {x,y} points and a new one for the {x} only points.
>>
>> In terms of doing something like ECHD - there are a number of other 
>> items that are defined in the algorithm id, i.e. not Chinese menu, 
>> that will lead to some proliferation of algorithms.  But not as badly 
>> as TLS where a complete set of all algorithms are combined in a single
> suite value.
>
> I am fine with this approach (although I thought JOSE combined the EC with the Signature and Key Size, e.g. { alg: ES256 }?
>
> [JLS] No that is actually hash size.
>
> jim
>
>> Jim
>
> -derek

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


From nobody Fri May 29 12:55: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 6AF271A7032 for <cose@ietfa.amsl.com>; Fri, 29 May 2015 12:55:50 -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 K9nLCgf_2AYa for <cose@ietfa.amsl.com>; Fri, 29 May 2015 12:55:48 -0700 (PDT)
Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0131.outbound.protection.outlook.com [65.55.169.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 10EFA1A700D for <cose@ietf.org>; Fri, 29 May 2015 12:55:47 -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.172.17; Fri, 29 May 2015 19:55:45 +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.0172.012; Fri, 29 May 2015 19:55:45 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Derek Atkins <derek@ihtfp.com>
Thread-Topic: [Cose] ISSUE:  Use of integer rather than string tags
Thread-Index: AQHQmkeHtR7I7YOxeUWtQ1GlBDIaSZ2TXYtg
Date: Fri, 29 May 2015 19:55:45 +0000
Message-ID: <BY2PR03MB4428B34025FC8015CC30D1BF5C90@BY2PR03MB442.namprd03.prod.outlook.com>
References: <016501d091ae$67909510$36b1bf30$@augustcellars.com> <sjmd21vjecz.fsf@securerf.ihtfp.org> <000701d09333$3fa641e0$bef2c5a0$@augustcellars.com> <sjmegm8iq5u.fsf@securerf.ihtfp.org> <027d01d094c8$f4aad1f0$de0075d0$@augustcellars.com> <BY2PR03MB44227FE4286301C4AD4A129F5C00@BY2PR03MB442.namprd03.prod.outlook.com> <sjm617fhydi.fsf@securerf.ihtfp.org>
In-Reply-To: <sjm617fhydi.fsf@securerf.ihtfp.org>
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: [2001:4898:80e0:ee43::2]
x-microsoft-exchange-diagnostics: 1; BY2PR03MB442; 3:C9OLZt5TFsn2QOGGn5xvupypYr913O0o8SwFRKzJNw/fjcBxVcb9ArHEjfPbqp/puaNSSqbPDQrLJEgk3Fvi/fvpugTpJR+h/wC/Ir2j6xoPPay7yszuZ9HnAPCwKQ4tMTwuD5zlbLyWDtJZyGmvUQ==; 10:9aevJLYA/iLyQMkSAOW/JXw8Kzjs6wUEDM9ocOwTgLF39wgM0IfVAaTF1Is2B5k/BbJ8W7RYNnRfe/ToObqtVdrn8gZFWbLuOCJqAnUwJnc=; 6:D/ozt3QSR93+aYayGL11IjQF2NYnDJ9IBFppiETnX+3C2kPZD4nASaDmc8EDhz9n
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR03MB442;
x-microsoft-antispam-prvs: <BY2PR03MB442F26F1D7B4823E1B19D12F5C90@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)(520003)(3002001); SRVR:BY2PR03MB442; BCL:0;  PCL:0; RULEID:; SRVR:BY2PR03MB442; 
x-forefront-prvs: 059185FE08
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(199003)(13464003)(189002)(377454003)(51704005)(97736004)(2950100001)(77096005)(46102003)(76176999)(33656002)(19580395003)(86612001)(2900100001)(106116001)(122556002)(87936001)(15975445007)(4001540100001)(74316001)(2656002)(62966003)(93886004)(76576001)(54356999)(189998001)(81156007)(110136002)(5001960100002)(19580405001)(40100003)(5001830100001)(15974865002)(101416001)(99286002)(92566002)(68736005)(102836002)(50986999)(105586002)(5002640100001)(86362001)(5001860100001)(106356001)(77156002)(64706001)(3826002); DIR:OUT; SFP:1102; SCL:1; SRVR:BY2PR03MB442; H:BY2PR03MB442.namprd03.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; 
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
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: 29 May 2015 19:55:45.6878 (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/Gu6-jmfSG94J_jrnlZp10Th4tOI>
Cc: Jim Schaad <ietf@augustcellars.com>, "cose@ietf.org" <cose@ietf.org>
Subject: Re: [Cose] ISSUE:  Use of integer rather than string tags
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, 29 May 2015 19:55:50 -0000

Correct.  If you want to specify a different curve or different hash algori=
thm, you'd register a new identifier in the IANA JSON Web Signature and Enc=
ryption Algorithms registry http://www.iana.org/assignments/jose/jose.xhtml=
#web-signature-encryption-algorithms that corresponds to the new combinatio=
n you want to use (assuming that is, that the combination you want hasn't a=
lready been registered).

				-- Mike

-----Original Message-----
From: Derek Atkins [mailto:derek@ihtfp.com]=20
Sent: Tuesday, May 26, 2015 1:34 PM
To: Mike Jones
Cc: Jim Schaad; cose@ietf.org
Subject: Re: [Cose] ISSUE: Use of integer rather than string tags

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

> Derek, you're right that JOSE chose to use string identifiers for=20
> algorithms, rather than structured identifiers.  That means that=20
> algorithm processing just requires table lookup, rather than structure=20
> parsing.  There are no modifiers or additional algorithm parameters=20
> specified separately, by design.  One of the ways that the working=20
> group tried to "keep simple things simple".

So for "ES256" is that always ECC P-256 with SHA-2 256?  Is there, e.g., no=
 way to specify a different 256-bit curve, or a different hash algorithm?

> 				Cheers,
> 				-- Mike

-derek

> -----Original Message-----
> From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
> Sent: Friday, May 22, 2015 12:53 PM
> To: 'Derek Atkins'
> Cc: cose@ietf.org
> Subject: Re: [Cose] ISSUE: Use of integer rather than string tags
>
>
>
> -----Original Message-----
> From: Derek Atkins [mailto:derek@ihtfp.com]
> Sent: Friday, May 22, 2015 8:32 AM
> To: Jim Schaad
> Cc: 'Derek Atkins'; cose@ietf.org
> Subject: Re: [Cose] ISSUE: Use of integer rather than string tags
>
> "Jim Schaad" <ietf@augustcellars.com> writes:
>
>>> It depends whether we want to have to say something like:
>>>=20
>>> alg =3D> {ec_sha2 =3D> p256}  instead of alg =3D> es256
>>
>> My assumption has been that we are going to use a similar naming=20
>> scheme to that followed by JOSE.
>>
>> alg=3D> ec_sha2 - but the curve is defined in the key used.   Thus ec_sh=
a2
> can
>> be used for any of the NIST curves and any other curve that follows=20
>> the same point convention.
>>
>> This means that we are going to get two versions of ECDH - one for=20
>> the current {x,y} points and a new one for the {x} only points.
>>
>> In terms of doing something like ECHD - there are a number of other=20
>> items that are defined in the algorithm id, i.e. not Chinese menu,=20
>> that will lead to some proliferation of algorithms.  But not as badly=20
>> as TLS where a complete set of all algorithms are combined in a=20
>> single
> suite value.
>
> I am fine with this approach (although I thought JOSE combined the EC wit=
h the Signature and Key Size, e.g. { alg: ES256 }?
>
> [JLS] No that is actually hash size.
>
> jim
>
>> Jim
>
> -derek

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


From nobody Fri May 29 13:47:07 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 CAC5A1B2D3C for <cose@ietfa.amsl.com>; Fri, 29 May 2015 13:47:05 -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 uIUMuls0yhV4 for <cose@ietfa.amsl.com>; Fri, 29 May 2015 13:47:03 -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 84CB61B2D34 for <cose@ietf.org>; Fri, 29 May 2015 13:47:03 -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 smtp2.pacifier.net (Postfix) with ESMTPSA id 89B932CA17; Fri, 29 May 2015 13:47:02 -0700 (PDT)
From: "Jim Schaad" <ietf@augustcellars.com>
To: "'Derek Atkins'" <derek@ihtfp.com>
References: <016501d091ae$67909510$36b1bf30$@augustcellars.com>	<sjmd21vjecz.fsf@securerf.ihtfp.org>	<000701d09333$3fa641e0$bef2c5a0$@augustcellars.com>	<sjmegm8iq5u.fsf@securerf.ihtfp.org>	<027d01d094c8$f4aad1f0$de0075d0$@augustcellars.com>	<BY2PR03MB44227FE4286301C4AD4A129F5C00@BY2PR03MB442.namprd03.prod.outlook.com> <sjm617fhydi.fsf@securerf.ihtfp.org> <BY2PR03MB4428B34025FC8015CC30D1BF5C90@BY2PR03MB442.namprd03.prod.outlook.com>
In-Reply-To: <BY2PR03MB4428B34025FC8015CC30D1BF5C90@BY2PR03MB442.namprd03.prod.outlook.com>
Date: Fri, 29 May 2015 13:47:03 -0700
Message-ID: <004001d09a50$9ed7ac20$dc870460$@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: AQE1tZrJJMzJio9nPTRuR95tavrVZQLhK4A2ApWjTTsCgPm60wI9ppWqAo1YH7sB5toygALl3+2Jnjy4srA=
Content-Language: en-us
Archived-At: <http://mailarchive.ietf.org/arch/msg/cose/fOtAGQT0BwCJMA6azNA_QgXspfs>
Cc: cose@ietf.org
Subject: Re: [Cose] ISSUE:  Use of integer rather than string tags
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, 29 May 2015 20:47:06 -0000

When looking at this at the times the spec was being written, I did not
correctly remember what limitations that NIST had put on ECDSA.  I therefore
pushed to have the curve fixed.  It turns out that we probably should have
used the same criteria that NIST used which was that the hash had to be at
least as large as the strength of the curve.

Jim


> -----Original Message-----
> From: Mike Jones [mailto:Michael.Jones@microsoft.com]
> Sent: Friday, May 29, 2015 12:56 PM
> To: Derek Atkins
> Cc: Jim Schaad; cose@ietf.org
> Subject: RE: [Cose] ISSUE: Use of integer rather than string tags
> 
> Correct.  If you want to specify a different curve or different hash
algorithm,
> you'd register a new identifier in the IANA JSON Web Signature and
Encryption
> Algorithms registry http://www.iana.org/assignments/jose/jose.xhtml#web-
> signature-encryption-algorithms that corresponds to the new combination
you
> want to use (assuming that is, that the combination you want hasn't
already
> been registered).
> 
> 				-- Mike
> 
> -----Original Message-----
> From: Derek Atkins [mailto:derek@ihtfp.com]
> Sent: Tuesday, May 26, 2015 1:34 PM
> To: Mike Jones
> Cc: Jim Schaad; cose@ietf.org
> Subject: Re: [Cose] ISSUE: Use of integer rather than string tags
> 
> Mike Jones <Michael.Jones@microsoft.com> writes:
> 
> > Derek, you're right that JOSE chose to use string identifiers for
> > algorithms, rather than structured identifiers.  That means that
> > algorithm processing just requires table lookup, rather than structure
> > parsing.  There are no modifiers or additional algorithm parameters
> > specified separately, by design.  One of the ways that the working
> > group tried to "keep simple things simple".
> 
> So for "ES256" is that always ECC P-256 with SHA-2 256?  Is there, e.g.,
no way
> to specify a different 256-bit curve, or a different hash algorithm?
> 
> > 				Cheers,
> > 				-- Mike
> 
> -derek
> 
> > -----Original Message-----
> > From: Cose [mailto:cose-bounces@ietf.org] On Behalf Of Jim Schaad
> > Sent: Friday, May 22, 2015 12:53 PM
> > To: 'Derek Atkins'
> > Cc: cose@ietf.org
> > Subject: Re: [Cose] ISSUE: Use of integer rather than string tags
> >
> >
> >
> > -----Original Message-----
> > From: Derek Atkins [mailto:derek@ihtfp.com]
> > Sent: Friday, May 22, 2015 8:32 AM
> > To: Jim Schaad
> > Cc: 'Derek Atkins'; cose@ietf.org
> > Subject: Re: [Cose] ISSUE: Use of integer rather than string tags
> >
> > "Jim Schaad" <ietf@augustcellars.com> writes:
> >
> >>> It depends whether we want to have to say something like:
> >>>
> >>> alg => {ec_sha2 => p256}  instead of alg => es256
> >>
> >> My assumption has been that we are going to use a similar naming
> >> scheme to that followed by JOSE.
> >>
> >> alg=> ec_sha2 - but the curve is defined in the key used.   Thus
ec_sha2
> > can
> >> be used for any of the NIST curves and any other curve that follows
> >> the same point convention.
> >>
> >> This means that we are going to get two versions of ECDH - one for
> >> the current {x,y} points and a new one for the {x} only points.
> >>
> >> In terms of doing something like ECHD - there are a number of other
> >> items that are defined in the algorithm id, i.e. not Chinese menu,
> >> that will lead to some proliferation of algorithms.  But not as badly
> >> as TLS where a complete set of all algorithms are combined in a
> >> single
> > suite value.
> >
> > I am fine with this approach (although I thought JOSE combined the EC
with
> the Signature and Key Size, e.g. { alg: ES256 }?
> >
> > [JLS] No that is actually hash size.
> >
> > jim
> >
> >> Jim
> >
> > -derek
> 
> --
>        Derek Atkins                 617-623-3745
>        derek@ihtfp.com             www.ihtfp.com
>        Computer and Internet Security Consultant

