
From nobody Wed Jun  2 05:25:10 2021
Return-Path: <john.mattsson@ericsson.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 737D43A4142 for <cose@ietfa.amsl.com>; Wed,  2 Jun 2021 05:25:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.797
X-Spam-Level: 
X-Spam-Status: No, score=-2.797 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.698, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aTKc6BLSXvs2 for <cose@ietfa.amsl.com>; Wed,  2 Jun 2021 05:25:03 -0700 (PDT)
Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40041.outbound.protection.outlook.com [40.107.4.41]) (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 172583A4140 for <cose@ietf.org>; Wed,  2 Jun 2021 05:25:02 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aZqHW6c/N/drii+XlR4CFNL/bwQGgciQ96ej1bvzJdChcwEM3NV9Jbg7LFEtA4G7wGWHS8tcEo7v+c1Lvl6d3LpJATk5KFZXMPWXIOFNeA7Oi+q0WN24IOmC3o5+L4vBEySnbUAs+S0UzhBr99hbtmkZz9+a5nivWYGOV87VrMRtO2AppEPFU3rh0/JMR/qSUm4qGK1fS48ShoRoFYBLewEZugInUQWSznaWQUf25AzggiOQ4ev9PMDOb6k6JyiG2POSBx13xQ7yFwOxdnf4b2/qE0yJYVY5vclNkY0y38mWNue411WMkvYgxuLD71meCLl2KMXSAK2ZIACmV4xbvw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nbLSq6AZdKG2XZGPEpLUYISXfF5n3ASFN0W9d41PzEA=; b=gUEX8F/SQhAu7XiFFQH4BRjzu/Dvcm+rGdxFWAV8DIQnOjYA8hph2BmW6RQgkorXlEDE26oR7oPJGwBy3cdotOaO5snpSyRsnimluYVOyCPjmkfLb4kXhYUbg3U2NvcIQvVFVEFkZrkp2Ff9KBU+63/KFlZbG0f9oaAoPCKTuRaxvS0eVQGrXtBEpbWN2fPW2zjtIb5wq6NwxcWDblaKTiibx1IUWz7SbyGEUR9MZAZBrjp5Oa2wkVf2tkr5WumNpsXrAoLB2hzJuVjHbj1XQmMJZYrCMzmsMvgA1vmSQDZviUMHXIJ8LALjtLDaxLw3GAe4+xNYEI51MXS+UGKKEg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=nbLSq6AZdKG2XZGPEpLUYISXfF5n3ASFN0W9d41PzEA=; b=nxMmxeKqClt/K7xcIEag8zLz/s1Lkr+668M0wIXdvJPrPyAoTblMKoHMLnR6T4m9sQgP53EsCRFSfHkPLcfv+vlkI+J6ti3VERN+kPEQkfAwOLWP2Ii9Db7mAcF5a/jQj25oNhMC4ujOldxN3LdUrcgU7Ccfr7i3JV4xFY5Yzts=
Received: from HE1PR0701MB3050.eurprd07.prod.outlook.com (2603:10a6:3:4b::8) by HE1PR0701MB2091.eurprd07.prod.outlook.com (2603:10a6:3:21::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.12; Wed, 2 Jun 2021 12:25:00 +0000
Received: from HE1PR0701MB3050.eurprd07.prod.outlook.com ([fe80::b071:a4a:817d:2d3]) by HE1PR0701MB3050.eurprd07.prod.outlook.com ([fe80::b071:a4a:817d:2d3%11]) with mapi id 15.20.4195.020; Wed, 2 Jun 2021 12:25:00 +0000
From: John Mattsson <john.mattsson@ericsson.com>
To: "cose@ietf.org" <cose@ietf.org>
Thread-Topic: Some comments on draft-ietf-cose-countersign-04
Thread-Index: AQHXV6itEGYTcBfSDUymdojE0gWOhg==
Date: Wed, 2 Jun 2021 12:25:00 +0000
Message-ID: <HE1PR0701MB3050B939EC4ED59D7A6868F7893D9@HE1PR0701MB3050.eurprd07.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=ericsson.com;
x-originating-ip: [81.225.97.222]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 56b525be-3e32-4f65-9aa5-08d925c17102
x-ms-traffictypediagnostic: HE1PR0701MB2091:
x-microsoft-antispam-prvs: <HE1PR0701MB209118FEE0A92E9FA3B578DE893D9@HE1PR0701MB2091.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: GSUmoInaGvE9JgSrqn+hRURQKHjjW3f771ym9ZB77wcpltCYIDuJt504TJWKCYSq1eJNfgF1un93QNPIRkfShOE38qx8cJ6MguiGzTavgCpYm2yhPDzYa9SD8RDkbJ3EV2HMVfitmoqhn82FbFNGCeUfrCBrKPuK6sr0Loq8Z5dCVVQDLIvHgv9pCffsElCdhflCLLmSsq2fXe6MnlKrHR4meHpcfqnlKtWoe/qC+WsaVbP62ciIS9IwOypd+2rbV/ODcMHCHqk+TMhdppG2Ej2e2pM64d5plvkM4EvTQuFFLAWc/wieNWr3e+PavR1VuTzgpdX+bt3zcuHe7JLTzLh8AxNogXMUmr9ng8WQ3fQHvMquvFicQzki8vlJTgH5x7D4IxXvzjOHM95DuNN2IppjvbLITNVSM1wLWPd4AK4MWJWy0UON0jY/mZk4o0+9hxQO1LR3dorGtTuieYyvLA4Y3ym2x8S+Q2hI7iNXY7pVCQxrJZ4tpz434U2I8QtXXuByMcGJR5SYITBg6MvoNAMjA/M1/zBdQ5IYAP2fleNRwqzEepDpoYZ5+lUT/EsWAgYyinbVQf2b1jJ99Wwv68mOmLj6QCESFz/G/pnnp5Ef55PV+pOvgb6nCot+L8WOxiAAKYhioI4CJ+b+07cWXeGJzTy/M5woJL/bFwbUhFfPn4WTSIn+/jfCOEHdEgzitwavsZwMmlOCCr+ljFB88A==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:HE1PR0701MB3050.eurprd07.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(39860400002)(346002)(396003)(376002)(366004)(136003)(316002)(71200400001)(9686003)(86362001)(52536014)(5660300002)(2906002)(76116006)(64756008)(66556008)(66476007)(6916009)(8676002)(478600001)(966005)(44832011)(6506007)(21615005)(186003)(8936002)(66446008)(66946007)(55016002)(38100700002)(83380400001)(122000001)(166002)(33656002)(7696005)(26005); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata: =?us-ascii?Q?X1Kgwe1mgS3XhIQl2yiNVKiJtXVBrzxp6ti6ADsupYJiixor4VrTiiv1pMIc?= =?us-ascii?Q?r2E9xcKFXXanwRqhfmMLtMgyEQrsEUyq6vZtR58AyJdxJPzZdhKZ71+ws6Sn?= =?us-ascii?Q?WevuVDMkCHpNJtPXpIm0dZCooY0Z68LOXG5BJhSgUP4oIcQPvxnU57LqJATM?= =?us-ascii?Q?+22oJtR6e1IFOuMJDdKTmVoTZw7z6uf0LKis+s9dQeURPR9m3JVdPU/vAqtq?= =?us-ascii?Q?X/1OzyRHi9ixbgkk8EZn8CVYirDQWvPyy9JoTBrzYGyONPADzIYBZ5BtH4pk?= =?us-ascii?Q?/e04oEduANlbTC0L1BbhQt6C5bt0xn8uZ0U6da4S+b1zwoJAgJbbyjXGJu0Z?= =?us-ascii?Q?BoUe0RtUR8Dlx0iCIq1WZtT3hQmC0la2xUWzQFOhf9S99ICi5QUzhz+imFpM?= =?us-ascii?Q?8IZEm+M0b6w5NyX2O9ptga5ER94lwqqpescu3zIVnO0CIk9Xo/DSAvdNA0DG?= =?us-ascii?Q?q9xlOoqYaKB4bPbqxopDFrHkopYj+8D4q6VPtt0AHmPYgEyB7SbPYaeTP7Ha?= =?us-ascii?Q?rmO5lr7+YdmDx1CgF8IHAOtj16cn6WHhxX4UElyJhlL2X3GrrCaMyNdWBR8J?= =?us-ascii?Q?lLb51KXdRyKMzPmufCP4JA5GlFoISRVUivpvtxkyc1mT53R1d403g2xzK76Q?= =?us-ascii?Q?Dhu3ioLcKJLTH95ZKEy29C7UzFR0OzILSxGbyIW119qnDtUZPYpfOCTm8vUW?= =?us-ascii?Q?fYg7zU/C1AAgpsl/nfP1NgR3CA7iQSxxQi4Tlqci02hH6HMWeJbmYvhwbI4x?= =?us-ascii?Q?vRtA6lJWcJ7sxipwHoKYEtqy9J4rd63y6qKZsiIg96SIlEInHqeSLOYhpQUo?= =?us-ascii?Q?1Oy0D65XTsc64ewO5oYmrPhQBoYYBEtmsicrMbGy8uesUhey4ol30MylO8lq?= =?us-ascii?Q?fqes+Gie031WhO1L+VHvLB+q9WV3Z4bTK24S/dEXFD+PapycWZss5zuUBDdf?= =?us-ascii?Q?EyIGr9UoBeMTAEZjiu5eC3fGa5TNS0LlIZJHVlCSkT0ZGM+Hwd+tQVjUCtRg?= =?us-ascii?Q?2k5Gxsx2EKI6rLpL3KU+4+cn2hyec4aoaB3zRon6NPP2SZe5CqA+5rgESlZx?= =?us-ascii?Q?5KWK5adKLk9kjKZk+j6wXwzpbfSsRclN0lJ7DSdBoISpdnGl5MiGgjg9Mr8Q?= =?us-ascii?Q?voscnJaYhdnhUCZUZHDLi14sezv+Bx2BGSrbazawc7DsKyP8/2cquu7X00yF?= =?us-ascii?Q?oKERqTI0DwDEopcohgjpbJFfiexiSAWlDtsAZMXOd9ROSqVN0JuS1tUFEjeJ?= =?us-ascii?Q?QDJt7WPrcVcapqL1MD11sPk6BHHk39XTPbOAshy7skza6AoZJBMtshbEtupn?= =?us-ascii?Q?kDK8taS4WeclTiu5ayofQEchOegWGQuGDmQiDf0v3kZM6g=3D=3D?=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_HE1PR0701MB3050B939EC4ED59D7A6868F7893D9HE1PR0701MB3050_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR0701MB3050.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 56b525be-3e32-4f65-9aa5-08d925c17102
X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Jun 2021 12:25:00.3068 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 8TKX5cc+vacExNX6DzKhS+wSik112Vri3wcJDXH8dPB9l/NS+EVZhUi+NYaT69kO8h0O0d7P4hCERcqENRMlaHUIGeu/X7LAIqNhkjF3Wkc=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0701MB2091
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/zq2Iy3ZY8JsPoB63op9m_g4MFlM>
Subject: [COSE] Some comments on draft-ietf-cose-countersign-04
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Jun 2021 12:25:09 -0000

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

Hi,

Some comments on draft-ietf-cose-countersign-04

- References:
OLD: [I-D.ietf-cbor-7049bis]
NEW: RFC8949

OLD: [I-D.ietf-core-groupcomm-bis]
NEW: [I-D.ietf-core-oscore-groupcomm]

- "In order to always regenerate the same byte string for the "to be
signed" value, the deterministic encoding rules defined in
Section 4.2 of [I-D.ietf-cbor-7049bis].  These rules match the ones
laid out in Section 11 of [I-D.ietf-cose-rfc8152bis-struct]."

Section 11 is now IANA. Should be section 9.

I made a PR to fix the above things
https://github.com/cose-wg/countersign/pull/7


- Just refering to section 4.2 of RFC8949 might not be enough as section 4.=
2  of RFC8949 specifies different deterministic encodings.


- "It should be noted that there is a big difference
between attesting to the encrypted data as opposed to attesting to
the unencrypted data.  If the latter is what is desired, then one
needs to apply a signature to the data and then encrypt that."

I think the draft should give some more security consideration here. At lea=
st point out the problems/properties of countersigning a COSE_Encrypt:

- It does not prove that the signer had any knowledge the plaintext. An att=
acker might remove a countersignature and resign a ciphertext.
- An attacker can link a countersignature to a specific public key and ther=
efore also link different countersigned COSE_Encrypt with each other.

The paper from USENIX 2001 might be good reference:
https://theworld.com/~dtd/sign_encrypt/sign_encrypt7.html


- The order of COSE_Countersignature0 processing at the receiver seems unde=
fined. The order should either be mandated or it should be stated that the =
receiving part can process things in any order.


Cheers,
John

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

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc=
hemas-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/of=
fice/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style>
</head>
<body lang=3D"en-SE" link=3D"#0563C1" vlink=3D"#954F72" style=3D"word-wrap:=
break-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi,</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Some comments on draft-ietf-cose-countersign-04</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">- References:</p>
<p class=3D"MsoNormal">OLD: [I-D.ietf-cbor-7049bis]</p>
<p class=3D"MsoNormal">NEW: RFC8949</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">OLD: [I-D.ietf-core-groupcomm-bis]</p>
<p class=3D"MsoNormal">NEW: [I-D.ietf-core-oscore-groupcomm]</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">- &quot;In order to always regenerate the same byte =
string for the &quot;to be</p>
<p class=3D"MsoNormal">signed&quot; value, the deterministic encoding rules=
 defined in</p>
<p class=3D"MsoNormal">Section 4.2 of [I-D.ietf-cbor-7049bis].&nbsp; These =
rules match the ones</p>
<p class=3D"MsoNormal">laid out in Section 11 of [I-D.ietf-cose-rfc8152bis-=
struct].&quot;</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Section 11 is now IANA. Should be section 9.</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I made a PR to fix the above things</p>
<p class=3D"MsoNormal">https://github.com/cose-wg/countersign/pull/7</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">- Just refering to section 4.2 of RFC8949 might not =
be enough as section 4.2&nbsp; of RFC8949 specifies different deterministic=
 encodings.</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">- &quot;It should be noted that there is a big diffe=
rence</p>
<p class=3D"MsoNormal">between attesting to the encrypted data as opposed t=
o attesting to</p>
<p class=3D"MsoNormal">the unencrypted data.&nbsp; If the latter is what is=
 desired, then one</p>
<p class=3D"MsoNormal">needs to apply a signature to the data and then encr=
ypt that.&quot;</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">I think the draft should give some more security con=
sideration here. At least point out the problems/properties of countersigni=
ng a COSE_Encrypt:</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">- It does not prove that the signer had any knowledg=
e the plaintext. An attacker might remove a countersignature and resign a c=
iphertext.</p>
<p class=3D"MsoNormal">- An attacker can link a countersignature to a speci=
fic public key and therefor<span lang=3D"EN-US">e</span> also link differen=
t countersigned COSE_Encrypt with each other.</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">The paper from USENIX 2001 might be good reference:<=
/p>
<p class=3D"MsoNormal"><a href=3D"https://theworld.com/~dtd/sign_encrypt/si=
gn_encrypt7.html">https://theworld.com/~dtd/sign_encrypt/sign_encrypt7.html=
</a></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">- The order of COSE_Countersignature0 processing <sp=
an lang=3D"EN-US">
at the receiver </span>seems undefined. The order should either be mandated=
 or it should be stated that the receiving part can process things in any o=
rder.</p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Cheers,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">John<o:p></o:p></span></p>
</div>
</body>
</html>

--_000_HE1PR0701MB3050B939EC4ED59D7A6868F7893D9HE1PR0701MB3050_--


From nobody Wed Jun  2 11:43:39 2021
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6B0F63A1671 for <cose@ietfa.amsl.com>; Wed,  2 Jun 2021 11:43:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level: 
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wkARreQPqVIb for <cose@ietfa.amsl.com>; Wed,  2 Jun 2021 11:43:33 -0700 (PDT)
Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (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 0713F3A1664 for <cose@ietf.org>; Wed,  2 Jun 2021 11:43:32 -0700 (PDT)
Received: by mail-wm1-x334.google.com with SMTP id o127so1917177wmo.4 for <cose@ietf.org>; Wed, 02 Jun 2021 11:43:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=39GwWgwSXazkkR+kJnC9FbQhdrZ6m2Xt1Jh0fl4IQUg=; b=a+2dOcMDtbygcGurCAQualY5C5hYmBoGt/DFGR/FydWr3JB7T8gHJP3UIlwtF5fUYO 5izehuBR5AYAHsAv7w0R8GWXtXptogB916nJDDxIdjk98NOU4t5yb2E52HkPpmnKsKJ8 M6bk54sNucFj3X8qHOD1ow5IeZ33s6knSfbMPFZ3Wxk3r3zmXejAUK7iK5SjpB8Rwp/q B7T2GNtd59V5Dytb8oKnAWhS8ezsCiGxv0UheDgnaAs3ajRKamCJA6YO/j4CPNcbO3sV GmeRYS6MELeWePZvmup2tDCIHg1SRPUSz3Te7CQHZRLzzmVhrjSzbJVjHNZP/4nPdpO5 FcRw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=39GwWgwSXazkkR+kJnC9FbQhdrZ6m2Xt1Jh0fl4IQUg=; b=a06NkRcK6MxW8yhzYXOcFEwrMeMVbjoMgadK6wi+Q+9ZC8nT5zLGescuuJrBZXpyPk 5u/IyM9TLpkO4fbynyVWzQBUBVz0sY74+Luvh+hbuPZTIdQc23wtrdmglxysh/oIz2iS n5QAEJs/YDocmH5P24HGveAkgz73yF8CZIUH7yi+Q7T7DbZwD6I8mfIELmny4DaDTHXi aIHfSqbDOb/pBAZyc/4SpV9msHVulufCL7xeARYxfjY5C66DryvZIM9vuSM8e0D8wYNT tMvaAj01W/0YZ8X0+5jtJWui3bZ8IOdzbKIEppIcu0ke22KzaDtT6m6Z1ZFunWn1A/r8 oZSQ==
X-Gm-Message-State: AOAM533gZZxkEUBRiOth4okPsGphMiA9ryblLLmDJ+rhuRm7LlwHU/SV wNaaeqp3eMhazhQWijB19XoKwrP7uZd43g==
X-Google-Smtp-Source: ABdhPJxBncSiW8wI3+y/2XqfYzRal/bpyU5A2o6ZCJ61JnaH0ZKnJ8AAyQkyHH3q7qZpRmFYCV+t8A==
X-Received: by 2002:a1c:a7d4:: with SMTP id q203mr6570481wme.39.1622659409602;  Wed, 02 Jun 2021 11:43:29 -0700 (PDT)
Received: from [192.168.1.67] (25.131.146.77.rev.sfr.net. [77.146.131.25]) by smtp.googlemail.com with ESMTPSA id t26sm506130wmi.8.2021.06.02.11.43.28 for <cose@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 02 Jun 2021 11:43:28 -0700 (PDT)
To: cose@ietf.org
From: Anders Rundgren <anders.rundgren.net@gmail.com>
Message-ID: <6ce042b2-7043-6620-32cb-c219dc74d351@gmail.com>
Date: Wed, 2 Jun 2021 20:43:27 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/oPupLiiPuILCPo31aD8fxbT-4N8>
Subject: [COSE] Concat or HKDF, please clarify!
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Jun 2021 18:43:38 -0000

This is Jim's reference code:
https://github.com/cose-wg/COSE-JAVA/blob/master/src/main/java/COSE/AlgorithmID.java#L54
https://github.com/cose-wg/COSE-JAVA/blob/master/src/main/java/COSE/Recipient.java#L258

This is the IANA registry line for the same algorithm (ECDH-ES+A256KW):
CDH-ES + A256KW    -31    ECDH ES w/ Concat KDF and AES Key Wrap w/ 256-bit key

And this is the RFC:
    | ECDH-ES + | -31   | HKDF -  | yes        | A256KW | ECDH ES w/    |
    | A256KW    |       | SHA-256 |            |        | Concat KDF    |
    |           |       |         |            |        | and AES Key   |
    |           |       |         |            |        | Wrap w/       |
    |           |       |         |            |        | 256-bit key   |

?

Being a developer, I tend to stick to code so I vote for HKDF as the "truth" :)

Thanx,
Anders



From nobody Wed Jun  2 12:54:35 2021
Return-Path: <housley@vigilsec.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 631B93A18CF for <cose@ietfa.amsl.com>; Wed,  2 Jun 2021 12:54:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=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 E8Od_ekz0ESb for <cose@ietfa.amsl.com>; Wed,  2 Jun 2021 12:54:29 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E7B053A18CD for <cose@ietf.org>; Wed,  2 Jun 2021 12:54:28 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 99F03300BE6 for <cose@ietf.org>; Wed,  2 Jun 2021 15:54:27 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id RhnpDfVIY_JU for <cose@ietf.org>; Wed,  2 Jun 2021 15:54:21 -0400 (EDT)
Received: from a860b60074bd.fios-router.home (pool-141-156-161-153.washdc.fios.verizon.net [141.156.161.153]) by mail.smeinc.net (Postfix) with ESMTPSA id C7A56300A48; Wed,  2 Jun 2021 15:54:21 -0400 (EDT)
From: Russ Housley <housley@vigilsec.com>
Message-Id: <8D072A49-3535-4AF8-B92A-161A8AF4F808@vigilsec.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_F7B7E409-F249-4A86-AB1D-BEABAAFAEF95"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.20\))
Date: Wed, 2 Jun 2021 15:54:21 -0400
In-Reply-To: <HE1PR0701MB3050B939EC4ED59D7A6868F7893D9@HE1PR0701MB3050.eurprd07.prod.outlook.com>
Cc: "cose@ietf.org" <cose@ietf.org>
To: John Mattsson <john.mattsson@ericsson.com>
References: <HE1PR0701MB3050B939EC4ED59D7A6868F7893D9@HE1PR0701MB3050.eurprd07.prod.outlook.com>
X-Mailer: Apple Mail (2.3445.104.20)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/AzCikkWv3oE11jZV6ldoTiCmY8o>
Subject: Re: [COSE] Some comments on draft-ietf-cose-countersign-04
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Jun 2021 19:54:34 -0000

--Apple-Mail=_F7B7E409-F249-4A86-AB1D-BEABAAFAEF95
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Thanks John.

> Some comments on draft-ietf-cose-countersign-04
> =20
> - References:
> OLD: [I-D.ietf-cbor-7049bis]
> NEW: RFC8949
> =20
> OLD: [I-D.ietf-core-groupcomm-bis]
> NEW: [I-D.ietf-core-oscore-groupcomm]
> =20
> - "In order to always regenerate the same byte string for the "to be
> signed" value, the deterministic encoding rules defined in
> Section 4.2 of [I-D.ietf-cbor-7049bis].  These rules match the ones
> laid out in Section 11 of [I-D.ietf-cose-rfc8152bis-struct]."
> =20
> Section 11 is now IANA. Should be section 9.
> =20
> I made a PR to fix the above things
> https://github.com/cose-wg/countersign/pull/7 =
<https://github.com/cose-wg/countersign/pull/7>
I just merged this PR.

> - Just refering to section 4.2 of RFC8949 might not be enough as =
section 4.2  of RFC8949 specifies different deterministic encodings.

I am not sure what additional things to add.  Section 4.2 of RFC8949 =
says that applications can specify restrictions to ensure that a =
deterministic format is produced.  I think that means these restrictions =
are "above" COSE.

> - "It should be noted that there is a big difference
> between attesting to the encrypted data as opposed to attesting to
> the unencrypted data.  If the latter is what is desired, then one
> needs to apply a signature to the data and then encrypt that."
> =20
> I think the draft should give some more security consideration here. =
At least point out the problems/properties of countersigning a =
COSE_Encrypt:
> =20
> - It does not prove that the signer had any knowledge the plaintext. =
An attacker might remove a countersignature and resign a ciphertext.
> - An attacker can link a countersignature to a specific public key and =
therefore also link different countersigned COSE_Encrypt with each =
other.

Does this resolve your concerns:

   ...  It should be noted that there is a big difference
   between attesting to the encrypted data as opposed to attesting to
   the plaintext data.  Usually, the signer wishes to countersign the
   plaintext data, and then encrypt the data along with the
   countersignature.  This approach prevents an attacker from stripping
   countersignatures.  In addition, this approach prevents an observer
   from linking the public keys needed to verify the countersignatures
   across different payloads.  It is always possible to construct cases
   where the use of two different keys will appear to result in a
   successful decryption (the tag check success), but which produce two
   completely different plaintexts.  This situation is not detectable by
   a countersignature on the encrypted data.

> - The order of COSE_Countersignature0 processing at the receiver seems =
undefined. The order should either be mandated or it should be stated =
that the receiving part can process things in any order.

I think that Jim intended the same set of steps to be used.  For =
example, Section 3.3, Step 3, says: "This field is omitted for the =
Countersignature0V2 attribute."

Russ


--Apple-Mail=_F7B7E409-F249-4A86-AB1D-BEABAAFAEF95
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D"">Thanks John.<br class=3D""><div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D""><div class=3D"WordSection1" =
style=3D"page: WordSection1; caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;"><div style=3D"margin: 0cm; font-size: 11pt; font-family: Calibri, =
sans-serif;" class=3D"">Some comments on =
draft-ietf-cose-countersign-04</div><div style=3D"margin: 0cm; =
font-size: 11pt; font-family: Calibri, sans-serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div><div style=3D"margin: 0cm; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D"">- References:</div><div =
style=3D"margin: 0cm; font-size: 11pt; font-family: Calibri, =
sans-serif;" class=3D"">OLD: [I-D.ietf-cbor-7049bis]</div><div =
style=3D"margin: 0cm; font-size: 11pt; font-family: Calibri, =
sans-serif;" class=3D"">NEW: RFC8949</div><div style=3D"margin: 0cm; =
font-size: 11pt; font-family: Calibri, sans-serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div><div style=3D"margin: 0cm; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D"">OLD: =
[I-D.ietf-core-groupcomm-bis]</div><div style=3D"margin: 0cm; font-size: =
11pt; font-family: Calibri, sans-serif;" class=3D"">NEW: =
[I-D.ietf-core-oscore-groupcomm]</div><div style=3D"margin: 0cm; =
font-size: 11pt; font-family: Calibri, sans-serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div><div style=3D"margin: 0cm; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D"">- "In order to always =
regenerate the same byte string for the "to be</div><div style=3D"margin: =
0cm; font-size: 11pt; font-family: Calibri, sans-serif;" =
class=3D"">signed" value, the deterministic encoding rules defined =
in</div><div style=3D"margin: 0cm; font-size: 11pt; font-family: =
Calibri, sans-serif;" class=3D"">Section 4.2 of =
[I-D.ietf-cbor-7049bis].&nbsp; These rules match the ones</div><div =
style=3D"margin: 0cm; font-size: 11pt; font-family: Calibri, =
sans-serif;" class=3D"">laid out in Section 11 of =
[I-D.ietf-cose-rfc8152bis-struct]."</div><div style=3D"margin: 0cm; =
font-size: 11pt; font-family: Calibri, sans-serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div><div style=3D"margin: 0cm; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D"">Section 11 is now IANA. =
Should be section 9.</div><div style=3D"margin: 0cm; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div><div style=3D"margin: 0cm; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D"">I made a PR to fix the =
above things</div><div style=3D"margin: 0cm; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D""><a =
href=3D"https://github.com/cose-wg/countersign/pull/7" style=3D"color: =
rgb(5, 99, 193); text-decoration: underline;" =
class=3D"">https://github.com/cose-wg/countersign/pull/7</a></div></div></=
div></blockquote><div><br class=3D""></div>I just merged this =
PR.</div><div><br class=3D""></div><div><blockquote type=3D"cite" =
class=3D""><div class=3D"WordSection1" style=3D"page: WordSection1; =
caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;"><div =
style=3D"margin: 0cm; font-size: 11pt; font-family: Calibri, =
sans-serif;" class=3D"">- Just refering to section 4.2 of RFC8949 might =
not be enough as section 4.2&nbsp; of RFC8949 specifies different =
deterministic encodings.</div></div></blockquote><div><br =
class=3D""></div>I am not sure what additional things to add. =
&nbsp;Section 4.2 of RFC8949 says that applications can specify =
restrictions to ensure that a deterministic format is produced. &nbsp;I =
think that means these restrictions are "above" COSE.</div><div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"WordSection1" style=3D"page: WordSection1; caret-color: rgb(0, =
0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;"><div style=3D"margin: 0cm; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D""><span style=3D"font-size: =
11pt;" class=3D"">- "It should be noted that there is a big =
difference</span></div><div style=3D"margin: 0cm; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D"">between attesting to the =
encrypted data as opposed to attesting to</div><div style=3D"margin: =
0cm; font-size: 11pt; font-family: Calibri, sans-serif;" class=3D"">the =
unencrypted data.&nbsp; If the latter is what is desired, then =
one</div><div style=3D"margin: 0cm; font-size: 11pt; font-family: =
Calibri, sans-serif;" class=3D"">needs to apply a signature to the data =
and then encrypt that."</div><div style=3D"margin: 0cm; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div><div style=3D"margin: 0cm; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D"">I think the draft should =
give some more security consideration here. At least point out the =
problems/properties of countersigning a COSE_Encrypt:</div><div =
style=3D"margin: 0cm; font-size: 11pt; font-family: Calibri, =
sans-serif;" class=3D""><o:p class=3D"">&nbsp;</o:p></div><div =
style=3D"margin: 0cm; font-size: 11pt; font-family: Calibri, =
sans-serif;" class=3D"">- It does not prove that the signer had any =
knowledge the plaintext. An attacker might remove a countersignature and =
resign a ciphertext.</div><div style=3D"margin: 0cm; font-size: 11pt; =
font-family: Calibri, sans-serif;" class=3D"">- An attacker can link a =
countersignature to a specific public key and therefor<span lang=3D"EN-US"=
 class=3D"">e</span><span =
class=3D"Apple-converted-space">&nbsp;</span>also link different =
countersigned COSE_Encrypt with each =
other.</div></div></blockquote><div><br class=3D""></div>Does this =
resolve your concerns:</div><div><br =
class=3D""></div><div><div><div>&nbsp; &nbsp;... &nbsp;It should be =
noted that there is a big difference</div><div>&nbsp; &nbsp;between =
attesting to the encrypted data as opposed to attesting =
to</div><div>&nbsp; &nbsp;the plaintext data. &nbsp;Usually, the signer =
wishes to countersign the</div><div>&nbsp; &nbsp;plaintext data, and =
then encrypt the data along with the</div><div>&nbsp; =
&nbsp;countersignature. &nbsp;This approach prevents an attacker from =
stripping</div><div>&nbsp; &nbsp;countersignatures. &nbsp;In addition, =
this approach prevents an observer</div><div>&nbsp; &nbsp;from linking =
the public keys needed to verify the countersignatures</div><div>&nbsp; =
&nbsp;across different payloads. &nbsp;It is always possible to =
construct cases</div><div>&nbsp; &nbsp;where the use of two different =
keys will appear to result in a</div><div>&nbsp; &nbsp;successful =
decryption (the tag check success), but which produce =
two</div><div>&nbsp; &nbsp;completely different plaintexts. &nbsp;This =
situation is not detectable by</div><div>&nbsp; &nbsp;a countersignature =
on the encrypted data.</div></div><div><br class=3D""></div><blockquote =
type=3D"cite" class=3D""><div class=3D"WordSection1" style=3D"page: =
WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;"><div style=3D"margin: 0cm; font-size: 11pt; font-family: Calibri, =
sans-serif;" class=3D"">- The order of COSE_Countersignature0 =
processing<span class=3D"Apple-converted-space">&nbsp;</span><span =
lang=3D"EN-US" class=3D"">at the receiver<span =
class=3D"Apple-converted-space">&nbsp;</span></span>seems undefined. The =
order should either be mandated or it should be stated that the =
receiving part can process things in any =
order.</div></div></blockquote><div><br class=3D""></div>I think that =
Jim intended the same set of steps to be used. &nbsp;For example, =
Section 3.3, Step 3, says: "This field is omitted for the =
Countersignature0V2 attribute."</div><div><br =
class=3D""></div><div>Russ</div><div><br class=3D""></div></body></html>=

--Apple-Mail=_F7B7E409-F249-4A86-AB1D-BEABAAFAEF95--


From nobody Thu Jun  3 05:20:11 2021
Return-Path: <wwwrun@rfc-editor.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 941123A0D2D for <cose@ietfa.amsl.com>; Thu,  3 Jun 2021 05:20: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, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=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 Qmjb2VNQXEDO for <cose@ietfa.amsl.com>; Thu,  3 Jun 2021 05:20:04 -0700 (PDT)
Received: from rfc-editor.org (rfc-editor.org [4.31.198.49]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B22203A0D39 for <cose@ietf.org>; Thu,  3 Jun 2021 05:20:01 -0700 (PDT)
Received: by rfc-editor.org (Postfix, from userid 30) id 5BB49F406F3; Thu,  3 Jun 2021 05:19:38 -0700 (PDT)
To: ietf@augustcellars.com, rdd@cert.org, kaduk@mit.edu, ivaylo@ackl.io, linuxwolf+ietf@outer-planes.net, michael.jones@microsoft.com
X-PHP-Originating-Script: 1005:errata_mail_lib.php
From: RFC Errata System <rfc-editor@rfc-editor.org>
Cc: anders.rundgren.net@gmail.com, cose@ietf.org, rfc-editor@rfc-editor.org
Content-Type: text/plain; charset=UTF-8
Message-Id: <20210603121938.5BB49F406F3@rfc-editor.org>
Date: Thu,  3 Jun 2021 05:19:38 -0700 (PDT)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/WohJXCnCZlss9P-OHzu6xJqIB0E>
Subject: [COSE] [Technical Errata Reported] RFC8152 (6597)
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Jun 2021 12:20:10 -0000

The following errata report has been submitted for RFC8152,
"CBOR Object Signing and Encryption (COSE)".

--------------------------------------
You may review the report below and at:
https://www.rfc-editor.org/errata/eid6597

--------------------------------------
Type: Technical
Reported by: Anders Rundgren <anders.rundgren.net@gmail.com>

Section: 12.5.1.

Original Text
-------------
The RFC is unclear to whether Concat KDF or HKDF is to be used:

In table 20 there is an entry:
ECDH-ES +  -31   | HKDF -  | yes        | A256KW | ECDH ES w/    |
   | A256KW    |       | SHA-256 |            |        | Concat KDF    |
   |           |       |         |            |        | and AES Key   |
   |           |       |         |            |        | Wrap w/       |
   |           |       |         |            |        | 256-bit key  

That is, the table talks both about Concat and HKDF.

The IANA registry for this algorithm says Concat KDF

Jim's sample code for algorithm -31 says HKDF.

Corrected Text
--------------
I have no corrected text to offer since I don't have the answer to the question raised.

Concat is referred to once and without any external references.  In JOSE, Concat denotes a NIST standard which is quite different to HKDF.

Notes
-----
It is pretty vital for interoperability knowing if Concat KDF or HKDF is to be used.

Instructions:
-------------
This erratum is currently posted as "Reported". If necessary, please
use "Reply All" to discuss whether it should be verified or
rejected. When a decision is reached, the verifying party  
can log in to change the status and edit the report, if necessary. 

--------------------------------------
RFC8152 (draft-ietf-cose-msg-24)
--------------------------------------
Title               : CBOR Object Signing and Encryption (COSE)
Publication Date    : July 2017
Author(s)           : J. Schaad
Category            : PROPOSED STANDARD
Source              : CBOR Object Signing and Encryption
Area                : Security
Stream              : IETF
Verifying Party     : IESG


From nobody Thu Jun  3 09:21:30 2021
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 41F103A0C82 for <cose@ietfa.amsl.com>; Thu,  3 Jun 2021 09:21:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.499
X-Spam-Level: 
X-Spam-Status: No, score=-1.499 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.398, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=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 g42-WHdHSCby for <cose@ietfa.amsl.com>; Thu,  3 Jun 2021 09:21:24 -0700 (PDT)
Received: from welho-filter2.welho.com (welho-filter2b.welho.com [83.102.41.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DBCA53A0C7D for <cose@ietf.org>; Thu,  3 Jun 2021 09:21:23 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter2.welho.com (Postfix) with ESMTP id 650C5CFFCA; Thu,  3 Jun 2021 19:21:16 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp2.welho.com ([IPv6:::ffff:83.102.41.85]) by localhost (welho-filter2.welho.com [::ffff:83.102.41.24]) (amavisd-new, port 10024) with ESMTP id HxY0YSg8deTT; Thu,  3 Jun 2021 19:21:14 +0300 (EEST)
Received: from LK-Perkele-VII2 (87-92-216-160.rev.dnainternet.fi [87.92.216.160]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPSA id 4CADB72; Thu,  3 Jun 2021 19:21:12 +0300 (EEST)
Date: Thu, 3 Jun 2021 19:21:12 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: cose@ietf.org, anders.rundgren.net@gmail.com
Message-ID: <YLkBeIfVNLPFWR8v@LK-Perkele-VII2.locald>
References: <20210603121938.5BB49F406F3@rfc-editor.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
In-Reply-To: <20210603121938.5BB49F406F3@rfc-editor.org>
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/r2krbGidCYd65GzTOOZQMt4GitI>
Subject: Re: [COSE] [Technical Errata Reported] RFC8152 (6597)
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Jun 2021 16:21:28 -0000

On Thu, Jun 03, 2021 at 05:19:38AM -0700, RFC Errata System wrote:
> The following errata report has been submitted for RFC8152,
> "CBOR Object Signing and Encryption (COSE)".
> 
> --------------------------------------
> You may review the report below and at:
> https://www.rfc-editor.org/errata/eid6597
> 
> --------------------------------------
> Type: Technical
> Reported by: Anders Rundgren <anders.rundgren.net@gmail.com>
> 
> Section: 12.5.1.
> 
> Original Text
> -------------
> The RFC is unclear to whether Concat KDF or HKDF is to be used:
> 
> In table 20 there is an entry:
> ECDH-ES +  -31   | HKDF -  | yes        | A256KW | ECDH ES w/    |
>    | A256KW    |       | SHA-256 |            |        | Concat KDF    |
>    |           |       |         |            |        | and AES Key   |
>    |           |       |         |            |        | Wrap w/       |
>    |           |       |         |            |        | 256-bit key  
> 
> That is, the table talks both about Concat and HKDF.
> 
> The IANA registry for this algorithm says Concat KDF
> 
> Jim's sample code for algorithm -31 says HKDF.
> 
> Corrected Text
> --------------
> I have no corrected text to offer since I don't have the answer to the question raised.
> 
> Concat is referred to once and without any external references.  In JOSE, Concat denotes a NIST standard which is quite different to HKDF.

Here is what I presume table 20 should be (modulo precise way HKDF with
SHA-256 should be written):

   +-----------+-------+---------+------------+--------+---------------+
   | Name      | Value | KDF     | Ephemeral- | Key    | Description   |
   |           |       |         | Static     | Wrap   |               |
   +-----------+-------+---------+------------+--------+---------------+
   | ECDH-ES + | -29   | HKDF -  | yes        | A128KW | ECDH ES w/    |
   | A128KW    |       | SHA-256 |            |        | HKDF SHA-256  |
   |           |       |         |            |        | and AES Key   |
   |           |       |         |            |        | Wrap w/       |
   |           |       |         |            |        | 128-bit key   |
   |           |       |         |            |        |               |
   | ECDH-ES + | -30   | HKDF -  | yes        | A192KW | ECDH ES w/    |
   | A192KW    |       | SHA-256 |            |        | HKDF SHA-256  |
   |           |       |         |            |        | and AES Key   |
   |           |       |         |            |        | Wrap w/       |
   |           |       |         |            |        | 192-bit key   |
   |           |       |         |            |        |               |
   | ECDH-ES + | -31   | HKDF -  | yes        | A256KW | ECDH ES w/    |
   | A256KW    |       | SHA-256 |            |        | HKDF SHA-256  |
   |           |       |         |            |        | and AES Key   |
   |           |       |         |            |        | Wrap w/       |
   |           |       |         |            |        | 256-bit key   |
   |           |       |         |            |        |               |
   | ECDH-SS + | -32   | HKDF -  | no         | A128KW | ECDH SS w/    |
   | A128KW    |       | SHA-256 |            |        | HKDF SHA-256  |
   |           |       |         |            |        | and AES Key   |
   |           |       |         |            |        | Wrap w/       |
   |           |       |         |            |        | 128-bit key   |
   |           |       |         |            |        |               |
   | ECDH-SS + | -33   | HKDF -  | no         | A192KW | ECDH SS w/    |
   | A192KW    |       | SHA-256 |            |        | HKDF SHA-256  |
   |           |       |         |            |        | and AES Key   |
   |           |       |         |            |        | Wrap w/       |
   |           |       |         |            |        | 192-bit key   |
   |           |       |         |            |        |               |
   | ECDH-SS + | -34   | HKDF -  | no         | A256KW | ECDH SS w/    |
   | A256KW    |       | SHA-256 |            |        | HKDF SHA-256  |
   |           |       |         |            |        | and AES Key   |
   |           |       |         |            |        | Wrap w/       |
   |           |       |         |            |        | 256-bit key   |
   +-----------+-------+---------+------------+--------+---------------+

That is, the value of KDF column is correct, and the description is
incorrect. In section 12.5, there is definition of how key encryption is
done, and it references functions "KDF" and "KeyWrap", which are
presumably the values of colums "KDF" and "Key Wrap".

Furthermore, if one supposed it was intended to be concat KDF, I do not
see anywhere what the hash function would be (for JWE, the text
specifies that the hash function is SHA-256).


And I note that draft-ietf-cose-rfc8152bis-algs-12 has table with the
same sort of inconsistency (table 16). Presumably that table should be
fixed before publication.


> Notes
> -----
> It is pretty vital for interoperability knowing if Concat KDF or HKDF is to be used.


-Ilari


From nobody Thu Jun  3 09:44:17 2021
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0595B3A0DA5 for <cose@ietfa.amsl.com>; Thu,  3 Jun 2021 09:44:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level: 
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8cIuqFa_QZkj for <cose@ietfa.amsl.com>; Thu,  3 Jun 2021 09:44:11 -0700 (PDT)
Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) (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 6B3AB3A0DA0 for <cose@ietf.org>; Thu,  3 Jun 2021 09:44:11 -0700 (PDT)
Received: by mail-wm1-x335.google.com with SMTP id o127so3796966wmo.4 for <cose@ietf.org>; Thu, 03 Jun 2021 09:44:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=Q/cA/fDUJTIyAJ9GSOHj11iUY85c4460b+AXChUrfLg=; b=NYR4/86blwElIGI9h63McNXJ4xXLVQ8LCFnFYKlyjRtNLKMZ6rJZqubqvONI/tBUPz 6K6OTa10KsrVnTgw1CmDymt4nUUN8gWBIhhhUy8OP9XZsoHRWN5sl4ncPtalLNHgi8D4 9JfG6o6kdgsoLQGXdlGQSyX2tQqHQ9lE1tWdotmfaQZH8mdF2zM1z8nUiMVWc3cquA02 y7O36wUi4UpJBeXSkx53yN3KgKNGkwMCw4KXZbdl8Lwt4Wk5iUUR1/imGdieStYTHqbR JYtpn93dPcGbi+zXVocScsCHoRnK2xE7h5+VgGNa9YBi4tmZPUUsWUXC7LrC8miHIIPO h8ew==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Q/cA/fDUJTIyAJ9GSOHj11iUY85c4460b+AXChUrfLg=; b=L/j+Ud4ZWcDaK4CfzSvZ9c2B/dNdw42CKma71nO+CMveHaz6OZ0XCapnutYI2jXYNp qrJl1mwyQ8xKEksNTor5Yrqq29u05wWQ3PysKYTek1m8afjruOrG+xyyG5dg3ojsdijx WJILI8JTsdb6ieBeav8V+mh75NMgCQwp8CeO3bQg8vRMF3FvggvHmls/0259YLO3ijzc d82Vh8TIZ13YUrL+qmbBWAZmeTPnQz0kRswSSU/MtsxuuZjj3fuMcT2mHC48UYvHVwWA SfCIteHpTYZun/xuLMIe8WgLJ2em9meFe6eKSDE8iTfWFrhfF8Tigk4UHDU/0X/etpDa Puzg==
X-Gm-Message-State: AOAM530RSK0Vj+fsrrQiSgCB5hQTrKv7P41bl//2TnLPzjsq6KeXkxHQ V2LqDti+l5jwLVZRv19f320cJm9dPdl8+g==
X-Google-Smtp-Source: ABdhPJy9wmRRUPK7nFkc5SrD6v9pxC/XthDHTTxk9spQV3ZVdnOsyLa5FcZTte5Az1liOgSNn/UIhA==
X-Received: by 2002:a05:600c:3510:: with SMTP id h16mr33063wmq.38.1622738644343;  Thu, 03 Jun 2021 09:44:04 -0700 (PDT)
Received: from [192.168.1.67] (25.131.146.77.rev.sfr.net. [77.146.131.25]) by smtp.googlemail.com with ESMTPSA id 31sm4214387wrc.96.2021.06.03.09.44.03 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 03 Jun 2021 09:44:03 -0700 (PDT)
To: Ilari Liusvaara <ilariliusvaara@welho.com>, cose@ietf.org
References: <20210603121938.5BB49F406F3@rfc-editor.org> <YLkBeIfVNLPFWR8v@LK-Perkele-VII2.locald>
From: Anders Rundgren <anders.rundgren.net@gmail.com>
Message-ID: <f6a8ce30-528b-2da1-b400-533c7bff4159@gmail.com>
Date: Thu, 3 Jun 2021 18:44:02 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2
MIME-Version: 1.0
In-Reply-To: <YLkBeIfVNLPFWR8v@LK-Perkele-VII2.locald>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/wIS2vjsjlZz7_eFhw-iorFroVOU>
Subject: Re: [COSE] [Technical Errata Reported] RFC8152 (6597)
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Jun 2021 16:44:16 -0000

Thanx Ilari,

So apparently both the RFC and the associated IANA registry entries are incorrect.

Fortunately, my code did this assumption as well :-)

A remaining issue is that ECDH-ES+A256KW is a different algorithm
in JOSE.  Jim has in his own code rather used
ECDH-ES-HKDF-256+A256KW which seems reasonable.  Maybe that
is stretching things too far?

rgds,
Anders

On 2021-06-03 18:21, Ilari Liusvaara wrote:
> On Thu, Jun 03, 2021 at 05:19:38AM -0700, RFC Errata System wrote:
>> The following errata report has been submitted for RFC8152,
>> "CBOR Object Signing and Encryption (COSE)".
>>
>> --------------------------------------
>> You may review the report below and at:
>> https://www.rfc-editor.org/errata/eid6597
>>
>> --------------------------------------
>> Type: Technical
>> Reported by: Anders Rundgren <anders.rundgren.net@gmail.com>
>>
>> Section: 12.5.1.
>>
>> Original Text
>> -------------
>> The RFC is unclear to whether Concat KDF or HKDF is to be used:
>>
>> In table 20 there is an entry:
>> ECDH-ES +  -31   | HKDF -  | yes        | A256KW | ECDH ES w/    |
>>     | A256KW    |       | SHA-256 |            |        | Concat KDF    |
>>     |           |       |         |            |        | and AES Key   |
>>     |           |       |         |            |        | Wrap w/       |
>>     |           |       |         |            |        | 256-bit key
>>
>> That is, the table talks both about Concat and HKDF.
>>
>> The IANA registry for this algorithm says Concat KDF
>>
>> Jim's sample code for algorithm -31 says HKDF.
>>
>> Corrected Text
>> --------------
>> I have no corrected text to offer since I don't have the answer to the question raised.
>>
>> Concat is referred to once and without any external references.  In JOSE, Concat denotes a NIST standard which is quite different to HKDF.
> 
> Here is what I presume table 20 should be (modulo precise way HKDF with
> SHA-256 should be written):
> 
>     +-----------+-------+---------+------------+--------+---------------+
>     | Name      | Value | KDF     | Ephemeral- | Key    | Description   |
>     |           |       |         | Static     | Wrap   |               |
>     +-----------+-------+---------+------------+--------+---------------+
>     | ECDH-ES + | -29   | HKDF -  | yes        | A128KW | ECDH ES w/    |
>     | A128KW    |       | SHA-256 |            |        | HKDF SHA-256  |
>     |           |       |         |            |        | and AES Key   |
>     |           |       |         |            |        | Wrap w/       |
>     |           |       |         |            |        | 128-bit key   |
>     |           |       |         |            |        |               |
>     | ECDH-ES + | -30   | HKDF -  | yes        | A192KW | ECDH ES w/    |
>     | A192KW    |       | SHA-256 |            |        | HKDF SHA-256  |
>     |           |       |         |            |        | and AES Key   |
>     |           |       |         |            |        | Wrap w/       |
>     |           |       |         |            |        | 192-bit key   |
>     |           |       |         |            |        |               |
>     | ECDH-ES + | -31   | HKDF -  | yes        | A256KW | ECDH ES w/    |
>     | A256KW    |       | SHA-256 |            |        | HKDF SHA-256  |
>     |           |       |         |            |        | and AES Key   |
>     |           |       |         |            |        | Wrap w/       |
>     |           |       |         |            |        | 256-bit key   |
>     |           |       |         |            |        |               |
>     | ECDH-SS + | -32   | HKDF -  | no         | A128KW | ECDH SS w/    |
>     | A128KW    |       | SHA-256 |            |        | HKDF SHA-256  |
>     |           |       |         |            |        | and AES Key   |
>     |           |       |         |            |        | Wrap w/       |
>     |           |       |         |            |        | 128-bit key   |
>     |           |       |         |            |        |               |
>     | ECDH-SS + | -33   | HKDF -  | no         | A192KW | ECDH SS w/    |
>     | A192KW    |       | SHA-256 |            |        | HKDF SHA-256  |
>     |           |       |         |            |        | and AES Key   |
>     |           |       |         |            |        | Wrap w/       |
>     |           |       |         |            |        | 192-bit key   |
>     |           |       |         |            |        |               |
>     | ECDH-SS + | -34   | HKDF -  | no         | A256KW | ECDH SS w/    |
>     | A256KW    |       | SHA-256 |            |        | HKDF SHA-256  |
>     |           |       |         |            |        | and AES Key   |
>     |           |       |         |            |        | Wrap w/       |
>     |           |       |         |            |        | 256-bit key   |
>     +-----------+-------+---------+------------+--------+---------------+
> 
> That is, the value of KDF column is correct, and the description is
> incorrect. In section 12.5, there is definition of how key encryption is
> done, and it references functions "KDF" and "KeyWrap", which are
> presumably the values of colums "KDF" and "Key Wrap".
> 
> Furthermore, if one supposed it was intended to be concat KDF, I do not
> see anywhere what the hash function would be (for JWE, the text
> specifies that the hash function is SHA-256).
> 
> 
> And I note that draft-ietf-cose-rfc8152bis-algs-12 has table with the
> same sort of inconsistency (table 16). Presumably that table should be
> fixed before publication.
> 
> 
>> Notes
>> -----
>> It is pretty vital for interoperability knowing if Concat KDF or HKDF is to be used.
> 
> 
> -Ilari
> 


From nobody Fri Jun  4 23:18:00 2021
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A82F93A14F7 for <cose@ietfa.amsl.com>; Fri,  4 Jun 2021 23:17:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.498
X-Spam-Level: 
X-Spam-Status: No, score=-1.498 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_SBL=0.5, URIBL_SBL_A=0.1] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W4nhqkF18sRa for <cose@ietfa.amsl.com>; Fri,  4 Jun 2021 23:17:53 -0700 (PDT)
Received: from mail-wr1-x42c.google.com (mail-wr1-x42c.google.com [IPv6:2a00:1450:4864:20::42c]) (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 EEA133A14F3 for <cose@ietf.org>; Fri,  4 Jun 2021 23:17:52 -0700 (PDT)
Received: by mail-wr1-x42c.google.com with SMTP id i94so6304803wri.4 for <cose@ietf.org>; Fri, 04 Jun 2021 23:17:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=1z3bfcm90byNp2T6+RPPommt1ZEP16bmRR4sNcoOdhY=; b=O99ujIibrK2j9POWcVjr6LeZrmGcw5aWId2uLf7wBpG6FZzXQ2D52IHQjNPXg7TczY wKfCnxdsU27cYep9zlh7r88E4EuOoQBeTxccf9JO/z4SNb9pLqfe9rvhKiIykbHFEvqg sboGOOmHrG5oGgFEvgKoPOTBNBhy4S4Dr0mw/IV0gjzO6TOMt5rVmjiDrjItvlvCllGj FgBN4OcqJ5rrpbId9NxmdzrwcGWZX7noxV+LWZi+t4iXWhy8aOPCum/x/slLSC7IwZRd yKWJWIjI4/oc9yraVXmfEVBw8d/oVIZ448aEeV1xur8YibUf31qwSNalRnZiHd0vpMl6 3+qw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=1z3bfcm90byNp2T6+RPPommt1ZEP16bmRR4sNcoOdhY=; b=J1tzutn4Mb5FGz0dTyq6n4v4iZxst5+tFncT/teqRj8HI+MtnCagVaiF2o8istF2lC B6reOTsBpM9Sy50oLap0G/ysil2iIw8NgU4kUBA6j60EtMV2oTV0NybC+w0O5oNrwkpC BW3cm6W9zGnj2hQJo8uPEYuNOuALLVzt3Dy1aqbWW7tQNZN9QwTikZIg/18IEZoaA5R7 r5wZOHJy43WgMX728jG9Go6t0g74CnLvGHNTsDIkkXKH3iFpifXyNquCi/kbzRoDe+qj XRAfNudavYyfi1ul5RyvtWgofquNlSUwZTwNIQwZ1DCNhzCLiSlcAX2vtw1vRtZT0LlI xoIQ==
X-Gm-Message-State: AOAM533PrHXdTWWHbCIxQeBNv3XLIGyMo+qfaYvVOXloom/4l7c9GrEI nNfXFIgyM6Bv51+cdz3WsCe5c/TC0ICkow==
X-Google-Smtp-Source: ABdhPJxueHmVPJPFi/jFgduQ0gx+J/bmuEFYhgY5SveECjbfa/TX97wXhikCQcvqdLOQ5Lp06vZMSw==
X-Received: by 2002:adf:fe4f:: with SMTP id m15mr7386691wrs.361.1622873869979;  Fri, 04 Jun 2021 23:17:49 -0700 (PDT)
Received: from [192.168.1.67] (25.131.146.77.rev.sfr.net. [77.146.131.25]) by smtp.googlemail.com with ESMTPSA id 62sm9614535wrm.1.2021.06.04.23.17.49 for <cose@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Jun 2021 23:17:49 -0700 (PDT)
To: cose@ietf.org
From: Anders Rundgren <anders.rundgren.net@gmail.com>
Message-ID: <7e2a14a1-1633-9235-5348-853e60ee3067@gmail.com>
Date: Sat, 5 Jun 2021 08:17:48 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/9PNWfQGTf8vlMv_grUtkiIgNqMw>
Subject: [COSE] FIDO/WebAuthn redefined the COSE EdDSA (-8) algorithm
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Jun 2021 06:17:58 -0000

F.Y.I.
When a key is to be generated, the FIDO/WebAuthn "create" API provides a list of COSE signature algorithms.  To save some bytes they overloaded EdDSA so that it would mean EdDSA with an Ed25519 key.  Seen in retrospect this was obviously a mistake since this doesn't extend to Ed448.

However, I believe the mistake was really making EdDSA a signature algorithm.  The "family" concept fits squarely with most cryptographic APIs that typically only deals with specific algorithms.

I don't know how FIDO/WebAuthn will get out of this quagmire but personally I have "hijacked" the currently unassigned -9 for a signature scheme which follows what I have previously done in JSON. Here is the algorithm table for what I call COSE Signature Format (CSF):
https://cyberphone.github.io/javaapi/org/webpki/cbor/package-summary.html#csf-algorithms

Ideally, two new algorithm identifiers could be defined which are better aligned with the EC and RSA schemes which do not suffer from this problem.

Thanx,
Anders


From nobody Sat Jun  5 00:50:12 2021
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0E8403A18F5 for <cose@ietfa.amsl.com>; Sat,  5 Jun 2021 00:50:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.5
X-Spam-Level: 
X-Spam-Status: No, score=-1.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.398, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no autolearn_force=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 aFrnQ1ffxyxb for <cose@ietfa.amsl.com>; Sat,  5 Jun 2021 00:50:06 -0700 (PDT)
Received: from welho-filter2.welho.com (welho-filter2b.welho.com [83.102.41.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1CFB13A18F1 for <cose@ietf.org>; Sat,  5 Jun 2021 00:50:05 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter2.welho.com (Postfix) with ESMTP id B8B3BC4C1E; Sat,  5 Jun 2021 10:50:01 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp2.welho.com ([IPv6:::ffff:83.102.41.85]) by localhost (welho-filter2.welho.com [::ffff:83.102.41.24]) (amavisd-new, port 10024) with ESMTP id x9fpzvhp3qnA; Sat,  5 Jun 2021 10:50:01 +0300 (EEST)
Received: from LK-Perkele-VII2 (87-92-216-160.rev.dnainternet.fi [87.92.216.160]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPSA id 53D4A27B; Sat,  5 Jun 2021 10:49:59 +0300 (EEST)
Date: Sat, 5 Jun 2021 10:49:58 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Anders Rundgren <anders.rundgren.net@gmail.com>
Cc: cose@ietf.org
Message-ID: <YLsspgvnp7/RefqD@LK-Perkele-VII2.locald>
References: <7e2a14a1-1633-9235-5348-853e60ee3067@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <7e2a14a1-1633-9235-5348-853e60ee3067@gmail.com>
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/NGN2d644BthfifrVcNTENOJ66Qk>
Subject: Re: [COSE] FIDO/WebAuthn redefined the COSE EdDSA (-8) algorithm
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Jun 2021 07:50:10 -0000

On Sat, Jun 05, 2021 at 08:17:48AM +0200, Anders Rundgren wrote:
> F.Y.I.
> When a key is to be generated, the FIDO/WebAuthn "create" API provides
> a list of COSE signature algorithms.  To save some bytes they
> overloaded EdDSA so that it would mean EdDSA with an Ed25519 key. 
> Seen in retrospect this was obviously a mistake since this doesn't
> extend to Ed448.
>
> However, I believe the mistake was really making EdDSA a signature
> algorithm.  The "family" concept fits squarely with most
> cryptographic APIs that typically only deals with specific
> algorithms.

IMO, the mistake is using signature algorithm to specify a key type.
That is not just wrong for EdDSA, it is also wrong for ECDSA (e.g,
ES512 does not have unique key type).

The key create command should take the algorithm of the key as
parameter, and the sole cryptogrphic algorithm it is intended for, in
case there are multiple possibilities (using the same key with multiple
algorithms is not cryptographically kosher).

Almost every signature framework I have ever seen contains the mistake
that the framework lets message and key contradict each other. Usually
the specification says something like "MUST check", but in practice this
is a major source of security issues. Then some folks have weaponized
these issues to fuel anti-algorithm-agility agenda. For COSE, I spot 6
classes (RSA, ECDSA, ECDSA with bitcoin curve, Ed25519/Ed448, HSS-LMS
and WalnutDSA) of incompatible non-overlapped signature algorithms.

In one of my projects, I had case of flawed signature key create command
(it was not this, but some other interface flaw). I ended up creating
another key create command with saner semantics.


-Ilari


From nobody Sat Jun  5 01:47:05 2021
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 31E473A1504 for <cose@ietfa.amsl.com>; Sat,  5 Jun 2021 01:47:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level: 
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5uzDcTWGk70N for <cose@ietfa.amsl.com>; Sat,  5 Jun 2021 01:46:57 -0700 (PDT)
Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (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 B3C2A3A1ABC for <cose@ietf.org>; Sat,  5 Jun 2021 01:46:54 -0700 (PDT)
Received: by mail-wm1-x334.google.com with SMTP id f20so2463512wmg.0 for <cose@ietf.org>; Sat, 05 Jun 2021 01:46:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=o3jMpz3mh7e929T5ZuCWok4DVgQZaTjraM0ioNSw2uU=; b=pcUOlkZc2TCHFXQMefVxjOqSJkJQG+6SaxZR0ppvtIkp0ekTjnD/iB61f6qpNFXW/5 v9+KdTp/TCEYZ3uUH3vnSwmQ3HqBp2N0uehaauy1SbENUraniTtdEVNrEa7ywOG/sfXi wUOkIcAJeZlCkRGek3tYxba8URSuVvkPwATWkVhb/JmpdY43OZlsyjCJsoaABdvIQtT2 zs6k4f5eEJI/Gxo6rL758ENQLtz99NloUh2xESVi2CBXgd8EEQLhqLRpIpo3Qi6bYYCb m3T+Kxs25EqeaD5A/qe+fb9GtBIWharA28Pn9XgOa/4mb/V58zTGS4HFOet5kHwUj36a vD7g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=o3jMpz3mh7e929T5ZuCWok4DVgQZaTjraM0ioNSw2uU=; b=WycCpbifxGptVgzV0CytL9SXb/4oq/XqR1Vulgq3J0P2MJaxYLR6oz4A0WrVCnnABi hkkx9xRd71TWaH0X9/Il5B/LE7zSJhkdaFp6KZGzG1vCK8g8XZ5J16CU+W+nYaqsP8cg +ogxxAc+iSTLUkmNYeu4Ig/rwqDmJGPSu3ssw+dUzwzHe3pqbw8vAl2fu/QLmaWI5Q/8 W+wqbkSHkxL1SSDBSiojWqZTeCmWXqseFoQiOTFBne13N2KXN6BZyL5l+EelCKUOK1qV vkbSfmi2vH8RS1nHQcq+pMVEZkyZ+JVTmUMrlq0kDV104L4+9zf9OmAY5NPZQHOVMNlu SO/A==
X-Gm-Message-State: AOAM531StBZhocpoiw0W7+YC8xDidB+YUoKWC/kY7Bmm7hfToF0ybVkN XWJK0XMhwpP1e4VpkVM6wC52B8ElnM3HNg==
X-Google-Smtp-Source: ABdhPJwiX/1eoaJGIJHtNNg0amolvLrOX/WGtXVzrGvkHcfM8akk04WSzPG8/pFBHnmCwlFtKKB9Jg==
X-Received: by 2002:a1c:bb45:: with SMTP id l66mr7361297wmf.29.1622882811202;  Sat, 05 Jun 2021 01:46:51 -0700 (PDT)
Received: from [192.168.1.67] (25.131.146.77.rev.sfr.net. [77.146.131.25]) by smtp.googlemail.com with ESMTPSA id l10sm9105934wrm.2.2021.06.05.01.46.50 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 05 Jun 2021 01:46:50 -0700 (PDT)
To: Ilari Liusvaara <ilariliusvaara@welho.com>
Cc: cose@ietf.org
References: <7e2a14a1-1633-9235-5348-853e60ee3067@gmail.com> <YLsspgvnp7/RefqD@LK-Perkele-VII2.locald>
From: Anders Rundgren <anders.rundgren.net@gmail.com>
Message-ID: <5779e473-7d97-740e-f45b-0a5da1282dc0@gmail.com>
Date: Sat, 5 Jun 2021 10:46:49 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2
MIME-Version: 1.0
In-Reply-To: <YLsspgvnp7/RefqD@LK-Perkele-VII2.locald>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/Tkxa0uuiWoxeNPMIGsdkMcIhNSo>
Subject: Re: [COSE] FIDO/WebAuthn redefined the COSE EdDSA (-8) algorithm
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 05 Jun 2021 08:47:03 -0000

On 2021-06-05 9:49, Ilari Liusvaara wrote:
> On Sat, Jun 05, 2021 at 08:17:48AM +0200, Anders Rundgren wrote:
>> F.Y.I.
>> When a key is to be generated, the FIDO/WebAuthn "create" API provides
>> a list of COSE signature algorithms.  To save some bytes they
>> overloaded EdDSA so that it would mean EdDSA with an Ed25519 key.
>> Seen in retrospect this was obviously a mistake since this doesn't
>> extend to Ed448.
>>
>> However, I believe the mistake was really making EdDSA a signature
>> algorithm.  The "family" concept fits squarely with most
>> cryptographic APIs that typically only deals with specific
>> algorithms.
> 
> IMO, the mistake is using signature algorithm to specify a key type.
> That is not just wrong for EdDSA, it is also wrong for ECDSA (e.g,
> ES512 does not have unique key type).
> 
> The key create command should take the algorithm of the key as
> parameter, and the sole cryptogrphic algorithm it is intended for, in
> case there are multiple possibilities (using the same key with multiple
> algorithms is not cryptographically kosher).
> 
> Almost every signature framework I have ever seen contains the mistake
> that the framework lets message and key contradict each other. Usually
> the specification says something like "MUST check", but in practice this
> is a major source of security issues. Then some folks have weaponized
> these issues to fuel anti-algorithm-agility agenda. For COSE, I spot 6
> classes (RSA, ECDSA, ECDSA with bitcoin curve, Ed25519/Ed448, HSS-LMS
> and WalnutDSA) of incompatible non-overlapped signature algorithms.
> 
> In one of my projects, I had case of flawed signature key create command
> (it was not this, but some other interface flaw). I ended up creating
> another key create command with saner semantics.

Leaving broken cryptographic frameworks aside, how about a
"historical compromise" where EdDSA without any specific key
information would default to Ed25519 keys?

In the same vein the currently unassigned -9 could do the same for
Ed448 just to keep the symmetry :)

The revised identifiers could for example be called something like
EdDSA[Ed25519] and EdDSA[Ed448] respectively.

This is indeed a bit ugly but it
- doesn't break existing code
- follows (albeit in a reversed fashion) your ideas about key-driven
   signature algorithms.

The only viable alternative (AFAICT...), is either stalling progress
by forcing API upgrades, or continued "misuse" of existing standards.
It is a bit like choosing between pest or cholera :)

Anders
> 
> 
> -Ilari
> 


From nobody Sun Jun  6 22:36:10 2021
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B0A463A3756 for <cose@ietfa.amsl.com>; Sun,  6 Jun 2021 22:36:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.497
X-Spam-Level: 
X-Spam-Status: No, score=-1.497 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_SBL=0.5, URIBL_SBL_A=0.1] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id U211cbMKcEed for <cose@ietfa.amsl.com>; Sun,  6 Jun 2021 22:36:04 -0700 (PDT)
Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) (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 7E8B63A3755 for <cose@ietf.org>; Sun,  6 Jun 2021 22:36:04 -0700 (PDT)
Received: by mail-wm1-x32e.google.com with SMTP id s70-20020a1ca9490000b02901a589651424so3318916wme.0 for <cose@ietf.org>; Sun, 06 Jun 2021 22:36:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=GUqjkcOJQcyxNonb/Vl5HqsY97OosDwG3i+Jl8Q5lgQ=; b=U328jV+tYnUMjG5sA9jtRh31v/waF34+GvHFglagB+Mlo4LdoRUJ8YNzP3Bm+eJOZn LKEqqnRyvtyUHuLdQNM4BOgzGMhDe7ZcXnncuDFf9N45v0DiEdeA4KSSn5vrBp40v6WD 02fDnoMF7M0SQh4oJofqliG7/xP2vf0spXkE7C9wMX3unVS5jFLqz+TwrNA+yhES52ok 8HJImHNS5B/t2UkDt4mMOk+aJlY0C1re/ybjEFadHEX2iwwXZFYaumqVfd5jMWVIM+bO Bv5KUz8bSBMmlLnfVsdetUg2iT6XRi1tqa30+PytUcZGOBb3ahSr7G8wHZMRnbrxFilI cipw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=GUqjkcOJQcyxNonb/Vl5HqsY97OosDwG3i+Jl8Q5lgQ=; b=pPaZo63SmQ9H+XZvnBOPUOVixJ9joSjoFQTCKIwjMFXpony0vxPLmoXbbPMWykLR2p wyhKiIGfeCplEkFHwFRMMrEWb7F0gmSCQxqUMfHcHXNazka1JDAWH0RKlXJd2BnjO7t7 Bhd/2xLuKNn2u46oWXuPHgFCpxYG7YGjcgUvi16Cja9NHw5yj07k5hUgD0PqKbfVHN+Q aXyJuhYxRfTDwY2MXE57kxaIdmh3jg5RKu207yLNtm78IcbCr96Eyb7bT3FDuLQ/tDke NGW27xTjx9cU6sF7EK52Pk5UwMmsxC1jBTAVj8JQRoVWsGm1JL/u1ls3Fic4xyGkGpkv 8X8A==
X-Gm-Message-State: AOAM531MoETwtr7UdyaT82ysm0xmj/l82p+Ka8pz4zQd6EAkfrxQI2W/ FMh8fuWATIgH+OoBq6SbGiNdxu0EbRHf+w==
X-Google-Smtp-Source: ABdhPJyfpxEgbBqjOvoR56BEoOkOHSUpX8nWKVa2WP2FP2cOhktCAUH0we7DFNhnn+JkRB1zvtHbWg==
X-Received: by 2002:a05:600c:2115:: with SMTP id u21mr14849680wml.53.1623044160445;  Sun, 06 Jun 2021 22:36:00 -0700 (PDT)
Received: from [192.168.1.67] (25.131.146.77.rev.sfr.net. [77.146.131.25]) by smtp.googlemail.com with ESMTPSA id l13sm14168971wrv.57.2021.06.06.22.35.59 for <cose@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 06 Jun 2021 22:35:59 -0700 (PDT)
To: cose@ietf.org
From: Anders Rundgren <anders.rundgren.net@gmail.com>
Message-ID: <a4dc2fc0-6737-854d-a6a6-b103ac2c364a@gmail.com>
Date: Mon, 7 Jun 2021 07:35:56 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Content-Language: en-US
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/kDXTUKBXRxSAFgkC5pLIRFLytFA>
Subject: [COSE] CBOR Encryption Format (CEF)
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Jun 2021 05:36:09 -0000

F.Y.I.
https://cyberphone.github.io/javaapi/org/webpki/cbor/package-summary.html#cef

Isn't COSE sufficient you may [rightfully] ask?
It is but since COSE is a framework, applications need to write a potentially rather elaborate "profile" in order to use it.

CEF is not a framework.  In addition, CEF builds on the CTAP2 CBOR canonicalization scheme making concepts like "protected" and "unprotected" redundant.  In CEF all data is protected (that can be protected).

The primary application for CEF is FIDO Web Pay (https://fido-web-pay.github.io/) where I intend to switch from JSON to CBOR for the assertion in order to save bytes and better align the system with FIDO/CTAP2.  FIDO signatures (assertions) already require a highly customized solution so using CEF wasn't a big deal :)

Thanx,
Anders


From nobody Sat Jun 12 05:48:13 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AC4383A1100; Sat, 12 Jun 2021 05:48:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level: 
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_FAIL=0.001, SPF_HELO_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=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 d5Kuzt81LoOf; Sat, 12 Jun 2021 05:48:06 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [IPv6:2001:638:708:32::19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DF24B3A10FE; Sat, 12 Jun 2021 05:48:05 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4G2HYt1MQhz2xGX; Sat, 12 Jun 2021 14:48:02 +0200 (CEST)
From: Carsten Bormann <cabo@tzi.org>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mao-Original-Outgoing-Id: 645194881.772979-915c1e183e04e5c42d7d01420002e88d
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Date: Sat, 12 Jun 2021 14:48:01 +0200
Message-Id: <D8489E8F-F55B-47E5-9D8F-867BB04998C2@tzi.org>
To: cose@ietf.org, cbor@ietf.org
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/Jntm4AI2eQALIWGUSlWqWeKYknc>
Subject: [COSE] European Digital Health Certificates (used in European Digital Green Certificates = Vaccination certs)
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 12 Jun 2021 12:48:11 -0000

Given that we occasionally look at how other SDOs use CBOR, COSE, etc.:

This week here in Europe, everybody talks about (Covid-19) =
=E2=80=9Cvaccination certs=E2=80=9D.

European Digital Health Certificates (as used in the European Digital =
Green Certificates =E2=80=9CDGC=E2=80=9D for Covid-19) use CBOR and =
COSE.

This development had to happen quickly, so you it was run in the open; =
you find lots of information in github.
It is entertaining and educational to read the discussions on the github =
repos, e.g.,

=C2=BBIt's very easy to decode HCERT. I coded our HCERT verifier in 4 =
hours without knowing anything about CBOR and COSE (I have used LD-Profs =
in the past, but not COSE-based certs).=C2=AB [1]

It is also interesting that one of the problems they had was with =
QR-Code integration.  E.g., the base45 ASCII-funneled encoding they are =
using [2] contains percent characters, which unsurprisingly get mangled =
by some smartphone QR-Code readers (who try to percent-decode them as =
URIs).  (That would have been easily avoidable at zero additional cost =
by using a base41-style encoding instead and using a less risky charset =
subset.)

Also, they are using zlib (deflate) to =E2=80=9Ccompress=E2=80=9D the =
COSE, except that it doesn=E2=80=99t [3].

We may not pay much attention to these integration issues in our IETF =
WGs, but they are really important to make the whole package work.

Maybe we can find someone to talk about practical aspects of DGC and =
related efforts at one of the next CBOR interims...

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


(Thanks to Emmanuel Baccelli for alerting me to this=E2=80=A6)

[1]: =
https://github.com/ehn-dcc-development/hcert-spec/issues/64#issuecomment-8=
30692153

[2]: https://datatracker.ietf.org/doc/html/draft-faltstrom-base45

[3]: =
https://github.com/eu-digital-green-certificates/dgc-testdata/issues/284


From nobody Sat Jun 12 07:53:46 2021
Return-Path: <mcr@sandelman.ca>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7644E3A15E6; Sat, 12 Jun 2021 07:53:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=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 o3FuU35-V6h5; Sat, 12 Jun 2021 07:53:35 -0700 (PDT)
Received: from relay.sandelman.ca (relay.cooperix.net [176.58.120.209]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7CC593A15E1; Sat, 12 Jun 2021 07:53:35 -0700 (PDT)
Received: from dooku.sandelman.ca (unknown [142.169.78.42]) by relay.sandelman.ca (Postfix) with ESMTPS id 22F211F47B; Sat, 12 Jun 2021 14:53:34 +0000 (UTC)
Received: by dooku.sandelman.ca (Postfix, from userid 179) id B5E5F1A0D1B; Sat, 12 Jun 2021 10:53:32 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Carsten Bormann <cabo@tzi.org>
cc: cose@ietf.org, cbor@ietf.org
In-reply-to: <D8489E8F-F55B-47E5-9D8F-867BB04998C2@tzi.org>
References: <D8489E8F-F55B-47E5-9D8F-867BB04998C2@tzi.org>
Comments: In-reply-to Carsten Bormann <cabo@tzi.org> message dated "Sat, 12 Jun 2021 14:48:01 +0200."
X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.3
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Sat, 12 Jun 2021 10:53:32 -0400
Message-ID: <32952.1623509612@dooku>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/CImT1Yz_q5XRwPphg64cyF4hgyc>
Subject: Re: [COSE] European Digital Health Certificates (used in European Digital Green Certificates = Vaccination certs)
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 12 Jun 2021 14:53:41 -0000

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


Carsten Bormann <cabo@tzi.org> wrote:
    > Given that we occasionally look at how other SDOs use CBOR, COSE, etc=
.:

    > This week here in Europe, everybody talks about (Covid-19) =E2=80=9Cv=
accination
    > certs=E2=80=9D.

Thanks for posting this, as my email asking you to post this was sent ten
minutes ago :-)

    > It is also interesting that one of the problems they had was with
    > QR-Code integration.  E.g., the base45 ASCII-funneled encoding they a=
re
    > using [2] contains percent characters, which unsurprisingly get mangl=
ed
    > by some smartphone QR-Code readers (who try to percent-decode them as
    > URIs).  (That would have been easily avoidable at zero additional cost
    > by using a base41-style encoding instead and using a less risky chars=
et
    > subset.)

My understanding is that QRcode can use the entire 8-bits.  Am I wrong?

    > Maybe we can find someone to talk about practical aspects of DGC and
    > related efforts at one of the next CBOR interims...

Actually, I think it belongs as a IAB Tech plenary talk.

=2D-=20
]               Never tell me the odds!                 | ipv6 mesh network=
s [=20
]   Michael Richardson, Sandelman Software Works        | network architect=
  [=20
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails  =
  [=20
=09

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

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

iQEzBAEBCgAdFiEERK+9HEcJHTJ9UqTMlUzhVv38QpAFAmDEymwACgkQlUzhVv38
QpCSgAgAlYyFlyPNiiFm4ZBAIZ6gXjFyuVcNVdzrYcPcj8uyhVNeGW4Ahl/PCD+3
6z81RqfE8AT1UfrpSbN2m/mkg9oIHNmHo6BcWYRNHt8rqnHH4ardPZr2O+qXMyEU
cQ7vFApbwxcI7kKDuldY5e3kK53jayaOiE6hjF+po6EpgwmXt4x0WJnBGEM2zoSi
2tkhQXOWK8Mbwgg9YZuT5nrpabUbM4nA3kWM1Pgp52eOnSsC/lgdqnUpKAq0htFR
WV8jNSETU/zAhxAsLBR37O4KJcPtvU87I5ZGZiVxZv8OOPPOo+Kt8pK6LSAb137B
yffO+JMdCBTc5CEDjJkOqTOd488B7w==
=TuKQ
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Sat Jun 12 08:38:09 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5B2C93A1761; Sat, 12 Jun 2021 08:38:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level: 
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_FAIL=0.001, SPF_HELO_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=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 U3Y1OCrbsUDH; Sat, 12 Jun 2021 08:38:03 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [IPv6:2001:638:708:32::19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id BCE013A1760; Sat, 12 Jun 2021 08:38:01 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4G2MKz3dsQz2xFp; Sat, 12 Jun 2021 17:37:59 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <32952.1623509612@dooku>
Date: Sat, 12 Jun 2021 17:37:59 +0200
Cc: cose@ietf.org, cbor@ietf.org
X-Mao-Original-Outgoing-Id: 645205079.035338-2026f05e496eb776aec306fae7207e42
Content-Transfer-Encoding: quoted-printable
Message-Id: <D87FEE4B-3396-41F2-A8F9-B744E59CEF86@tzi.org>
References: <D8489E8F-F55B-47E5-9D8F-867BB04998C2@tzi.org> <32952.1623509612@dooku>
To: Michael Richardson <mcr+ietf@sandelman.ca>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/xOmsS9jPyEndSbcmJL-rf4flpWI>
Subject: Re: [COSE] European Digital Health Certificates (used in European Digital Green Certificates = Vaccination certs)
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 12 Jun 2021 15:38:07 -0000

On 2021-06-12, at 16:53, Michael Richardson <mcr+ietf@sandelman.ca> =
wrote:
>=20
> My understanding is that QRcode can use the entire 8-bits.  Am I =
wrong?

As usual, this is less about what QRcode *can* do (there is a nice =
binary encoding in there), but about what you can get by all the broken =
stuff that is out there.

So the canonical way to handle this today is:

(1) Use the =E2=80=9Calphanumeric=E2=80=9D 45-character set defined by =
QR-Code specs as upper case letters + digits + space (!) + =C2=BB$%*+-./:=C2=
=AB

(2) Use all these characters =E2=80=94 even though 2**16**(1/3) is =
40.317473596635935 (45**3 =3D 91125, way more than 65536), so 41 out of =
these characters would really suffice - don=E2=80=99t avoid the risky =
characters.

(3) Suffer.

>> Maybe we can find someone to talk about practical aspects of DGC and
>> related efforts at one of the next CBOR interims...
>=20
> Actually, I think it belongs as a IAB Tech plenary talk.

Not a bad idea, but probably requires significant preparation.

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


From nobody Thu Jun 17 07:11:15 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 86B8E3A2103; Thu, 17 Jun 2021 07:11:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_FAIL=0.001, SPF_HELO_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=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 I9tYhhhV6pme; Thu, 17 Jun 2021 07:11:10 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [IPv6:2001:638:708:32::19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EF7633A2104; Thu, 17 Jun 2021 07:11:09 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4G5P9Q0qsGz2xJF; Thu, 17 Jun 2021 16:11:06 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <621D44E4-6948-4CD7-81D5-6125E36262B4@arm.com>
Date: Thu, 17 Jun 2021 16:11:05 +0200
Cc: "cbor@ietf.org" <cbor@ietf.org>, cose@ietf.org
X-Mao-Original-Outgoing-Id: 645631865.662413-0ddcfb6fc72a01d0d3ad5119df9539f6
Content-Transfer-Encoding: quoted-printable
Message-Id: <3EDF5729-5632-45DF-8156-14F643B50BC4@tzi.org>
References: <8713C3AB-71C0-4EC0-8977-15F80EC11309@arm.com> <212CE7EA-73BC-47BF-B192-D2D523F4A376@tzi.org> <33C84949-0F9C-432C-9C94-DE2C9EE17976@arm.com> <3F367A6D-5CAD-474F-AFEE-DF1AC9A34135@tzi.org> <146F670A-48EA-4A90-B77C-4CCC535F1DB1@arm.com> <6195BD3A-A031-47BD-866E-AF3D4D423A0B@tzi.org> <621D44E4-6948-4CD7-81D5-6125E36262B4@arm.com>
To: Brendan Moran <Brendan.Moran@arm.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/u4D37n8TpiYwj0_jpnGCpKyss7Y>
Subject: Re: [COSE] [Cbor] Packed CBOR review
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Jun 2021 14:11:15 -0000

On 2021-06-17, at 15:55, Brendan Moran <Brendan.Moran@arm.com> wrote:
>=20
> It would be nice if this had some CDDL so that I could reference it in =
other specifications.

That raises the overall question how IANA registries could be made =
available in CDDL.

This particular case is probably the most difficult one, as the "COSE =
Algorithms=E2=80=9D registry combines various kinds of algorithms into =
one registry, so essentially one would like to make an SQL query over =
that :-)

SELECT Value=20
  FROM IANA.cose#algorithms=20
  WHERE recommended=3D=E2=80=9Cyes=E2=80=9D and capabilities=3D=E2=80=9C[]=
=E2=80=9D

(Hmm, I don=E2=80=99t understand how the capabilities, are mapped in the =
current registry =E2=80=94 the SHA-256 entry there says =E2=80=9C[kty]=E2=80=
=9D but draft-ietf-cose-hash-algs-09 says "[]=E2=80=9D.  Is capabilities =
even a good way to select an algorithm?)

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


From nobody Sat Jun 19 01:35:09 2021
Return-Path: <ivaylo@ackl.io>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 093C53A2805 for <cose@ietfa.amsl.com>; Sat, 19 Jun 2021 01:35:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=ackl-io.20150623.gappssmtp.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sVO13i0YF5bU for <cose@ietfa.amsl.com>; Sat, 19 Jun 2021 01:35:05 -0700 (PDT)
Received: from mail-wm1-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (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 35CBD3A2807 for <cose@ietf.org>; Sat, 19 Jun 2021 01:35:04 -0700 (PDT)
Received: by mail-wm1-x333.google.com with SMTP id c18-20020a05600c0ad2b02901cee262e45fso7111906wmr.4 for <cose@ietf.org>; Sat, 19 Jun 2021 01:35:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ackl-io.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to:cc; bh=1oLBJ9aGjp5Iv4Q+iNIJ9SKKo1gjh0JBNiS8QxAYl8w=; b=dCd6YFiJ1FSFGPtHA76eBZt7VUuZM9IhAhhIqkCJUmm+ePc7DGW+zaVtOMojNoaY2C rgee6xzb/Hmo19UpwBBU1wXUSalWs95lPsQuzM3AWB4yYGwY/v9TRpyBYaPafpqaEr/v +4WQkCPeT4soF6b9RwR/sWSVGjPPoLwwzPcUH8/HEkZTq1W6ypYriy+MFeMqQpLcK01U cbimD6v05Nnu1+e3aUXBax6h9f2JPSnDRiabGYjleGROcCG5Hts10Jzv0IAQAY8QUQS2 au52XR5TW4o9bKckaKqcHSBeANPy5l+BdCU+4zFKwIJimf19D3GVjkETaY63X9NskrY0 bpeg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=1oLBJ9aGjp5Iv4Q+iNIJ9SKKo1gjh0JBNiS8QxAYl8w=; b=XfG3m95RDnxtCpSZBfdqYoYxDGo91qAVx9He02LQitsm4FKI2Up9Iz8g0d/lMzCcJK Edhms3Thc7gMphPf8ARgWLgDWV7FXmjIjayXRBwi0ybt7QUq6Mc8/wowrsCOilIi098j oFlZSRmbkjINZl0toNrVMZjo1q5rQhUllXbEiaGMf+UCao8uAoDpCwj6YHVdvP98XC4u uMWrwCmCdU5Lg0rQeLsR63sMWOm7UG2wHIIivvbLH1POGdlJixGJGWIEsTvOI5aCpaHG VxjSvZ6aIGNExLhzXch1gzBJuoiRePh6YpixS8SP97df/CYzLcl9cW7NGvAU9Mc4yB5T r4cA==
X-Gm-Message-State: AOAM531IEIALUTqQAfUCs+jhlbvsl/CMgLXtS2jhexyvT3HKaMMtNNKz pkhfv8hlztQQsn1DS4qJq/QuWcqXxpHtWaaHo7HKA0eM4pSgTXxt
X-Google-Smtp-Source: ABdhPJyVUC6PqyTeSC/VwQ5M9y3UBfPcE5zRAFbMk2/CxwWqgkXiw+XVh+9JkIhL7+bOmW2rwmBQ+jPeoGg3x/OdWrc=
X-Received: by 2002:a1c:5f87:: with SMTP id t129mr15289820wmb.86.1624091702641;  Sat, 19 Jun 2021 01:35:02 -0700 (PDT)
MIME-Version: 1.0
From: Ivaylo Petrov <ivaylo@ackl.io>
Date: Sat, 19 Jun 2021 10:34:36 +0200
Message-ID: <CAJFkdRwWHswGm4AKqxjDfRf5jdOWq2ts3OP9e3KQnE5h1GGbGA@mail.gmail.com>
To: cose <cose@ietf.org>
Cc: Cose Chairs Wg <cose-chairs@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/BpceZADv6U2sBMb_0yDe92YGI2M>
Subject: [COSE] Preliminary Agenda and Call for Items
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Jun 2021 08:35:08 -0000

Dear all,

Here is the belated preliminary agenda for the next interim meeting on
23.06.2021.

  COSE WG Agenda
  Interim 5, 2020-06-23 @ 15:30 UTC

  0. Administrivia (Chairs)
  1. Document Status (Chairs)
  2. Certificates CBOR encoding
  3. FIDO/WebAuthn redefined the COSE EdDSA (-8) algorithm
  4. Errata report RFC8152 (6597)
  5. AOB

Please let us know if we have missed any topic that we should discuss
or if there are any other changes to the agenda that would need to be
made (none of the authors would be present for example).

See you soon !

- Mike, Matthew and Ivaylo
COSE WG Chairs


From nobody Sat Jun 19 04:38:34 2021
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BBE153A091D for <cose@ietfa.amsl.com>; Sat, 19 Jun 2021 04:38:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.5
X-Spam-Level: 
X-Spam-Status: No, score=-1.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.398, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no autolearn_force=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 b9vcaHJ_gp-Q for <cose@ietfa.amsl.com>; Sat, 19 Jun 2021 04:38:32 -0700 (PDT)
Received: from welho-filter2.welho.com (welho-filter2b.welho.com [83.102.41.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B15513A091C for <cose@ietf.org>; Sat, 19 Jun 2021 04:38:31 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter2.welho.com (Postfix) with ESMTP id 451A4C4B03; Sat, 19 Jun 2021 14:38:28 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp1.welho.com ([IPv6:::ffff:83.102.41.84]) by localhost (welho-filter2.welho.com [::ffff:83.102.41.24]) (amavisd-new, port 10024) with ESMTP id HipHV1jynLCz; Sat, 19 Jun 2021 14:38:28 +0300 (EEST)
Received: from LK-Perkele-VII2 (87-92-216-160.rev.dnainternet.fi [87.92.216.160]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by welho-smtp1.welho.com (Postfix) with ESMTPSA id 822E87A; Sat, 19 Jun 2021 14:19:08 +0300 (EEST)
Date: Sat, 19 Jun 2021 14:19:08 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Anders Rundgren <anders.rundgren.net@gmail.com>
Cc: cose@ietf.org
Message-ID: <YM3SrCst43jnLOfW@LK-Perkele-VII2.locald>
References: <7e2a14a1-1633-9235-5348-853e60ee3067@gmail.com> <YLsspgvnp7/RefqD@LK-Perkele-VII2.locald> <5779e473-7d97-740e-f45b-0a5da1282dc0@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <5779e473-7d97-740e-f45b-0a5da1282dc0@gmail.com>
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/sg7etrAFzuHbCL47eUrVXpry5OU>
Subject: Re: [COSE] FIDO/WebAuthn redefined the COSE EdDSA (-8) algorithm
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Jun 2021 11:38:34 -0000

On Sat, Jun 05, 2021 at 10:46:49AM +0200, Anders Rundgren wrote:
> On 2021-06-05 9:49, Ilari Liusvaara wrote:
> > On Sat, Jun 05, 2021 at 08:17:48AM +0200, Anders Rundgren wrote:
> > > F.Y.I.
> > > When a key is to be generated, the FIDO/WebAuthn "create" API provides
> > > a list of COSE signature algorithms.  To save some bytes they
> > > overloaded EdDSA so that it would mean EdDSA with an Ed25519 key.
> > > Seen in retrospect this was obviously a mistake since this doesn't
> > > extend to Ed448.
> > > 
> > > However, I believe the mistake was really making EdDSA a signature
> > > algorithm.  The "family" concept fits squarely with most
> > > cryptographic APIs that typically only deals with specific
> > > algorithms.
> > 
> > IMO, the mistake is using signature algorithm to specify a key type.
> > That is not just wrong for EdDSA, it is also wrong for ECDSA (e.g,
> > ES512 does not have unique key type).
> > 
> > The key create command should take the algorithm of the key as
> > parameter, and the sole cryptogrphic algorithm it is intended for, in
> > case there are multiple possibilities (using the same key with multiple
> > algorithms is not cryptographically kosher).
> > 
> > Almost every signature framework I have ever seen contains the mistake
> > that the framework lets message and key contradict each other. Usually
> > the specification says something like "MUST check", but in practice this
> > is a major source of security issues. Then some folks have weaponized
> > these issues to fuel anti-algorithm-agility agenda. For COSE, I spot 6
> > classes (RSA, ECDSA, ECDSA with bitcoin curve, Ed25519/Ed448, HSS-LMS
> > and WalnutDSA) of incompatible non-overlapped signature algorithms.
> > 
> > In one of my projects, I had case of flawed signature key create command
> > (it was not this, but some other interface flaw). I ended up creating
> > another key create command with saner semantics.
> 
> Leaving broken cryptographic frameworks aside, how about a
> "historical compromise" where EdDSA without any specific key
> information would default to Ed25519 keys?
> 
> In the same vein the currently unassigned -9 could do the same for
> Ed448 just to keep the symmetry :)

Is my understanding correct that FIDO/WebAuthn create key API takes in
COSE _algorithm_ number and uses it to decide type of key to create?


If so, FIDO/WebAuthn create key API is just plain flawed. I do not think
it is good idea to try "fix" that in COSE, especially given that the
changes seem to increase risk of error in other contexts.

One really nasty hack that would not cause too much security trouble
would be to reserve algid -9 so that FIDO/WebAuthn create key API
interprets any request with algid=-9 as request to create Ed448 key that
is to be used with EdDSA(algid=-8). But nothing else recognizes that as
anything valid. In practicular, a message with algid -9 gets rejected as
unknown signature algorithm (even if key is Ed448).

> The revised identifiers could for example be called something like
> EdDSA[Ed25519] and EdDSA[Ed448] respectively.
> 
> This is indeed a bit ugly but it
> - doesn't break existing code
> - follows (albeit in a reversed fashion) your ideas about key-driven
>   signature algorithms.

IMO: Reversing key-driven signature algorithms is VERY bad idea. The
whole purpose is to force implementation do needed checks, instead of
allowing implementation to skip them and that being a potential security
problem.

I have coded signature validation, and found that I need to plub in
the type of key. Extra code yes, but if I did not have to do that, I
might have forgotten to check the key type, possibly resulting in an
security issue.

And for not breaking existing code, all EdDSA signatures must use the
-8 algid, so the Ed448 algid can not appear in any message.


> The only viable alternative (AFAICT...), is either stalling progress
> by forcing API upgrades, or continued "misuse" of existing standards.
> It is a bit like choosing between pest or cholera :)

If my understanding of the issue is correct, the API should be
deprecated and replaced by new one.


-Ilari


From nobody Sat Jun 19 05:15:31 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 303EF3A0B44; Sat, 19 Jun 2021 05:15:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_FAIL=0.001, SPF_HELO_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=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 ZReHySPg9C6c; Sat, 19 Jun 2021 05:15:25 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [IPv6:2001:638:708:32::19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B6DD23A0B42; Sat, 19 Jun 2021 05:15:24 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4G6ZVw09Kkz2xGs; Sat, 19 Jun 2021 14:15:19 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <CAJFkdRwWHswGm4AKqxjDfRf5jdOWq2ts3OP9e3KQnE5h1GGbGA@mail.gmail.com>
Date: Sat, 19 Jun 2021 14:15:19 +0200
Cc: cose <cose@ietf.org>, Cose Chairs Wg <cose-chairs@ietf.org>
X-Mao-Original-Outgoing-Id: 645797719.622008-a46470290bbbff5dcee39a5bc34e3d3c
Content-Transfer-Encoding: quoted-printable
Message-Id: <D6915FCF-2325-4210-8664-8A109FCD97F7@tzi.org>
References: <CAJFkdRwWHswGm4AKqxjDfRf5jdOWq2ts3OP9e3KQnE5h1GGbGA@mail.gmail.com>
To: Ivaylo Petrov <ivaylo@ackl.io>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/nALfHg1IfM5YxMv8W-GJEWYdoRc>
Subject: Re: [COSE] Preliminary Agenda and Call for Items
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Jun 2021 12:15:30 -0000

Hi Ivaylo,

unless somebody replies to=20

Archived-At: =
<https://mailarchive.ietf.org/arch/msg/cose/u4D37n8TpiYwj0_jpnGCpKyss7Y>

I would like to spend 5 minutes to discuss what I diagnose as a =
discrepancy between the algorithms registry and =
draft-ietf-cose-hash-algs.

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


> On 2021-06-19, at 10:34, Ivaylo Petrov <ivaylo@ackl.io> wrote:
>=20
> Dear all,
>=20
> Here is the belated preliminary agenda for the next interim meeting on
> 23.06.2021.
>=20
>  COSE WG Agenda
>  Interim 5, 2020-06-23 @ 15:30 UTC
>=20
>  0. Administrivia (Chairs)
>  1. Document Status (Chairs)
>  2. Certificates CBOR encoding
>  3. FIDO/WebAuthn redefined the COSE EdDSA (-8) algorithm
>  4. Errata report RFC8152 (6597)
>  5. AOB
>=20
> Please let us know if we have missed any topic that we should discuss
> or if there are any other changes to the agenda that would need to be
> made (none of the authors would be present for example).
>=20
> See you soon !
>=20
> - Mike, Matthew and Ivaylo
> COSE WG Chairs
>=20
> _______________________________________________
> COSE mailing list
> COSE@ietf.org
> https://www.ietf.org/mailman/listinfo/cose


From nobody Sat Jun 19 08:23:28 2021
Return-Path: <ilariliusvaara@welho.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4AF663A1413 for <cose@ietfa.amsl.com>; Sat, 19 Jun 2021 08:23:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=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 Eh9Ip4qbPnd4 for <cose@ietfa.amsl.com>; Sat, 19 Jun 2021 08:23:25 -0700 (PDT)
Received: from welho-filter1.welho.com (welho-filter1b.welho.com [83.102.41.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D33EE3A1415 for <cose@ietf.org>; Sat, 19 Jun 2021 08:23:24 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter1.welho.com (Postfix) with ESMTP id 60F4C1EC39 for <cose@ietf.org>; Sat, 19 Jun 2021 18:23:21 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp3.welho.com ([IPv6:::ffff:83.102.41.86]) by localhost (welho-filter1.welho.com [::ffff:83.102.41.23]) (amavisd-new, port 10024) with ESMTP id 0-2NXIWXWzgH for <cose@ietf.org>; Sat, 19 Jun 2021 18:23:21 +0300 (EEST)
Received: from LK-Perkele-VII2 (87-92-216-160.rev.dnainternet.fi [87.92.216.160]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by welho-smtp3.welho.com (Postfix) with ESMTPSA id 391D72315 for <cose@ietf.org>; Sat, 19 Jun 2021 18:23:20 +0300 (EEST)
Date: Sat, 19 Jun 2021 18:23:19 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: cose@ietf.org
Message-ID: <YM4L5yDADxfT7AXs@LK-Perkele-VII2.locald>
References: <8713C3AB-71C0-4EC0-8977-15F80EC11309@arm.com> <212CE7EA-73BC-47BF-B192-D2D523F4A376@tzi.org> <33C84949-0F9C-432C-9C94-DE2C9EE17976@arm.com> <3F367A6D-5CAD-474F-AFEE-DF1AC9A34135@tzi.org> <146F670A-48EA-4A90-B77C-4CCC535F1DB1@arm.com> <6195BD3A-A031-47BD-866E-AF3D4D423A0B@tzi.org> <621D44E4-6948-4CD7-81D5-6125E36262B4@arm.com> <3EDF5729-5632-45DF-8156-14F643B50BC4@tzi.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <3EDF5729-5632-45DF-8156-14F643B50BC4@tzi.org>
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/CdkfNT8UQPxzxuJN7xOXbrfm0S0>
Subject: Re: [COSE] [Cbor] Packed CBOR review
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 19 Jun 2021 15:23:27 -0000

On Thu, Jun 17, 2021 at 04:11:05PM +0200, Carsten Bormann wrote:

> (Hmm, I don’t understand how the capabilities, are mapped in the
> current registry — the SHA-256 entry there says “[kty]” but
> draft-ietf-cose-hash-algs-09 says "[]”.  Is capabilities even a good
> way to select an algorithm?)

What I think is the most sensible guess I have about that that "kty"
means is that the associated key has the kty field (since kty does
not look to be defined for anything except key structure, and alg
can go into various other structures as well.

However, there are two problems with this interpretation:

1) The hash algorithms like SHA-256 do not have associated keys, since
hashes are not keyed. So kty does not make sense with hashes.

2) There are algorithms like ES256/ES384/ES512 and EdDSA that have
associated keys that also need the crv field to make sense, since
there are multiple possible subtypes (P256/P384/P521 and
Ed25519/Ed448).


What I would think would make most sense about crossreferences in
algorithm table would be key types that algorithm can go with (E.g.,
ES256 can go with type 2, EdDSA can go with type 1).


Then scanning key types table, I spot another issue: The entry for
HSS-LMS mentions capability "hash algorithm". As far as I can tell,
there is no COSE structure where that hash algorithm goes. The only
key-type specific entry is the public key. It seems like the hash
function to use is specified by the public key (and the current spec
is limited to SHA-256).


-Ilari


From nobody Sun Jun 20 01:06:08 2021
Return-Path: <do_not_reply@mnot.net>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 509A53A202D for <cose@ietfa.amsl.com>; Sun, 20 Jun 2021 01:06:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.897
X-Spam-Level: 
X-Spam-Status: No, score=-0.897 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b=vfcfexdR; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=WKyoiLsE
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iEaLriCZ81jf for <cose@ietfa.amsl.com>; Sun, 20 Jun 2021 01:06:00 -0700 (PDT)
Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A29F43A2029 for <cose@ietf.org>; Sun, 20 Jun 2021 01:06:00 -0700 (PDT)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 3145FFAB for <cose@ietf.org>; Sun, 20 Jun 2021 03:38:57 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 20 Jun 2021 03:38:57 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h= content-type:mime-version:from:to:subject; s=fm3; bh=O408XZiv/cH ZNORswOXIxQNRPb9MtA30hnyqIMib8Nk=; b=vfcfexdRYFwVdxLjJmZB7ZL4Flt ZEwnFgY53P1d6pbaCgnU4v1lU2tiNjgqwonqabmxqGrv75/W1KrD8d5Mh5zbTq/+ ZP2SZPb+haD9GEBbqckcPvWA1w5x3jHADn7tn6wvqX+ub+/QMseVHpeKSGlxcB8j eQM2k7i/XvFswwHvMfy/h3pb4X49rkYySDCbY0AliH3pN0pHB4E0h0GuLdUJpD5X iNq3xamhVZYzN+oJjv5nrQA40e5WWUnVkYXmOjYg2ha+4W8XoDJU/BLcygWjAB8T nBxRO4wFN9owe4B/s9t1VD+bPeVsW4UdeB9q1VigoN88dfsdcuemaq1Kthw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:from:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=O408XZiv/cHZNORswOXIxQNRPb9MtA30hnyqIMib8Nk=; b=WKyoiLsE mxNCPhStayGR0OoFAV7AEHyxdn8Ez9mNgEs7pTQah2zAirGzYAEJHoGPzcZcJN4w 1t72/w05Lik+/8MMnZ/x7TOJfjxau59nhPp690yNzhqKP3MzlJipad1Y664TxYJB uyGctldPIOG5ZwArpemrKaWhbOHvLNQkpBJifOC/+IVrl/p7Ssfpx6/xMNUiBY4q PwwHP/u+Ii8Tp3Vuk3BSNOnXJBD1S5+9TqHnuftwuTY8pJiYdoqd4qYQKNPIt2uS 7F3z8AxZzCsPBzH93lqbLcR4OgSWlE+ROYhcrNbGFmnB1WkdANWrMJ3k/ZXHR3CT Wd8tgcyWTMymiA==
X-ME-Sender: <xms:kPDOYEL5FmbKVixGrd9he7qSWPPltQP00rgrTWm-1SSAumUZuVoHRQ> <xme:kPDOYEKJh2gxDo6pKu8dc7en0Ynrx_geOypvYS8CULmFwINOZQV46PxuGigCgkq2W b2iSdACuWVbQc-9Ig>
X-ME-Received: <xmr:kPDOYEsVPwMm3FpAyWWHDjLiO3b7xlx5r7Gy6QdyToNAJiV4gUzpEiiQCT0tis2NewWebFhhyxHAOQAhhbU5Ctd39xnUoE5FSekhy0XIO-UkKZRm_KJwIeDkCDHKf4aXaOk_>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeefiedgudegfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecupfhoucgurghtvgcufhhivghlugculdegledmne cujfgurheptggghffvufesrgdttdertddtjeenucfhrhhomheptfgvphhoshhithhorhih ucettghtihhvihhthicuufhumhhmrghrhicuuehothcuoeguohgpnhhothgprhgvphhlhi esmhhnohhtrdhnvghtqeenucggtffrrghtthgvrhhnpeekfedvudetjedvfeekheeiveeu gfefhfetteevgeffkefffeetffdvleehudeiteenucffohhmrghinhepghhithhhuhgsrd gtohhmnecuvehluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmrghilhhfrhhomhep ughopghnohhtpghrvghplhihsehmnhhothdrnhgvth
X-ME-Proxy: <xmx:kPDOYBbfBP9amGNFtCxiEBxBcSNrA3VXMr6eaafPxrwAVIGR5nf3pw> <xmx:kPDOYLaEDO6nY3Mr30AQXpguwR8ZiohRwHOvWJSjQ1zkBW7EwF1Pzw> <xmx:kPDOYNChPkcRnwXQ0TXktCBfJOWNP1-77cvv86wYJ1iUd_hzLT8ZFQ> <xmx:kPDOYKkyI2v9A9KkzU1Ti8JE0iTjYX3l91BIEEBsEIjaXnC4Ed0JQg>
Received: by mail.messagingengine.com (Postfix) with ESMTPA for <cose@ietf.org>; Sun, 20 Jun 2021 03:38:56 -0400 (EDT)
Content-Type: multipart/alternative; boundary="===============7444359660324169408=="
MIME-Version: 1.0
From: Repository Activity Summary Bot <do_not_reply@mnot.net>
To: cose@ietf.org
Message-Id: <20210620080600.A29F43A2029@ietfa.amsl.com>
Date: Sun, 20 Jun 2021 01:06:00 -0700 (PDT)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/07GkDiX_kAORuAC7IUVnB_YhQAI>
Subject: [COSE] Weekly github digest (COSE Activity Summary)
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 20 Jun 2021 08:06:05 -0000

--===============7444359660324169408==
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"; format="flowed"




Events without label "editorial"



Pull requests
-------------
* cose-wg/CBOR-certificates (+0/-1/=F0=9F=92=AC0)
  1 pull requests merged:
  - Fix URLs in README
    https://github.com/cose-wg/CBOR-certificates/pull/100=20


Repositories tracked by this digest:
-----------------------------------
* https://github.com/cose-wg/CBOR-certificates
* https://github.com/cose-wg/Charter
* https://github.com/cose-wg/cose-rfc8152bis
* https://github.com/cose-wg/countersign
* https://github.com/cose-wg/X509

--===============7444359660324169408==
Content-Type: text/html; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

<!doctype html>
<html lang=3D"en">
<head>
<meta charset=3D"utf-8">
<title>Weekly github digest (COSE Activity Summary)</title>
<style>
body { font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;=
 font-size: 14px; }
h2 { margin-top: 3em; color: #A52A2A; font-style: italic; font-weight: norm=
al; }
h3 { margin-bottom:0; margin-top: 2em; font-size: 1.2em; }
h1+h2 { margin-top: 1em; }
a { color: #bb6219; text-decoration: none; }
li { margin-bottom: .35em; }
.repos { margin-bottom: 0; margin-top:0; line-height: 1.2; }
.new { color: red; }
.label { display: inline;
	padding: .2em .6em .3em;
	font-size: 75%;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: .25em;
}
</style>
</head>

<body>
<h1>Sunday June 20, 2021</h1>

<p>Events without label "editorial"</p>



<h2>Pull requests</h2>
<h3>cose-wg/CBOR-certificates (+0/-1/=F0=9F=92=AC0)</h3>


  <p>1 pull requests merged:</p>
  <ul>
  <li>#100 <a href=3D"https://github.com/cose-wg/CBOR-certificates/pull/100=
">Fix URLs in README</a> </li>
  </ul>


<h2>Repositories tracked by this digest:</h2>
<ul class=3D"repos">
  <li><a href=3D"https://github.com/cose-wg/CBOR-certificates">https://gith=
ub.com/cose-wg/CBOR-certificates</a></li>
  <li><a href=3D"https://github.com/cose-wg/Charter">https://github.com/cos=
e-wg/Charter</a></li>
  <li><a href=3D"https://github.com/cose-wg/cose-rfc8152bis">https://github=
.com/cose-wg/cose-rfc8152bis</a></li>
  <li><a href=3D"https://github.com/cose-wg/countersign">https://github.com=
/cose-wg/countersign</a></li>
  <li><a href=3D"https://github.com/cose-wg/X509">https://github.com/cose-w=
g/X509</a></li>
  </ul>
</body>
</html>

--===============7444359660324169408==--


From nobody Mon Jun 21 05:46:46 2021
Return-Path: <Thomas.Fossati@arm.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 251FB3A0CAE for <cose@ietfa.amsl.com>; Mon, 21 Jun 2021 05:46:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0
X-Spam-Level: 
X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.b=xQC6EZpR; dkim=pass (1024-bit key) header.d=armh.onmicrosoft.com header.b=xQC6EZpR
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f1dns0MVeCoR for <cose@ietfa.amsl.com>; Mon, 21 Jun 2021 05:46:39 -0700 (PDT)
Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60087.outbound.protection.outlook.com [40.107.6.87]) (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 453893A0CAF for <cose@ietf.org>; Mon, 21 Jun 2021 05:46:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com;  s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9R28sX4d0O9Y3SwQP4FhrdO708AK35bzN4k0IF5LaMo=; b=xQC6EZpR4xMcMh70K5fed+sjlJ9y3rNh1emdarG3h122+isL8JBap/gMTixQGwYbWLsfInSYpgm3KTce8w0cPBLPJxg/yuBGqZrjU1Y9NmVOSuk7qNJpcK1Ld2R2AZtG6BGAmxbuJkO9zocE8ehDR1Yjg1WZZVKh0pTgFRmrx5Q=
Received: from AM6P192CA0003.EURP192.PROD.OUTLOOK.COM (2603:10a6:209:83::16) by AM6PR08MB3270.eurprd08.prod.outlook.com (2603:10a6:209:50::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.15; Mon, 21 Jun 2021 12:46:36 +0000
Received: from AM5EUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:83:cafe::d) by AM6P192CA0003.outlook.office365.com (2603:10a6:209:83::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.18 via Frontend Transport; Mon, 21 Jun 2021 12:46:36 +0000
X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; ietf.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;ietf.org; dmarc=pass action=none header.from=arm.com;
Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com;
Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT005.mail.protection.outlook.com (10.152.16.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.16 via Frontend Transport; Mon, 21 Jun 2021 12:46:35 +0000
Received: ("Tessian outbound 7799c3c2ab28:v96"); Mon, 21 Jun 2021 12:46:35 +0000
X-CheckRecipientChecked: true
X-CR-MTA-CID: 6c88aad1e4def148
X-CR-MTA-TID: 64aa7808
Received: from 564ecacac28b.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 1E1031EE-E2AA-4363-B10E-85DD09819BB6.1;  Mon, 21 Jun 2021 12:46:11 +0000
Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 564ecacac28b.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 21 Jun 2021 12:46:11 +0000
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RAH8RScFid4LH50mYT/Zv4G2SojqYFG957vORQcavDqadqdk1cOfGV2r/0HA0VUcIkSLj+CbDYw77Rl/nb1lGSARxWyB2P2tqCEu08pzxXB8Cqa9vtYjs3oKz2jhxvfNO0pYsvARL5DSN2RMcUeWCvNVwVLS2rWUcbADSXud56ZOISrO+dWoBe7+2Fs5ruqsW4rDhp8Z+SwjEpa6aX0OEYue8up4ftcdGpYZ3Sz1/yvGGoTsH+Hvs7mmXQrBnPGY4qpn78gw8oAvPShJqh924j+ZVd5mkHY5xJ/gfFM4TJXUcDSRH9MF9v1WWi1jbxfFDxF8VDGve3dFqxVzoq7CWg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9R28sX4d0O9Y3SwQP4FhrdO708AK35bzN4k0IF5LaMo=; b=gifVebsUIg+0dRlxUTS6BGvrXq/wdqthrVNxKq/9nSxY7d6dfNN0+Nxh2joKiE6XJ3wzd/UYMbD3iRY2j12PuL8D4j6p5c23p2sftYoU+NJaz7noMY+FJoSAtNwBkZarP9+sYkzEvz/FmELcCACPT5QRxZvafn/Ham798Gg/sph5/hck3+xf4Mc1+CcV5glSCF2r/yY+GMFWFPF5LmY1FvX88Jnmc/qte3m/2nYulykaF0SoqBJ3ztxY+Uph/LFnBHDFIvz9woLxg0mEOiNtmlcefrR1OmOx/Oyhby8j63UojyJGcFNQUcsWYKdS53dShV98D2o4XCRRzQ6s9z6GpA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com;  s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9R28sX4d0O9Y3SwQP4FhrdO708AK35bzN4k0IF5LaMo=; b=xQC6EZpR4xMcMh70K5fed+sjlJ9y3rNh1emdarG3h122+isL8JBap/gMTixQGwYbWLsfInSYpgm3KTce8w0cPBLPJxg/yuBGqZrjU1Y9NmVOSuk7qNJpcK1Ld2R2AZtG6BGAmxbuJkO9zocE8ehDR1Yjg1WZZVKh0pTgFRmrx5Q=
Received: from DB9PR08MB6524.eurprd08.prod.outlook.com (2603:10a6:10:251::8) by DB7PR08MB3483.eurprd08.prod.outlook.com (2603:10a6:10:4a::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.22; Mon, 21 Jun 2021 12:46:08 +0000
Received: from DB9PR08MB6524.eurprd08.prod.outlook.com ([fe80::85d4:9a58:ebac:f9f8]) by DB9PR08MB6524.eurprd08.prod.outlook.com ([fe80::85d4:9a58:ebac:f9f8%9]) with mapi id 15.20.4242.023; Mon, 21 Jun 2021 12:46:08 +0000
From: Thomas Fossati <Thomas.Fossati@arm.com>
To: "cose@ietf.org" <cose@ietf.org>
CC: Thomas Fossati <Thomas.Fossati@arm.com>
Thread-Topic: x5chain & co. + COSE_Key
Thread-Index: AQHXZptoKM9fm2DMN0Ggfh5JG4LNIQ==
Date: Mon, 21 Jun 2021 12:46:08 +0000
Message-ID: <EAB7959F-F7F7-4BB8-AFC7-6FB42D742E34@arm.com>
Accept-Language: en-GB, en-US
Content-Language: en-GB
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/16.50.21061301
Authentication-Results-Original: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=arm.com;
x-originating-ip: [82.12.10.179]
x-ms-publictraffictype: Email
X-MS-Office365-Filtering-Correlation-Id: e88fe9ff-2f73-409c-e16f-08d934b29af0
x-ms-traffictypediagnostic: DB7PR08MB3483:|AM6PR08MB3270:
x-ms-exchange-transport-forked: True
X-Microsoft-Antispam-PRVS: <AM6PR08MB327013BB5A5D77BA8618A9969C0A9@AM6PR08MB3270.eurprd08.prod.outlook.com>
x-checkrecipientrouted: true
nodisclaimer: true
x-ms-oob-tlc-oobclassifiers: OLM:2449;OLM:10000;
X-MS-Exchange-SenderADCheck: 1
X-Microsoft-Antispam-Untrusted: BCL:0;
X-Microsoft-Antispam-Message-Info-Original: IvaOqYBT0aNzclKIvmarsj08mqDIIHP9XRKuvTVSN+QhrWdKaOFsgAnHPOA6yIZfQ3IyOhDNjLnqpQrmUzpAoIzthCPP3q8Zxdi3SOKY4f8N6QdmvlmDNQ+jWIt4wrO9cM8yrgNe+6imJRwzfGh9RXqHMq7aE44xq6C+Xqq6+9C2gj4H2s5Yo6faukACDRJdJ4cKGRILh5O7j62kdJzTAJoXMuPTfz+tyfFjRIQMrRGE3dyx1dbh1WaUWW+ldaHgHvPXE7jVYA8EiD9cBiPCjOyT3N/62s2rxW17RupWHSbnsfKuKrhz+aMDRqUkS4QrnwBiYQ1YDHplxwO0P1N8jEoPpXX1vxv/c/JvrxHcoHD6hS/h8esb/fERqGNsZAQnLs2ab25I7UneyNt3zGpKF16/F1FDIIpGmeQBUyR9cwByw5FsqJIz9BHRYvxDPv8ep0h0Gmb3HcUFZ/4URJb47xt3i0eUIQeJp3VT3v7AYcNMnCSIn0SemjIT0mf1UQHgJg3Yg2z4b12dOZepAK8MNKX5e9B706A4h60+9DI2bePlatmPyuN7TDhKzTjQyXWGespchCg+Biab3Fk/aqrG+hPnONjT8/nEqrCoaQq5V5XbxXgoFblKBCbes9l7Pw0h8R0kiHhImB3bMJ88Zw2XeCpHlNwndLuYi2jFRbr2l45zi+/Dqb40OhEXWOd9ShDY+6AGzbGaKDCXiEGrE0iVdTPfxGBpUyvf5pX9ZSpcsBHd2VHmbjnF2FMnw/VEaTV9NXLwkt/tFYRTwXDQy5BRcLwA95yHuplkcP9OV2T9wwo=
X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9PR08MB6524.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(376002)(396003)(39840400004)(346002)(366004)(38100700002)(86362001)(66946007)(122000001)(83380400001)(36756003)(6916009)(26005)(2906002)(64756008)(316002)(66556008)(91956017)(186003)(6486002)(33656002)(966005)(66476007)(478600001)(76116006)(66446008)(4326008)(6506007)(5660300002)(8936002)(6512007)(2616005)(71200400001)(8676002)(4744005)(32563001)(45980500001); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?MFFNcWVCWmVhdHNJeGF3bnM5b2ZpeXRQSkRQeXkra0VkMkhtWXRqcHdaSjF4?= =?utf-8?B?cHZFQURieXFpZE1zMGR1bFZISmNEK2ppQTRHNVIyU2k2aGZGOStJWWlBL05x?= =?utf-8?B?OXlFOTBMUWgrQUFUekZORitSVFpXZUpVUnRUQXl4ZFpydWFncW81K2grN2xT?= =?utf-8?B?QXFUTWhwNUtvUmlHaE9tcUNsQ2ZJQ1JvblJFdXNCdnlzRlVhSmw2aytkcy9D?= =?utf-8?B?WFN2VFRHVWx5c1VIZXAyMThhaVNvOHJQMHU2Q1k1azJPWW84QWduVGFSNXNu?= =?utf-8?B?UUI0U2V6SFRmc0lyYVJBeTdBakVzaGdrMTd2UVJUMXFSQTVtREZ4OElUMnp6?= =?utf-8?B?V1NaQnc5RDlWK3FjVm9RNU8wNyttQ0Z1SVpqcWZ0d0lQdE4rQ1grSm03c0dv?= =?utf-8?B?eTJPcVVQTjU5RGQ3cndxZ3FSeXAzU1FON0Z0RHJUNUtpUTE1VnhSUzNsOWVj?= =?utf-8?B?eGNRMFBNMzZidEZ2eHFCUHozRE0xeElCdmIvZWFHdFY1UStRaWxBaEMvN3g1?= =?utf-8?B?S3NRU3R6Z0NReTkwbFVOdmNPRXp5SUdKRzdnNWNTTHFWeUM3YUtrZEVJRmtt?= =?utf-8?B?ZUlKZGhHVFg3Sk5CMWlXd0xWRytTNjdwNzJybzJkd3dGbjA4Rm1ZNWdSNGdt?= =?utf-8?B?QXRQM3VGcmI2TnZLZGw4cmtSb05mb0JwZnkrWkZ5a2ZCNEJsQmxRWnhoVUtx?= =?utf-8?B?dE9ucG5mNGJxYlJhRU5pOVpGYTVOMTBWVDRHSHlMUHprK0tFZGxVeDlsNGNl?= =?utf-8?B?S3dEZWs3RHF4NzN1elNVUkhreURqRUIzWk1wT01mNzE5bGRFS3ZWcnRHclE4?= =?utf-8?B?RXJUTlBFZkV3ZWt6blVOcDJIK3dLaDB4NVdRVWVUUjMxdVJwQXBYMUVwZUNW?= =?utf-8?B?T1lnaWVOSDRwSXNNSHFZUzgxakJrRWEwRmk2Rk1TVko2bUhtOERBY2pHajJ4?= =?utf-8?B?ajVldk9BMEpMb0RnTkgzU25kbkpJa1FFUWhHS3NCa0NYUEl6TFVTOHkvcDFp?= =?utf-8?B?TGcyZ0FsemlibTNqRDIwTi9lS0thQytCdFNYWmE4WmVmOS82K3Z0SXAwSWZr?= =?utf-8?B?aGJmVDZpeXhUdCtrajFOSTBrRm85Vjg5eUNoZ2JTV2FheS90em5HKzBmbElM?= =?utf-8?B?dDhoVWFneDlnVTlDQTNKMEhmY2UyY0xvNjZFZHdXZW52S1g3TG0wK1ovb3lV?= =?utf-8?B?V1lWUjlwakdYRU53aGxHVXZQR2ErL05tQ0dySC83V2VBL2d6c0wrU2luUW1L?= =?utf-8?B?S0ptMXcyV0Y5ZGgvZVQ3N2dXSGVjZW9jOUlQTjM1Z1pyeDJsRnIwODV1d2hQ?= =?utf-8?B?TElzMXVEWDg5SFNIMCtUNDd3cW4yQXQrMkxrZTRJUCtsY2VoYzJiNzBNc3ZR?= =?utf-8?B?RUxvaTZQSVdVbWlOT3FRUUVZbDlJSWFjSy82cnlsUmlOS0VibDJEVFRTaW9t?= =?utf-8?B?VzhLMjdZS1RoMEZ0dkJaLy9RdytsT1IxeGVlVXVONU5FWS9RZnlCWEY2OGsr?= =?utf-8?B?L3lnaXZLSndqMVBrSk1LcE1ldDBQS1V1UlVXQk0wQXlqUTZvdk9HYytSZTQ0?= =?utf-8?B?NklobHQzWTlVNmsxZkRnUzVRMjlVRzBFQTlvSlNEUVE5eC9XWXNrUXhwd096?= =?utf-8?B?L05rYWhqdjJ4S2FuSXJCSldlRlFhVllZdnRFSkxYaG5jVE4yblR0OHkrU3Vu?= =?utf-8?B?SjIyT2lyRlZLVXhhYStvZkxCamt2T210NTRERWFyUjRIcDBLTkVKTGxPMTRC?= =?utf-8?Q?MEQNzHvpEsSS0yonvfAcZA7iiikySwJgY+str6J?=
Content-Type: text/plain; charset="utf-8"
Content-ID: <98C4B6034B689F46B2D4DA293771B95E@eurprd08.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3483
Original-Authentication-Results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=arm.com;
X-EOPAttributedMessage: 0
X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT005.eop-EUR03.prod.protection.outlook.com
X-MS-Office365-Filtering-Correlation-Id-Prvs: 5edb0cd4-3f7b-4882-9d6e-08d934b28a9b
X-Microsoft-Antispam: BCL:0;
X-Microsoft-Antispam-Message-Info: s90zaUO8L2v42cZabzatj+3FQqiz2goGBBFVyYCbc+LQbAOC3H8ZuJZwZdJz96ZenXtOX6BXgPefMaYHUtPsPTyQWjOEwDvmrSyczk17qSdjOJrD3TIXCGnzzUe223lLKkbP8P5bPf7f4O9iNTwgAkdD/y6yghp7OeS5NcyHe7sWzaE+75mp4M28zussF48pThydZ6C6W0olf8JgR7OwPmmBGR90I70durjxP/C0MZPZC4zgoLWnbIwo3FHzH71nXDndHqLNlxtV/NWfq0u14RpvIqX7wWpnZ4ECF9dmzJkJUBQQc6OiuNmKCl1awLasiuaVMoyBw4BjCCxTS9diGIZKOEEYmkcGAAE1MjSUYZaImuXF/shf9XNmgvUquiuqyuX5CQXOUyjQWinqhJq/5XD/qkM+5WjUiqYrv5RL8ERb+bUS4flvY7b2qZgIQ7VteqvnwZaoEcx3dDBLwF3rRBGm03W/ABMxkO4PiNd9ENibQR2aaIwfW+lR+C4BxaYxQW4faLeYR4fqimah09spBW259DGMQrOiLEI78mrQB3d3G5Gj2yWGRyFjxtokjeVMkfzwJBKXLK4UAk4dPsIigQuneLOaa32gMI2KApnRvS7UYfy8Y//WdSz8/uS5d6No8nLqlk2yxf6WSnSq7jvVhM9zYy2yFI14zFG0YDU1pbi3iP2TtnICnfeiJ7EfIQ12/moHcB8ydx+0O8vVKG7AZKPkBFAWh1IEOBpnbj5RrQ4JXh8wKl4frbSOxP5Nmu++GCvTGLi9aFEdE1VpQt57lN/ch0brWFe7L88gDg1r5QM=
X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:;  IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com;  PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(376002)(136003)(39840400004)(396003)(346002)(36840700001)(46966006)(8676002)(26005)(6916009)(2906002)(4744005)(966005)(6512007)(4326008)(336012)(6486002)(6506007)(82310400003)(2616005)(316002)(8936002)(36860700001)(36756003)(81166007)(478600001)(47076005)(33656002)(70586007)(186003)(83380400001)(70206006)(356005)(5660300002)(86362001)(32563001); DIR:OUT; SFP:1101; 
X-OriginatorOrg: arm.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Jun 2021 12:46:35.7366 (UTC)
X-MS-Exchange-CrossTenant-Network-Message-Id: e88fe9ff-2f73-409c-e16f-08d934b29af0
X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123];  Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com]
X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT005.eop-EUR03.prod.protection.outlook.com
X-MS-Exchange-CrossTenant-AuthAs: Anonymous
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3270
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/RG0p0CEoTTfRgMiQwcj9gRO8Nwk>
Subject: [COSE] x5chain & co. + COSE_Key
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 21 Jun 2021 12:46:45 -0000

SGkgYWxsLA0KDQpSZWFkaW5nIGRyYWZ0LWlldGYtY29zZS14NTA5IEkgdW5kZXJzdGFuZCB4NWNo
YWluICYgY28gYXJlIG9ubHkgZm91bmQgaW4NCkNPU0VfU2lnbmF0dXJlLCBDT1NFX1NpZ24xIGFu
ZCBDT1NFX3JlY2lwaWVudCBvYmplY3RzLg0KDQpJcyB0aGVyZSBhbnkgcmVhc29uIG5vdCB0byBh
bGxvdyB0aGVtIGluIENPU0VfS2V5cyAtIHNpbWlsYXIgdG8gSldLICgqKT8NCg0KQ2hlZXJzLCB0
aGFua3MgeW91IQ0KDQooKikgaHR0cHM6Ly9kYXRhdHJhY2tlci5pZXRmLm9yZy9kb2MvaHRtbC9y
ZmM3NTE3I3NlY3Rpb24tNC43DQoNCg0KDQoNCg0KSU1QT1JUQU5UIE5PVElDRTogVGhlIGNvbnRl
bnRzIG9mIHRoaXMgZW1haWwgYW5kIGFueSBhdHRhY2htZW50cyBhcmUgY29uZmlkZW50aWFsIGFu
ZCBtYXkgYWxzbyBiZSBwcml2aWxlZ2VkLiBJZiB5b3UgYXJlIG5vdCB0aGUgaW50ZW5kZWQgcmVj
aXBpZW50LCBwbGVhc2Ugbm90aWZ5IHRoZSBzZW5kZXIgaW1tZWRpYXRlbHkgYW5kIGRvIG5vdCBk
aXNjbG9zZSB0aGUgY29udGVudHMgdG8gYW55IG90aGVyIHBlcnNvbiwgdXNlIGl0IGZvciBhbnkg
cHVycG9zZSwgb3Igc3RvcmUgb3IgY29weSB0aGUgaW5mb3JtYXRpb24gaW4gYW55IG1lZGl1bS4g
VGhhbmsgeW91Lg0K


From nobody Wed Jun 23 07:52:54 2021
Return-Path: <john.mattsson@ericsson.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6AE613A3A72 for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 07:52:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.198
X-Spam-Level: 
X-Spam-Status: No, score=-2.198 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.198, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QM2kSeoLeqqc for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 07:52:46 -0700 (PDT)
Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2042.outbound.protection.outlook.com [40.107.21.42]) (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 9D1753A3A6C for <cose@ietf.org>; Wed, 23 Jun 2021 07:52:45 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OVdKK8wPm+rlyqEQImKVOxkCDns2Lr2ZnN3CAN0O/ClzuxLDertISIjaHSn0Hj2KZABF11fLIkudAKwA8bQBvPtPoYIJLhHB349f3+a0zTuO7JB1ZUJgfOAuT3ihDHI286PjVlvxDFlRInVHHtBZI/8YY64mZwG3Ap+LG64vIISoFItIlgn7xjr97oblZ9m28pxO+mPXl4buDcE8H9oZg/Sw0JSBiYAYAA4SMErOyFrMiFO5SwEXpzoKb2NkI+WRrE1pY6E8bpTnXqFm1kZjci54LPtUcjCXNjJQc6rfNhToIR3SJ8qcrtnr7OLLhOQlnmWHKkb+u+7iTgsTC3fBEQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SvdrjkkKu/9eH6YPz5OG/FkKxGEHkrh0NzXeFlYuJE8=; b=iB++5IVa+lShGIND7M9mK/4VpiCaZ15eaVNoYley4ws6xSrxj1b8oXOvrlH8QLE3Bib9Kee6Gogfwb9Q8ucIKY7Od0IzWVc+600NG7zDqra+d3Mlh7gqkqL4L9oP2RfkTX+YAsIphwX8rB7YvaEFuKeHfJlEYu9hkDjB2QqMhKg9BgGagcIsuZmbNBSRsvwfsUFQ4qXAlikw/8CEAuQ9iJpM5GFfLjlRY6wWXw4avYfKDtHVoGILHveHkzumb3dyobSkIoVWQKYiydxXxq4C/PuCW4k7kldvAVwTeXyhz3KWZyZ9jWBKzVhWR7R8+FzQqGoWtOV+WZBX9Fdm4uIiQg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=SvdrjkkKu/9eH6YPz5OG/FkKxGEHkrh0NzXeFlYuJE8=; b=hbPxS4xzdeYpgJW8T8bHCJE4MILi9bG9ZFuMnQWIzWoeM1R7Xr8n9QJCXT29bu5+DPZN6atLvcKxjBmUcZcNTrRUZjb50AHp+6aef7ITxuZOopSFTfly+8whhjt5niXbHG9EiHzAB9SJTE90nufI14/g0HjDWNMW1BlTDjmZHeI=
Received: from HE1PR0701MB3050.eurprd07.prod.outlook.com (2603:10a6:3:4b::8) by HE1PR0702MB3547.eurprd07.prod.outlook.com (2603:10a6:7:85::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.13; Wed, 23 Jun 2021 14:52:38 +0000
Received: from HE1PR0701MB3050.eurprd07.prod.outlook.com ([fe80::b071:a4a:817d:2d3]) by HE1PR0701MB3050.eurprd07.prod.outlook.com ([fe80::b071:a4a:817d:2d3%11]) with mapi id 15.20.4264.019; Wed, 23 Jun 2021 14:52:38 +0000
From: John Mattsson <john.mattsson@ericsson.com>
To: Russ Housley <housley@vigilsec.com>
CC: "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [COSE] Some comments on draft-ietf-cose-countersign-04
Thread-Index: AQHXV6itEGYTcBfSDUymdojE0gWOhqsBIteAgCCgwps=
Date: Wed, 23 Jun 2021 14:52:38 +0000
Message-ID: <HE1PR0701MB305078DCB5336CE066CD10FE89089@HE1PR0701MB3050.eurprd07.prod.outlook.com>
References: <HE1PR0701MB3050B939EC4ED59D7A6868F7893D9@HE1PR0701MB3050.eurprd07.prod.outlook.com>, <8D072A49-3535-4AF8-B92A-161A8AF4F808@vigilsec.com>
In-Reply-To: <8D072A49-3535-4AF8-B92A-161A8AF4F808@vigilsec.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: vigilsec.com; dkim=none (message not signed) header.d=none;vigilsec.com; dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 9e70c810-4727-45ed-bc15-08d936568b99
x-ms-traffictypediagnostic: HE1PR0702MB3547:
x-microsoft-antispam-prvs: <HE1PR0702MB354738BCF68E971EA3B7EBB589089@HE1PR0702MB3547.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: gcV2NUNOLc3adMQp2ZoTGNGiiay8fTpMTkEnYTjo+bd7nDWXppkubEHvuI2nZl7hsf8fWZ7cDD+K8vi6eA9fm82NT2L9B/i4wihCZt0ZMPGhGR31utY4i0DcWA3ZL4BTBjgg1IcymVggyZS7uumvAWFOuXhy183L79W2yDwkyWNHJS2Enc09yhl0uRvpou4hcRVy4UVtZtrDdDZAt0uDGuo/oQ8E4kTOYR+Hq9tSs5aPmG4F4Ez1ljdmGCnyeS0baD2VSs5dGKgnD1s2zSIOzmbCXRJHvXinhHzZ4B9D7kRAX1WvOpLmjGlVa5PNVt6hOUyK3flWaa0c7gaxSlsDeERU48s77EDoq8iLKVQTRv78c4wqUIN6U373mNp9CxBkInPmGXaioVABvkZlzlt/V+oEdFN3CVjhzPkvrGV4EY4NwdkeRJtJf1O55N0Ro2ueFUc4psVIaTU6hME1s+nNy7RMzhAXtfoXqe7akzA1HznMNpsCfTvOuP8P7Twci4mHpUzlBalpHjqzX+m/CMGhr9/6mi8p8G7QE/AHjQUJrxxMomb26YLGQJW/Kmr/TnNuRAvGwfhdiTjnTy0jMs4JYNMzEJ93BCTw6DWGTOnUYShEfvunOa51odMhV418DTXmHsBN5qKJQ6pJJ9OatwUSAzjs1IDivqh2ykL31F6PwtepUVhU77TzKh10KFCPC2Q5mrxkAO+eGG7QDlzODuXOah4RELnZojoh2C4V3Y1t0SeZDIS6AJRQMQnO+F34iv0W8PJReYtI5gf35igcNfVoBw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:HE1PR0701MB3050.eurprd07.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(39860400002)(346002)(396003)(366004)(136003)(376002)(76116006)(966005)(122000001)(71200400001)(52536014)(316002)(478600001)(2906002)(7696005)(66946007)(66556008)(91956017)(44832011)(186003)(26005)(66476007)(33656002)(8936002)(53546011)(83380400001)(8676002)(5660300002)(6506007)(55016002)(64756008)(66446008)(4326008)(166002)(6916009)(9686003)(86362001)(38100700002); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?I9kJTIZgu5CZl3ZP8NSjBDndMl6An16QwP7hHQban+T/2hfHSX3iNOcyErQz?= =?us-ascii?Q?ZRs/GEzGnt96pu0Q0XhTa6DoI7hiUfrNX10a+9qwJZPB+C1GAqpYL4cUqhvu?= =?us-ascii?Q?zkXWYT++cOlivGK8YK8cHUfk+4DVyCoGGpdVAwOv8VAg+VIpWXSMDEAKpj80?= =?us-ascii?Q?2kSzuK6lOO4s9MEAUQ65TzgWFjcgz7OVQhD+tfwUm6NdOHCO0ZgWlrbTqoOL?= =?us-ascii?Q?TJHWuQaRpX3MeCQL5xmWxgh2ri2XWMkKGxfKHPp5vp6LF5RgAINbZU9ZjNUi?= =?us-ascii?Q?fYFWNTZ2c4Pz+QfXV4TF7VI8NoNGQ3qUDbDLPuS2Hxi/4w0970mSvtxo9ZdB?= =?us-ascii?Q?Gti9oy+83bWBZHWVZlHb9KB+pN2iAcCKjgTG1kOHg+oc7UQjoNHgmfK5Lj1A?= =?us-ascii?Q?6KnaGC/8wa3q9Lfa3LCfiIRRjyOVf92dV6k0QHMLwXPHLPPiVfVI7/yPa4xv?= =?us-ascii?Q?IlTJzsJVAC11Tixdxa8fXrVSo3vuTu2OJscLhOiunEhbjUEcZpr3eh13O4jg?= =?us-ascii?Q?zcnLhloFieyNBlxbJctsQIMP+YjciJKwjmawbC6YS7kPZmGw1uurtlLcF1t3?= =?us-ascii?Q?ky96Wl6US5x+q0ZwJzBXg7q535fs7xug29JEQWKSdAJVSUkXFEzl7HptjnF5?= =?us-ascii?Q?rqiJJ2vcw6TVASAzVNT4QmPbOnSrY/ESe9cnJgvTIGqeRKBMKXYTgs2qG/5z?= =?us-ascii?Q?+vpCvr6ZSA0v/xDNROgWDQAZmwEvZJen8zquianRtFuT6ognSPCMx5WGFFeE?= =?us-ascii?Q?YEpNh5/N0hTRq2syScgZy+Zg1U8WmfmFIGD/iYJXRQClGJSpkZhJLTvoTczh?= =?us-ascii?Q?kul339ihSjHbggUoCYagS4CixSsp3v7wCji4dVcOUyFdQTJQK8C38r+Eeigo?= =?us-ascii?Q?KZ1s76UfW7Trno8WYox2c3Ml59TrvNhy6lHxDxgdyScl5FJWdRjtiRCn6Eih?= =?us-ascii?Q?cHuLddU/hFRBOLsMsZKMpvSOqy4pzpRwooj4G2GWFOBU+5DJUhU8SERYlMOM?= =?us-ascii?Q?sNQvm8NmuOFNr27ioJMLZOAv7vYOnqBZrRkb4Xums9yE5YixyxGCF8YFJ+R1?= =?us-ascii?Q?xd3LzJ1aX4Pq7uvb7gK7gVD/nB6JRu8AanfoKEDflX5WdOae5dI3dy8mLkxB?= =?us-ascii?Q?wbTk8Bs4egi03/6ftX7c1v7Oe+0eN+PqvIbmHlgEHkC+hMOJ5H7YjgK2zA7+?= =?us-ascii?Q?mPHNlC87jbf7otC14doYz4ZlWByqhvlaIO8XBygnBAapuOwaBvslx0Zix/Zs?= =?us-ascii?Q?t9O9jkxYxpQxatZ2kqnoOHhmZSkc2zNRKIlbI0YfJ5BLG7Q7WtmhD8MbDMhy?= =?us-ascii?Q?a0/RJIxTBpvegTkpkUW2nPagxMuJvXGmt6Jov8GWvfPvmg=3D=3D?=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_HE1PR0701MB305078DCB5336CE066CD10FE89089HE1PR0701MB3050_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR0701MB3050.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 9e70c810-4727-45ed-bc15-08d936568b99
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jun 2021 14:52:38.5401 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: Xdur9Nn5O0n+5aFhvlKFqVqsp3Cp+wt01noSkmRIt1tPLc6e1Gy9pv9N+wV32CNm6sRAF5RO+046nE/FpZfLAPZd0BN+QlDHv8n8fuwwWhU=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0702MB3547
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/JnWPMnqUXsPniLmRTjFjHMsQbQc>
Subject: Re: [COSE] Some comments on draft-ietf-cose-countersign-04
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jun 2021 14:52:52 -0000

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

Hi Russ,

See inline

From: Russ Housley <housley@vigilsec.com>
Date: Wednesday, 2 June 2021 at 21:54
To: John Mattsson <john.mattsson@ericsson.com>
Cc: cose@ietf.org <cose@ietf.org>
Subject: Re: [COSE] Some comments on draft-ietf-cose-countersign-04
Thanks John.


Some comments on draft-ietf-cose-countersign-04

- References:
OLD: [I-D.ietf-cbor-7049bis]
NEW: RFC8949

OLD: [I-D.ietf-core-groupcomm-bis]
NEW: [I-D.ietf-core-oscore-groupcomm]

- "In order to always regenerate the same byte string for the "to be
signed" value, the deterministic encoding rules defined in
Section 4.2 of [I-D.ietf-cbor-7049bis].  These rules match the ones
laid out in Section 11 of [I-D.ietf-cose-rfc8152bis-struct]."

Section 11 is now IANA. Should be section 9.

I made a PR to fix the above things
https://github.com/cose-wg/countersign/pull/7<https://protect2.fireeye.com/=
v1/url?k=3Dd65df8c0-89c6c022-d65db85b-86073b36ea28-e78c77dfebf70d7f&q=3D1&e=
=3D08f606cc-fbb7-4eff-90f1-9462b5069998&u=3Dhttps%3A%2F%2Fgithub.com%2Fcose=
-wg%2Fcountersign%2Fpull%2F7>

I just merged this PR.

- Just refering to section 4.2 of RFC8949 might not be enough as section 4.=
2  of RFC8949 specifies different deterministic encodings.

I am not sure what additional things to add.  Section 4.2 of RFC8949 says t=
hat applications can specify restrictions to ensure that a deterministic fo=
rmat is produced.  I think that means these restrictions are "above" COSE.

John: Ok, I think the current text is fine. Section 4.2 of RFC8949 specifie=
s two different orders for maps but that is probably not important for COSE=
.

- "It should be noted that there is a big difference
between attesting to the encrypted data as opposed to attesting to
the unencrypted data.  If the latter is what is desired, then one
needs to apply a signature to the data and then encrypt that."

I think the draft should give some more security consideration here. At lea=
st point out the problems/properties of countersigning a COSE_Encrypt:

- It does not prove that the signer had any knowledge the plaintext. An att=
acker might remove a countersignature and resign a ciphertext.
- An attacker can link a countersignature to a specific public key and ther=
efore also link different countersigned COSE_Encrypt with each other.

Does this resolve your concerns:

   ...  It should be noted that there is a big difference
   between attesting to the encrypted data as opposed to attesting to
   the plaintext data.  Usually, the signer wishes to countersign the
   plaintext data, and then encrypt the data along with the
   countersignature.  This approach prevents an attacker from stripping
   countersignatures.  In addition, this approach prevents an observer
   from linking the public keys needed to verify the countersignatures
   across different payloads.  It is always possible to construct cases
   where the use of two different keys will appear to result in a
   successful decryption (the tag check success), but which produce two
   completely different plaintexts.  This situation is not detectable by
   a countersignature on the encrypted data.

John: Yes, the suggested text looks good.

- The order of COSE_Countersignature0 processing at the receiver seems unde=
fined. The order should either be mandated or it should be stated that the =
receiving part can process things in any order.

I think that Jim intended the same set of steps to be used.  For example, S=
ection 3.3, Step 3, says: "This field is omitted for the Countersignature0V=
2 attribute."

John: I was thinking about the order of decryption (in the case of COSE_Enc=
rypt) and signature verification.  If the receiver starts doing decryption =
or even using the plaintext before verifying the signature it could lead to=
 security problems.

Russ


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

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc=
hemas-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/of=
fice/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
span.apple-converted-space
	{mso-style-name:apple-converted-space;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style>
</head>
<body lang=3D"en-SE" link=3D"blue" vlink=3D"purple" style=3D"word-wrap:brea=
k-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:#0070C0;mso-fare=
ast-language:EN-US">Hi Russ,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:#0070C0;mso-fare=
ast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"color:#0070C0;mso-fare=
ast-language:EN-US">See inline<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:0cm;margin-right:0cm;mar=
gin-bottom:12.0pt;margin-left:36.0pt">
<b><span style=3D"font-size:12.0pt;color:black">From: </span></b><span styl=
e=3D"font-size:12.0pt;color:black">Russ Housley &lt;housley@vigilsec.com&gt=
;<br>
<b>Date: </b>Wednesday, 2 June 2021 at 21:54<br>
<b>To: </b>John Mattsson &lt;john.mattsson@ericsson.com&gt;<br>
<b>Cc: </b>cose@ietf.org &lt;cose@ietf.org&gt;<br>
<b>Subject: </b>Re: [COSE] Some comments on draft-ietf-cose-countersign-04<=
o:p></o:p></span></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Thanks John.<o:p></o:p>=
</p>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><br>
<br>
<o:p></o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Some comments on draft-=
ietf-cose-countersign-04<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">- References:<o:p></o:p=
></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">OLD: [I-D.ietf-cbor-704=
9bis]<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">NEW: RFC8949<o:p></o:p>=
</p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">OLD: [I-D.ietf-core-gro=
upcomm-bis]<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">NEW: [I-D.ietf-core-osc=
ore-groupcomm]<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">- &quot;In order to alw=
ays regenerate the same byte string for the &quot;to be<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">signed&quot; value, the=
 deterministic encoding rules defined in<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Section 4.2 of [I-D.iet=
f-cbor-7049bis].&nbsp; These rules match the ones<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">laid out in Section 11 =
of [I-D.ietf-cose-rfc8152bis-struct].&quot;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Section 11 is now IANA.=
 Should be section 9.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">I made a PR to fix the =
above things<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><a href=3D"https://prot=
ect2.fireeye.com/v1/url?k=3Dd65df8c0-89c6c022-d65db85b-86073b36ea28-e78c77d=
febf70d7f&amp;q=3D1&amp;e=3D08f606cc-fbb7-4eff-90f1-9462b5069998&amp;u=3Dht=
tps%3A%2F%2Fgithub.com%2Fcose-wg%2Fcountersign%2Fpull%2F7"><span style=3D"c=
olor:#0563C1">https://github.com/cose-wg/countersign/pull/7</span></a><o:p>=
</o:p></p>
</div>
</div>
</blockquote>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">I just merged this PR.<=
o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">- Just refering to sect=
ion 4.2 of RFC8949 might not be enough as section 4.2&nbsp; of RFC8949 spec=
ifies different deterministic encodings.<o:p></o:p></p>
</div>
</blockquote>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">I am not sure what addi=
tional things to add. &nbsp;Section 4.2 of RFC8949 says that applications c=
an specify restrictions to ensure that a deterministic format is produced. =
&nbsp;I think that means these restrictions are
 &quot;above&quot; COSE.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><br>
<span style=3D"color:#0070C0">John: Ok, I think the current text is fine. <=
/span><span lang=3D"EN-US" style=3D"color:#0070C0">Section
</span><span style=3D"color:#0070C0">4.2 of RFC8949 specifies two different=
 orders for maps but
</span><span lang=3D"EN-US" style=3D"color:#0070C0">that is probably not </=
span><span style=3D"color:#0070C0">important for COSE.<o:p></o:p></span></p=
>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">- &quot;It should be no=
ted that there is a big difference<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">between attesting to th=
e encrypted data as opposed to attesting to<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">the unencrypted data.&n=
bsp; If the latter is what is desired, then one<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">needs to apply a signat=
ure to the data and then encrypt that.&quot;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">I think the draft shoul=
d give some more security consideration here. At least point out the proble=
ms/properties of countersigning a COSE_Encrypt:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">- It does not prove tha=
t the signer had any knowledge the plaintext. An attacker might remove a co=
untersignature and resign a ciphertext.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">- An attacker can link =
a countersignature to a specific public key and therefor<span lang=3D"EN-US=
">e</span><span class=3D"apple-converted-space">&nbsp;</span>also link diff=
erent countersigned COSE_Encrypt with each other.<o:p></o:p></p>
</div>
</blockquote>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Does this resolve your =
concerns:<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp;... &nbsp;=
It should be noted that there is a big difference<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp;between at=
testing to the encrypted data as opposed to attesting to<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp;the plaint=
ext data. &nbsp;Usually, the signer wishes to countersign the<o:p></o:p></p=
>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp;plaintext =
data, and then encrypt the data along with the<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp;countersig=
nature. &nbsp;This approach prevents an attacker from stripping<o:p></o:p><=
/p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp;countersig=
natures. &nbsp;In addition, this approach prevents an observer<o:p></o:p></=
p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp;from linki=
ng the public keys needed to verify the countersignatures<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp;across dif=
ferent payloads. &nbsp;It is always possible to construct cases<o:p></o:p><=
/p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp;where the =
use of two different keys will appear to result in a<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp;successful=
 decryption (the tag check success), but which produce two<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp;completely=
 different plaintexts. &nbsp;This situation is not detectable by<o:p></o:p>=
</p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">&nbsp; &nbsp;a counters=
ignature on the encrypted data.<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#0=
070C0"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-indent:36.0pt"><span style=3D"color:#0=
070C0">John:
</span><span lang=3D"EN-US" style=3D"color:#0070C0">Yes, the </span><span s=
tyle=3D"color:#0070C0">suggested text looks good.<o:p></o:p></span></p>
<p class=3D"MsoNormal" style=3D"text-indent:36.0pt"><span style=3D"color:#0=
070C0"><o:p>&nbsp;</o:p></span></p>
</div>
<blockquote style=3D"margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">- The order of COSE_Cou=
ntersignature0 processing<span class=3D"apple-converted-space">&nbsp;</span=
><span lang=3D"EN-US">at the receiver<span class=3D"apple-converted-space">=
&nbsp;</span></span>seems undefined. The order should
 either be mandated or it should be stated that the receiving part can proc=
ess things in any order.<o:p></o:p></p>
</div>
</blockquote>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">I think that Jim intend=
ed the same set of steps to be used. &nbsp;For example, Section 3.3, Step 3=
, says: &quot;This field is omitted for the Countersignature0V2 attribute.&=
quot;<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><span style=3D"color:#0=
070C0">John: I</span><span lang=3D"EN-US" style=3D"color:#0070C0"> was thin=
king
</span><span style=3D"color:#0070C0">about the order of decryption (in the =
case of COSE_Encrypt) and signature verification.&nbsp; If the receiver
</span><span lang=3D"EN-US" style=3D"color:#0070C0">starts doing de</span><=
span style=3D"color:#0070C0">cryption or even usin</span><span lang=3D"EN-U=
S" style=3D"color:#0070C0">g</span><span style=3D"color:#0070C0"> the plain=
text before verifying the signature it could
 lead to security problems.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#0070C0"><o:p>&nbsp;</o:p></spa=
n></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt">Russ<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

--_000_HE1PR0701MB305078DCB5336CE066CD10FE89089HE1PR0701MB3050_--


From nobody Wed Jun 23 08:09:14 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EEA5D3A3ADD for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 08:09:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=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 Qzze5w-XHjMR for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 08:09:07 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [134.102.50.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AAE053A3AFD for <cose@ietf.org>; Wed, 23 Jun 2021 08:09:07 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4G969X5vKDz334x; Wed, 23 Jun 2021 17:09:04 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <HE1PR0701MB305078DCB5336CE066CD10FE89089@HE1PR0701MB3050.eurprd07.prod.outlook.com>
Date: Wed, 23 Jun 2021 17:09:04 +0200
Cc: Russ Housley <housley@vigilsec.com>, "cose@ietf.org" <cose@ietf.org>
X-Mao-Original-Outgoing-Id: 646153743.9504631-444653ce3da25c2b683301df24961d3d
Content-Transfer-Encoding: quoted-printable
Message-Id: <E008BB92-E295-414E-96BA-D35C8AC66700@tzi.org>
References: <HE1PR0701MB3050B939EC4ED59D7A6868F7893D9@HE1PR0701MB3050.eurprd07.prod.outlook.com> <8D072A49-3535-4AF8-B92A-161A8AF4F808@vigilsec.com> <HE1PR0701MB305078DCB5336CE066CD10FE89089@HE1PR0701MB3050.eurprd07.prod.outlook.com>
To: John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/shjKHX-xeWUFWJAc_e7Z0_82YMw>
Subject: Re: [COSE] Some comments on draft-ietf-cose-countersign-04
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jun 2021 15:09:12 -0000

On 2021-06-23, at 16:52, John Mattsson =
<john.mattsson=3D40ericsson.com@dmarc.ietf.org> wrote:
>=20
> John: Ok, I think the current text is fine. Section 4.2 of RFC8949 =
specifies two different orders for maps but that is probably not =
important for COSE.

If you do need to provide deterministic encoding for maps, please choose =
the "Core Deterministic Encoding Requirements=E2=80=9D (Section 4.2.1), =
not the legacy "Length-First Map Key Ordering=E2=80=9D (Section 4.2.3).

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


From nobody Wed Jun 23 08:20:03 2021
Return-Path: <housley@vigilsec.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 85FA63A3B29 for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 08:20:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=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 C1KmUpvRx2Sm for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 08:19:57 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 5E1163A3B25 for <cose@ietf.org>; Wed, 23 Jun 2021 08:19:57 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 49B87300BEC for <cose@ietf.org>; Wed, 23 Jun 2021 11:19:56 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id oPdODASnnJ1s for <cose@ietf.org>; Wed, 23 Jun 2021 11:19:51 -0400 (EDT)
Received: from a860b60074bd.fios-router.home (pool-141-156-161-153.washdc.fios.verizon.net [141.156.161.153]) by mail.smeinc.net (Postfix) with ESMTPSA id C6BA2300AA6; Wed, 23 Jun 2021 11:19:50 -0400 (EDT)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\))
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <E008BB92-E295-414E-96BA-D35C8AC66700@tzi.org>
Date: Wed, 23 Jun 2021 11:19:50 -0400
Cc: "cose@ietf.org" <cose@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <706B5092-76F4-4256-AA4A-F5BD04DF5E8E@vigilsec.com>
References: <HE1PR0701MB3050B939EC4ED59D7A6868F7893D9@HE1PR0701MB3050.eurprd07.prod.outlook.com> <8D072A49-3535-4AF8-B92A-161A8AF4F808@vigilsec.com> <HE1PR0701MB305078DCB5336CE066CD10FE89089@HE1PR0701MB3050.eurprd07.prod.outlook.com> <E008BB92-E295-414E-96BA-D35C8AC66700@tzi.org>
To: Carsten Bormann <cabo@tzi.org>, John Mattsson <john.mattsson@ericsson.com>
X-Mailer: Apple Mail (2.3445.104.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/gn3EBJKxrBoXafZVZDj21X05j7M>
Subject: Re: [COSE] Some comments on draft-ietf-cose-countersign-04
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jun 2021 15:20:02 -0000

> On Jun 23, 2021, at 11:09 AM, Carsten Bormann <cabo@tzi.org> wrote:
>=20
> On 2021-06-23, at 16:52, John Mattsson =
<john.mattsson=3D40ericsson.com@dmarc.ietf.org> wrote:
>>=20
>> John: Ok, I think the current text is fine. Section 4.2 of RFC8949 =
specifies two different orders for maps but that is probably not =
important for COSE.
>=20
> If you do need to provide deterministic encoding for maps, please =
choose the "Core Deterministic Encoding Requirements=E2=80=9D (Section =
4.2.1), not the legacy "Length-First Map Key Ordering=E2=80=9D (Section =
4.2.3).

I'll change it to:

   In order to always regenerate the same byte string for the "to be
   signed" value, the core deterministic encoding rules defined in
   Section 4.2.1 of [RFC8949].  These rules match the ones laid out in
   Section 9 of [I-D.ietf-cose-rfc8152bis-struct].

Russ=


From nobody Wed Jun 23 08:21:47 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CD9D83A3B32 for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 08:21:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level: 
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_FAIL=0.001, SPF_HELO_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=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 4ZroprMVqanA for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 08:21:41 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [IPv6:2001:638:708:32::19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 409103A3B30 for <cose@ietf.org>; Wed, 23 Jun 2021 08:21:41 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4G96S103sMz3353; Wed, 23 Jun 2021 17:21:36 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <706B5092-76F4-4256-AA4A-F5BD04DF5E8E@vigilsec.com>
Date: Wed, 23 Jun 2021 17:21:36 +0200
Cc: John Mattsson <john.mattsson@ericsson.com>, "cose@ietf.org" <cose@ietf.org>
X-Mao-Original-Outgoing-Id: 646154496.632589-63420730b9c345ce33cb722437c93da0
Content-Transfer-Encoding: quoted-printable
Message-Id: <9C988BBC-9A1D-4CCC-B6A5-B0632A88FAAF@tzi.org>
References: <HE1PR0701MB3050B939EC4ED59D7A6868F7893D9@HE1PR0701MB3050.eurprd07.prod.outlook.com> <8D072A49-3535-4AF8-B92A-161A8AF4F808@vigilsec.com> <HE1PR0701MB305078DCB5336CE066CD10FE89089@HE1PR0701MB3050.eurprd07.prod.outlook.com> <E008BB92-E295-414E-96BA-D35C8AC66700@tzi.org> <706B5092-76F4-4256-AA4A-F5BD04DF5E8E@vigilsec.com>
To: Russ Housley <housley@vigilsec.com>
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/NkNJ8CUuVIvm2Zu5Y0jiiRBa0Ng>
Subject: Re: [COSE] Some comments on draft-ietf-cose-countersign-04
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jun 2021 15:21:46 -0000

> On 2021-06-23, at 17:19, Russ Housley <housley@vigilsec.com> wrote:
>=20
>   In order to always regenerate the same byte string for the "to be
>   signed" value, the core deterministic encoding rules defined in
>   Section 4.2.1 of [RFC8949]. =20

This sentence no verb.

> These rules match the ones laid out in
>   Section 9 of [I-D.ietf-cose-rfc8152bis-struct].

+1 otherwise.
Thank you!

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


From nobody Wed Jun 23 08:35:23 2021
Return-Path: <housley@vigilsec.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E23653A3B91 for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 08:35:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level: 
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=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 1KPmbCCohhYV for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 08:35:20 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 661F03A3B8B for <cose@ietf.org>; Wed, 23 Jun 2021 08:35:20 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 9935A300AA6 for <cose@ietf.org>; Wed, 23 Jun 2021 11:35:19 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id sNIFVduzgj7s for <cose@ietf.org>; Wed, 23 Jun 2021 11:35:14 -0400 (EDT)
Received: from a860b60074bd.fios-router.home (pool-141-156-161-153.washdc.fios.verizon.net [141.156.161.153]) by mail.smeinc.net (Postfix) with ESMTPSA id D9012300BDC; Wed, 23 Jun 2021 11:35:13 -0400 (EDT)
From: Russ Housley <housley@vigilsec.com>
Message-Id: <0F31EB3E-6138-4948-B2B0-4002373046E1@vigilsec.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_48743E75-6689-45DF-9E07-BA752DDEB817"
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\))
Date: Wed, 23 Jun 2021 11:35:13 -0400
In-Reply-To: <HE1PR0701MB305078DCB5336CE066CD10FE89089@HE1PR0701MB3050.eurprd07.prod.outlook.com>
Cc: "cose@ietf.org" <cose@ietf.org>
To: John Mattsson <john.mattsson@ericsson.com>
References: <HE1PR0701MB3050B939EC4ED59D7A6868F7893D9@HE1PR0701MB3050.eurprd07.prod.outlook.com> <8D072A49-3535-4AF8-B92A-161A8AF4F808@vigilsec.com> <HE1PR0701MB305078DCB5336CE066CD10FE89089@HE1PR0701MB3050.eurprd07.prod.outlook.com>
X-Mailer: Apple Mail (2.3445.104.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/4snSWvd0DgOCjEdSwxKKl6rZe3w>
Subject: Re: [COSE] Some comments on draft-ietf-cose-countersign-04
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jun 2021 15:35:22 -0000

--Apple-Mail=_48743E75-6689-45DF-9E07-BA752DDEB817
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii



> On Jun 23, 2021, at 10:52 AM, John Mattsson =
<john.mattsson=3D40ericsson.com@dmarc.ietf.org> wrote:
>=20
> =20
> - The order of COSE_Countersignature0 processing at the receiver seems =
undefined. The order should either be mandated or it should be stated =
that the receiving part can process things in any order.
> =20
> I think that Jim intended the same set of steps to be used.  For =
example, Section 3.3, Step 3, says: "This field is omitted for the =
Countersignature0V2 attribute."
> =20
> John: I was thinking about the order of decryption (in the case of =
COSE_Encrypt) and signature verification.  If the receiver starts doing =
decryption or even using the plaintext before verifying the signature it =
could lead to security problems.

John:

In the context of CMS, we have had this discussion many times, and for =
every set of rules that have been proposed over the decades, a counter =
example has been found.  So, I certainly agree with your goal, I am =
skeptical that there is a simple set of rules that we can include in the =
document.

Russ


--Apple-Mail=_48743E75-6689-45DF-9E07-BA752DDEB817
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br =
class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Jun 23, 2021, at 10:52 AM, John Mattsson &lt;<a =
href=3D"mailto:john.mattsson=3D40ericsson.com@dmarc.ietf.org" =
class=3D"">john.mattsson=3D40ericsson.com@dmarc.ietf.org</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><div =
class=3D""><div style=3D"margin: 0cm; font-size: 11pt; font-family: =
Calibri, sans-serif; text-indent: 36pt;" class=3D""><span style=3D"color: =
rgb(0, 112, 192);" class=3D""><o:p =
class=3D"">&nbsp;</o:p></span></div></div><blockquote style=3D"margin-top:=
 5pt; margin-bottom: 5pt;" class=3D""><div class=3D""><div =
style=3D"margin: 0cm 0cm 0cm 36pt; font-size: 11pt; font-family: =
Calibri, sans-serif;" class=3D"">- The order of COSE_Countersignature0 =
processing<span class=3D"apple-converted-space">&nbsp;</span><span =
lang=3D"EN-US" class=3D"">at the receiver<span =
class=3D"apple-converted-space">&nbsp;</span></span>seems undefined. The =
order should either be mandated or it should be stated that the =
receiving part can process things in any order.<o:p =
class=3D""></o:p></div></div></blockquote><div class=3D""><div =
style=3D"margin: 0cm 0cm 0cm 36pt; font-size: 11pt; font-family: =
Calibri, sans-serif;" class=3D""><o:p =
class=3D"">&nbsp;</o:p></div></div><div style=3D"margin: 0cm 0cm 0cm =
36pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=3D"">I =
think that Jim intended the same set of steps to be used. &nbsp;For =
example, Section 3.3, Step 3, says: "This field is omitted for the =
Countersignature0V2 attribute."<o:p class=3D""></o:p></div></div><div =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" class=3D""><div =
style=3D"margin: 0cm 0cm 0cm 36pt; font-size: 11pt; font-family: =
Calibri, sans-serif;" class=3D""><o:p class=3D"">&nbsp;</o:p></div><div =
style=3D"margin: 0cm 0cm 0cm 36pt; font-size: 11pt; font-family: =
Calibri, sans-serif;" class=3D""><span style=3D"color: rgb(0, 112, =
192);" class=3D"">John: I</span><span lang=3D"EN-US" style=3D"color: =
rgb(0, 112, 192);" class=3D""><span =
class=3D"Apple-converted-space">&nbsp;</span>was thinking<span =
class=3D"Apple-converted-space">&nbsp;</span></span><span style=3D"color: =
rgb(0, 112, 192);" class=3D"">about the order of decryption (in the case =
of COSE_Encrypt) and signature verification.&nbsp; If the receiver<span =
class=3D"Apple-converted-space">&nbsp;</span></span><span lang=3D"EN-US" =
style=3D"color: rgb(0, 112, 192);" class=3D"">starts doing =
de</span><span style=3D"color: rgb(0, 112, 192);" class=3D"">cryption or =
even usin</span><span lang=3D"EN-US" style=3D"color: rgb(0, 112, 192);" =
class=3D"">g</span><span style=3D"color: rgb(0, 112, 192);" =
class=3D""><span class=3D"Apple-converted-space">&nbsp;</span>the =
plaintext before verifying the signature it could lead to security =
problems.</span></div></div></div></blockquote></div><br class=3D""><div =
class=3D"">John:</div><div class=3D""><br class=3D""></div><div =
class=3D"">In the context of CMS, we have had this discussion many =
times, and for every set of rules that have been proposed over the =
decades, a counter example has been found. &nbsp;So, I certainly agree =
with your goal, I am skeptical that there is a simple set of rules that =
we can include in the document.</div><div class=3D""><br =
class=3D""></div><div class=3D"">Russ</div><div class=3D""><br =
class=3D""></div></body></html>=

--Apple-Mail=_48743E75-6689-45DF-9E07-BA752DDEB817--


From nobody Wed Jun 23 08:45:51 2021
Return-Path: <internet-drafts@ietf.org>
X-Original-To: cose@ietf.org
Delivered-To: cose@ietfa.amsl.com
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id C77263A3BD1; Wed, 23 Jun 2021 08:45:49 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
Cc: cose@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 7.32.0
Auto-Submitted: auto-generated
Precedence: bulk
Reply-To: cose@ietf.org
Message-ID: <162446314974.4278.16771663526193191435@ietfa.amsl.com>
Date: Wed, 23 Jun 2021 08:45:49 -0700
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/LQZOCkGVg-DOLEzJX0iUZdqb69M>
Subject: [COSE] I-D Action: draft-ietf-cose-countersign-05.txt
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jun 2021 15:45:50 -0000

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the CBOR Object Signing and Encryption WG of the IETF.

        Title           : CBOR Object Signing and Encryption (COSE): Countersignatures
        Authors         : Jim Schaad
                          Russ Housley
	Filename        : draft-ietf-cose-countersign-05.txt
	Pages           : 24
	Date            : 2021-06-23

Abstract:
   Concise Binary Object Representation (CBOR) is a data format designed
   for small code size and small message size.  CBOR Object Signing and
   Encryption (COSE) defines a set of security services for CBOR.  This
   document defines a countersignature algorithm along with the needed
   header parameters and CBOR tags for COSE.


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

There is also an htmlized version available at:
https://datatracker.ietf.org/doc/html/draft-ietf-cose-countersign-05

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-cose-countersign-05


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



From nobody Wed Jun 23 08:49:51 2021
Return-Path: <housley@vigilsec.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 580003A3BF2 for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 08:49:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=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 xm7MkQqyFj_q for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 08:49:45 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2DFC43A3BF3 for <cose@ietf.org>; Wed, 23 Jun 2021 08:49:45 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 85426300BE9 for <cose@ietf.org>; Wed, 23 Jun 2021 11:49:44 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id w_9SHdu8UEC8 for <cose@ietf.org>; Wed, 23 Jun 2021 11:49:39 -0400 (EDT)
Received: from a860b60074bd.fios-router.home (pool-141-156-161-153.washdc.fios.verizon.net [141.156.161.153]) by mail.smeinc.net (Postfix) with ESMTPSA id 78F7F300B98 for <cose@ietf.org>; Wed, 23 Jun 2021 11:49:39 -0400 (EDT)
From: Russ Housley <housley@vigilsec.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\))
Date: Wed, 23 Jun 2021 11:49:39 -0400
References: <162446314974.4278.16771663526193191435@ietfa.amsl.com>
To: cose <cose@ietf.org>
In-Reply-To: <162446314974.4278.16771663526193191435@ietfa.amsl.com>
Message-Id: <E0687DEA-CA95-4530-8A70-98628D156C0B@vigilsec.com>
X-Mailer: Apple Mail (2.3445.104.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/QDhV-jkUzFHR17q8VaZvU9R6yGw>
Subject: Re: [COSE] I-D Action: draft-ietf-cose-countersign-05.txt
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jun 2021 15:49:49 -0000

This provides a tighter reference regarding deterministic encoding.  The =
issue was raised by John Mattsson, and the resolution was proposed by =
Carsten Bormann.

In addition, I updated the Acknowledgments to include John and Carsten.

Russ

> On Jun 23, 2021, at 11:45 AM, internet-drafts@ietf.org wrote:
>=20
>=20
> A New Internet-Draft is available from the on-line Internet-Drafts =
directories.
> This draft is a work item of the CBOR Object Signing and Encryption WG =
of the IETF.
>=20
>        Title           : CBOR Object Signing and Encryption (COSE): =
Countersignatures
>        Authors         : Jim Schaad
>                          Russ Housley
> 	Filename        : draft-ietf-cose-countersign-05.txt
> 	Pages           : 24
> 	Date            : 2021-06-23
>=20
> Abstract:
>   Concise Binary Object Representation (CBOR) is a data format =
designed
>   for small code size and small message size.  CBOR Object Signing and
>   Encryption (COSE) defines a set of security services for CBOR.  This
>   document defines a countersignature algorithm along with the needed
>   header parameters and CBOR tags for COSE.
>=20
>=20
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-ietf-cose-countersign/
>=20
> There is also an htmlized version available at:
> https://datatracker.ietf.org/doc/html/draft-ietf-cose-countersign-05
>=20
> A diff from the previous version is available at:
> https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-cose-countersign-05
>=20
>=20
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/


From nobody Wed Jun 23 08:53:33 2021
Return-Path: <housley@vigilsec.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 838E63A0544 for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 08:53:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level: 
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=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 qcgokgnSdsjE for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 08:53:26 -0700 (PDT)
Received: from mail.smeinc.net (mail.smeinc.net [209.135.209.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A980F3A058F for <cose@ietf.org>; Wed, 23 Jun 2021 08:53:26 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail.smeinc.net (Postfix) with ESMTP id 05D8C300BED for <cose@ietf.org>; Wed, 23 Jun 2021 11:53:26 -0400 (EDT)
X-Virus-Scanned: amavisd-new at mail.smeinc.net
Received: from mail.smeinc.net ([127.0.0.1]) by localhost (mail.smeinc.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Ytw8ZoYfp-Cy for <cose@ietf.org>; Wed, 23 Jun 2021 11:53:20 -0400 (EDT)
Received: from a860b60074bd.fios-router.home (pool-141-156-161-153.washdc.fios.verizon.net [141.156.161.153]) by mail.smeinc.net (Postfix) with ESMTPSA id B7018300AA6; Wed, 23 Jun 2021 11:53:20 -0400 (EDT)
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.21\))
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <9C988BBC-9A1D-4CCC-B6A5-B0632A88FAAF@tzi.org>
Date: Wed, 23 Jun 2021 11:53:20 -0400
Cc: "cose@ietf.org" <cose@ietf.org>, John Mattsson <john.mattsson@ericsson.com>
Content-Transfer-Encoding: 7bit
Message-Id: <4B478C22-46A0-4694-BEE1-2445F6C6294D@vigilsec.com>
References: <HE1PR0701MB3050B939EC4ED59D7A6868F7893D9@HE1PR0701MB3050.eurprd07.prod.outlook.com> <8D072A49-3535-4AF8-B92A-161A8AF4F808@vigilsec.com> <HE1PR0701MB305078DCB5336CE066CD10FE89089@HE1PR0701MB3050.eurprd07.prod.outlook.com> <E008BB92-E295-414E-96BA-D35C8AC66700@tzi.org> <706B5092-76F4-4256-AA4A-F5BD04DF5E8E@vigilsec.com> <9C988BBC-9A1D-4CCC-B6A5-B0632A88FAAF@tzi.org>
To: Carsten Bormann <cabo@tzi.org>
X-Mailer: Apple Mail (2.3445.104.21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/YcVtGSS_p8vY-UNQruP3bh4k0HE>
Subject: Re: [COSE] Some comments on draft-ietf-cose-countersign-04
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jun 2021 15:53:32 -0000

> On Jun 23, 2021, at 11:21 AM, Carsten Bormann <cabo@tzi.org> wrote:
> 
> 
> 
>> On 2021-06-23, at 17:19, Russ Housley <housley@vigilsec.com> wrote:
>> 
>>  In order to always regenerate the same byte string for the "to be
>>  signed" value, the core deterministic encoding rules defined in
>>  Section 4.2.1 of [RFC8949].  
> 
> This sentence no verb.

Fixed:

   In order to always regenerate the same byte string for the "to be
   signed" value, follow the core deterministic encoding rules defined
   in Section 4.2.1 of [RFC8949].  These rules match the ones laid out
   in Section 9 of [I-D.ietf-cose-rfc8152bis-struct].

Russ


From nobody Wed Jun 23 09:42:20 2021
Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4FC883A3D41 for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 09:42:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.288
X-Spam-Level: 
X-Spam-Status: No, score=-2.288 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.198, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hoUw_my7NSqk for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 09:42:13 -0700 (PDT)
Received: from outbound.mail.eo.outlook.com (mail-oln040093003011.outbound.protection.outlook.com [40.93.3.11]) (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 B8E693A3D42 for <cose@ietf.org>; Wed, 23 Jun 2021 09:42:13 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eGMzW5w9vhRHpO4zzHl5HdJMAQutNL1EnIWHhBWC3P5vnzMwDKXv7CgJyrhj+j62iSzwLzGeyRarK18nLK1JIlCgognlCqmDlY1I8dZ0ZPy1g8SMLYPLegXw+kNnXtiJNZ6z+gLZv5EzcwESp0RgTn73HRm9LEnqh4zAuC7sCXu6X2vVpxo6i+Tv9Wdgns2kHluXlGX0CcRVQWLU/uTu33pCLreJWv1ffC8tElEnJWjA1lGnYlRb041BT7n4LESEjEvqUNI9MtwxLLLEbck67a2jFpO4CREnNPRO4uJwN48paxRGclm1k8fTFX5VsEuVi7ORgGglpiGRvJDeHwlmXg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eN4pYkQmcoLTZUxLG/g5VlErqcsVYef8nioSwsQnNGw=; b=N4zHqqYnLJNzBH5vxevR8h2/QkOTk3ic6BZJgNdFteUnvrDhvnntaoinbIZe6eb2DYpHt0xAcuMTlLpxIpISe/KsHfUGvy0F4o0FbB13S82QfwPByYNxCC/yRDVJj+9LPGNdrT0hLWxUbfnkNvFJAD4fJa6MSo+eHkk6FWJ/Lx6NmoYpGE58HAjkBDYjT3HHZ8KXPZ2V2JEkqgFU5eeFvPGtjFpGrr/SmfQDDyVR0VL71YcOduC4ioRnJd+x4ixYg7SImO16qLyb8E4Sex+LrBt1CFdC1qrzEcDQYyv9lNvmOIAaGC4zSVdAiCseIUqHlVSFf2sCSK37mOg3TVle0Q==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=eN4pYkQmcoLTZUxLG/g5VlErqcsVYef8nioSwsQnNGw=; b=CtVDKqoaYCVpVS2xO1RJkqmypbmTmCRpSv0RVh801zbqrXxToEvBa3cB2gZ3WJD96uG4fUgpwzjturkhWYm63BEO3dn0NzzLQYtcUDW7k9fIg8TL4yd06EvzHBuruFz0yJoW31jgv9zqLBHcKGpNiU8sD9Aa2fG9bVYznGCH/Dc=
Received: from SA0PR00MB1033.namprd00.prod.outlook.com (2603:10b6:806:132::22) by SA2PR00MB1004.namprd00.prod.outlook.com (2603:10b6:806:11f::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4302.0; Wed, 23 Jun 2021 16:42:10 +0000
Received: from SA0PR00MB1033.namprd00.prod.outlook.com ([fe80::3128:8e54:263d:d62f]) by SA0PR00MB1033.namprd00.prod.outlook.com ([fe80::3128:8e54:263d:d62f%9]) with mapi id 15.20.4306.000; Wed, 23 Jun 2021 16:42:10 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: "ilariliusvaara@welho.com" <ilariliusvaara@welho.com>, "anders.rundgren.net@gmail.com" <anders.rundgren.net@gmail.com>
CC: "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [COSE] FIDO/WebAuthn redefined the COSE EdDSA (-8) algorithm
Thread-Index: AddoTrRlsPqNiYKORvKBh3ZJLQ2cow==
Date: Wed, 23 Jun 2021 16:42:10 +0000
Message-ID: <SA0PR00MB1033A4DEA441628688DF227FF5089@SA0PR00MB1033.namprd00.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-06-23T16:26:34Z;  MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=42b0b233-d5e4-45fb-b97a-0916d8701f61; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0
authentication-results: welho.com; dkim=none (message not signed) header.d=none;welho.com; dmarc=none action=none header.from=microsoft.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: ee8097ff-6a7f-4110-6ac6-08d93665d8b1
x-ms-traffictypediagnostic: SA2PR00MB1004:
x-microsoft-antispam-prvs: <SA2PR00MB1004DD8679F6F8C3D977603FF5089@SA2PR00MB1004.namprd00.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:1850;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: XABJxwd++8Qv20Rs3Bh9rQL1IXX19po6PC/VcZLqORudNoMuLOSidCEOczY/KzQFhFblyADGUQ64hx4crHmForAXgjfaXWKhUwtDiOlnB05MqB45G6fuUIU0ssnITJot0GvZ9LVKoz399dQwFYNFuW3JwQscwT3Hm816noX6sUQ3/oZ54xBAKDmubTAzVJ4nQMxqJaxdZ+NShWW4oTHaJTOsmIqMJQP84KleehDigq4VjM68gwln7AOMwYAHd/Uf/CfNjp9De9Y+JFt4tBvk9xY4ksmaLnWWSWvrZcVTU/sP046bvHxad0H5rAn81u9rBnoR0iSPubZIsbd1O5szMnexFPTm4/IueXmve2f0plGl82CpkVXpRKhxAnuNuO4tzrB9UFZKmZ0XjtH4yXlEtoX+ywKqm7EUxqeWYPQNM+wok+7m90F3uvKV3QabHnJsoctBN9duy7+6UcHovcczt385PIv9/CKgdnEB+cjKKLc+h4G+enbWjH6qOPzC00vRmmHxYjE79sfTjpud80Y75L9yfQghmhMx1Kmbxw+0wCiXN+6Ae2iKjfWyVf+13OhPnX1YcgWHNziVhz4uZggxWbEpgR9EryHSrJlq8BeF5tVzFDQB6U/SsG2DiZmgbgpXccKTyjZs6zzkJCn4YMmoelI/x5G1SdPwm29IyV1Jd6dJC0wtFonsnJe/YRlPhZk4rCvq2wenySLhH5moFWdhZ4GzZRv3nISSaZ7/1mAkh/4vIku9EL9O/CdSc9+Vu9INTCpY0n5IU9O35d4BdNfdKw==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:SA0PR00MB1033.namprd00.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(366004)(86362001)(10290500003)(9686003)(110136005)(4326008)(5660300002)(52536014)(33656002)(8936002)(82950400001)(83380400001)(66476007)(6506007)(186003)(7696005)(38100700002)(64756008)(122000001)(66446008)(8990500004)(71200400001)(82960400001)(66574015)(2906002)(66946007)(8676002)(66556008)(76116006)(53546011)(55016002)(966005)(498600001); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?utf-8?B?NUc5LzN5VTdoZTVxd1pOQzdHR0FSQ2d3a0VieTNGSnova3h5dFJDcDVnRUxh?= =?utf-8?B?NlVPYUlGS1RUM2YzTVVab0FQbXNqOUFuSmhOc0ViaUtJT3hhRkNRMmZ2TDZa?= =?utf-8?B?azlaVjg2ZGZxL2hySVp2N2RSS3o0aHVSamlxNm1WWTJPRUZyMmg2UVdQN3Rz?= =?utf-8?B?SURJeWZkWEp5OThJZjd4NDdETEhwbk1CbVdycGJGbkFIK1ZHcmtrVmxyZDcr?= =?utf-8?B?eGQ2cnUzY3Z6UnpDL1k0Y28wSEhpb0R2Mm5PSlI1TDEwTlg4NFFHV1lkcXNa?= =?utf-8?B?Z244QXBqV1BIek13akN6TzVEeC8zei9Jd2N3VkhPZkpSQkdqbktDOUpBR0lJ?= =?utf-8?B?WlV5YjNtMlhtQzlUSXZlUzB1c3d5bUlpSFNFWkpDaEpaTU56bVZCTXM1QitG?= =?utf-8?B?UVVBVEZObHNoa3J3YzA3OXZLd2RCTFo2UGM1dnRZRHowbnhybVhMSFdOSDNq?= =?utf-8?B?RmdWY3B4ZGE4Z3B2MjQ4SHVaTW03WGFtdzNCMVEyelhJNEd3bFJ1TG1VdUF0?= =?utf-8?B?R1pPT1lNdjZId1U0dmRoTGdoZTRvd3RLd1JJd1NXaFJqNWhQQUh2WjhaMGdT?= =?utf-8?B?M2tXRVVUd2xvWnh5Ty9oalRqeFM2ajZEYnB4TSt1blF2cFRROC9Cc1Y3b004?= =?utf-8?B?dy9DYUVCL2VQUW5aNTdCRjdrYXYzSlRQcWJmRnhiR2ZsMFZpRjBxNmtXdnVN?= =?utf-8?B?a1pDTG9TZkljSDRGN1B0QktSSmxWUWJ2bCtjNlNJWDU4UFBHa0xEMHNFc1V1?= =?utf-8?B?RWw4c3dHY2hSUDc1VVBUeHIvVWlPRXBXcFZ4TDB3ZXo4cXFPa2tmeU5RQmpC?= =?utf-8?B?VjJvSWJHb3I0WmtjUzBrS0JNMzFXUDlnU3pJdXM5UzFXellrbHlRQzlIT3lq?= =?utf-8?B?NGRhd2pQcmphekszWVFLcFJCbUF6UC9ubkFQVTV0eXJFNVI0dFlXTTFuMTZY?= =?utf-8?B?Qnc5ZytWQk1HODVTaGdBUThDQXlGQjRVYk1BYkdWeFNKNGVYK1B6KzRkNWgr?= =?utf-8?B?cDNMdGJmdzI3NlpjRnNUVjdzaVo0MlZ5d0t1aEtyUFFmVTBSNFd0dHRONGRz?= =?utf-8?B?QnNEMHZyalAzZExoWVJMTUx3cllBNmZtV2FTVVMrejJOTjBlRmc2bXFUTUIx?= =?utf-8?B?RUNoZ1ZIRmo4Q0FsRTU3QlJTMFNkaW50V1FVbHJ5czMxT0ozL004ZTM4dXZO?= =?utf-8?B?eDZTSzhjUmxyb2JZMi9TWk5RNTlLUGdyczR1Ynp4TEozVXd3ZEdLTHhWSWx0?= =?utf-8?B?UzBUOUJOSHZBems5OWhYdU55NnNudVVveWVvcjkrazhJU3N3anBkcGNpTVB5?= =?utf-8?B?L2ROcUZ0WnllL2hpcHVaQSt2ajhEbTU2TFRmN0pYeXNOVzBUaTdXV0NVSlJQ?= =?utf-8?B?ZVNBSVRKSWNjUHFXSHJ3OUtxeGZFY1VzVTNicGF1MTkrZ05mUjYvbmtic2cx?= =?utf-8?B?ZkVBRkVadElBeWp1bzByNUJ4aUpxYnRwM0owMWZ5UlZ4amJpQkZ6MUdIOEdY?= =?utf-8?B?SUlReEFtODlOU0NuS0twamZGeHFYQThJWkZ6dWtWWnR2UWRMRXJNbEozZWZi?= =?utf-8?B?ekEzYXNWT1JQN3JHaWIwM1VBdEd2NTdJL2JRVnVUYWN4NVdLY1hFYldvRTNM?= =?utf-8?B?c0RWa2ZTbytTZ2xsRFljR1hQak5OZ0dMdmJWSVgzMnBqZDlqcnpMcThNSEZ1?= =?utf-8?B?WUREdTh5Q1VVVjdmN3Yvb0RvWEllbEpRL2RCMG5tQ1RueEhsM0dlUXFrK1ha?= =?utf-8?B?b2kvZ2x3OE0wNTVsSFVOZWJLWXF6RUE3NVRRZC9VZWEyeWRVdHZ2aE1ZZVdl?= =?utf-8?B?bHZKc1Nxa3RGL0R6eTFMc3Y5TEFMUkE3SHJWOXBsd2ZRS284aXQyLzBRM3dU?= =?utf-8?Q?3M+3W7Jjpr+wR?=
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SA0PR00MB1033.namprd00.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: ee8097ff-6a7f-4110-6ac6-08d93665d8b1
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jun 2021 16:42:10.3892 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: +bQOml1D4cYEzE+2NRQvl2HEJnecpaMb050PgLwLCkOBzli6vny8soWbBOUkHuPBEucDz8OgyW91h8a1T+fYDg==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA2PR00MB1004
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/mmgv25AtjiYwZjO-WflkWTtUgok>
Subject: Re: [COSE] FIDO/WebAuthn redefined the COSE EdDSA (-8) algorithm
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jun 2021 16:42:18 -0000

W1dyaXRpbmcgYXMgYW4gaW5kaXZpZHVhbCAtIG5vdCBhIGNoYWlyXQ0KDQpUaGUgV2ViQXV0aG4g
YW5kIEZJRE8yIHdvcmtpbmcgZ3JvdXAgbWVtYmVycyBoYWQgdGhvdWdodCB0aGF0IHRoZSBDT1NF
IGFsZ29yaXRobSBzZW1hbnRpY3Mgd2VyZSB0aGUgc2FtZSBhcyB0aG9zZSBmb3IgSk9TRSwgd2hl
cmUgYWxnb3JpdGhtIGlkZW50aWZpZXJzIGFyZSBub3QgcG9seW1vcnBoaWMuICBUaGV5IHdlcmUg
d3JvbmcsIGJ1dCB0aGF0J3Mgd2F0ZXIgdW5kZXIgdGhlIGJyaWRnZSBub3cuICBUaGUgRklETy9X
ZWJBdXRobiB1c2FnZSBvZiB0aGUgYWxnb3JpdGhtIGlkZW50aWZpZXJzIHJlcXVpcmVzIHRoYXQg
dGhlIGlkZW50aWZpZXJzIHVzZWQgdW5hbWJpZ3VvdXNseSBzcGVjaWZ5IGFsbCBhbGdvcml0aG0g
cGFyYW1ldGVycy4gIChOb3RlIHRoYXQgRklETy9XZWJBdXRobiBkb2VzIG5vdCB1c2UgQ09TRSBz
aWduYXR1cmVzIC0gb25seSBDT1NFIGFsZ29yaXRobSBpZGVudGlmaWVycy4pICBUaGV5IGhhdmUg
ZG9uZSB3aGF0IHRoZXkgbmVlZGVkIHRvIGRvIHRvIHJlbW92ZSB0aGUgYW1iaWd1aXRpZXMgYXJp
c2luZyBpbiBwcmFjdGljZSBmcm9tIHVzZSBvZiBwb2x5bW9ycGhpYyBhbGdvcml0aG0gaWRlbnRp
ZmllcnMgZm9yIHRoZWlyIHVzZSBjYXNlcy4NCg0KTm90ZSB0aGF0IGJ5IHRoZSB0aW1lIHRoYXQg
d2UgcmVnaXN0ZXJlZCB0aGUgRVMyNTZLIGFsZ29yaXRobSBmb3Igc2lnbmluZyB3aXRoIHRoZSBz
ZWNwMjU2azEgY3VydmUgaW4gUkZDIDg4MTIsIHdlIHdlcmUgYXdhcmUgb2YgdGhlIHByb2JsZW0g
YW5kIGludGVudGlvbmFsbHkgbWFkZSBFUzI1Nksgbm9uLXBvbHltb3JwaGljIC0gYm90aCBmb3Ig
Sk9TRSBhbmQgZm9yIENPU0UuDQoNCkkgYmVsaWV2ZSB0aGF0IHdlIHNob3VsZCBjcmVhdGUgYSBw
b2xpY3kgcmVxdWlyaW5nIHRoYXQgYWxsIGZ1dHVyZSBhbGdvcml0aG0gcmVnaXN0cmF0aW9ucyBz
aG91bGQgYmUgbm9uLXBvbHltb3JwaGljLiAgRnVydGhlcm1vcmUsIEkgYmVsaWV2ZSB3ZSBzaG91
bGQgY29uc2lkZXIgZGVmaW5pbmcgYW5kIHJlZ2lzdGVyaW5nIG5ldyBub24tcG9seW1vcnBoaWMg
YWxnb3JpdGhtIGlkZW50aWZpZXJzIHNvIHRoYXQgdXNlIG9mIHRoZSBleGlzdGluZyBwb2x5bW9y
cGhpYyBhbGdvcml0aG0gaWRlbnRpZmllcnMgY2FuIGJlIGF2b2lkZWQgYW5kIGRlcHJlY2F0ZWQu
DQoNCgkJCQktLSBNaWtlDQoNCi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBDT1NF
IDxjb3NlLWJvdW5jZXNAaWV0Zi5vcmc+IE9uIEJlaGFsZiBPZiBJbGFyaSBMaXVzdmFhcmENClNl
bnQ6IFNhdHVyZGF5LCBKdW5lIDE5LCAyMDIxIDQ6MTkgQU0NClRvOiBBbmRlcnMgUnVuZGdyZW4g
PGFuZGVycy5ydW5kZ3Jlbi5uZXRAZ21haWwuY29tPg0KQ2M6IGNvc2VAaWV0Zi5vcmcNClN1Ympl
Y3Q6IFJlOiBbQ09TRV0gRklETy9XZWJBdXRobiByZWRlZmluZWQgdGhlIENPU0UgRWREU0EgKC04
KSBhbGdvcml0aG0NCg0KT24gU2F0LCBKdW4gMDUsIDIwMjEgYXQgMTA6NDY6NDlBTSArMDIwMCwg
QW5kZXJzIFJ1bmRncmVuIHdyb3RlOg0KPiBPbiAyMDIxLTA2LTA1IDk6NDksIElsYXJpIExpdXN2
YWFyYSB3cm90ZToNCj4gPiBPbiBTYXQsIEp1biAwNSwgMjAyMSBhdCAwODoxNzo0OEFNICswMjAw
LCBBbmRlcnMgUnVuZGdyZW4gd3JvdGU6DQo+ID4gPiBGLlkuSS4NCj4gPiA+IFdoZW4gYSBrZXkg
aXMgdG8gYmUgZ2VuZXJhdGVkLCB0aGUgRklETy9XZWJBdXRobiAiY3JlYXRlIiBBUEkgDQo+ID4g
PiBwcm92aWRlcyBhIGxpc3Qgb2YgQ09TRSBzaWduYXR1cmUgYWxnb3JpdGhtcy7CoCBUbyBzYXZl
IHNvbWUgYnl0ZXMgDQo+ID4gPiB0aGV5IG92ZXJsb2FkZWQgRWREU0Egc28gdGhhdCBpdCB3b3Vs
ZCBtZWFuIEVkRFNBIHdpdGggYW4gRWQyNTUxOSBrZXkuDQo+ID4gPiBTZWVuIGluIHJldHJvc3Bl
Y3QgdGhpcyB3YXMgb2J2aW91c2x5IGEgbWlzdGFrZSBzaW5jZSB0aGlzIGRvZXNuJ3QgDQo+ID4g
PiBleHRlbmQgdG8gRWQ0NDguDQo+ID4gPiANCj4gPiA+IEhvd2V2ZXIsIEkgYmVsaWV2ZSB0aGUg
bWlzdGFrZSB3YXMgcmVhbGx5IG1ha2luZyBFZERTQSBhIHNpZ25hdHVyZSANCj4gPiA+IGFsZ29y
aXRobS7CoCBUaGUgImZhbWlseSIgY29uY2VwdCBmaXRzIHNxdWFyZWx5IHdpdGggbW9zdCANCj4g
PiA+IGNyeXB0b2dyYXBoaWMgQVBJcyB0aGF0IHR5cGljYWxseSBvbmx5IGRlYWxzIHdpdGggc3Bl
Y2lmaWMgDQo+ID4gPiBhbGdvcml0aG1zLg0KPiA+IA0KPiA+IElNTywgdGhlIG1pc3Rha2UgaXMg
dXNpbmcgc2lnbmF0dXJlIGFsZ29yaXRobSB0byBzcGVjaWZ5IGEga2V5IHR5cGUuDQo+ID4gVGhh
dCBpcyBub3QganVzdCB3cm9uZyBmb3IgRWREU0EsIGl0IGlzIGFsc28gd3JvbmcgZm9yIEVDRFNB
IChlLmcsDQo+ID4gRVM1MTIgZG9lcyBub3QgaGF2ZSB1bmlxdWUga2V5IHR5cGUpLg0KPiA+IA0K
PiA+IFRoZSBrZXkgY3JlYXRlIGNvbW1hbmQgc2hvdWxkIHRha2UgdGhlIGFsZ29yaXRobSBvZiB0
aGUga2V5IGFzIA0KPiA+IHBhcmFtZXRlciwgYW5kIHRoZSBzb2xlIGNyeXB0b2dycGhpYyBhbGdv
cml0aG0gaXQgaXMgaW50ZW5kZWQgZm9yLCANCj4gPiBpbiBjYXNlIHRoZXJlIGFyZSBtdWx0aXBs
ZSBwb3NzaWJpbGl0aWVzICh1c2luZyB0aGUgc2FtZSBrZXkgd2l0aCANCj4gPiBtdWx0aXBsZSBh
bGdvcml0aG1zIGlzIG5vdCBjcnlwdG9ncmFwaGljYWxseSBrb3NoZXIpLg0KPiA+IA0KPiA+IEFs
bW9zdCBldmVyeSBzaWduYXR1cmUgZnJhbWV3b3JrIEkgaGF2ZSBldmVyIHNlZW4gY29udGFpbnMg
dGhlIA0KPiA+IG1pc3Rha2UgdGhhdCB0aGUgZnJhbWV3b3JrIGxldHMgbWVzc2FnZSBhbmQga2V5
IGNvbnRyYWRpY3QgZWFjaCANCj4gPiBvdGhlci4gVXN1YWxseSB0aGUgc3BlY2lmaWNhdGlvbiBz
YXlzIHNvbWV0aGluZyBsaWtlICJNVVNUIGNoZWNrIiwgDQo+ID4gYnV0IGluIHByYWN0aWNlIHRo
aXMgaXMgYSBtYWpvciBzb3VyY2Ugb2Ygc2VjdXJpdHkgaXNzdWVzLiBUaGVuIHNvbWUgDQo+ID4g
Zm9sa3MgaGF2ZSB3ZWFwb25pemVkIHRoZXNlIGlzc3VlcyB0byBmdWVsIGFudGktYWxnb3JpdGht
LWFnaWxpdHkgDQo+ID4gYWdlbmRhLiBGb3IgQ09TRSwgSSBzcG90IDYgY2xhc3NlcyAoUlNBLCBF
Q0RTQSwgRUNEU0Egd2l0aCBiaXRjb2luIA0KPiA+IGN1cnZlLCBFZDI1NTE5L0VkNDQ4LCBIU1Mt
TE1TIGFuZCBXYWxudXREU0EpIG9mIGluY29tcGF0aWJsZSBub24tb3ZlcmxhcHBlZCBzaWduYXR1
cmUgYWxnb3JpdGhtcy4NCj4gPiANCj4gPiBJbiBvbmUgb2YgbXkgcHJvamVjdHMsIEkgaGFkIGNh
c2Ugb2YgZmxhd2VkIHNpZ25hdHVyZSBrZXkgY3JlYXRlIA0KPiA+IGNvbW1hbmQgKGl0IHdhcyBu
b3QgdGhpcywgYnV0IHNvbWUgb3RoZXIgaW50ZXJmYWNlIGZsYXcpLiBJIGVuZGVkIHVwIA0KPiA+
IGNyZWF0aW5nIGFub3RoZXIga2V5IGNyZWF0ZSBjb21tYW5kIHdpdGggc2FuZXIgc2VtYW50aWNz
Lg0KPiANCj4gTGVhdmluZyBicm9rZW4gY3J5cHRvZ3JhcGhpYyBmcmFtZXdvcmtzIGFzaWRlLCBo
b3cgYWJvdXQgYSAiaGlzdG9yaWNhbCANCj4gY29tcHJvbWlzZSIgd2hlcmUgRWREU0Egd2l0aG91
dCBhbnkgc3BlY2lmaWMga2V5IGluZm9ybWF0aW9uIHdvdWxkIA0KPiBkZWZhdWx0IHRvIEVkMjU1
MTkga2V5cz8NCj4gDQo+IEluIHRoZSBzYW1lIHZlaW4gdGhlIGN1cnJlbnRseSB1bmFzc2lnbmVk
IC05IGNvdWxkIGRvIHRoZSBzYW1lIGZvcg0KPiBFZDQ0OCBqdXN0IHRvIGtlZXAgdGhlIHN5bW1l
dHJ5IDopDQoNCklzIG15IHVuZGVyc3RhbmRpbmcgY29ycmVjdCB0aGF0IEZJRE8vV2ViQXV0aG4g
Y3JlYXRlIGtleSBBUEkgdGFrZXMgaW4gQ09TRSBfYWxnb3JpdGhtXyBudW1iZXIgYW5kIHVzZXMg
aXQgdG8gZGVjaWRlIHR5cGUgb2Yga2V5IHRvIGNyZWF0ZT8NCg0KDQpJZiBzbywgRklETy9XZWJB
dXRobiBjcmVhdGUga2V5IEFQSSBpcyBqdXN0IHBsYWluIGZsYXdlZC4gSSBkbyBub3QgdGhpbmsg
aXQgaXMgZ29vZCBpZGVhIHRvIHRyeSAiZml4IiB0aGF0IGluIENPU0UsIGVzcGVjaWFsbHkgZ2l2
ZW4gdGhhdCB0aGUgY2hhbmdlcyBzZWVtIHRvIGluY3JlYXNlIHJpc2sgb2YgZXJyb3IgaW4gb3Ro
ZXIgY29udGV4dHMuDQoNCk9uZSByZWFsbHkgbmFzdHkgaGFjayB0aGF0IHdvdWxkIG5vdCBjYXVz
ZSB0b28gbXVjaCBzZWN1cml0eSB0cm91YmxlIHdvdWxkIGJlIHRvIHJlc2VydmUgYWxnaWQgLTkg
c28gdGhhdCBGSURPL1dlYkF1dGhuIGNyZWF0ZSBrZXkgQVBJIGludGVycHJldHMgYW55IHJlcXVl
c3Qgd2l0aCBhbGdpZD0tOSBhcyByZXF1ZXN0IHRvIGNyZWF0ZSBFZDQ0OCBrZXkgdGhhdCBpcyB0
byBiZSB1c2VkIHdpdGggRWREU0EoYWxnaWQ9LTgpLiBCdXQgbm90aGluZyBlbHNlIHJlY29nbml6
ZXMgdGhhdCBhcyBhbnl0aGluZyB2YWxpZC4gSW4gcHJhY3RpY3VsYXIsIGEgbWVzc2FnZSB3aXRo
IGFsZ2lkIC05IGdldHMgcmVqZWN0ZWQgYXMgdW5rbm93biBzaWduYXR1cmUgYWxnb3JpdGhtIChl
dmVuIGlmIGtleSBpcyBFZDQ0OCkuDQoNCj4gVGhlIHJldmlzZWQgaWRlbnRpZmllcnMgY291bGQg
Zm9yIGV4YW1wbGUgYmUgY2FsbGVkIHNvbWV0aGluZyBsaWtlIA0KPiBFZERTQVtFZDI1NTE5XSBh
bmQgRWREU0FbRWQ0NDhdIHJlc3BlY3RpdmVseS4NCj4gDQo+IFRoaXMgaXMgaW5kZWVkIGEgYml0
IHVnbHkgYnV0IGl0DQo+IC0gZG9lc24ndCBicmVhayBleGlzdGluZyBjb2RlDQo+IC0gZm9sbG93
cyAoYWxiZWl0IGluIGEgcmV2ZXJzZWQgZmFzaGlvbikgeW91ciBpZGVhcyBhYm91dCBrZXktZHJp
dmVuDQo+ICAgc2lnbmF0dXJlIGFsZ29yaXRobXMuDQoNCklNTzogUmV2ZXJzaW5nIGtleS1kcml2
ZW4gc2lnbmF0dXJlIGFsZ29yaXRobXMgaXMgVkVSWSBiYWQgaWRlYS4gVGhlIHdob2xlIHB1cnBv
c2UgaXMgdG8gZm9yY2UgaW1wbGVtZW50YXRpb24gZG8gbmVlZGVkIGNoZWNrcywgaW5zdGVhZCBv
ZiBhbGxvd2luZyBpbXBsZW1lbnRhdGlvbiB0byBza2lwIHRoZW0gYW5kIHRoYXQgYmVpbmcgYSBw
b3RlbnRpYWwgc2VjdXJpdHkgcHJvYmxlbS4NCg0KSSBoYXZlIGNvZGVkIHNpZ25hdHVyZSB2YWxp
ZGF0aW9uLCBhbmQgZm91bmQgdGhhdCBJIG5lZWQgdG8gcGx1YiBpbiB0aGUgdHlwZSBvZiBrZXku
IEV4dHJhIGNvZGUgeWVzLCBidXQgaWYgSSBkaWQgbm90IGhhdmUgdG8gZG8gdGhhdCwgSSBtaWdo
dCBoYXZlIGZvcmdvdHRlbiB0byBjaGVjayB0aGUga2V5IHR5cGUsIHBvc3NpYmx5IHJlc3VsdGlu
ZyBpbiBhbiBzZWN1cml0eSBpc3N1ZS4NCg0KQW5kIGZvciBub3QgYnJlYWtpbmcgZXhpc3Rpbmcg
Y29kZSwgYWxsIEVkRFNBIHNpZ25hdHVyZXMgbXVzdCB1c2UgdGhlDQotOCBhbGdpZCwgc28gdGhl
IEVkNDQ4IGFsZ2lkIGNhbiBub3QgYXBwZWFyIGluIGFueSBtZXNzYWdlLg0KDQoNCj4gVGhlIG9u
bHkgdmlhYmxlIGFsdGVybmF0aXZlIChBRkFJQ1QuLi4pLCBpcyBlaXRoZXIgc3RhbGxpbmcgcHJv
Z3Jlc3MgDQo+IGJ5IGZvcmNpbmcgQVBJIHVwZ3JhZGVzLCBvciBjb250aW51ZWQgIm1pc3VzZSIg
b2YgZXhpc3Rpbmcgc3RhbmRhcmRzLg0KPiBJdCBpcyBhIGJpdCBsaWtlIGNob29zaW5nIGJldHdl
ZW4gcGVzdCBvciBjaG9sZXJhIDopDQoNCklmIG15IHVuZGVyc3RhbmRpbmcgb2YgdGhlIGlzc3Vl
IGlzIGNvcnJlY3QsIHRoZSBBUEkgc2hvdWxkIGJlIGRlcHJlY2F0ZWQgYW5kIHJlcGxhY2VkIGJ5
IG5ldyBvbmUuDQoNCg0KLUlsYXJpDQoNCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fDQpDT1NFIG1haWxpbmcgbGlzdA0KQ09TRUBpZXRmLm9yZw0KaHR0cHM6
Ly93d3cuaWV0Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9jb3NlDQo=


From nobody Wed Jun 23 09:45:51 2021
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B56CD3A3D5A for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 09:45:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.435
X-Spam-Level: 
X-Spam-Status: No, score=-2.435 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.338, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yUSNWnSYavYB for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 09:45:45 -0700 (PDT)
Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) (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 43EA43A3D58 for <cose@ietf.org>; Wed, 23 Jun 2021 09:45:45 -0700 (PDT)
Received: by mail-wr1-x433.google.com with SMTP id b3so3382152wrm.6 for <cose@ietf.org>; Wed, 23 Jun 2021 09:45:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=jF5YQwa1Nxx9m8D5Wljw2WQdn7hW96hz4QMNevUrZQA=; b=eVI1fSOtNW9E71EYv+CSIzunfsm9Wi9W8JwtCPOHMeZJOef6TvVN7PcO9Ot32WxpWN wE/Kxpc+LqPdznCgG5Kei6BVnCZ0JRESnnm2lZMoxMlcx88Z5B+RzETvmxgIa9T0Dsf1 ca9mDeJUsF03LFojmqCmBk4km3Tfwo1QQarkgJLYnjO+CEO7S5KyWhYqhut/IuHZMWWV GL9Yc3KC1gMHwk62YbkqgVtOZMb2p6CBr4LvGIC0e+mtLhimPELcNKNueb27VoQfm2hq j/VJ9XdpjG5leDF9EHKRCojkZkzN19Y3RyNdOex8KOWOtVlVAOt1Mh1Rt+pgAkIXDwjm 9ZPw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=jF5YQwa1Nxx9m8D5Wljw2WQdn7hW96hz4QMNevUrZQA=; b=ftikCBgbDMTwnyYB4Gebl1DkdlsOH5/5EdshDS2tYlSIsBU2LR+mgKhKNV9y5CMZGa fNa1npzGg3mzjIlEyBaIyuhE3gFlPuQ9xwnZAYstZuH45jI1plVu6KlF5za6SBbjF+D1 +zdT78L2v0TMSLtlXv6PUcfSyZL59qqoqt+kxBzRKGT5EgRex+KSRHfPvyzk7nJ0ifUY UDRKWu/Ugld8SWw1pwHoHYVn9ageabRA/qPuGj4BCz0hknTTvNRf2/II+Bvd2BcsKCd6 OBnPpWaHGG3RdsgcnYhqvNwf8dUnnUVzwNtcDghKH6EBJxcLd7UQngGBpl/ZPv2LhEwJ I+2g==
X-Gm-Message-State: AOAM5321N43drRHWaKNnJZvXdaAEI9eO7Z1egWiqz/uiSNjaYZt4Y25X 3u2/tn9ZhZTNQjXOi1kGzZbPHdzFrIujHA==
X-Google-Smtp-Source: ABdhPJxjwbPqu7gKs7SrRqZs37maiX5IGZrdY7bx3ZoLxVuN73iwT4WMVth6WqNRaah685Q1dEUGAQ==
X-Received: by 2002:adf:f68a:: with SMTP id v10mr1134266wrp.366.1624466741811;  Wed, 23 Jun 2021 09:45:41 -0700 (PDT)
Received: from [192.168.1.67] (25.131.146.77.rev.sfr.net. [77.146.131.25]) by smtp.googlemail.com with ESMTPSA id r1sm6236335wmn.10.2021.06.23.09.45.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Jun 2021 09:45:41 -0700 (PDT)
To: Mike Jones <Michael.Jones@microsoft.com>, "ilariliusvaara@welho.com" <ilariliusvaara@welho.com>
Cc: "cose@ietf.org" <cose@ietf.org>
References: <SA0PR00MB1033A4DEA441628688DF227FF5089@SA0PR00MB1033.namprd00.prod.outlook.com>
From: Anders Rundgren <anders.rundgren.net@gmail.com>
Message-ID: <a04e9f9d-ba3c-8052-ee94-d60d2bb40dad@gmail.com>
Date: Wed, 23 Jun 2021 18:45:39 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <SA0PR00MB1033A4DEA441628688DF227FF5089@SA0PR00MB1033.namprd00.prod.outlook.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/Iv3HADi-0a7i_xo6Q4iMwSUbKso>
Subject: Re: [COSE] FIDO/WebAuthn redefined the COSE EdDSA (-8) algorithm
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jun 2021 16:45:50 -0000

On 2021-06-23 18:42, Mike Jones wrote:
> [Writing as an individual - not a chair]
> 
> The WebAuthn and FIDO2 working group members had thought that the COSE algorithm semantics were the same as those for JOSE, where algorithm identifiers are not polymorphic.  They were wrong, but that's water under the bridge now.  The FIDO/WebAuthn usage of the algorithm identifiers requires that the identifiers used unambiguously specify all algorithm parameters.  (Note that FIDO/WebAuthn does not use COSE signatures - only COSE algorithm identifiers.)  They have done what they needed to do to remove the ambiguities arising in practice from use of polymorphic algorithm identifiers for their use cases.
> 
> Note that by the time that we registered the ES256K algorithm for signing with the secp256k1 curve in RFC 8812, we were aware of the problem and intentionally made ES256K non-polymorphic - both for JOSE and for COSE.
> 
> I believe that we should create a policy requiring that all future algorithm registrations should be non-polymorphic.  Furthermore, I believe we should consider defining and registering new non-polymorphic algorithm identifiers so that use of the existing polymorphic algorithm identifiers can be avoided and deprecated.

+1

Anders
> 
> 				-- Mike
> 
> -----Original Message-----
> From: COSE <cose-bounces@ietf.org> On Behalf Of Ilari Liusvaara
> Sent: Saturday, June 19, 2021 4:19 AM
> To: Anders Rundgren <anders.rundgren.net@gmail.com>
> Cc: cose@ietf.org
> Subject: Re: [COSE] FIDO/WebAuthn redefined the COSE EdDSA (-8) algorithm
> 
> On Sat, Jun 05, 2021 at 10:46:49AM +0200, Anders Rundgren wrote:
>> On 2021-06-05 9:49, Ilari Liusvaara wrote:
>>> On Sat, Jun 05, 2021 at 08:17:48AM +0200, Anders Rundgren wrote:
>>>> F.Y.I.
>>>> When a key is to be generated, the FIDO/WebAuthn "create" API
>>>> provides a list of COSE signature algorithms.  To save some bytes
>>>> they overloaded EdDSA so that it would mean EdDSA with an Ed25519 key.
>>>> Seen in retrospect this was obviously a mistake since this doesn't
>>>> extend to Ed448.
>>>>
>>>> However, I believe the mistake was really making EdDSA a signature
>>>> algorithm.  The "family" concept fits squarely with most
>>>> cryptographic APIs that typically only deals with specific
>>>> algorithms.
>>>
>>> IMO, the mistake is using signature algorithm to specify a key type.
>>> That is not just wrong for EdDSA, it is also wrong for ECDSA (e.g,
>>> ES512 does not have unique key type).
>>>
>>> The key create command should take the algorithm of the key as
>>> parameter, and the sole cryptogrphic algorithm it is intended for,
>>> in case there are multiple possibilities (using the same key with
>>> multiple algorithms is not cryptographically kosher).
>>>
>>> Almost every signature framework I have ever seen contains the
>>> mistake that the framework lets message and key contradict each
>>> other. Usually the specification says something like "MUST check",
>>> but in practice this is a major source of security issues. Then some
>>> folks have weaponized these issues to fuel anti-algorithm-agility
>>> agenda. For COSE, I spot 6 classes (RSA, ECDSA, ECDSA with bitcoin
>>> curve, Ed25519/Ed448, HSS-LMS and WalnutDSA) of incompatible non-overlapped signature algorithms.
>>>
>>> In one of my projects, I had case of flawed signature key create
>>> command (it was not this, but some other interface flaw). I ended up
>>> creating another key create command with saner semantics.
>>
>> Leaving broken cryptographic frameworks aside, how about a "historical
>> compromise" where EdDSA without any specific key information would
>> default to Ed25519 keys?
>>
>> In the same vein the currently unassigned -9 could do the same for
>> Ed448 just to keep the symmetry :)
> 
> Is my understanding correct that FIDO/WebAuthn create key API takes in COSE _algorithm_ number and uses it to decide type of key to create?
> 
> 
> If so, FIDO/WebAuthn create key API is just plain flawed. I do not think it is good idea to try "fix" that in COSE, especially given that the changes seem to increase risk of error in other contexts.
> 
> One really nasty hack that would not cause too much security trouble would be to reserve algid -9 so that FIDO/WebAuthn create key API interprets any request with algid=-9 as request to create Ed448 key that is to be used with EdDSA(algid=-8). But nothing else recognizes that as anything valid. In practicular, a message with algid -9 gets rejected as unknown signature algorithm (even if key is Ed448).
> 
>> The revised identifiers could for example be called something like
>> EdDSA[Ed25519] and EdDSA[Ed448] respectively.
>>
>> This is indeed a bit ugly but it
>> - doesn't break existing code
>> - follows (albeit in a reversed fashion) your ideas about key-driven
>>    signature algorithms.
> 
> IMO: Reversing key-driven signature algorithms is VERY bad idea. The whole purpose is to force implementation do needed checks, instead of allowing implementation to skip them and that being a potential security problem.
> 
> I have coded signature validation, and found that I need to plub in the type of key. Extra code yes, but if I did not have to do that, I might have forgotten to check the key type, possibly resulting in an security issue.
> 
> And for not breaking existing code, all EdDSA signatures must use the
> -8 algid, so the Ed448 algid can not appear in any message.
> 
> 
>> The only viable alternative (AFAICT...), is either stalling progress
>> by forcing API upgrades, or continued "misuse" of existing standards.
>> It is a bit like choosing between pest or cholera :)
> 
> If my understanding of the issue is correct, the API should be deprecated and replaced by new one.
> 
> 
> -Ilari
> 
> _______________________________________________
> COSE mailing list
> COSE@ietf.org
> https://www.ietf.org/mailman/listinfo/cose
> 


From nobody Wed Jun 23 12:02:18 2021
Return-Path: <lgl@island-resort.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7C7623A0BF7 for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 12:02:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.894
X-Spam-Level: 
X-Spam-Status: No, score=-1.894 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=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 bXREjfhBPVVd for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 12:02:07 -0700 (PDT)
Received: from p3plsmtpa07-08.prod.phx3.secureserver.net (p3plsmtpa07-08.prod.phx3.secureserver.net [173.201.192.237]) (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 4261B3A0BF8 for <cose@ietf.org>; Wed, 23 Jun 2021 12:02:03 -0700 (PDT)
Received: from [192.168.4.71] ([135.180.5.239]) by :SMTPAUTH: with ESMTPSA id w88MlrQuCh0Waw88OlrP69; Wed, 23 Jun 2021 12:02:01 -0700
X-CMAE-Analysis: v=2.4 cv=Q7kXX66a c=1 sm=1 tr=0 ts=60d38529 a=yGLcT55IBd5ZT4hal3HKuA==:117 a=yGLcT55IBd5ZT4hal3HKuA==:17 a=48vgC7mUAAAA:8 a=EHUrw8pcE8hyWR5JbCYA:9 a=CjuIK1q_8ugA:10 a=YBqx0pMdk1sE-v_x:21 a=_W_S_7VecoQA:10 a=w1C3t2QeGrPiZgrLijVG:22
X-SECURESERVER-ACCT: lgl@island-resort.com
From: Laurence Lundblade <lgl@island-resort.com>
Message-Id: <E9C84C77-C0C8-48FD-A73A-A4F145E6283B@island-resort.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_9781AF2D-F952-403A-9E0E-1A78FBC61660"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\))
Date: Wed, 23 Jun 2021 12:01:57 -0700
In-Reply-To: <SA0PR00MB1033A4DEA441628688DF227FF5089@SA0PR00MB1033.namprd00.prod.outlook.com>
Cc: "ilariliusvaara@welho.com" <ilariliusvaara@welho.com>, "anders.rundgren.net@gmail.com" <anders.rundgren.net@gmail.com>, "cose@ietf.org" <cose@ietf.org>
To: Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>
References: <SA0PR00MB1033A4DEA441628688DF227FF5089@SA0PR00MB1033.namprd00.prod.outlook.com>
X-Mailer: Apple Mail (2.3608.120.23.2.1)
X-CMAE-Envelope: MS4xfHBKfldSihc8h2YgNIvkcLpZpaPJqmupi9V+k8N99ApvgrAdfKuns4yrMBGXuv7lCmTDaQz06JcVfbMqTtzmJ+I2O77qvuGRJP8nTUAcjyjb8cAJocnb Dbl4/E40BfNU0Lj9a2jkfEuxsvFdh1d6xQwrpiORGZBvGb0lEyBpYxwdsBPmmMEmtZsKlEoFrkd/jIDMZvTZ+UrRWMeGlFk57E6IBudAdDxf3m5NR0avsu9C iQFfRE4AOhaHrNNHn+gpe0BYVoHAcw6tcVn22N1KLFH1/7dFE7qHQldbkQtuih2aynjZk2x/fsUrF16k/lLWLsuhU3Qwtsj6wrKvv6f7KtY=
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/_J3KUjbqFqhE7yB_8Gd9C3v9tHc>
Subject: Re: [COSE] FIDO/WebAuthn redefined the COSE EdDSA (-8) algorithm
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jun 2021 19:02:11 -0000

--Apple-Mail=_9781AF2D-F952-403A-9E0E-1A78FBC61660
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii



> On Jun 23, 2021, at 9:42 AM, Mike Jones =
<Michael.Jones=3D40microsoft.com@dmarc.ietf.org> wrote:
>=20
> The WebAuthn and FIDO2 working group members had thought that the COSE =
algorithm semantics were the same as those for JOSE, where algorithm =
identifiers are not polymorphic.  They were wrong, but that's water =
under the bridge now.  The FIDO/WebAuthn usage of the algorithm =
identifiers requires that the identifiers used unambiguously specify all =
algorithm parameters.  (Note that FIDO/WebAuthn does not use COSE =
signatures - only COSE algorithm identifiers.)  They have done what they =
needed to do to remove the ambiguities arising in practice from use of =
polymorphic algorithm identifiers for their use cases.
>=20
> Note that by the time that we registered the ES256K algorithm for =
signing with the secp256k1 curve in RFC 8812, we were aware of the =
problem and intentionally made ES256K non-polymorphic - both for JOSE =
and for COSE.
>=20
> I believe that we should create a policy requiring that all future =
algorithm registrations should be non-polymorphic.  Furthermore, I =
believe we should consider defining and registering new non-polymorphic =
algorithm identifiers so that use of the existing polymorphic algorithm =
identifiers can be avoided and deprecated.

This seems good to me.

Going a bit further, the binding to a particular hash function seems =
important too. Aside from the security reasons, it makes means that an =
algorithm ID always selects a function that takes an arbitrary number of =
unstructured bytes to be signed/verified which makes implementation of =
crypto APIs cleaner and reduces code size.

It also seems more convenient in protocols like FIDO. You only need to =
carry a single integer around. My recollection of ASN.1 is that the =
structure of an algorithm specifier varies by algorithm which makes =
writing code for it more complex. You have to decode a structure that =
specifies a hash rather than just switch on an integer.

LL




--Apple-Mail=_9781AF2D-F952-403A-9E0E-1A78FBC61660
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br =
class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On Jun 23, 2021, at 9:42 AM, Mike Jones &lt;<a =
href=3D"mailto:Michael.Jones=3D40microsoft.com@dmarc.ietf.org" =
class=3D"">Michael.Jones=3D40microsoft.com@dmarc.ietf.org</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><span =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; =
display: inline !important;" class=3D"">The WebAuthn and FIDO2 working =
group members had thought that the COSE algorithm semantics were the =
same as those for JOSE, where algorithm identifiers are not polymorphic. =
&nbsp;They were wrong, but that's water under the bridge now. &nbsp;The =
FIDO/WebAuthn usage of the algorithm identifiers requires that the =
identifiers used unambiguously specify all algorithm parameters. =
&nbsp;(Note that FIDO/WebAuthn does not use COSE signatures - only COSE =
algorithm identifiers.) &nbsp;They have done what they needed to do to =
remove the ambiguities arising in practice from use of polymorphic =
algorithm identifiers for their use cases.</span><br style=3D"caret-color:=
 rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><br style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">Note that by the time that we registered the ES256K algorithm =
for signing with the secp256k1 curve in RFC 8812, we were aware of the =
problem and intentionally made ES256K non-polymorphic - both for JOSE =
and for COSE.</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;" class=3D"">I believe =
that we should create a policy requiring that all future algorithm =
registrations should be non-polymorphic. &nbsp;Furthermore, I believe we =
should consider defining and registering new non-polymorphic algorithm =
identifiers so that use of the existing polymorphic algorithm =
identifiers can be avoided and =
deprecated.</span></div></blockquote></div><br class=3D""><div =
class=3D"">This seems good to me.</div><div class=3D""><br =
class=3D""></div><div class=3D"">Going a bit further, the binding to a =
particular hash function seems important too. Aside from the security =
reasons, it makes means that an algorithm ID always selects a function =
that takes an arbitrary number of unstructured bytes to be =
signed/verified which makes implementation of crypto APIs cleaner and =
reduces code size.</div><div class=3D""><br class=3D""></div><div =
class=3D"">It also seems more convenient in protocols like FIDO. You =
only need to carry a single integer around. My recollection of ASN.1 is =
that the structure of an algorithm specifier varies by algorithm which =
makes writing code for it more complex. You have to decode a structure =
that specifies a hash rather than just switch on an integer.</div><div =
class=3D""><br class=3D""></div><div class=3D"">LL</div><div =
class=3D""><br class=3D""></div><div class=3D""><br class=3D""></div><div =
class=3D""><br class=3D""></div></body></html>=

--Apple-Mail=_9781AF2D-F952-403A-9E0E-1A78FBC61660--


From nobody Wed Jun 23 13:10:44 2021
Return-Path: <mcr@sandelman.ca>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CE3233A3ECE for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 13:10:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 2.478
X-Spam-Level: **
X-Spam-Status: No, score=2.478 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_SBL_CSS=3.335, RCVD_IN_XBL=0.375, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=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 rVR8aipmkaWH for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 13:10:37 -0700 (PDT)
Received: from relay.sandelman.ca (minerva.sandelman.ca [IPv6:2a01:7e00::3d:b000]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8F6193A3EF1 for <cose@ietf.org>; Wed, 23 Jun 2021 13:10:36 -0700 (PDT)
Received: from dooku.sandelman.ca (unknown [IPv6:2607:f0b0:f:40::146]) by relay.sandelman.ca (Postfix) with ESMTPS id B00BA1F455; Wed, 23 Jun 2021 20:10:34 +0000 (UTC)
Received: by dooku.sandelman.ca (Postfix, from userid 179) id CDAA61A01E3; Wed, 23 Jun 2021 16:10:33 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>, "anders.rundgren.net\@gmail.com" <anders.rundgren.net@gmail.com>, "cose\@ietf.org" <cose@ietf.org>
In-reply-to: <SA0PR00MB1033A4DEA441628688DF227FF5089@SA0PR00MB1033.namprd00.prod.outlook.com>
References: <SA0PR00MB1033A4DEA441628688DF227FF5089@SA0PR00MB1033.namprd00.prod.outlook.com>
Comments: In-reply-to Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org> message dated "Wed, 23 Jun 2021 16:42:10 -0000."
X-Mailer: MH-E 8.6+git; nmh 1.7.1; GNU Emacs 26.3
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature"
Date: Wed, 23 Jun 2021 16:10:33 -0400
Message-ID: <8035.1624479033@dooku>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/OAwJ86NR8hdbxvCcuFps3Gq_ykE>
Subject: Re: [COSE] FIDO/WebAuthn redefined the COSE EdDSA (-8) algorithm
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jun 2021 20:10:42 -0000

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable


Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org> wrote:
    > The WebAuthn and FIDO2 working group members had thought that the COSE
    > algorithm semantics were the same as those for JOSE, where algorithm
    > identifiers are not polymorphic.  They were wrong, but that's water
    > under the bridge now.  The FIDO/WebAuthn usage of the algorithm
    > identifiers requires that the identifiers used unambiguously specify
    > all algorithm parameters.  (Note that FIDO/WebAuthn does not use COSE
    > signatures - only COSE algorithm identifiers.)  They have done what

It seems like maybe this is the origin of the problem?
Since they only use the identifiers, maybe it's really just WebAuthn's prob=
lem?

    > Note that by the time that we registered the ES256K algorithm for
    > signing with the secp256k1 curve in RFC 8812, we were aware of the
    > problem and intentionally made ES256K non-polymorphic - both for JOSE
    > and for COSE.

okay.

    > I believe that we should create a policy requiring that all future
    > algorithm registrations should be non-polymorphic.  Furthermore, I
    > believe we should consider defining and registering new non-polymorph=
ic
    > algorithm identifiers so that use of the existing polymorphic algorit=
hm
    > identifiers can be avoided and deprecated.

I don't feel strongly here.
If going that way would surprise fewer people, then okay.

=2D-=20
]               Never tell me the odds!                 | ipv6 mesh network=
s [=20
]   Michael Richardson, Sandelman Software Works        | network architect=
  [=20
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails  =
  [=20
=09

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

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

iQEzBAEBCgAdFiEERK+9HEcJHTJ9UqTMlUzhVv38QpAFAmDTlTkACgkQlUzhVv38
QpCdIQgAnlxGoW3mA3GaaRAfsmZlODYbfP4wcW3YJHPxaccEuQCfogHpQ7UTWVUg
BKaVw7lrUfukW2vY4u34yWU+Wmat79fVGFu/NUPHOurN0JSjA92l8tZKOUKYN1QX
1nGFvDprpcXkzHISINtCpOhM69KXKZBSpfC05hcTTNHjsCo0pj76OtL4T5WBd4SA
SLt2DOKOTRb6zl6OmhHq7EoIRLlrCb9+vbLLiBq5ZStGAbmfnggDY/L21xRFyP4v
v9LA3ObWpLm0lcihWTr5Bku7hf6XggGpiKYEXDRyiogCTobZE7aVeRjcVE7SVmqq
7q/FLFLte8/NNEnLrlvMEpXB0yM4Ow==
=ag53
-----END PGP SIGNATURE-----
--=-=-=--


From nobody Wed Jun 23 14:00:07 2021
Return-Path: <john.mattsson@ericsson.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C3CDB3A4042 for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 14:00:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.297
X-Spam-Level: 
X-Spam-Status: No, score=-2.297 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.198, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nv8R7RncLt_M for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 13:59:59 -0700 (PDT)
Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50047.outbound.protection.outlook.com [40.107.5.47]) (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 368F63A4041 for <cose@ietf.org>; Wed, 23 Jun 2021 13:59:59 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bQwtS0qlU9BE7dkdjy/IIpP2+j9yAXzk5HEBk8/bGOg0AwcC0SLpcFZyias7mKzqNxftxOycii2+qebiIrQtNkZxkadHk2GjLOpIrPyxSYYLVQIGi4lYAOsTPizhPYkC83aA++jY0r2KqMidlr4cMrbEJvNglk4MAxV4fRu8aUFPz1cErjA1sxx7SV8m5JwOFl9xS3KuMg2kR54PdJ9IrKp1jFDM7Z8253w/NnIoc4WxBLo/cDzGHVQGFvfKuIBakDAac0NjY0Lc7aHdR2vad/lTxuZ/OC5Vb1tPxIFRbxb2ubLdw+IwQbbn75uhAhoh3Rs0BZulF2WVhGUBJY1jlw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0va5QUZisZColy6VrStxUoiG7iWFNm12AeYV+myRVwc=; b=Yl3S5ZcuQYcuPNrhulPfPgamu9/mzYkM+4gZKWuPUidU0b2dk6SqTWJ9wiZaH1d6eRQTl98ahljFKKweC2wSdiRycECTgrS4Meox7I92ADxXqDNPs2zLWXX5xTm5JnObCQHYDOBLXJnr/7+xDC51gLMgKyL8gL7QpFxu5BSiHKJU4Sf+EjEU0vBOnBKB46BYrV8p+5uo1K56Ge2ZFFJpmPnTFVB0ysTtK7aGxfZIeq3mD2ppXvS89MWoCK7Gh0W7APiNkF7gW+l8ahSNaYwcGNB6FCs/11UiKqkutbo7cw9I5DHkhwJag7nQ1ebP6QtDygZReufTJaOI+p8DH2c3Tw==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=0va5QUZisZColy6VrStxUoiG7iWFNm12AeYV+myRVwc=; b=SE4P0Mjhv4sJwceTHy27khHypBwJkQVsmqDy2OxWeePYpzQ7CPbpPcmnVego0h/LGs2edgK9Sdwc5TFDkF5Pv+CcYGhEB56mEbwP1vMI6yIyRhPvQuQ15lpXqTwjOh9Z/TT3xpObIlNBa78eUgitTyrLmbsbtsI0DAu/eIBqBDY=
Received: from HE1PR0701MB3050.eurprd07.prod.outlook.com (2603:10a6:3:4b::8) by HE1PR0702MB3610.eurprd07.prod.outlook.com (2603:10a6:7:7f::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.16; Wed, 23 Jun 2021 20:59:55 +0000
Received: from HE1PR0701MB3050.eurprd07.prod.outlook.com ([fe80::b071:a4a:817d:2d3]) by HE1PR0701MB3050.eurprd07.prod.outlook.com ([fe80::b071:a4a:817d:2d3%11]) with mapi id 15.20.4264.019; Wed, 23 Jun 2021 20:59:55 +0000
From: John Mattsson <john.mattsson@ericsson.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>, Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>, "anders.rundgren.net@gmail.com" <anders.rundgren.net@gmail.com>, "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [COSE] FIDO/WebAuthn redefined the COSE EdDSA (-8) algorithm
Thread-Index: AddoTrRlsPqNiYKORvKBh3ZJLQ2cowAHR3qAAAEyiI4=
Date: Wed, 23 Jun 2021 20:59:54 +0000
Message-ID: <HE1PR0701MB3050DCFFB4F28A226389F42289089@HE1PR0701MB3050.eurprd07.prod.outlook.com>
References: <SA0PR00MB1033A4DEA441628688DF227FF5089@SA0PR00MB1033.namprd00.prod.outlook.com>, <8035.1624479033@dooku>
In-Reply-To: <8035.1624479033@dooku>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: sandelman.ca; dkim=none (message not signed) header.d=none;sandelman.ca; dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 7092d0c2-8481-41ad-f930-08d93689da4c
x-ms-traffictypediagnostic: HE1PR0702MB3610:
x-microsoft-antispam-prvs: <HE1PR0702MB36105D18189B1EB6FAF49FB289089@HE1PR0702MB3610.eurprd07.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: xN+Fy0e9wJOHuIv83KtlZ9lbpsfHw/mfBbZShtSqix2jU7s/Go1nNfrwgkv7/wqi3fC/EP45k6ckN39ZnYpzU4VFPho958blLkqNll5tDUAnsxy1N9/4FhxW3mBE3XK6O//mRrueFXkROgbOWEK8Y+/M6trBWHB3FGcVc/cwwJedO+YeGmBx49EsUsJR8qv0lnbmYhI19nhwlDowr4wpWv7fQsO8hGJlOxFz3O/bZ3LEQ4Z7YSDAQT4xR8LcqV64guS/FpKFQ9zNaj4MWwriSwouXMRrOFBrEKZRlctumVU8UW3ZYYvatbc1pJCJPSdzkDWqOzb/m4lcHxRhBvD0oJUJ/L8Mq+n9+8s+yLQ1CjEgLlk2J5EHPrNrFIbD46RvnhVycq3iLQUoZRKCKETc2uQm5MJ+eURlngdaZVogc/ZG+kGtZ09hI270c3Chq3URJVXOKeOp5bXZYxrfMeVzO88lLW55JJukw844rzKdzdZjaa6QzSn09PkMcK5r6g1HqBlfIFQb3EVQfVWWzE2MDytykL32GGL1t3wprgj2mke8XhyXuQo3fbWUVUi5dTfo9dy+TwTFaxPg6IZr/zYgTjRwvZE+X5Ia+ExAMHJ8ZAktgJHWUSrlYVXOYEvKdq61UutAcsPSo8zcKJEddSS9Pu+n+vrOAiEwBz79P3iRbjatY8tMHYfMTaenhn6/zIdIws6ZYEoczJe1fzYRbQ0xkStyIAslUmMErukZkWQGmeU=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:HE1PR0701MB3050.eurprd07.prod.outlook.com; PTR:; CAT:NONE;  SFS:(4636009)(396003)(346002)(39860400002)(136003)(376002)(366004)(122000001)(38100700002)(83380400001)(2906002)(8936002)(52536014)(9686003)(71200400001)(55016002)(8676002)(86362001)(26005)(66556008)(64756008)(5660300002)(66946007)(76116006)(44832011)(316002)(110136005)(186003)(66476007)(166002)(66446008)(478600001)(53546011)(33656002)(7696005)(966005)(6506007); DIR:OUT; SFP:1101; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?6Sw5mKxNzoNwLBZe8Glx1TViPS6Yp2P4NPDMdZf03FeILGt9IHNemKh2YYnE?= =?us-ascii?Q?G1ipCmBXxrkGNrhyw7uSRZWCK5HebR7SARlFAfS0+7NOOqYul9tFpJngMMGP?= =?us-ascii?Q?EFHdCc4Ur+nZCilbfg5o4/1jJgZh54D6exmZtmUKMskJTvcobnCyxsjOEPFP?= =?us-ascii?Q?WzYCSN7djk+Mlfji83y817e+UxF2v4nvLKD4e71glP551wCC645M85WIGtze?= =?us-ascii?Q?BCu1JFdMkRV/klt7MCthSVDi7XzMZUdtNtPDK1/CE+a6SHZW8xxFTJB5t9Rc?= =?us-ascii?Q?3uyXZAjGg+FODfBf3AU5qC7KRkIu1vwH+R3J1rABTLHF+htxkf8Rfuo4z2jA?= =?us-ascii?Q?Wd+wCmH8zsJgE/Kz7dFbZd1RZ5UslMBvSLRwNLyTDCvfBMdjB8PRzm9fPMlK?= =?us-ascii?Q?Y0VmuoEvKhjAQaQwKtbBUdi7BVfF8pcxNmE5hwUjJW8O3kRA7bHk2RXlCvvP?= =?us-ascii?Q?nrFBQ3JyKek5d1AP0JDbckVHoddXwlaMUtCbYQMudZRP5NWk0QfiTYcLhvJH?= =?us-ascii?Q?TZoS86yK5+NL4hOSlPXTEClHjF8cXqceZ4LdbcR14IuCVjSGlJx14VC+I0pb?= =?us-ascii?Q?6tRY3LobpOWdhjmzjbllOU7omQTyy6lJSdVZy5iE307dKYxSw8nC+LnDO7fI?= =?us-ascii?Q?6+KNfLHEefCdL4z+DzwlcjU6zccXaakElWLNfVjOz5VYjQLogC8qwSHoE5Kh?= =?us-ascii?Q?rbpvZmga+z73Qln8+78C/vfkcsDWEm0y9G68llKwoKMlTAO0W69U4Jy9naJq?= =?us-ascii?Q?FALXVU4lPJopss4r8wCbxIIrRYoxvR8WMCT2ZhOxgGmAQ3JdYCyAh09JW4gc?= =?us-ascii?Q?vK6mSgLOAIgOijuVqZ9+uwKZGKquWkpuJse7TiGqBYPoGJhsv8Aavm52fXEv?= =?us-ascii?Q?bLIcYYHy7xfYq4Ja/e6TCzw73qxjWW8vy5Wf3anEJOfeBrwdzWpIcYs3LG8F?= =?us-ascii?Q?jem/tp+oSxnz6L9nOptnaTXMP9WSnlxrrsMQCLRS4htzC71l8IaGmpWHtPqf?= =?us-ascii?Q?4ZrFPNcGnUZGiZh2/uzWW34ESlwjGfPL4yY3OLOCbtvtJ4PJqJwtIdr6K/62?= =?us-ascii?Q?KkYzbO146GNIYjyubQ+hRF8Ptm/4f8BrHF3gYNHO7vFBjmYVGGYRh3KyVKDm?= =?us-ascii?Q?reyRW8nhxe5nC1hrGrZAZ5YUqdfOT4YMKd7cLBNAvpFlLhk36qaxgN6vAsK4?= =?us-ascii?Q?OIzczUEJdCeRqJl9IGl2ofP87zwOLRID06pBew30cOGvFmXMKD4jIXJ5q8QJ?= =?us-ascii?Q?L0WF628l795+fTz1VnbJSghzK9Ws5ZP9QHDBQV078Zp8BB7cBw6lUyr/VyaV?= =?us-ascii?Q?x9cYI8nJ9J9WIvu9PwWnzUbXlR8NJgJSbaiLA3a8gfuEfw=3D=3D?=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_HE1PR0701MB3050DCFFB4F28A226389F42289089HE1PR0701MB3050_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR0701MB3050.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 7092d0c2-8481-41ad-f930-08d93689da4c
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Jun 2021 20:59:54.9803 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 1c/KNHZlhVXbxqgf31w4rFxLbttfjIl+NDWqw+G9LcjGf66ACsqXpIVnDo+K5rVFIHSgQEZfHuZGZofWfig0QP6nwqfy5El32hqQ2SyKGck=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0702MB3610
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/2cdgLK16WvwJJyVH5j1GpLZaPYo>
Subject: Re: [COSE] FIDO/WebAuthn redefined the COSE EdDSA (-8) algorithm
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 23 Jun 2021 21:00:06 -0000

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

Except helping FIDO/WebAuthn, what concrete benefits do you want to achieve=
 by duplicating the public key parameters in the signature algorithm?


> Furthermore, I
> believe we should consider defining and registering new non-polymorphic
> algorithm identifiers so that use of the existing polymorphic algorithm
> identifiers can be avoided and deprecated.

That seems a bit extreme unless it has _very_ strong benefits also for non-=
FIDO use cases.

Maybe the solution is to create a new parallel registry for FIDO/WebAuthn.


FYI, the same topic was discussed in January:
https://mailarchive.ietf.org/arch/msg/cose/4PIPilQY8a985StsFeft0No0-YI/

> But then there are exceptions, like ES256K [2] which bundles
> signature algorithm, hash function and elliptic curve.

I view that a past mistake.


From: COSE <cose-bounces@ietf.org> on behalf of Michael Richardson <mcr+iet=
f@sandelman.ca>
Date: Wednesday, 23 June 2021 at 22:10
To: Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org>, anders.run=
dgren.net@gmail.com <anders.rundgren.net@gmail.com>, cose@ietf.org <cose@ie=
tf.org>
Subject: Re: [COSE] FIDO/WebAuthn redefined the COSE EdDSA (-8) algorithm

Mike Jones <Michael.Jones=3D40microsoft.com@dmarc.ietf.org> wrote:
    > The WebAuthn and FIDO2 working group members had thought that the COS=
E
    > algorithm semantics were the same as those for JOSE, where algorithm
    > identifiers are not polymorphic.  They were wrong, but that's water
    > under the bridge now.  The FIDO/WebAuthn usage of the algorithm
    > identifiers requires that the identifiers used unambiguously specify
    > all algorithm parameters.  (Note that FIDO/WebAuthn does not use COSE
    > signatures - only COSE algorithm identifiers.)  They have done what

It seems like maybe this is the origin of the problem?
Since they only use the identifiers, maybe it's really just WebAuthn's prob=
lem?

    > Note that by the time that we registered the ES256K algorithm for
    > signing with the secp256k1 curve in RFC 8812, we were aware of the
    > problem and intentionally made ES256K non-polymorphic - both for JOSE
    > and for COSE.

okay.

    > I believe that we should create a policy requiring that all future
    > algorithm registrations should be non-polymorphic.  Furthermore, I
    > believe we should consider defining and registering new non-polymorph=
ic
    > algorithm identifiers so that use of the existing polymorphic algorit=
hm
    > identifiers can be avoided and deprecated.

I don't feel strongly here.
If going that way would surprise fewer people, then okay.

--
]               Never tell me the odds!                 | ipv6 mesh network=
s [
]   Michael Richardson, Sandelman Software Works        | network architect=
  [
]     mcr@sandelman.ca  https://protect2.fireeye.com/v1/url?k=3D98cb4a21-c7=
507324-98cb0aba-86d2114eab2f-45986f7a09c7f771&q=3D1&e=3Da8ba51b3-e454-4bba-=
8745-ba9b3ea383f0&u=3Dhttp%3A%2F%2Fwww.sandelman.ca%2F        |   ruby on r=
ails    [


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

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc=
hemas-microsoft-com:office:word" xmlns:m=3D"http://schemas.microsoft.com/of=
fice/2004/12/omml" xmlns=3D"http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style>
</head>
<body lang=3D"en-SE" link=3D"blue" vlink=3D"purple" style=3D"word-wrap:brea=
k-word">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"mso-fareast-language:E=
N-US">Except helping FIDO/</span><span style=3D"font-size:12.0pt;color:blac=
k">WebAuthn</span><span lang=3D"EN-US" style=3D"font-size:12.0pt;color:blac=
k">, what concrete benefits do you want to achieve
 by duplicating the public key parameters in the signature algorithm?<o:p><=
/o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:12.0pt;color=
:black"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:12.0pt;color=
:black"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">&gt; </span>Furthermore, I<br>
&gt; believe we should consider defining and registering new non-polymorphi=
c<br>
&gt; algorithm identifiers so that use of the existing polymorphic algorith=
m<br>
&gt; identifiers can be avoided and deprecated.<span lang=3D"EN-US" style=
=3D"font-size:12.0pt;color:black"><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"mso-fareast-language:E=
N-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"mso-fareast-language:E=
N-US">That seems a bit extreme unless it has _<i>very</i>_ strong benefits =
also for non-FIDO use cases.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"mso-fareast-language:E=
N-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"mso-fareast-language:E=
N-US">Maybe the solution is to create a new parallel registry for FIDO/</sp=
an><span style=3D"font-size:12.0pt;color:black">WebAuthn</span><span lang=
=3D"EN-US" style=3D"font-size:12.0pt;color:black">.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;color:black"><o:p>&n=
bsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;color:black"><o:p>&n=
bsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:12.0pt;color=
:black">FYI, the same topic was discussed in January:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;color:black"><a href=
=3D"https://mailarchive.ietf.org/arch/msg/cose/4PIPilQY8a985StsFeft0No0-YI/=
">https://mailarchive.ietf.org/arch/msg/cose/4PIPilQY8a985StsFeft0No0-YI/</=
a><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:12.0pt;color:black"><o:p>&n=
bsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;">&gt; But then there are exceptions, like ES256K [2] which =
bundles<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;">&gt; signature algorithm, hash function and elliptic curve=
.
<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:10.0pt;font-family:&quot;Co=
urier New&quot;">I view that a past mistake.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"mso-fareast-language:EN-US"><o:p>&nbs=
p;</o:p></span></p>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:0cm;margin-right:0cm;mar=
gin-bottom:12.0pt;margin-left:36.0pt">
<b><span style=3D"font-size:12.0pt;color:black">From: </span></b><span styl=
e=3D"font-size:12.0pt;color:black">COSE &lt;cose-bounces@ietf.org&gt; on be=
half of Michael Richardson &lt;mcr+ietf@sandelman.ca&gt;<br>
<b>Date: </b>Wednesday, 23 June 2021 at 22:10<br>
<b>To: </b>Mike Jones &lt;Michael.Jones=3D40microsoft.com@dmarc.ietf.org&gt=
;, anders.rundgren.net@gmail.com &lt;anders.rundgren.net@gmail.com&gt;, cos=
e@ietf.org &lt;cose@ietf.org&gt;<br>
<b>Subject: </b>Re: [COSE] FIDO/WebAuthn redefined the COSE EdDSA (-8) algo=
rithm<o:p></o:p></span></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-left:36.0pt"><br>
Mike Jones &lt;Michael.Jones=3D40microsoft.com@dmarc.ietf.org&gt; wrote:<br=
>
&nbsp;&nbsp;&nbsp; &gt; The WebAuthn and FIDO2 working group members had th=
ought that the COSE<br>
&nbsp;&nbsp;&nbsp; &gt; algorithm semantics were the same as those for JOSE=
, where algorithm<br>
&nbsp;&nbsp;&nbsp; &gt; identifiers are not polymorphic.&nbsp; They were wr=
ong, but that's water<br>
&nbsp;&nbsp;&nbsp; &gt; under the bridge now.&nbsp; The FIDO/WebAuthn usage=
 of the algorithm<br>
&nbsp;&nbsp;&nbsp; &gt; identifiers requires that the identifiers used unam=
biguously specify<br>
&nbsp;&nbsp;&nbsp; &gt; all algorithm parameters.&nbsp; (Note that FIDO/Web=
Authn does not use COSE<br>
&nbsp;&nbsp;&nbsp; &gt; signatures - only COSE algorithm identifiers.)&nbsp=
; They have done what<br>
<br>
It seems like maybe this is the origin of the problem?<br>
Since they only use the identifiers, maybe it's really just WebAuthn's prob=
lem?<br>
<br>
&nbsp;&nbsp;&nbsp; &gt; Note that by the time that we registered the ES256K=
 algorithm for<br>
&nbsp;&nbsp;&nbsp; &gt; signing with the secp256k1 curve in RFC 8812, we we=
re aware of the<br>
&nbsp;&nbsp;&nbsp; &gt; problem and intentionally made ES256K non-polymorph=
ic - both for JOSE<br>
&nbsp;&nbsp;&nbsp; &gt; and for COSE.<br>
<br>
okay.<br>
<br>
&nbsp;&nbsp;&nbsp; &gt; I believe that we should create a policy requiring =
that all future<br>
&nbsp;&nbsp;&nbsp; &gt; algorithm registrations should be non-polymorphic.&=
nbsp; Furthermore, I<br>
&nbsp;&nbsp;&nbsp; &gt; believe we should consider defining and registering=
 new non-polymorphic<br>
&nbsp;&nbsp;&nbsp; &gt; algorithm identifiers so that use of the existing p=
olymorphic algorithm<br>
&nbsp;&nbsp;&nbsp; &gt; identifiers can be avoided and deprecated.<br>
<br>
I don't feel strongly here.<br>
If going that way would surprise fewer people, then okay.<br>
<br>
-- <br>
]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp; Never tell me the odds!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | ipv6 mesh network=
s [ <br>
]&nbsp;&nbsp; Michael Richardson, Sandelman Software Works&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp; | network architect&nbsp; [ <br>
]&nbsp;&nbsp;&nbsp;&nbsp; mcr@sandelman.ca&nbsp; <a href=3D"https://protect=
2.fireeye.com/v1/url?k=3D98cb4a21-c7507324-98cb0aba-86d2114eab2f-45986f7a09=
c7f771&amp;q=3D1&amp;e=3Da8ba51b3-e454-4bba-8745-ba9b3ea383f0&amp;u=3Dhttp%=
3A%2F%2Fwww.sandelman.ca%2F">
https://protect2.fireeye.com/v1/url?k=3D98cb4a21-c7507324-98cb0aba-86d2114e=
ab2f-45986f7a09c7f771&amp;q=3D1&amp;e=3Da8ba51b3-e454-4bba-8745-ba9b3ea383f=
0&amp;u=3Dhttp%3A%2F%2Fwww.sandelman.ca%2F</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp; |&nbsp;&nbsp; ruby on rails&nbsp;&nbsp;&nbsp; [
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <o:p></o:p></p>
</div>
</div>
</body>
</html>

--_000_HE1PR0701MB3050DCFFB4F28A226389F42289089HE1PR0701MB3050_--


From nobody Wed Jun 23 17:56:59 2021
Return-Path: <kyle.denhartog@mattr.global>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6359B3A1911 for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 17:56: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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=mattrglobal242.onmicrosoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01iZQkYI89dV for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 17:56:47 -0700 (PDT)
Received: from AUS01-ME3-obe.outbound.protection.outlook.com (mail-me3aus01on2110.outbound.protection.outlook.com [40.107.108.110]) (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 0431E3A18F5 for <cose@ietf.org>; Wed, 23 Jun 2021 17:56:45 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=PVd03z/dfhFsuOWf0D6ZX5rqCw/bE16kbil8tIHlS9WZJ8G0CBF6cze0OBmkH9fWeI/Ii3WyWSwQ0Kuu+tOhwZ//mmaIupdqCeKEmfW4FZBWuSm+9LIVKRdCZRCvHheGKS0fp2EgSQ5JeHaERhEKnddWuyH84ZdPgfXtBFS7uDPPIUk8agHkLb52YKr8sOSOEvHeep5x5ceuNgcff4XUq/g/Nk21Uh4xv07AyaSaiAzFFYrx1cMm4RnFqv5Iwx7d+H/6Eypjwd6DAtmxZU+04cxv6x0YkO3PaTmvhLQc2UIizJvyXw8cVDbcviMVi5KiQX6ObrTJc7PKmRy2S0SEAg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;  s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=J16w+jHKBuB5mkSpv7HgZQfY8ctg6vH6+fmrRPsZb0Q=; b=C5vRArwxHZHe5TI578QBWhLsVoCEjQNUVE4SSQztXBY8cVQhQ6UJK5K8I0lxYsYrXGk/c21V2tDvMkS0H+om1oaPiHorBwXVyrNW/u9mV08Nv5L82/s91/eu/6jcjWTG21n7qVzjtAIN/niFPsPiiOxtasAWZS8AEOmsFSK8At0Kr7YxxD+19OLTJ/KIs4cXNC7J3KBxxc53wlteXTRzJkMV2/cdkq4+YdRQVRpoe4YIBv3ybMcFCAfVVt6DJTjQMZWv+BbWUJtU558PzKuMwFeiPwTcR/88+INQMkJ/1xu/cgFWieo9Fhym5iRUeboyAn1x1Y3x9q7oH4qeAREhtA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mattr.global; dmarc=pass action=none header.from=mattr.global; dkim=pass header.d=mattr.global; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mattrglobal242.onmicrosoft.com; s=selector1-mattrglobal242-onmicrosoft-com;  h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=J16w+jHKBuB5mkSpv7HgZQfY8ctg6vH6+fmrRPsZb0Q=; b=K92sYHXRzk5tvbpzyJLn6GEqvf5+ln2C5lyXXrbouFxOjp2ZMs7sJrxi15oYz9ll5sIP+vAhp4YQMAVMrTntgkNFCGrZG454KIt+S1orb0sWoseSDE0RC2zp6WiG5nE6lvmhojI1hDOzTnB3AWBaDFbIjWd38QIF5N7TMBUHnmw=
Received: from SY4P282MB0796.AUSP282.PROD.OUTLOOK.COM (2603:10c6:10:a9::8) by SYYP282MB1838.AUSP282.PROD.OUTLOOK.COM (2603:10c6:10:78::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.18; Thu, 24 Jun 2021 00:56:41 +0000
Received: from SY4P282MB0796.AUSP282.PROD.OUTLOOK.COM ([fe80::4081:9963:542b:6a06]) by SY4P282MB0796.AUSP282.PROD.OUTLOOK.COM ([fe80::4081:9963:542b:6a06%5]) with mapi id 15.20.4264.019; Thu, 24 Jun 2021 00:56:41 +0000
From: Kyle Den Hartog <kyle.denhartog@mattr.global>
To: "cose@ietf.org" <cose@ietf.org>
Thread-Topic: Interest in pairing friendly curves representation draft?
Thread-Index: AQHXaJMSHtMPv4uefUeKT14G7kr06g==
Date: Thu, 24 Jun 2021 00:56:41 +0000
Message-ID: <SY4P282MB0796133AAFC7415E44185F8EFC079@SY4P282MB0796.AUSP282.PROD.OUTLOOK.COM>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: ietf.org; dkim=none (message not signed) header.d=none;ietf.org; dmarc=none action=none header.from=mattr.global;
x-originating-ip: [2403:4d00:301:a65:55f1:f75f:46d2:ef6e]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 5f45887d-b969-4418-0080-08d936aaee12
x-ms-traffictypediagnostic: SYYP282MB1838:
x-microsoft-antispam-prvs: <SYYP282MB183862669ED0DC8D628A9242FC079@SYYP282MB1838.AUSP282.PROD.OUTLOOK.COM>
x-ms-oob-tlc-oobclassifiers: OLM:9508;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: huaFnpD5fkV7wMPV3J2uheLuHWl9+Bjc8j39dbcvR1zAfikMcfuXnVplOamnw8nF8+Wr8614rONZ4V3pEgpfQuQRqH781i8CJz4MEM1NF13JCsH5GqWcPDVuYzrrK2q9qU7usgPWGtMBqAYtZwJOuSosfp19oOX0IGeTbT1bgzwX0uIUF7b+l3UgvRGqKLzDMOl/JocGag41sh0gNGH3Vv8VB7HyqveHSwVJrxcVKSTxMXHt39nc5eEw2oGduvwJ/yjjVmLyxGDRgFj52qzeUUYNPxmpaCwjh464wt3MKRPgW3qUw9TymGkoNs+RT42jG9LegbCd0sc4S8WrIAt+fk9K1VD5aeAAK+XNK0AdQ19yA3nq1H+/3eso1OUlH6htbbgbKbpCUm7xPht8JS4z3/AZEGw89wA2tPRvVVuqwg/zXTSf473XvCO/YRt0gV6aslxTzAvXQoa3nKI2fde4BvCW6lJdLhla+aZDbtVV4YUuO7dCAb6RMJMoFHhNHoDqTrbP+vI2H3k/utJA3Wp/u6qKbS3nt4P0Y9A4Dn7bbCKOnrolqQjyEcFZ9NVpG1Mai4/CPLbj4M1jv0ihdbz+T3ZVNS/JnpcigKkO1th0JnWojZ8I3OFaCf1gNInkJ70H93hPMK8d3iQgVkYv5Wmeb9/GBsNX0LC4DEoLIrBJgi7bGcjfL4E70WVlq3e8z55d0NEEhrEFx/jvpE4kJ5ZP73jDyyymwrln3URwEglW+mRxQjvkNM6yP1OnnG8xYwqtsEFWv8TCP2ePiHwWzwRX8Q==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;  IPV:NLI; SFV:NSPM; H:SY4P282MB0796.AUSP282.PROD.OUTLOOK.COM; PTR:; CAT:NONE;  SFS:(376002)(396003)(346002)(366004)(136003)(39830400003)(55016002)(6506007)(52536014)(5660300002)(71200400001)(8676002)(66946007)(9686003)(478600001)(8936002)(19627405001)(2906002)(966005)(66556008)(66476007)(122000001)(186003)(166002)(64756008)(86362001)(83380400001)(66446008)(316002)(76116006)(33656002)(38100700002)(4744005)(6916009)(7696005); DIR:OUT; SFP:1102; 
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?tNe+2PbrVbcbE7mbDKDs1r0pDeuVUlDZsKwVPcrhtzO/kmWxOIgv5Izi1r?= =?iso-8859-1?Q?W5z4glvjfNT5Ip/qO5zofkzOLryRkb261AdyKKRzHoqhUJl8gfn2YIRw7q?= =?iso-8859-1?Q?lz27CaSddXxHp9hnSRRFmyAQWWJjfLaPtrOu/wg987Q7Bt3ZAsXDW6JR9u?= =?iso-8859-1?Q?Z/TgccYD8BScKKXHxnpwxhen9dLePZu2SRz17AmH4G96b1MO/GvFoFUCZ4?= =?iso-8859-1?Q?QhsM9Fc/zurl3p2vFhEHsBOsBZpTwK1PCMUqnudIQxSyyNZXPmVkcjXSFy?= =?iso-8859-1?Q?U9mMn3qGLx8evzM+pu8iFMcaTyNdN3PD0NpsT8rVSNEewk/vXRdQntRbex?= =?iso-8859-1?Q?60AJvrJXjohazjstTNYb4lF30ts0Xswxb+jQotanKv6pBgkgTikVGCZqVO?= =?iso-8859-1?Q?31KqIacsgGE2YweGeB6q6zs/8L7ZoLLLl4/298+GkeviaKjL4OP5NvYvZe?= =?iso-8859-1?Q?R5epYmVKZPD37SnYqgHxnrHG+RtzOl/LnPi/jNPFNPtOOLs04fO16/Br5A?= =?iso-8859-1?Q?/zk6Kb5enPsSwKZhQtro7yXol6/rVNG6nUjKlC5itSSOtZLjCZitHL5mP2?= =?iso-8859-1?Q?vIvdUp9trgPpw1rgNXO45n+uEyFUmPUknTWSB1ujMLrI8M6jwAyOebM+Eq?= =?iso-8859-1?Q?bZbymGflGs35BlTZRMvYllID1y1AQyEV2h0CqLAGfznZE3nMb5L62vjQKo?= =?iso-8859-1?Q?bkKUvtEZg6dbHGB3Ila4YekLSeYUtOYoedfYtKRjfdr25OzLeLRyYRUXpl?= =?iso-8859-1?Q?cayR+Xo7rDdHsfW5e+CnvIXKZILCNPmFvQf3e+0ihk1rYYT1G0gB1gU7I0?= =?iso-8859-1?Q?8NTaffGrPDJ59tCqA84hWgIPa2LbORu++M4OT6Vgb6MUsUcRdtDOrJrFBH?= =?iso-8859-1?Q?ycLTDaZBLui/0gU1ftGKRRoWPmYOCRa6/6iam1ZeX7bSivTE9ggBhcnu8H?= =?iso-8859-1?Q?9egrS6D8/v7Pt6SbZAZT+1SCYUWGSum599aM8O4LtS/sSC4IBlYMVxoIqn?= =?iso-8859-1?Q?DqWURJCdtBj8s5naxdjowJo3lUrDzJjs277r7djN8Vw+gqW6VBd4R67GJ8?= =?iso-8859-1?Q?zi/S8J8jwDdno91j85I5z6ColrAocDHm+QBgD8ZFQLxrpBqy6LUp4TJI64?= =?iso-8859-1?Q?rLR5/uHHNMkgcJ/Ru+wpo2imnlIWbpyQC4yNOZAugVnEHr9I/ZP5zbJ3Yz?= =?iso-8859-1?Q?nXYOcieHwCCVkQMS9GgS8viTNvsW4WjoyY9rAgcjs+daVrhYpsfpmHQaIe?= =?iso-8859-1?Q?PQdcFArBJcFFNs8zU+9m8z5Zb0GeIAGIoX+9197GDxiMThL5bs5xy6IzGO?= =?iso-8859-1?Q?uFrjk0vAYuMoQwC7mIu4T5zVfZefbpJS2h/9+G019nEmRJsbi3EpPKZLcb?= =?iso-8859-1?Q?0DzOklDnYZUjBCAK8I28AKusbknCpC67R+GoWdSfisXK2KU3uqQfw=3D?=
x-ms-exchange-transport-forked: True
Content-Type: multipart/alternative; boundary="_000_SY4P282MB0796133AAFC7415E44185F8EFC079SY4P282MB0796AUSP_"
MIME-Version: 1.0
X-OriginatorOrg: mattr.global
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SY4P282MB0796.AUSP282.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: 5f45887d-b969-4418-0080-08d936aaee12
X-MS-Exchange-CrossTenant-originalarrivaltime: 24 Jun 2021 00:56:41.5555 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: c2c9cf73-6aae-4702-9844-02adab723771
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: 8Fu+1MJFbebza3YqnIasvWWbgG2cypvy90P53gmJLxaWKbxR9FePajYlfeVQDJjrT3mROCXxbbUGd7RiTuUYCTxVuTmCbgYBH4SWVLAWJKA=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SYYP282MB1838
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/MmMAFrQWZZ87tz3gUoZ8lFr1Ais>
Subject: [COSE] Interest in pairing friendly curves representation draft?
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Jun 2021 00:56:58 -0000

--_000_SY4P282MB0796133AAFC7415E44185F8EFC079SY4P282MB0796AUSP_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Some of you may have seen this from the secdir email I sent out a few weeks=
 ago. I think I may have sent it to the wrong place in order to keep things=
 moving forward, so I'm going to try this list instead. If it's the wrong p=
lace as well, would someone mind pointing me in the right direction for whe=
re I should go to get some of these representations discussed/improved/and =
registered? I'm still just trying to learn the IETF process.

In short, I'm looking to move this draft[1] forward as a bit of a procedura=
l item to get some items registered for use in the decentralized identity c=
ommunity (and I suspect WebAuthn could have interest in some of these curve=
s as well).

What's the next best steps to get review and register these items?

[1] https://datatracker.ietf.org/doc/draft-denhartog-pairing-curves-jose-co=
se/

Thanks,
Kyle

--_000_SY4P282MB0796133AAFC7415E44185F8EFC079SY4P282MB0796AUSP_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Diso-8859-=
1">
<style type=3D"text/css" style=3D"display:none;"> P {margin-top:0;margin-bo=
ttom:0;} </style>
</head>
<body dir=3D"ltr">
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
Some of you may have seen this from the secdir email I sent out a few&nbsp;=
weeks ago. I think I may have sent it to the wrong place in order to keep t=
hings moving forward, so I'm going to try this list instead. If it's the wr=
ong place as well, would someone mind
 pointing me in the right direction for where I should go to get some of th=
ese representations discussed/improved/and registered? I'm still just tryin=
g to learn the IETF process.<br>
<br>
In short, I'm looking to move this draft[1] forward as a bit of a procedura=
l item to get some items registered for use in the decentralized identity c=
ommunity (and I suspect WebAuthn could have interest in some of these curve=
s as well).<br>
<br>
What's the next best steps to get review and register these items?<br>
<br>
[1]&nbsp;<a href=3D"https://datatracker.ietf.org/doc/draft-denhartog-pairin=
g-curves-jose-cose/" id=3D"LPlnk987422">https://datatracker.ietf.org/doc/dr=
aft-denhartog-pairing-curves-jose-cose/</a><br>
<br>
Thanks,</div>
<div style=3D"font-family: Calibri, Arial, Helvetica, sans-serif; font-size=
: 12pt; color: rgb(0, 0, 0);">
Kyle</div>
</body>
</html>

--_000_SY4P282MB0796133AAFC7415E44185F8EFC079SY4P282MB0796AUSP_--


From nobody Wed Jun 23 18:30:23 2021
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E85683A19BA for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 18:30:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.436
X-Spam-Level: 
X-Spam-Status: No, score=-2.436 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.338, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id beELx8zoZ92N for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 18:30:17 -0700 (PDT)
Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (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 989F33A19BB for <cose@ietf.org>; Wed, 23 Jun 2021 18:30:17 -0700 (PDT)
Received: by mail-wm1-x332.google.com with SMTP id m41-20020a05600c3b29b02901dcd3733f24so5137480wms.1 for <cose@ietf.org>; Wed, 23 Jun 2021 18:30:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=hoKmwDkr8KQoqjcs+JnQiTiEDnLkklSQZREZDEivjVo=; b=B4D9Sk6+2JANqNNgWs/ohoGIBIkt1YgUsVfLZalavLMgRhrtGrpeB8OwShqqO0LeK0 nljcW5t7zUEIRiDiyqiT2LS+g/KhP79PhNK1QmV8BhZWOkFAt8P0e8pVbtcyr/x9bH9x wBcybJkKNs8eek5vjqJ3thcvvgTnKomLVZiLJugwM9W6xRpbmszXhmzj3Ms7Mls0Tfg/ bvpr/lxVG0x/SEy1TcW2t43OHEiQCcpRN4t0bg4KqiO3fw2oQ5FOJ6NHRdwi6sIutNwE TUqnzHEOm4s4QJo22mgDFdtT+WqNVJrUTRoi5n8xe/HsCUSae1XSu2GpMu07krHYFCMM c5Ag==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=hoKmwDkr8KQoqjcs+JnQiTiEDnLkklSQZREZDEivjVo=; b=ugt8PXwl08/n4g2Gv9hoGZE/cR6gMf2tstA/yl8SYF2US/764ybcj/mCm/ZtPF2EwQ /3wXPvdHDqxGOPqbaLD+YNY/nclVzesiA5mvNkBhXq29GzOCnB2KfQ1HFd8jBnlvL9lc DdnqlgCdrEnumidqajQVxHSTOxiNWRXZ5imXl5svGufV5PxB1DO2+zPBu2aclavk/tvE OhtZ/M6+oAGG6ixHfZepjeB2q/8ibWXSIBdQQ1gvZqOodfgCF6Gb1ZhT372w406X1UNY 4s22MvzgOM1RNrRKkEMToCKKK+QEvMV6k80PJXXfd2yqeBWFhs26EG37RIoqY7GInV2V MUMg==
X-Gm-Message-State: AOAM532ttB8qujJEg8x4o6xiBY2GK4QvT8l2johsByu+/GDhw3hdQQP6 fOCezFnL3O+ckTs3q7eWnwJ6ti34qSRu4A==
X-Google-Smtp-Source: ABdhPJz0mVFN6vJjRYHNj7M+Y88OJuGzMtwnosl1JBLrC47x3LrRTkdt7RVjTVfjcrIkXXnUD8MY1w==
X-Received: by 2002:a05:600c:1d1a:: with SMTP id l26mr1056742wms.21.1624498214289;  Wed, 23 Jun 2021 18:30:14 -0700 (PDT)
Received: from [192.168.1.67] (25.131.146.77.rev.sfr.net. [77.146.131.25]) by smtp.googlemail.com with ESMTPSA id r24sm7881548wmh.18.2021.06.23.18.30.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Jun 2021 18:30:13 -0700 (PDT)
To: John Mattsson <john.mattsson@ericsson.com>, Michael Richardson <mcr+ietf@sandelman.ca>, Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>, "cose@ietf.org" <cose@ietf.org>
References: <SA0PR00MB1033A4DEA441628688DF227FF5089@SA0PR00MB1033.namprd00.prod.outlook.com> <8035.1624479033@dooku> <HE1PR0701MB3050DCFFB4F28A226389F42289089@HE1PR0701MB3050.eurprd07.prod.outlook.com>
From: Anders Rundgren <anders.rundgren.net@gmail.com>
Message-ID: <2e2f0928-77ce-c6e3-67e7-76cbe28a3bdb@gmail.com>
Date: Thu, 24 Jun 2021 03:30:10 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <HE1PR0701MB3050DCFFB4F28A226389F42289089@HE1PR0701MB3050.eurprd07.prod.outlook.com>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/9UBbLwXyirbz81QsveSoKOHtpIM>
Subject: Re: [COSE] FIDO/WebAuthn redefined the COSE EdDSA (-8) algorithm
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Jun 2021 01:30:22 -0000

On 2021-06-23 22:59, John Mattsson wrote:
> Except helping FIDO/WebAuthn, what concrete benefits do you want to achieve by duplicating the public key parameters in the signature algorithm?

One very obvious problem is that cryptographic APIs do not understand what "EdDSA" is.

If you look into Jim's reference code for COSE it becomes clear that polymorphic algorithms introduce considerable fuzz.

In PKIX Ed25519 was dealt with as a concrete signature algorithm.

Anders

> 
>> Furthermore, I
>  > believe we should consider defining and registering new non-polymorphic
>  > algorithm identifiers so that use of the existing polymorphic algorithm
>  > identifiers can be avoided and deprecated.
> 
> That seems a bit extreme unless it has _/very/_ strong benefits also for non-FIDO use cases.
> 
> Maybe the solution is to create a new parallel registry for FIDO/WebAuthn.
> 
> FYI, the same topic was discussed in January:
> 
> https://mailarchive.ietf.org/arch/msg/cose/4PIPilQY8a985StsFeft0No0-YI/ <https://mailarchive.ietf.org/arch/msg/cose/4PIPilQY8a985StsFeft0No0-YI/>
> 
>> But then there are exceptions, like ES256K [2] which bundles
> 
>> signature algorithm, hash function and elliptic curve.
> 
> I view that a past mistake.
> 
> *From: *COSE <cose-bounces@ietf.org> on behalf of Michael Richardson <mcr+ietf@sandelman.ca>
> *Date: *Wednesday, 23 June 2021 at 22:10
> *To: *Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>, anders.rundgren.net@gmail.com <anders.rundgren.net@gmail.com>, cose@ietf.org <cose@ietf.org>
> *Subject: *Re: [COSE] FIDO/WebAuthn redefined the COSE EdDSA (-8) algorithm
> 
> 
> Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org> wrote:
>      > The WebAuthn and FIDO2 working group members had thought that the COSE
>      > algorithm semantics were the same as those for JOSE, where algorithm
>      > identifiers are not polymorphic.  They were wrong, but that's water
>      > under the bridge now.  The FIDO/WebAuthn usage of the algorithm
>      > identifiers requires that the identifiers used unambiguously specify
>      > all algorithm parameters.  (Note that FIDO/WebAuthn does not use COSE
>      > signatures - only COSE algorithm identifiers.)  They have done what
> 
> It seems like maybe this is the origin of the problem?
> Since they only use the identifiers, maybe it's really just WebAuthn's problem?
> 
>      > Note that by the time that we registered the ES256K algorithm for
>      > signing with the secp256k1 curve in RFC 8812, we were aware of the
>      > problem and intentionally made ES256K non-polymorphic - both for JOSE
>      > and for COSE.
> 
> okay.
> 
>      > I believe that we should create a policy requiring that all future
>      > algorithm registrations should be non-polymorphic.  Furthermore, I
>      > believe we should consider defining and registering new non-polymorphic
>      > algorithm identifiers so that use of the existing polymorphic algorithm
>      > identifiers can be avoided and deprecated.
> 
> I don't feel strongly here.
> If going that way would surprise fewer people, then okay.
> 
> -- 
> ]               Never tell me the odds!                 | ipv6 mesh networks [
> ]   Michael Richardson, Sandelman Software Works        | network architect  [
> ]     mcr@sandelman.ca https://protect2.fireeye.com/v1/url?k=98cb4a21-c7507324-98cb0aba-86d2114eab2f-45986f7a09c7f771&q=1&e=a8ba51b3-e454-4bba-8745-ba9b3ea383f0&u=http%3A%2F%2Fwww.sandelman.ca%2F <https://protect2.fireeye.com/v1/url?k=98cb4a21-c7507324-98cb0aba-86d2114eab2f-45986f7a09c7f771&q=1&e=a8ba51b3-e454-4bba-8745-ba9b3ea383f0&u=http%3A%2F%2Fwww.sandelman.ca%2F>        |   ruby on rails    [
> 


From nobody Wed Jun 23 20:32:40 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C36233A22C1 for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 20:32:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level: 
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=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 hds2_buPeb8Q for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 20:32:35 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [134.102.50.19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DD3A23A215A for <cose@ietf.org>; Wed, 23 Jun 2021 20:32:34 -0700 (PDT)
Received: from smtpclient.apple (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4G9QgL4nh2z3354; Thu, 24 Jun 2021 05:32:30 +0200 (CEST)
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <SA0PR00MB1033A4DEA441628688DF227FF5089@SA0PR00MB1033.namprd00.prod.outlook.com>
Date: Thu, 24 Jun 2021 05:32:30 +0200
Cc: "ilariliusvaara@welho.com" <ilariliusvaara@welho.com>, "cose@ietf.org" <cose@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <F0B17CEF-411C-4873-8B2F-4A3DA0E8F6C7@tzi.org>
References: <SA0PR00MB1033A4DEA441628688DF227FF5089@SA0PR00MB1033.namprd00.prod.outlook.com>
To: Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>
X-Mailer: Apple Mail (2.3654.100.0.2.22)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/pVNwyIrimJgvJp98HLDSeoxJBQE>
Subject: Re: [COSE] FIDO/WebAuthn redefined the COSE EdDSA (-8) algorithm
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Jun 2021 03:32:40 -0000

On 23. Jun 2021, at 18:42, Mike Jones =
<Michael.Jones=3D40microsoft.com@dmarc.ietf.org> wrote:
>=20
> I believe that we should create a policy requiring that all future =
algorithm registrations should be non-polymorphic.  Furthermore, I =
believe we should consider defining and registering new non-polymorphic =
algorithm identifiers so that use of the existing polymorphic algorithm =
identifiers can be avoided and deprecated.

While I can=E2=80=99t see anything wrong with registering =
=E2=80=9Cciphersuite=E2=80=9D style algorithm identifiers like ES256k, =
there also is nothing wrong with =E2=80=9Cpure=E2=80=9D algorithm =
identifiers.
They just can=E2=80=99t be used with protocols that expect the full =
ciphersuite to be specified in one number.
So I don=E2=80=99t see a reason to deprecate pure (parameter agnostic) =
algorithm identifiers, but we may want to complement them with a couple =
of ciphersuite identifiers each.

It would be useful if the registry had more data about what a specific =
algorithm identifier actually is (e.g., if it can be used in WebAuthn).
I think we=E2=80=99ll need to do a cleanup of the registry with respect =
to such descriptive columns, soon (compare the hash algorithms issue).

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


From nobody Wed Jun 23 22:02:14 2021
Return-Path: <anders.rundgren.net@gmail.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5B2193A43DC for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 22:02:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.436
X-Spam-Level: 
X-Spam-Status: No, score=-2.436 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.338, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DsaRnF8Vvwrh for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 22:02:07 -0700 (PDT)
Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (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 4DB063A43DB for <cose@ietf.org>; Wed, 23 Jun 2021 22:02:07 -0700 (PDT)
Received: by mail-wr1-x430.google.com with SMTP id j2so5046986wrs.12 for <cose@ietf.org>; Wed, 23 Jun 2021 22:02:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;  h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=cuIr3B+Oem7QUPEg0YVyoE6/7A6Tkzlf4+Y6tydi5Jk=; b=ZTZB5PkR9wiYueK7+QxLvw1Wpl7fXmQ8Y7eXD6bP/Z3XWZevlwf8imjmUWYLbhE9gV DQmVCn/WFbNFHOOJJmm37frs/fMD0t2DUg/bdnLuOm0NzQ8uCYUzuTy8bv/KNLmk3DqY LbVJG0BTMsesFlT+ySLyejsJR9r5PQuuHAeoNxhbPmmSSUoKRfXPqZNenZnufbJc8mup BMRP3O1N5taCnZZGo3KA6NthV9GKL5ODzK5kLhF+T8+v7ewW2OA97zob8q+r1NnqoJeu LYYXTJLpnQYsrmIvSv3p4+OlS1oO33FXAwewyZkxICTJEHw3MEkQw9E8+gB4KnCHfdA+ 4NwA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=cuIr3B+Oem7QUPEg0YVyoE6/7A6Tkzlf4+Y6tydi5Jk=; b=KYYPA6o8ZCZ42mFscBlHJqB8CKUjewRf73hUjuby4jcirLlWSg7qaDbyPBZX6Vuf7V 6RpJpUVV+omHCFNlGmzIUiA+zL2ceBmTPDB4xINJDVX16f4EccNXMCXn+bA511cPYI7u n0zwnqSBBXeI8/EfCgDszp91S1hgxZJPsK5dntW9Kb7XfLCvLMlhIBoNhD/Nr6Wsb2Hu xbSS8x6B5cQ+bmrTEcJUImdKW9Tnip26ICVIxB+awbdVZTpxSXXdaOiN9BzzE7CNqeCC 6M2B5J49CUuUQeessQNeibn0YXz5+wPJc5bR8MYN234d/pM3NaAPJB5aWt5+gsuuR3jk Th7w==
X-Gm-Message-State: AOAM531UoktSpfZeFZ/dxZt14s/PGJOhMn2KQJC3y0PaKLFni6sFB0sE cYQknFyHv67SYXgcsqLkwYU4jbwcS1Lkug==
X-Google-Smtp-Source: ABdhPJxi2MPhQbR/3nNSksT/yXYvI6H1YabgmspU9EgyfEQLi66tfs7FGmra3NVqXDKF2qkLCc1hWQ==
X-Received: by 2002:a05:6000:184a:: with SMTP id c10mr1994549wri.232.1624510924264;  Wed, 23 Jun 2021 22:02:04 -0700 (PDT)
Received: from [192.168.1.67] (25.131.146.77.rev.sfr.net. [77.146.131.25]) by smtp.googlemail.com with ESMTPSA id y3sm1922765wru.78.2021.06.23.22.02.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Jun 2021 22:02:03 -0700 (PDT)
To: Carsten Bormann <cabo@tzi.org>, Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>
Cc: "cose@ietf.org" <cose@ietf.org>
References: <SA0PR00MB1033A4DEA441628688DF227FF5089@SA0PR00MB1033.namprd00.prod.outlook.com> <F0B17CEF-411C-4873-8B2F-4A3DA0E8F6C7@tzi.org>
From: Anders Rundgren <anders.rundgren.net@gmail.com>
Message-ID: <6a5567de-244c-685a-fcb1-1e9b64488361@gmail.com>
Date: Thu, 24 Jun 2021 07:01:59 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0
MIME-Version: 1.0
In-Reply-To: <F0B17CEF-411C-4873-8B2F-4A3DA0E8F6C7@tzi.org>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/Y58-1q6GhDGNTX4491g97xJVPxw>
Subject: Re: [COSE] FIDO/WebAuthn redefined the COSE EdDSA (-8) algorithm
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Jun 2021 05:02:12 -0000

On 2021-06-24 5:32, Carsten Bormann wrote:
> On 23. Jun 2021, at 18:42, Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org> wrote:
>>
>> I believe that we should create a policy requiring that all future algorithm registrations should be non-polymorphic.  Furthermore, I believe we should consider defining and registering new non-polymorphic algorithm identifiers so that use of the existing polymorphic algorithm identifiers can be avoided and deprecated.
> 
> While I can’t see anything wrong with registering “ciphersuite” style algorithm identifiers like ES256k, there also is nothing wrong with “pure” algorithm identifiers.

"Wrong" may not be the right word here but having multiple strategies in frameworks like JOSE and COSE adds confusion.

For CSF (CBOR Signature Format), I followed the path provided by EC and RSA and thus redefined -8 to mean Ed25519 (like FIDO) and -9 (currently unreserved) to mean Ed448.  This enables a fully table-driven system.

Jim's reference code highlights the problem, you apparently need a custom provider in order to use Ed25519:
https://github.com/cose-wg/COSE-JAVA/blob/master/src/main/java/COSE/SignCommon.java#L32

Anders

> They just can’t be used with protocols that expect the full ciphersuite to be specified in one number.
> So I don’t see a reason to deprecate pure (parameter agnostic) algorithm identifiers, but we may want to complement them with a couple of ciphersuite identifiers each.
> 
> It would be useful if the registry had more data about what a specific algorithm identifier actually is (e.g., if it can be used in WebAuthn).
> I think we’ll need to do a cleanup of the registry with respect to such descriptive columns, soon (compare the hash algorithms issue).
> 
> Grüße, Carsten
> 
> _______________________________________________
> COSE mailing list
> COSE@ietf.org
> https://www.ietf.org/mailman/listinfo/cose
> 


From nobody Wed Jun 23 22:02:58 2021
Return-Path: <lgl@island-resort.com>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C1E753A43E3 for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 22:02:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.895
X-Spam-Level: 
X-Spam-Status: No, score=-1.895 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=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 mGAfDKSMVxXf for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 22:02:52 -0700 (PDT)
Received: from p3plsmtpa12-08.prod.phx3.secureserver.net (p3plsmtpa12-08.prod.phx3.secureserver.net [68.178.252.237]) (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 3831C3A43E1 for <cose@ietf.org>; Wed, 23 Jun 2021 22:02:52 -0700 (PDT)
Received: from [192.168.4.71] ([135.180.5.239]) by :SMTPAUTH: with ESMTPSA id wHVmlOGLkAcMTwHVolAMam; Wed, 23 Jun 2021 22:02:49 -0700
X-CMAE-Analysis: v=2.4 cv=WebJ12tX c=1 sm=1 tr=0 ts=60d411fa a=yGLcT55IBd5ZT4hal3HKuA==:117 a=yGLcT55IBd5ZT4hal3HKuA==:17 a=IkcTkHD0fZMA:10 a=gKmFwSsBAAAA:8 a=48vgC7mUAAAA:8 a=tKucNvdjyiZrPzqINJYA:9 a=QEXdDO2ut3YA:10 a=nnPW6aIcBuj1ljLj_o6Q:22 a=w1C3t2QeGrPiZgrLijVG:22
X-SECURESERVER-ACCT: lgl@island-resort.com
Content-Type: text/plain; charset=utf-8
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\))
From: Laurence Lundblade <lgl@island-resort.com>
In-Reply-To: <F0B17CEF-411C-4873-8B2F-4A3DA0E8F6C7@tzi.org>
Date: Wed, 23 Jun 2021 22:02:46 -0700
Cc: Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>, "ilariliusvaara@welho.com" <ilariliusvaara@welho.com>, "cose@ietf.org" <cose@ietf.org>
Content-Transfer-Encoding: quoted-printable
Message-Id: <444D70A3-6F83-4304-ADD3-F01CE8729BBD@island-resort.com>
References: <SA0PR00MB1033A4DEA441628688DF227FF5089@SA0PR00MB1033.namprd00.prod.outlook.com> <F0B17CEF-411C-4873-8B2F-4A3DA0E8F6C7@tzi.org>
To: Carsten Bormann <cabo@tzi.org>
X-Mailer: Apple Mail (2.3608.120.23.2.1)
X-CMAE-Envelope: MS4xfFjywQ5QW3+g7leWr5uVM1rInUYXJPyLzBhcfie6ZQND6g+ciZ83q7u73AFheDuML0z8aQUbCHEJBHU3wWPtATMdUi0xSrTEzr5oK7BQDKP9thq7pU5f +kUayyug2sEBZr0VrAErv0G6pFnZ5WYPoffwGI+c8IMZodwSyoenbd+XwCMzcdY4v3UT0WJF7Cn/IXGj6fg+JAcuEoFx1+wvs7iyqTcUtJB85bt6SQWyigjh DQqpUiRt3Bs3cwyQPMKyetUKq+Ggu37WDXVWF7D7A44luNIO7ZBo26o36QHgxH7vLQxqhgGgGfu+9MZuy0JAtw==
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/-DhbxQaZD3xEBHQ-ZLHs6hQyBIQ>
Subject: Re: [COSE] FIDO/WebAuthn redefined the COSE EdDSA (-8) algorithm
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Jun 2021 05:02:57 -0000

> On Jun 23, 2021, at 8:32 PM, Carsten Bormann <cabo@tzi.org> wrote:
>=20
> On 23. Jun 2021, at 18:42, Mike Jones =
<Michael.Jones=3D40microsoft.com@dmarc.ietf.org> wrote:
>>=20
>> I believe that we should create a policy requiring that all future =
algorithm registrations should be non-polymorphic.  Furthermore, I =
believe we should consider defining and registering new non-polymorphic =
algorithm identifiers so that use of the existing polymorphic algorithm =
identifiers can be avoided and deprecated.
>=20
> While I can=E2=80=99t see anything wrong with registering =
=E2=80=9Cciphersuite=E2=80=9D style algorithm identifiers like ES256k, =
there also is nothing wrong with =E2=80=9Cpure=E2=80=9D algorithm =
identifiers.
> They just can=E2=80=99t be used with protocols that expect the full =
ciphersuite to be specified in one number.

They also won=E2=80=99t work with APIs that expects a ciphersuite to be =
specified. For example, an API that take an integer that is a COSE =
algorithm identifier and a byte buffer or byte stream of some sort that =
is the actual data to be signed.

LL




From nobody Wed Jun 23 23:29:03 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5256E3A097F for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 23:29:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_FAIL=0.001, SPF_HELO_NONE=0.001] autolearn=no autolearn_force=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 sXpZuELH1X_V for <cose@ietfa.amsl.com>; Wed, 23 Jun 2021 23:28:59 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [IPv6:2001:638:708:32::19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9F8B73A0977 for <cose@ietf.org>; Wed, 23 Jun 2021 23:28:59 -0700 (PDT)
Received: from smtpclient.apple (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4G9VZx6FKGz2xZC; Thu, 24 Jun 2021 08:28:57 +0200 (CEST)
Content-Type: multipart/alternative; boundary="Apple-Mail=_0F10946C-2439-4E5A-9015-9450BEF0E1C2"
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\))
From: Carsten Bormann <cabo@tzi.org>
In-Reply-To: <6a5567de-244c-685a-fcb1-1e9b64488361@gmail.com>
Date: Thu, 24 Jun 2021 08:28:57 +0200
Cc: Mike Jones <Michael.Jones=40microsoft.com@dmarc.ietf.org>, "cose@ietf.org" <cose@ietf.org>
Message-Id: <91BEB31A-8180-4621-9AF8-FE4391AFA9CF@tzi.org>
References: <SA0PR00MB1033A4DEA441628688DF227FF5089@SA0PR00MB1033.namprd00.prod.outlook.com> <F0B17CEF-411C-4873-8B2F-4A3DA0E8F6C7@tzi.org> <6a5567de-244c-685a-fcb1-1e9b64488361@gmail.com>
To: Anders Rundgren <anders.rundgren.net@gmail.com>
X-Mailer: Apple Mail (2.3654.100.0.2.22)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/5oZ3J8gHqCfazmbIud4cXPItto0>
Subject: Re: [COSE] FIDO/WebAuthn redefined the COSE EdDSA (-8) algorithm
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Jun 2021 06:29:01 -0000

--Apple-Mail=_0F10946C-2439-4E5A-9015-9450BEF0E1C2
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

On 24. Jun 2021, at 07:01, Anders Rundgren =
<anders.rundgren.net@gmail.com> wrote:
>=20
> For CSF (CBOR Signature Format), I followed the path provided by EC =
and RSA and thus redefined -8 to mean Ed25519 (like FIDO) and -9 =
(currently unreserved) to mean Ed448.  This enables a fully table-driven =
system.

That is not how it works.
-9 will soon be assigned to something else.
-8 really means EdDSA, and nothing more specific.

If you need algorithm identifiers for your project that mean something =
specific, why don=E2=80=99t you go register them?
It=E2=80=99s not that hard (=E2=80=9CSpecification required=E2=80=9D, =
but that can be a GitHub repo).

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


--Apple-Mail=_0F10946C-2439-4E5A-9015-9450BEF0E1C2
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">On =
24. Jun 2021, at 07:01, Anders Rundgren &lt;<a =
href=3D"mailto:anders.rundgren.net@gmail.com" =
class=3D"">anders.rundgren.net@gmail.com</a>&gt; wrote:<br =
class=3D""><div><blockquote type=3D"cite" class=3D""><br =
class=3D"Apple-interchange-newline"><div class=3D""><meta =
charset=3D"UTF-8" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); =
font-family: Menlo-Regular; font-size: 11px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">For CSF (CBOR Signature Format), I followed the path provided =
by EC and RSA and thus redefined -8 to mean Ed25519 (like FIDO) and -9 =
(currently unreserved) to mean Ed448. &nbsp;This enables a fully =
table-driven system.</span><br style=3D"caret-color: rgb(0, 0, 0); =
font-family: Menlo-Regular; font-size: 11px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""></div></blockquote></div><br =
class=3D""><div class=3D"">That is not how it works.</div><div =
class=3D"">-9 will soon be assigned to something else.</div><div =
class=3D"">-8 really means EdDSA, and nothing more specific.</div><div =
class=3D""><br class=3D""></div><div class=3D"">If you need algorithm =
identifiers for your project that mean something specific, why don=E2=80=99=
t you go register them?</div><div class=3D"">It=E2=80=99s not that hard =
(=E2=80=9CSpecification required=E2=80=9D, but that can be a GitHub =
repo).</div><div class=3D""><br class=3D""></div><div class=3D""><div =
class=3D"">Gr=C3=BC=C3=9Fe, Carsten</div></div><div class=3D""><br =
class=3D""></div></body></html>=

--Apple-Mail=_0F10946C-2439-4E5A-9015-9450BEF0E1C2--


From nobody Fri Jun 25 14:08:48 2021
Return-Path: <cabo@tzi.org>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9100F3A082D; Fri, 25 Jun 2021 14:08:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level: 
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_FAIL=0.001, SPF_HELO_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=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 WrEfQUz8BKi8; Fri, 25 Jun 2021 14:08:27 -0700 (PDT)
Received: from gabriel-2.zfn.uni-bremen.de (gabriel-2.zfn.uni-bremen.de [IPv6:2001:638:708:32::19]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8EA083A0827; Fri, 25 Jun 2021 14:08:27 -0700 (PDT)
Received: from [192.168.217.118] (p548dcc89.dip0.t-ipconnect.de [84.141.204.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gabriel-2.zfn.uni-bremen.de (Postfix) with ESMTPSA id 4GBV3C5VpXz2xGb; Fri, 25 Jun 2021 23:08:23 +0200 (CEST)
From: Carsten Bormann <cabo@tzi.org>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mao-Original-Outgoing-Id: 646348103.259271-3cd40f942b38302a328a5b2d0665a0e0
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\))
Date: Fri, 25 Jun 2021 23:08:23 +0200
Message-Id: <352EE1F2-0BF6-4B97-B1FE-78FDB1714CE5@tzi.org>
To: ace@ietf.org, core <core@ietf.org>, cose <cose@ietf.org>, cbor@ietf.org, t2trg@irtf.org
X-Mailer: Apple Mail (2.3608.120.23.2.7)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/5Xtcv1bhkhsl4UU-Zk-LoijpOwE>
Subject: [COSE] Constrained Node/Network Cluster @ IETF111: DRAFT AGENDA
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 25 Jun 2021 21:08:34 -0000

Here is my usual eclectic condensed agenda based on the DRAFT AGENDA
for IETF111.  Remember that there is still quite some potential for
changes.

The IoT-relevant conflicts that most meet the eye this time are
LAKE/RATS, IOTOPS/RATS (and there is likely to be an IoT-relevant
discussion at tsvwg, which overlaps the third RATS).

All times *on my agenda* are in UTC (the default page is UTC-0700).
Please forgive the 2500, I'm way too lazy to write code to turn this
into 0100.  (And it is advisable to ignore the fictional end time of the
Wednesday plenary anyway.)
https://datatracker.ietf.org/meeting/agenda-utc might be handy.

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

1900-2100  Hackathon Kickoff
Rm 1    	GEN	hackathon	Hackathon

FRIDAY, July 23, 2021

1900-2100  Hackathon Closing
Rm 1    	GEN	hackathon	Hackathon

MONDAY, July 26, 2021

1900-2100  Session I
Rm 1    	ART	dispatch	Dispatch WG - Joint with ARTAREA
Rm 2    	IRTF	anrw	ACM/IRTF Applied Networking Research =
Workshop  - New Internet Protocols & Practical Congestion Control
Rm 3    	IRTF	pearg	Privacy Enhancements and Assessments =
Research Group
Rm 7    	SEC	gnap	Grant Negotiation and Authorization =
Protocol WG

2130-2230  Session II
Rm 1    	ART	wpack	Web Packaging WG
Rm 2    	IRTF	irtfopen	IRTF Open Meeting
Rm 3    	OPS	anima	Autonomic Networking Integrated Model =
and Approach WG
Rm 4    	RTG	babel	Babel routing protocol WG
Rm 7    	SEC ***	rats	Remote ATtestation ProcedureS WG
Rm 8    	TSV (!)	tsvwg	Transport Area Working Group WG

2300-2500  Session III
Rm 2    	ART	jsonpath	JSON Path WG
Rm 3    	IRTF	coinrg	Computing in the Network Research Group
Rm 7    	SEC	secdispatch	Security Dispatch WG
Rm 8    	TSV	masque	Multiplexed Application Substrate over =
QUIC Encryption WG

TUESDAY, July 27, 2021

1900-2100  Session I
Rm 1    	ART	sedate	Serialising Extended Data About Times =
and Events WG
Rm 2    	INT	6man	IPv6 Maintenance WG
Rm 3    	IRTF	anrw	ACM/IRTF Applied Networking Research =
Workshop  - Interconnection and Routing & Monitoring Internet Traffic
Rm 5    	RTG	bier	Bit Indexed Explicit Replication WG
Rm 6    	RTG	raw	Reliable and Available Wireless WG
Rm 7    	SEC ***	danish	DANE AutheNtication for Iot Service =
Hardening BOF
Rm 8    	TSV	quic	QUIC WG

2130-2230  Session II
Rm 3    	INT	dnssd	Extensions for Scalable DNS Service =
Discovery WG
Rm 6    	SEC	saag	Security Area Open Meeting
Rm 7    	TSV	taps	Transport Services WG

2300-2500  Session III
Rm 7    	SEC	ohttp	Oblivious HTTP BOF

WEDNESDAY, July 28, 2021

1900-2100  Session I
Rm 1    	ART ***	core	Constrained RESTful Environments WG
Rm 3    	INT	madinas	MAC Address Device Identification for =
Network and Application Services BOF
Rm 4    	IRTF	anrw	ACM/IRTF Applied Networking Research =
Workshop  - Privacy & Applications
Rm 7    	SEC	tls	Transport Layer Security WG

2130-2230  Session II
Rm 2    	ART	uta	Using TLS in Applications WG
Rm 4    	INT ***	6lo	IPv6 over Networks of =
Resource-constrained Nodes WG
Rm 5    	INT ***	drip	Drone Remote ID Protocol WG
Rm 8    	RTG	rift	Routing In Fat Trees WG
Rm 9    	SEC ***	cose	CBOR Object Signing and Encryption WG

2300-2440  IETF Plenary - Plenary

THURSDAY, July 29, 2021

1900-2000  Session I
Rm 3    	OPS	anima	Autonomic Networking Integrated Model =
and Approach WG
Rm 4    	OPS	v6ops	IPv6 Operations WG
Rm 7    	SEC ***	lake	Lightweight Authenticated Key Exchange =
WG
Rm 8    	SEC ***	rats	Remote ATtestation ProcedureS WG
Rm 9    	TSV	tsvarea	Transport Area Open Meeting

2030-2130  Session II
Rm 5    	IRTF	qirg	Quantum Internet Research Group
Rm 6    	OPS ***	iotops	IOT Operations WG
Rm 7    	RTG	rtgarea	Routing Area Open Meeting
Rm 9    	SEC	mls	Messaging Layer Security WG
Rm 8    	SEC ***	rats	Remote ATtestation ProcedureS WG

2200-2300  Session III
Rm 5    	SEC ***	ace	Authentication and Authorization for =
Constrained Environments WG

2330-2430  Session IV
Rm 4    	IRTF	panrg	Path Aware Networking RG
Rm 8    	SEC	emu	EAP Method Update WG
Rm 9    	SEC ***	teep	Trusted Execution Environment =
Provisioning WG

FRIDAY, July 30, 2021

1900-2100  Session I
Rm 1    	ART	webtrans	WebTransport WG
Rm 2    	INT	add	Adaptive DNS Discovery WG
Rm 5    	RTG	apn	Application-aware Networking BOF
Rm 7    	SEC ***	suit	Software Updates for Internet of Things =
WG

2130-2230  Session II
Rm 1    	ART ***	cbor	Concise Binary Object Representation =
Maintenance and Extensions WG
Rm 2    	IRTF	maprg	Measurement and Analysis for Protocols
Rm 5    	RTG	detnet	Deterministic Networking WG
Rm 6    	SEC	acme	Automated Certificate Management =
Environment WG
Rm 7    	SEC	privacypass	Privacy Pass WG

2300-2500  Session III
Rm 1    	ART	httpapi	Building Blocks for HTTP APIs WG
Rm 2    	INT	intarea	Internet Area Working Group WG
Rm 3    	IRTF	cfrg	Crypto Forum
Rm 4    	IRTF***	dinrg	Decentralized Internet Infrastructure
Rm 8    	SEC ***	teep	Trusted Execution Environment =
Provisioning WG
Rm 9    	TSV	tsvwg	Transport Area Working Group WG


From nobody Sun Jun 27 00:51:03 2021
Return-Path: <do_not_reply@mnot.net>
X-Original-To: cose@ietfa.amsl.com
Delivered-To: cose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 818CC3A1F83 for <cose@ietfa.amsl.com>; Sun, 27 Jun 2021 00:51:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.799
X-Spam-Level: 
X-Spam-Status: No, score=-2.799 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=mnot.net header.b=b+ByX2Il; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=vs6HDUDi
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WHPP52hijoox for <cose@ietfa.amsl.com>; Sun, 27 Jun 2021 00:50:56 -0700 (PDT)
Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 8D8483A1F8B for <cose@ietf.org>; Sun, 27 Jun 2021 00:50:56 -0700 (PDT)
Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 6FC603200583 for <cose@ietf.org>; Sun, 27 Jun 2021 03:33:18 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Sun, 27 Jun 2021 03:33:18 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnot.net; h= content-type:mime-version:from:to:subject; s=fm3; bh=fJRDvk/2yWs TRLhxsxT4cuiLoB26nZOdIyNvJBJ0470=; b=b+ByX2IlSWLWmNPZ9a4mxF2eh/b fkqytkTbqxpz48wviUvK4plK5wy99xyyn7qaCIIa1UHNPUdw9CAlQr57sYpEW0LH UA1IleM+VfY8Z2pn5gCS/MEeu8gyMZM3Fp6qDe1szq/u1MCKWH8YL3cEDuVl4SLh g9Dy5ELW1JC9PNP6nE9S1iJ1Ie54xdexq+hS+KCJ0IkY0N+liC/6ZlKstnAyNDYA lOqVw8i4JvdSFwhX44J9+d2GmgmK9uDOqWosOb3Pen3gdR0n5EuBDy97mfEOyJiH A9VXZlajSEMp8krbX9jdO/eVeKzufOrezvxx0uw/5QQDqKGWx/5ySJ6Kgog==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:from:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=fJRDvk/2yWsTRLhxsxT4cuiLoB26nZOdIyNvJBJ0470=; b=vs6HDUDi eL73TPaRKQVRJJx2hWSTyhimN399UymA6nbVKQIvBs0dJsjvJfQ19dgOnscX7GEl 7qxdIutpD0Br07XSvFVBfcrC1b/9SJMQrmKVE+ynka+1DARufwTnNEq8kqcB2/NW 29o7Q3uZG9wdthUQNifO2yqPPUaH4nhU9CkNz8K4MGeqeBN5JY2PYUGqoiZeWQiX DYGmUjk5rpqeAUVf9tw+H4WuDA21G6G3HouDt87d+rA4/WYgC8v3kVR4jAT5frWb TsPDDi5JBv8gR6DYW/CnAX3WpGY5hop1Se9Rip7qhKQ/yIqdUwG0pptmlfvRzDGN YOL8Yjne6ppCNQ==
X-ME-Sender: <xms:vSnYYO0wXJuzfx3aRBSA3YGOnxoS7Fn4q9hgsCWTW-_cV9IddQjgIA> <xme:vSnYYBHfp-Ko4HurktEajiXflgEXwwODM4orgcgMA4eyuJuGdbf3sTdFL1aabNMlX FFgjwbKYGZu9cf46w>
X-ME-Received: <xmr:vSnYYG6Y76zunAEnYNIWfnJFBLjN5dLfwbTRdZKBYg42L6Da1lMqGrvfplbNsjZEcEnBsN0saDToLrYUrgI9gv9DBroU2nNKY7ckl0F9CfDSMXFY7Ve7pI2ziwoo6c1IptKr>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeehuddguddtfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecupfhoucgurghtvgcufhhivghlugculdegledmne cujfgurheptggghffvufesrgdttdertddtjeenucfhrhhomheptfgvphhoshhithhorhih ucettghtihhvihhthicuufhumhhmrghrhicuuehothcuoeguohgpnhhothgprhgvphhlhi esmhhnohhtrdhnvghtqeenucggtffrrghtthgvrhhnpeekfedvudetjedvfeekheeiveeu gfefhfetteevgeffkefffeetffdvleehudeiteenucffohhmrghinhepghhithhhuhgsrd gtohhmnecuvehluhhsthgvrhfuihiivgepvdenucfrrghrrghmpehmrghilhhfrhhomhep ughopghnohhtpghrvghplhihsehmnhhothdrnhgvth
X-ME-Proxy: <xmx:vinYYP0mQhNGw67HIao6I1959tfF1mOaJ3e5RcxEsGMYe8r3scTQJQ> <xmx:vinYYBGssTXu88DTJDDgMin0qJCbBPkqRDoNNbTyMmGB0JGxKyNSLA> <xmx:vinYYI8l0FtoChi7I3TvDuTiWYaPWe8cTruZSC-x2MrffKzyqWA_Fw> <xmx:vinYYGTKBXB0Tc6pXLF1OYu48LOjfGx0wjDvLaWbGrI8Fr30KH764Q>
Received: by mail.messagingengine.com (Postfix) with ESMTPA for <cose@ietf.org>; Sun, 27 Jun 2021 03:33:17 -0400 (EDT)
Content-Type: multipart/alternative; boundary="===============8710534432520827005=="
MIME-Version: 1.0
From: Repository Activity Summary Bot <do_not_reply@mnot.net>
To: cose@ietf.org
Message-Id: <20210627075056.8D8483A1F8B@ietfa.amsl.com>
Date: Sun, 27 Jun 2021 00:50:56 -0700 (PDT)
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/Dnm5XYe6bJp1U8o5xnDajFLYYEg>
Subject: [COSE] Weekly github digest (COSE Activity Summary)
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: CBOR Object Signing and Encryption <cose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cose>, <mailto:cose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cose/>
List-Post: <mailto:cose@ietf.org>
List-Help: <mailto:cose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cose>, <mailto:cose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 27 Jun 2021 07:51:02 -0000

--===============8710534432520827005==
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"; format="flowed"




Events without label "editorial"

Issues
------
* cose-wg/X509 (+1/-0/=F0=9F=92=AC1)
  1 issues created:
  - media-type parameter, CoRE Content-Formats,  (by emanjon)
    https://github.com/cose-wg/X509/issues/37=20

  1 issues received 1 new comments:
  - #37 media-type parameter, CoRE Content-Formats,  (1 by emanjon)
    https://github.com/cose-wg/X509/issues/37=20




Repositories tracked by this digest:
-----------------------------------
* https://github.com/cose-wg/CBOR-certificates
* https://github.com/cose-wg/Charter
* https://github.com/cose-wg/cose-rfc8152bis
* https://github.com/cose-wg/countersign
* https://github.com/cose-wg/X509

--===============8710534432520827005==
Content-Type: text/html; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable

<!doctype html>
<html lang=3D"en">
<head>
<meta charset=3D"utf-8">
<title>Weekly github digest (COSE Activity Summary)</title>
<style>
body { font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;=
 font-size: 14px; }
h2 { margin-top: 3em; color: #A52A2A; font-style: italic; font-weight: norm=
al; }
h3 { margin-bottom:0; margin-top: 2em; font-size: 1.2em; }
h1+h2 { margin-top: 1em; }
a { color: #bb6219; text-decoration: none; }
li { margin-bottom: .35em; }
.repos { margin-bottom: 0; margin-top:0; line-height: 1.2; }
.new { color: red; }
.label { display: inline;
	padding: .2em .6em .3em;
	font-size: 75%;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: .25em;
}
</style>
</head>

<body>
<h1>Sunday June 27, 2021</h1>

<p>Events without label "editorial"</p>

<h2>Issues</h2>

<h3>cose-wg/X509 (+1/-0/=F0=9F=92=AC1)</h3>
  <p class=3D"new">1 issues created:</p>
  <ul>
  <li>#37 <a href=3D"https://github.com/cose-wg/X509/issues/37">media-type =
parameter, CoRE Content-Formats, </a> (by emanjon) </li>
  </ul>

  <p>1 issues received 1 new comments:</p>
  <ul>
  <li>#37 <a href=3D"https://github.com/cose-wg/X509/issues/37">media-type =
parameter, CoRE Content-Formats, </a> (1 by emanjon) </li>
  </ul>





<h2>Repositories tracked by this digest:</h2>
<ul class=3D"repos">
  <li><a href=3D"https://github.com/cose-wg/CBOR-certificates">https://gith=
ub.com/cose-wg/CBOR-certificates</a></li>
  <li><a href=3D"https://github.com/cose-wg/Charter">https://github.com/cos=
e-wg/Charter</a></li>
  <li><a href=3D"https://github.com/cose-wg/cose-rfc8152bis">https://github=
.com/cose-wg/cose-rfc8152bis</a></li>
  <li><a href=3D"https://github.com/cose-wg/countersign">https://github.com=
/cose-wg/countersign</a></li>
  <li><a href=3D"https://github.com/cose-wg/X509">https://github.com/cose-w=
g/X509</a></li>
  </ul>
</body>
</html>

--===============8710534432520827005==--

