Re: [COSE] COSE Key Thumbprint URI

Michael Jones <michael_b_jones@hotmail.com> Sat, 23 December 2023 20:11 UTC

Return-Path: <michael_b_jones@hotmail.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 154EAC14F5E2 for <cose@ietfa.amsl.com>; Sat, 23 Dec 2023 12:11:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.236
X-Spam-Level:
X-Spam-Status: No, score=-6.236 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, FORGED_HOTMAIL_RCVD2=0.874, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=hotmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cg-7TJK7bl_C for <cose@ietfa.amsl.com>; Sat, 23 Dec 2023 12:11:14 -0800 (PST)
Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam02olkn2035.outbound.protection.outlook.com [40.92.15.35]) (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 4E82BC14F5E9 for <cose@ietf.org>; Sat, 23 Dec 2023 12:11:14 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=C7InNjmy/mSPmkUFmTDxbeA7rOzdPv6Hz35D6gCTmzArcqek0UxtskK7GwTBXx0YjoNmD6p4k3EBmfweHYNslN/2C/DD9k+Z5ZTCG/62cR6ujOkpS5yC5l8+86m7B4iY7uHn6z2exKkt5/rcEoa7v3Izh30vrlJ4zuKy20uUB/RVvbd7YTIc0Zp55rKJ6plKv0tD6Uv/1IZmRi3MTIss/Xn7HHEgfJmZzO5oWTXtOUFZJ3rg/EUGAoipUCt1k5l8M779zJIhhptGv0BW9T4vrmXqso+vav5MzvkVlR+kQoOV3snRetomvkwqa2LWaB+BnCBXk/hhJqPRAP8rucwC5A==
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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uA0QaWKsAk0PVx5a1qio1jlFQEecSOS7GUoJcVWtl7M=; b=Y4X1gpS2jtjt7Qv8T+ContJ3uQLYcyDtB7laodrAYt19eyo650BE7VAfqlbVFfaIDwwpm2RKvPLJQHZGvNsMzYyYMqpnWYXDpAK5TdsHAsitVN82CBJzliN7pNa01WporsvfPP06scQy6PRjOMGbYNA4IdaSYQpHVzB2EUzFyFLfD9leA3Rn+pLq8eSlk+9gSEngxtDtl3qG0kZvWsYagO89c5oR8zeJs4O3b6j6yuFcXWxWfZ1yINlFFu0cpf6LNvDNMTy6O2SJt9iARc6hXt2rqXiCr8qhVzi0Ku6/mb1BLwxSoDkpg3LjkWqEFylK/vRIYeA+2ALuxYHScmCXAQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uA0QaWKsAk0PVx5a1qio1jlFQEecSOS7GUoJcVWtl7M=; b=Xm+AwGOnjbl+EBdIeRWYjCiJhvO1GMLamCPzgLIbFbqQvFQ+WG0lfQF0LKKYJIO1ESlwDtrL5qNN/ZrdOfmOf20bPS9gANcPcvRw8kurnXDRN5/M6fNe9g7UQtktxg0tXV+uykIOgCgrRyRTe/QXPhqvH4Ms7+CkVAIWn9VHL8MN7XI/W1mPQhs3JX9Wqzye1tkGksq2p4DAIFNq9TtrxCIIDT6FbBUorwnLc0JUqi2ACXyenJmPVed9ythyBm3tgX8QWC1Hi+tRFmOUWaToec9g6snXPU9+gmMD/BpS7ZNIJAqrr4QjjV5iK7tZyps0Cn7BjWCdu5RpfuhSqLosPQ==
Received: from PH0PR02MB7430.namprd02.prod.outlook.com (2603:10b6:510:b::9) by SJ0PR02MB8403.namprd02.prod.outlook.com (2603:10b6:a03:3f3::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.24; Sat, 23 Dec 2023 20:11:11 +0000
Received: from PH0PR02MB7430.namprd02.prod.outlook.com ([fe80::7e76:fcdf:56fd:6df9]) by PH0PR02MB7430.namprd02.prod.outlook.com ([fe80::7e76:fcdf:56fd:6df9%6]) with mapi id 15.20.7113.022; Sat, 23 Dec 2023 20:11:11 +0000
From: Michael Jones <michael_b_jones@hotmail.com>
To: Hannes Tschofenig <hannes.tschofenig@gmx.net>, Carsten Bormann <cabo@tzi.org>, "christian@amsuess.com" <christian@amsuess.com>, "cose@ietf.org" <cose@ietf.org>
CC: Isobe Kohei <isobekohei@gmail.com>, "orie@transmute.industries" <orie@transmute.industries>
Thread-Topic: COSE Key Thumbprint URI
Thread-Index: AQHaNdResiyCEUH5wUqxrBfg7iCabLC3SIIQ
Date: Sat, 23 Dec 2023 20:11:11 +0000
Message-ID: <PH0PR02MB7430D735FC47E457338ABB58B79BA@PH0PR02MB7430.namprd02.prod.outlook.com>
References: <b0963fc4-d227-48a0-8b20-09b82db51282@gmx.net>
In-Reply-To: <b0963fc4-d227-48a0-8b20-09b82db51282@gmx.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-tmn: [7vbie1GTikE3OK+95X6lOHOmMT+lgyRG]
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: PH0PR02MB7430:EE_|SJ0PR02MB8403:EE_
x-ms-office365-filtering-correlation-id: fd42b3a4-e743-40e2-cc69-08dc03f34f07
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: P5PYj7i+KRHNrPvfcsCkPXucPJfYxvZFnES9eZSimbw6rRrrG/BgtksbtV4L56rxFX8TV1EY9O+IhFQoF6hVGubOttBGd8ZZkgfG/zYUzMDrX+Kyr3WIXYscE3171EnZ2PTXcU9CYkEADm8H1oXWTV5s362mOMd4zhwM3qKW4nsTePJe2l7YNOjl39ImE/8oEQattbD9SJHG6jresvViVrEAdZ+7e2hN5N9EqRXw9G/iUc8YRsg5fX6PuBmRnXy/d0pVHYfQ0YYEeZHxu0Wzv53+zClxTcbktkBX747Ff7fe0CTu9dIMMDneHYpWyFCHVSUqbfBNoq/bq9FO+j1fxDQ+4MW0kjAB8kdTmt4trATJRPIpLIUkiPeOlzRvI7MxG13dGLj2k42PvEQnm/6ZwukuLOBixq4Bg0jsDBS0o+vBaBPAxw6KksCqd2t/HzyLcvsRwlRyD6OtTrk0oOw4Z8q10/+hCulrQRRUVM9x/O18/+SrLnQVAXLKqQVEC2Vay6UB7FVWvTU4ifLtOKfEtFRhrQlnhNGcE8fN+7eMt3YvvjypJgCx8tUtmzZF+tC+
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: B3L72OSyh7rdPI9C/F1TlNJHl+tXtEjKuN61J4bO7weF+pqjP7FPUnTjG7IMyUGYnY5mmL/h0qzQHIpQMhhDv2hyT7zpIAYYN5QpzVN+HhwIsqlFRigdEaV7YETSVQLpW7klipqiNHGZsy9SNoQt//mW4nhyZNATmLDwXcli05CEf1oH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fI/N2on1x4jxk=
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-3d941.templateTenant
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PH0PR02MB7430.namprd02.prod.outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: fd42b3a4-e743-40e2-cc69-08dc03f34f07
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-originalarrivaltime: 23 Dec 2023 20:11:11.7400 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR02MB8403
Archived-At: <https://mailarchive.ietf.org/arch/msg/cose/wGUObrMhC1QmERJ5_l47gK8unF4>
Subject: Re: [COSE] COSE Key Thumbprint URI
X-BeenThere: cose@ietf.org
X-Mailman-Version: 2.1.39
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, 23 Dec 2023 20:11:19 -0000

I agree with Hannes that the solution to any possible confusion in (1) is to explicitly state that the URI can be used by any applications - not just applications using OAuth.

Like Hannes, I disagree with the assertion that the IANA "Named Information Hash Algorithm Registry" is not well-maintained.  Like any other IANA registry, if you want a new entry, create a specification and register it.  I've created many specification to just that, such as RFC 8230 and RFC 8812.  If you have an itch, scratch it yourself!  It's the IETF way!

Finally, like Hannes, I would prefer that we continue use the same hash algorithms registry as the JWK Thumbprint URI spec [RFC 9728] does for the same purpose.  Unnecessary differences when doing the same thing should be avoided.

				Best wishes,
				-- Mike

-----Original Message-----
From: Hannes Tschofenig <hannes.tschofenig@gmx.net> 
Sent: Saturday, December 23, 2023 11:15 AM
To: Carsten Bormann <cabo@tzi.org>; christian@amsuess.com; cose@ietf.org
Cc: Isobe Kohei <isobekohei@gmail.com>; orie@transmute.industries; Michael Jones <michael_b_jones@hotmail.com>
Subject: COSE Key Thumbprint URI

Hi Carsten, Hi Christian,


I have been watching the recording from the IETF#118 COSE WG meeting where you provided feedback about the COSE Key Thumbprint URI functionality. Due to a conflict I wasn't able to attend that session.

Mike note correctly that the design of the COSE Key Thumbprint URI aimed to mirrow the JSON Web Key (JWK) Thumbprint URIs (RFC9278) specification.


Two comments were provided, which I would like to resolve in the near
future:


1) Carsten, you argued not to use the urn:parameters:oauth IANA registry because there could be confusion due to the use of the word "oauth" in there.

What other registry would you use? We could add a paragraph to the draft saying that the use is not limited to OAuth, if that helps.


2) Christian, you argued against the use of the IANA "Named Information Hash Algorithm Registry" for the hash algorithms. The argument was that the algorithm registry is not well maintained. You suggested to use the COSE algorithms registry instead. This would turn the following URI from urn:ietf:params:oauth:ckt:sha-256:SWvYr63zB-WwjGSwQhv53AFSijRKQ72oj63RZp2iU-w
to urn:ietf:params:oauth:ckt:-16:SWvYr63zB-WwjGSwQhv53AFSijRKQ72oj63RZp2iU-w

Maintaining a hash algorithm registry seems trivial since the number of hash algorithms don't seem to grow quickly. Re-using the COSE algorithms registry, however, might confuse readers since it contains a lot of other algorithms.


I am not sure how to resolve these different views about the solution design.


Ciao
Hannes