[COSE] IANA COSE assignments

Göran Selander <goran.selander@ericsson.com> Thu, 28 January 2021 09:18 UTC

Return-Path: <goran.selander@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 99B823A142A for <cose@ietfa.amsl.com>; Thu, 28 Jan 2021 01:18:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.351
X-Spam-Level:
X-Spam-Status: No, score=-2.351 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.25, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-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 A4p09EfDnuli for <cose@ietfa.amsl.com>; Thu, 28 Jan 2021 01:18:04 -0800 (PST)
Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-eopbgr140071.outbound.protection.outlook.com [40.107.14.71]) (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 A34233A142B for <cose@ietf.org>; Thu, 28 Jan 2021 01:18:04 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AlFFh55gE8tXfuofH8n1fWkNt/zaVyL1PqrtX+oAQMSeXI3c9VNfujodcuKVihj6TqHe96yISBVs1KihZ9WM7qwXYqRXOBQT8UG+tYA8JTmMDzCPKXjlthjN1ojEvbZh2WEEVsfeUZezhLgdcdx35QzXgoGDicwE3aOuyCrZ+SBWUY85fPfJL1yNqYPvKz95kbv4IRDOwM06lUzYM1s4+w2CT/Dx5Xp6p2qtMkL7BBUzi1KK0RJbPOMnzQMCqR4eZizildzFdfeHijY8Jg6oNcWpygrGqjrFkRrF49tV+KmJSaSIfdgUb2PiRJzbywRqOa0QUxQZ+eofyvrH3QdRBg==
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=Nl8obPB8i95q7wzycp7OFo5v6G6gcKXWzchaEAkiPdQ=; b=W7SRIkyqGPKiQyp9HPcJwM7PCkCEx014Y8cRuPox+FG7fImUl18wPGdEcAdSZBnJ/kg7KRDC9LS603/1lUkbexo9I3txieWXn7n6fPQxjAbX9v1yBVL+l+wQ6aj9S0uRU41F0PHeIE3xOPb0b4IeccTxrcKt9rc5qBa2+lzhHWEJ/RGYq8YOWJJBbaDtsyhtTlN2Gh4j6m2gwCeQ1O1kYzbsuaeANRn+c5iQQnyEiWfJ7TJb4WbsSylS76VrOK7M/kJ/dZAdOd+VQRhoOQjggkYWthU1iGyVGaELuWvV2qOS5SkoRfogxn1rz6a8aBgaSCDmLu042iSG7++ooDwtgA==
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=Nl8obPB8i95q7wzycp7OFo5v6G6gcKXWzchaEAkiPdQ=; b=e4U8vbwvMpNI6GX/ZoYCWr5ne5jgXDThI4ctdOp8sF8irs9nG54rLfVajuNSzpz0I6bXQWUUT4KqKO7rx4zpYMv2pZ02RM6ziNPKi0QDfLA80+Ef8O0LXE5URJIHM8CgRzUfACQBgSSDt+Z9of0Nakl5RiTjFCrKjKbUQ/PD3q8=
Received: from (2603:10a6:7:82::14) by HE1PR07MB3066.eurprd07.prod.outlook.com (2603:10a6:7:2f::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.14; Thu, 28 Jan 2021 09:17:57 +0000
Received: from HE1PR0702MB3674.eurprd07.prod.outlook.com ([fe80::fd09:b8f4:2698:e86]) by HE1PR0702MB3674.eurprd07.prod.outlook.com ([fe80::fd09:b8f4:2698:e86%6]) with mapi id 15.20.3805.016; Thu, 28 Jan 2021 09:17:57 +0000
From: Göran Selander <goran.selander@ericsson.com>
To: cose <cose@ietf.org>
Thread-Topic: IANA COSE assignments
Thread-Index: AQHW9VZ3u246pmXHh0yf/qj8SOX5Iw==
Date: Thu, 28 Jan 2021 09:17:56 +0000
Message-ID: <41F03211-E3F5-493B-AC94-0F9DA26A1D9F@ericsson.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Microsoft-MacOutlook/16.46.21012005
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: [83.249.67.87]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: cfd362c2-6ee9-4c76-9405-08d8c36d99c9
x-ms-traffictypediagnostic: HE1PR07MB3066:
x-microsoft-antispam-prvs: <HE1PR07MB30662AEB0782672784CE6AF6F4BA9@HE1PR07MB3066.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: k5nE+gJCQYuXbuLdWro61u2mB4gI7qvUaLlvh13ikTkE+dFoTshT4T3SyOdgvLHlCG2WSHzo+7HcUWwNzXHGdsCt+NxvBxQ4DqKf2YzhmmsBUGgFlT12+zxuq9+QGKUSLs5nCcqR1ZPCdQ0qj1cEl82ZwNRk4aRr0zTVQW6m9O8Wz2oBZFOAxWXVZHNNpGLyWL6hZ7EqfHtoNRTF+Fsw7bbGBomNz42elpD+kaoBWAyKQS0XqR9yj4tx79R7ois2a4Zcat2BHM/32D/kE+2g4eyY0BzTU1j3Q7JTF2OGxsReMejFeoTYFdd/1IJ7L6a+srOtsJxHduPV5c21475KFZGZKNKFe5XyKiswCKv0G3s0VtCV1aBVL4wGOMQdycNqMiAS+2VtLbpWxb26McA5QMpNqmB7S0Pp4rrm3xo5uac1W7aTAL5BG2a7Ed91Q9iP1rkkmEq0zCxii8WSj1G92soPaxiGZEx/GIMhmu56wqrvyLqeDk+XvGxS7Ll5RnOdwvMU507CDH7ryvTDL5/KFlm99kvI6RMucZeuB8wvDiruzsYgC8RrTGGs3q5+0O/8tTCQsRtMaR3C0zhKo4ctXDTu2kmq7+BorPlnQHk2tapJzqx1p6o2xg4a5ExB2G1OvTLl0x9Go9SYn6c0771jAg==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0702MB3674.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(136003)(39860400002)(366004)(396003)(346002)(8936002)(85202003)(2906002)(26005)(186003)(36756003)(8676002)(83380400001)(5660300002)(3480700007)(2616005)(316002)(85182001)(7116003)(86362001)(6916009)(66574015)(6506007)(33656002)(478600001)(66446008)(66946007)(966005)(76116006)(71200400001)(6486002)(66476007)(66556008)(64756008)(6512007)(45980500001); DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata: umSJH+A9sH6d2sLcLvW7alne20KQrCCv2Ngkv4H8B2bNfRrqD8pDZ2l9Y4P+rJhXtZ7Zy/LP067MoAfpoB8RksD0PQyy5jJsZR480lImg2GhIAYv2bLA8Sj4UNkCeso/8xWJ7h9zK63Idv9koySXtGpDwOI2GRNdNnAxDCpGJd/euwenb01tnJyiVmknnmq/LiBrRrTSQjIgNi07vq7EAGjyYeHnvz45m03nAbhtslWOCE2hmPswWGYYIwixLL2pITEFMjPAdRQi3qYuU7B/BDDsAbgvk+9zEE2cGf0J6xlX/+C+dJ+AlN0mbbP4TCbxhsRZQ4I11c4fjktZ+nWh1y0eFzVP8Bx7cXO/AApqxH2WkWR39iauXVjAr6vOVvbYT4y7MShJWHUQgxqhz32DLcoRS8Miv+QGFakUjBL6HSSk0pIzzWTd9HdJ5fZIQeIU1PoNyZF4ZqiJEmM1utgzU9D9fHRe1pIr00FQa5qOan+2r+Y6nx09GcFSg7jkLuUn8KNTxzUibAbs9gV1yfJCI/n4Xx7T2gogdbGI9sj++6otAz7hnGshJhP14Kv7UY60QNG5fEKkx3t67BxxL4m8BG/CqfLjSQJ76rLR+KSk5VtPRrS7WJ8Vg/7S9PxGzLoPN3JV3PRHCkwBVXDx2Rr1pNzn98Kst8pF/St8BgKUgV1DeUc+qvuvJIoHHF8o2P5kQWEs04U9OYpXAxkGfjShFFSU6U+qfyimSmeXHsC27eLR2TdRyn6q9E8d0KXiS4gmcsLodnCuWeTzY3F4huVAZMYpLdE+h6qUZJF3cU4A25PZfYRjQXkoX31LDRkoQcpJB16yIQLM5gzc28ljV27H9e7vzJWZ/VUs3RzgGy26MidFQZ9II5Rdxe2y3Qzmvuyh7G2Oou03qaIHlIC1qVXHG6U9FWe8JTkUVXr4MpMlVLUD7INec+Q3s//8ZPCcCzKtq8oUTM4Q5HAyus+V6fplOja357RgSDTzTFtWdkciu7OQthB9vzsRfPnDAn4UzrSSdxYQzC1fB1kypwKW8tpkHrWMy2ULFZJDW7x+J//oevwXT3NLsJ69KGL89WJoiUyPqX4XYoCnRvXkltYgZHbTxw==
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <51C4B66FD1ED5241A4C95DD5F0D6D407@eurprd07.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: HE1PR0702MB3674.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: cfd362c2-6ee9-4c76-9405-08d8c36d99c9
X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jan 2021 09:17:57.0132 (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: bW/agSuBHYxW86ZaXp37NQVUf7eG8eQwCGma9e6Z6BtPCaR9L4eEPhZ6s4Vtb2DFpqxMQUg/0CgwMS8WMiYNSyV/9PjgYKXzpCv40Pw51co=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR07MB3066
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/JQG38ywtoQvKe1bgDm2Ajk5e9Nk>
Subject: [COSE] IANA COSE assignments
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, 28 Jan 2021 09:18:07 -0000

 
Hi all,

I'm one of the designated experts for the IANA registry of COSE algorithms and I need some guidance from the WG.

1. Current IANA assignments and instructions for COSE algorithms [1] intentionally bundles certain parameters whereas others are not bundled. 

For example, all COSE registrations of ECDH include key derivation, but ECDH algorithm and elliptic curve are not bundled. Section 6.3.1. states:
 
 ”The math used to obtain the computed secret is based on the curve selected and not on the ECDH algorithm.  For this reason, a new algorithm does not need to be defined for each of the curves.”

As another example, ECDSA is bundled with a hash function (see table 1) but not  with the elliptic curve, see Section 2.1:

”This document defines ECDSA to work only with the curves P-256,
P-384, and P-521. Future documents may define
it to work with other curves and points in the future.”

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

It isn't clear to me when to follow the guidance in [1] and when to make an exception. Just because there is one exception doesn't seem like reason enough to register bespoke bundlings. 

There are different principles in action here. Security is one, where a bundling is made to ensure suitable combinations.  Structure and economy of code points seems to be another, where it may become an issue managing the numbers if every potential bundling of parameters can get a unique assignment.

As I see it,  there should be a good reason to not assign according to the the intentions of [1], and if we deviate from those then we should preferably be able to explain according to what principle that assignment was made so that the new principle can be followed (until potentially other examples requires us to reconsider).

Any views on that?


2. Another point relates to how specifications use COSE code points. For example, [1] recommends the use of deterministic ECDSA. If that is not used, is that reason to register another ECDSA code point? Or, if the cofactor of the curve is not equal to 1, is that reason to register another ECDSA code point? In other words, to what extent is the IANA number registration bundled with certain properties for which there is no register? 

An alternative to make new assignments is that the referencing document re-uses existing code points and specifies how they are used, including why and how deviations are made from the math or the recommendations. 

Opinions?


3. ECDH-EE is not specified in [1], whereas ECDH-ES and ECDH-SS are carefully distinguished in the registries. I would be hesitant to register ECDH-EE algorithms without any supporting specification describing how it is expected to be used in general. What does the WG think?



Chairs: Unless sorted out before, could we have some time at the next interim?

Thanks
Göran

[1] https://tools.ietf.org/html/draft-ietf-cose-rfc8152bis-algs-12