[jose] Re: 2nd WGLC for draft-ietf-jose-fully-specified-algorithms (Fully Specified Algorithms)

Michael Jones <michael_b_jones@hotmail.com> Mon, 21 October 2024 19:48 UTC

Return-Path: <michael_b_jones@hotmail.com>
X-Original-To: jose@ietfa.amsl.com
Delivered-To: jose@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A39DEC31A60E; Mon, 21 Oct 2024 12:48:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.131
X-Spam-Level:
X-Spam-Status: No, score=-1.131 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, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no 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 bahCdPuCGl_Y; Mon, 21 Oct 2024 12:48:15 -0700 (PDT)
Received: from CH5PR02CU005.outbound.protection.outlook.com (mail-northcentralusazolkn19012059.outbound.protection.outlook.com [52.103.20.59]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id D0115C207233; Mon, 21 Oct 2024 12:48:01 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=siXnknuVHs/C7M7Hv4EOfNV/Sg9jyVHOVzyNSpjNouDtEa+xjW6+JKsfeKVlT+0KcDh4+nUapG6WqfmmiK4916zCkH6dfb1RqIN3gWm8Qw4/VA6S2bUrPoAxE/Ol71KEmgsAcgpjaZkq0h/GWns1U1IMidA1FhqHWCrzrAGsaIpz043pqyyUMHy1bDtIdrOGDJHRxbIO9O0eQVQmUqYYf8RMenTRLkCJHKKjXfYLG5lzEtJdDF+2p7x23nnoYuHonSV+gcbfCX9iYsTXTUJreUxklm6Ft8/keNIIifPk2OYdGarmpR3qgOh5R4B05AUUscj+YQjt3/pMdJJr0vp+Vw==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=CrsXj37kHXbrtGlv6vMKyxH6vkdwODkXW6Tg1PCPUqY=; b=NcMR2JhmWXxNADONCZUp4YHGfzbKsQaq2Ac7lOQ5Pz6MNCdEKEXFqFgnydi8oHtuLsCSOHTTP/ac1UU7zEpaaK+8ceMzYWrOxDSYHPh4+b429+iP0scWOSnkrosoP2rPPlPy5iKS7DqG9pcUmQBDd79BiXuzJ84KiV8yKKeJkPnneqi+K91Ki4qkGi0XRJD87ykg9aEQi+70UNpfGt8TZA0S8Abxj+XAN/v3lcULojUicnSTMnav/xnPwp2NAlvFxMFjwEA+pWiSnCC2nEZbJck1tGEMzgjlqU7ecByvYapW6FInV/IbSn+RkH3NQOf/5l6wD0VpZL5WHLOE7P04eQ==
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=CrsXj37kHXbrtGlv6vMKyxH6vkdwODkXW6Tg1PCPUqY=; b=SRzYVe8uyfstvTVDzL0s+i2WCArni+JR+iCuWTXHUM5Ce0wakY+pmPdxlWtDOqHy165pJQMzMD1K/ME3chaqesYtyM9GMh0BuOkzl2r/5A09VJuQimZkq0wWYGk9DaimqbMyPUisemumVgN4zkysMZIccsUcLfPeQp6bTza/b2/OfltjG83JVvAVMYdjDKBJiuWydqQhGc9mammFhbNWmutG/6m+zjgDzFpvbfvnKCepDL3laibA/jZgPsSKIipGa2N2QuS6J2DjQmkc27FIE35YUo39hZUV/WnheN9NQwXs6waU2/n+lg7LADaWlPekzn81V4L8l7o1TfU+wHf3JQ==
Received: from PH0PR07MB9077.namprd07.prod.outlook.com (2603:10b6:510:107::13) by BLAPR07MB7570.namprd07.prod.outlook.com (2603:10b6:208:29d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8069.29; Mon, 21 Oct 2024 19:47:59 +0000
Received: from PH0PR07MB9077.namprd07.prod.outlook.com ([fe80::5075:92e8:a12d:d85f]) by PH0PR07MB9077.namprd07.prod.outlook.com ([fe80::5075:92e8:a12d:d85f%5]) with mapi id 15.20.8069.016; Mon, 21 Oct 2024 19:47:59 +0000
From: Michael Jones <michael_b_jones@hotmail.com>
To: Filip Skokan <panva.ip@gmail.com>, "jose@ietf.org" <jose@ietf.org>, "cose@ietf.org" <cose@ietf.org>
Thread-Topic: [jose] Re: 2nd WGLC for draft-ietf-jose-fully-specified-algorithms (Fully Specified Algorithms)
Thread-Index: AQHa/23PmRDiICO/FU2GYY+WZ7tKNbJP7o2AgEBbClA=
Date: Mon, 21 Oct 2024 19:47:59 +0000
Message-ID: <PH0PR07MB9077130E2C2D682691372DECB7432@PH0PR07MB9077.namprd07.prod.outlook.com>
References: <CA+mgmiOEbk9qjDwNTu198QVWAGqcuKNSPd2F-YtngcLZwjunZw@mail.gmail.com> <GVXPR07MB9678C278636D28A01AA85C44898F2@GVXPR07MB9678.eurprd07.prod.outlook.com> <PAXPR07MB88443BE71B6DDC81F845A2BDF49D2@PAXPR07MB8844.eurprd07.prod.outlook.com> <CALAqi_9-ZDj=nK7BX8T_OW+x4JB-Dq79H6NLhZGVCR3hYT+7vg@mail.gmail.com>
In-Reply-To: <CALAqi_9-ZDj=nK7BX8T_OW+x4JB-Dq79H6NLhZGVCR3hYT+7vg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: PH0PR07MB9077:EE_|BLAPR07MB7570:EE_
x-ms-office365-filtering-correlation-id: 127a4169-5b34-49b6-57df-08dcf2094481
x-microsoft-antispam: BCL:0;ARA:14566002|12050799009|8060799006|461199028|8062599003|19110799003|7092599003|15080799006|9400799024|4302099013|3412199025|440099028|10035399004|102099032|56899033|1602099012;
x-microsoft-antispam-message-info: m/kd0EKBalqj2QpjehEphkzsEOutEaW9CxjUYp825wbp4IDDo54LatlTzuh24rBOYOK3kckfRTYyRdbqVotQ71J2b2oalMHfeQyPypFId/u/i3zp7IxX/r+weahr9y67gPzxXgzeXQbStAcdx+rM08TBLjklBiDgjRnRhPTWwoKRlKxbw5WdcEJLcbFgXx+Bo1Hi5yqQVWZxPYa/RCCgzQt/sfOS94fLEEQ8dXjbwYIctxV2dS2ZNd/ZDFVD4sjdkEuUJOx2CmH65GDBndclcvzsOHA5oOlD+qxNlzO/3bvxHI89kn6P3L3sA8PpBc8pJfDEwNGkZbiwH9BZntm82KoI9ZgWP5UpU/bdNeULxd0hSfYFvRi4jjh4zi8Cv/K9ESkOxyqDY6VxykZ7dgMjTkO/6B702O9TiVo1MX7QeS6LKErE4iM4t6ymAGy7tn2K7jJ0xVAhPUZ5ZEn6nLHPbhuzD1BAYgdguQ23IpwsrPLoQ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3gHI0Kj77P5P6+hEHnTXafEBHmB8Br+lCblZRq/aE5OScAVMu4zizJkjVaDupOyp2L0VUway/PFKfR0EAopoRr99Uzx6lBQRS0TfuMQY58rpmWCykVcOr/B+B2o6TYPzutspnpt7EdHTUFoEKwZyrhShRz1iLtWJfXzn4sNP9mBFqqbe+IwZZzZcDQfx81shj6wzW1ft6TVDZ+B9HHepqOOsPFuCt+xooCIWuFXwEJp0FjdrBid9LJBg1FwibEgmkCiKo+3xGQvTi/AoIU1LFqbhv8grRYDl3vnMBvOZ/QBXJ13HoQtFb1zjc150WaLBjxd9Swis5I2XrpLdRmTwOuPupefmEV9AYFp33JJ64j9FVjM5C6AOm8+wqym8o2GlUztVJZmljW29bGF2kSUOYbR+AnSwLd9k26X4m/HaFcL2yJ2VlZowA0A+oVd4YL63I6cCBnchzChXqy6bDaLuNtfbi4Wc6xpTbv8jrhIS1WO86LQR23uowbzZMkwTwq4NiWxBVeDOovQ7okKUzv/KQYatcqITVecdxFjmbOP2LUVxfutLW8FRkKvcKYMaeiA0sn99Q83J3vzc716ho4WEjLHAFkDd9qLOX2cyvZafmAFqwp1eugg4r1wctaVdnhEbEGe6pSLcGenit3awsW9lHLzWI0cvjMw8MTSG60o+A7WQqljsBmtEklJ5JZO5+7h/UNFzWMHsHdo080UaGOGVWDC61604WwByFXvkxcvlZXRaLy4H/PneVzXvNZZQWcyiZwPCMQVY5ghUS/DLob4rEo29/
Content-Type: multipart/alternative; boundary="_000_PH0PR07MB9077130E2C2D682691372DECB7432PH0PR07MB9077namp_"
MIME-Version: 1.0
X-OriginatorOrg: sct-15-20-7741-18-msonline-outlook-99cdb.templateTenant
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: PH0PR07MB9077.namprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: 127a4169-5b34-49b6-57df-08dcf2094481
X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Oct 2024 19:47:59.7159 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLAPR07MB7570
Message-ID-Hash: 67WZPFPBGXX3H5WGSAV6RLKNG36GSTVB
X-Message-ID-Hash: 67WZPFPBGXX3H5WGSAV6RLKNG36GSTVB
X-MailFrom: michael_b_jones@hotmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-jose.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [jose] Re: 2nd WGLC for draft-ietf-jose-fully-specified-algorithms (Fully Specified Algorithms)
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/jose/V8zgGSWFrgkMQGFCaO8NYypSYZw>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jose>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Owner: <mailto:jose-owner@ietf.org>
List-Post: <mailto:jose@ietf.org>
List-Subscribe: <mailto:jose-join@ietf.org>
List-Unsubscribe: <mailto:jose-leave@ietf.org>

Thanks for your comments, Filip.  See the updates to the specification in https://www.ietf.org/archive/id/draft-ietf-jose-fully-specified-algorithms-06.html.  My replies are inline, prefixed by "Mike>".

From: Filip Skokan <panva.ip@gmail.com>
Sent: Monday, September 9, 2024 1:28 PM
To: jose@ietf.org; cose@ietf.org
Subject: [jose] Re: 2nd WGLC for draft-ietf-jose-fully-specified-algorithms (Fully Specified Algorithms)

I would like to thank the authors for their diligent work on the document. Here's my 2nd WGLC feedback

I am comparing the document status before the first WGLC (draft 02) and now<https://author-tools.ietf.org/iddiff?url1=draft-ietf-jose-fully-specified-algorithms-02&url2=draft-ietf-jose-fully-specified-algorithms-05&difftype=--html>. I appreciate the new section 4.4. Defining Deprecated and Prohibited and am also recognizing the new COSE ECDSA registrations that enable continued use of Brainpool curves with COSE in a fully-specified manner.

Mike> Thanks for your support of the specification.

I am not certain about which discussion led to the entirety of section 3. Fully-Specified Encryption, nevertheless in its language it states

> Each of these multiple algorithms must be independently fully specified.  The operations performed by each of them MUST NOT vary when used alongside other algorithms.  So for instance, for JOSE, alg values and enc values MUST each be fully specified, and their behaviors MUST NOT depend upon one another.

This would not be the case for either one of the JOSE ECDH-ES proposed algorithms (which were presented at the last meeting), in each of them "enc" informs "alg" about the expected CEK length output. Additionally, in ECDH-ES direct the "enc" value is directly used in ConcatKDF too.
I'm not sure whether the contradiction between this text in section 3.1. and the above is okay or not given that the document no longer specifies any new ECDH algorithm identifiers. FWIW in 3.3.1. it clearly states the existing algorithms are not fully-specified but are polymorphic so this text wouldn't disqualify them. It is nevertheless confusing.

Mike> Both you and Neil pointed out this vestigial erroneous text, which has now been removed.  Furthermore, the exposition in Section 3 has been significantly tightened.

>From section 3.3.1.  Elliptic Curve Diffie-Hellman (ECDH)

> While Appendix A describes possible fully-specified ECDH algorithms that could be registered for JOSE and COSE, the working group decided to leave decisions about which fully-specified ECDH algorithms to register to future specifications, if needed.

This is not true because these would not be fully-specified; the "alg" ConcatKDF always use of elements from "enc", i.e. they depend on one another. While I asked that at least the algorithm identifiers be removed from Appendix A (which was done and it fulfilled my feedback from the IETF meeting during which granted, I was remote and half asleep), I came to think the entirety of Appendix A should probably be removed instead.

Mike> This inheritance is now explicitly described in the specification.

>From section 3.2. Analysis of Modes of Encryption

> It does register a small set of new fully-specified encryption algorithms, so that polymorphic encryption algorithms need not be used.

It doesn't anymore.

Mike> Corrected

Because the list feedback seems to circle around the encryption bits over and over again and even contradicting itself at one point, I would like to propose to remove section 3 and only focus on the Fully-Specified Digital Signature Algorithm Identifiers. I'm hoping to be able to start transitioning away from the "EdDSA" algorithm identifier soon.

Mike> There's no doubt that the situation for encryption is more complicated than that for signing - in part, because multiple algorithms are used in combination.  That's exactly why the encryption discussion (having corrected it and tightened it) provides valuable information to readers.  And again, other reviewers have explicitly thanked us for including the discussion of encryption and consider it to be in scope.

Mike> As for transitioning away from ECDH, I'll suggest that it would be useful to have your help advancing draft-ietf-jose-hpke-encrypt. ;-)

                                                                Děkuju,
                                                                -- Mike
S pozdravem,
Filip Skokan


On Thu, 5 Sept 2024 at 10:29, Göran Selander <goran.selander=40ericsson.com@dmarc.ietf.org<mailto:40ericsson.com@dmarc.ietf.org>> wrote:
(About target audience:  This draft is proposing to deprecate algorithms in the COSE IANA registry. It would be great if it by default was circulated also on the COSE WG mailing list to enable a timely discussion among those affected.)

With reference to a previous thread on this topic:
https://www.mail-archive.com/cose@ietf.org/msg03799.html
The term "deprecated" is still used in this draft with a different meaning compared to RFC8996 and RFC9325. It doesn't help that you in this document point out that you are using the word with a different meaning that people are used to, very much fewer people will read this document than those that stumble on the term used in registries and understand it from other contexts.

Moreover, this overload of terminology is actually  unnecessary:

Section 4.4
> The terms "Deprecated" and "Prohibited" as used by JOSE and COSE registrations are currently undefined.

So, in fact this provides a unique opportunity to disambiguate and avoid the otherwise inevitable confusion that will come up over and over again arising from the use of the same term with different meanings. A number of perfectly good alternative terms were suggested in the referenced mail thread.

Moreover, for systems that makes use of the COSE IANA registry and specifies algorithms with enough parameters to make them completely determined, for example EDHOC cipher suites, there is no need to change or abandon the use of the current algorithms. Hence the recommendation ("SHOULD") in the definition does not apply to such systems, and that circumstance should be stated as an exception to the recommendation.


In summary


  *   use a different term
  *   make it clear that current algorithms may be used in case a separate specification adds the necessary information to make them fully specified


Göran


From: John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org<mailto:40ericsson.com@dmarc.ietf.org>>
Date: Thursday, 22 August 2024 at 11:10
To: cose@ietf.org<mailto:cose@ietf.org> <cose@ietf.org<mailto:cose@ietf.org>>
Subject: [COSE] FW: [jose] 2nd WGLC for draft-ietf-jose-fully-specified-algorithms (Fully Specified Algorithms)
Forwarding to the COSE list as the document updates both RFC 8152 and RFC 9053.

Cheers,
John

From: Karen ODonoghue <kodonog@pobox.com<mailto:kodonog@pobox.com>>
Date: Wednesday, 21 August 2024 at 16:12
To: JOSE WG <jose@ietf.org<mailto:jose@ietf.org>>
Subject: [jose] 2nd WGLC for draft-ietf-jose-fully-specified-algorithms (Fully Specified Algorithms)
JOSE working group members,

This email initiates a second working group last call for the Fully
Specified Algorithms document:
https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fdraft-ietf-jose-fully-specified-algorithms%2F&data=05%7C02%7Cjohn.mattsson%40ericsson.com%7C4d5ca1448df945ce272908dcc1eb446e%7C92e84cebfbfd47abbe52080c6b87953f%7C0%7C0%7C638598463418037480%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=lC1d%2Bvw9fTh%2FG2brNNztghIYFbp4pnGwjqvfN%2Bbqrn8%3D&reserved=0<https://datatracker.ietf.org/doc/draft-ietf-jose-fully-specified-algorithms/>

The authors have updated the draft based on WGLC comments and
discussions at IETF 120, and the chairs have polled the working group
about the readiness for WGLC. Seeing no opposition, we've decided to
proceed with a second WGLC.

Please review the document in detail and reply to this message
(keeping the subject line intact) with your opinion on the readiness
of this document for publication and any additional comments that you
have.

This will be a three week WGLC. Please submit your responses by 13
September 2024.

Thank you,
Karen (for the JOSE WG chairs)

_______________________________________________
jose mailing list -- jose@ietf.org<mailto:jose@ietf.org>
To unsubscribe send an email to jose-leave@ietf.org<mailto:jose-leave@ietf.org>
_______________________________________________
jose mailing list -- jose@ietf.org<mailto:jose@ietf.org>
To unsubscribe send an email to jose-leave@ietf.org<mailto:jose-leave@ietf.org>