Re: [jose] Call for Adoption: draft-jones-jose-fully-specified-algorithms

Tobias Looker <tobias.looker@mattr.global> Tue, 09 January 2024 20:59 UTC

Return-Path: <tobias.looker@mattr.global>
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 24BC9C151090 for <jose@ietfa.amsl.com>; Tue, 9 Jan 2024 12:59:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=mattr.global
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 bTnK9OC2nd84 for <jose@ietfa.amsl.com>; Tue, 9 Jan 2024 12:59:25 -0800 (PST)
Received: from AUS01-SY4-obe.outbound.protection.outlook.com (mail-sy4aus01on2098.outbound.protection.outlook.com [40.107.107.98]) (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 1529FC14EB17 for <jose@ietf.org>; Tue, 9 Jan 2024 12:59:24 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OcpAO5+C5387HQCYFVYhGJMdxOgHGDOA7vY+uG5wmqXVrcrIc3MLsPm11BZkINBwGHcRExUokS10L9ju9lXg98yN6Vej9MNbTYzxaZK68VP86T3X5pDOXGQmVo3u7LozM56E3/rb9CkG7FZMzKEBzu2RJGu8baIVOS8Xo/2jeYBWXZKq9bc53ce6HG1V3mp3kJXDdXUCxJD9H4iq1LcH6OGxWyE6jRF9QrLgqWG/PTSa1ZiiDu7depvLQ+DCyvrICXpMuVvvMdlE2Bae3Yllto0rUvnHNIIm33tzpWZZvvKckpcCkUDL40hM7hNXvYRC7l+tiPaj2JH4lb2frYUypA==
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=R8ZtBHrr4mcnluDSpTwWCzGYXaorUSuGO+Fb7be5bao=; b=fTzK+HDA+3ic79Y5TLthFXv0y2NhmvWozlu08cWrvpJscAoydQnKvbtjQWTq6d5H+ixCnvT4/ynPvlBWNqW0mJUfjvgXoOx0hQ8DUr3j2vohIi+hhjzzxh1oLFENnp8cmHJen39G505gX6XFYfpooK5d5eo/4EppvwZY2bsnOPmabtwtFVrw0LuRgwok9gpD0MyA2oRAepPI7MyslHj0WcX1bGvBd+1udR8RhAX+iKWB/S9hEPgJiWBjsyDVfS7pL08Vr2Z+cC+g/LRtyigZNfCsapk+vqYGfdTTJzmSi+GNWqH/Asty6RnqVEc32Y5ZQuBXQ3RmtCbMhlW2hJ5djg==
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=mattr.global; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=R8ZtBHrr4mcnluDSpTwWCzGYXaorUSuGO+Fb7be5bao=; b=LUi3f46aZxKfPiIzwftafV4lx60YlgapckOX3YJlMuMzGS0Mwm6CtoGyi+4JyP9zr3e4e7DiVzDwznznvS5Mc1gCON6ePrP3RMWymNnxa9P0Dx3hS84gtxXTTJg2V4PzppjQSejzk5KtX0EsXMesw09xtiRT0T6IkuCW6sPNM2I=
Received: from SY4P282MB1274.AUSP282.PROD.OUTLOOK.COM (2603:10c6:10:b2::12) by ME3P282MB1460.AUSP282.PROD.OUTLOOK.COM (2603:10c6:220:b1::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7181.17; Tue, 9 Jan 2024 20:59:20 +0000
Received: from SY4P282MB1274.AUSP282.PROD.OUTLOOK.COM ([fe80::9ee2:be5f:8c25:3f13]) by SY4P282MB1274.AUSP282.PROD.OUTLOOK.COM ([fe80::9ee2:be5f:8c25:3f13%6]) with mapi id 15.20.7181.015; Tue, 9 Jan 2024 20:59:20 +0000
From: Tobias Looker <tobias.looker@mattr.global>
To: "jose@ietf.org" <jose@ietf.org>
Thread-Topic: [jose] Call for Adoption: draft-jones-jose-fully-specified-algorithms
Thread-Index: AQHaPa/Xrs/u0+AHIkm9xJ9Z0+hoNrDQEyiAgAGRUgCAAFQ5gIAABQKE
Date: Tue, 09 Jan 2024 20:59:20 +0000
Message-ID: <SY4P282MB1274DCF3EE66724A40A396F79D6A2@SY4P282MB1274.AUSP282.PROD.OUTLOOK.COM>
References: <CA+mgmiMRLh=CskaOY_Ex4Q6-XfXLhkw-rQp4CezOXxBD8J=Xjg@mail.gmail.com> <d157328115285cb95ccd01828290e637f40b7b0e.camel@redhat.com> <ZZ1lKIt0YP4yOZ0Y@LK-Perkele-VII2.locald> <6abb91d522b5ce53490c56a22a9e6d9011cf880b.camel@redhat.com>
In-Reply-To: <6abb91d522b5ce53490c56a22a9e6d9011cf880b.camel@redhat.com>
Accept-Language: en-GB, en-US
Content-Language: en-AU
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=mattr.global;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: SY4P282MB1274:EE_|ME3P282MB1460:EE_
x-ms-office365-filtering-correlation-id: 809eb760-8f67-485b-ccc5-08dc1155da08
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: H4lnsIRP5JlBE+rhACoYwZukpMqZ2ChiYQiiFOLBaENYY5Sx94cx0wraAIwQA9SOwd1olG+pmaZMKldlxbq1O8mh2kdFbfqq44CNbvNTL8ce7KaBQnJqvLaGe6OoB80u6pn4QzhhUyOVizxp6G41mvhpRbb+ZZFNJUt/mCSJ22xvjIkdLhcSI45W4ErZsCKvDG3GR5Igb0rK7XjJxQnBKonQ4Aqsw0EtGOWYKrrFQSRKNLKHdBAjEr1voPoVPok0/VcroMW/VTVaU+HhlE1wxq/x3t8IDnhvD7SzuFZXykTwDlKysPmcVZlWMsAiSZTQfBoxA0owdBkOdzJOiSvwdPcK4g+72XYhptTAnZX2uIPtFR15aUgSgj4nhpRwNbO8Y5pn4jRGjvyxUw8S/Rk8aeUHZw8puyV1eRaOclalTuKh+kt2hPIMNcOYe2o3QYG/keUfR+mgTdRlU76zcw3YYiBUFtnkzQoM9PQN+HXQsDNa/XLmvKpXwzoygiSw5maGqbo0vlSJ/HzSciMJ3isGRG1hjg5MMVsPxKB5zSxjjsLf1dZqD2WeLSdxZSrl1HC0kLKospAJKyCQCRyF5wU8z1LOVI4CyRaqWzFM3i+DazHEOvpI9lyfIMDYgz4YzszJe3k3cNXIIODUPRTDpRcRZQ==
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SY4P282MB1274.AUSP282.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230031)(346002)(136003)(396003)(376002)(39830400003)(366004)(230273577357003)(230922051799003)(230173577357003)(64100799003)(451199024)(1800799012)(186009)(2906002)(5660300002)(38070700009)(41300700001)(66899024)(966005)(71200400001)(26005)(33656002)(83380400001)(478600001)(53546011)(9686003)(7696005)(6506007)(99936003)(166002)(86362001)(55016003)(122000001)(38100700002)(8936002)(8676002)(66476007)(66446008)(66556008)(52536014)(44832011)(66946007)(76116006)(64756008)(316002)(6916009); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: GqiEGjrsYajE7ut984AqH95NakJtpfcGvCmLWAFmCRILOk/06i+0qkh+SanqFYiWeedzHRJVIpUCyC2JRJNtFHGp/EXho0nKLQpIaWHmycDrDT1NbGEl0l16Mwm+DJ630/t1dr3DEqu1q2Oa5b13jh1svijpVcfSmQdQArvJqEnMPsae0dg6VF/VtRE07Jt1/VgzK9rtP42tKWhrKH2idueA022WGRD9X8XCQB9iEzsv+lVuPXSltYVSELqnjv6dIwQnQacG/mjIyBYIrvBi+KzTt5CDefcK2XJ79kJJiyC21XekKLwV/v0GD8t5qbWGNAUArrc+bpUAWnKpKDVNhWpYNo2UaN0/WN+mZd0e4377Sdf0UqgKx4Tu8R5mXTKe77e4VxKYRkh1K/KlW5Za2EwCmL9k3koVFR6exRtThL3chixYwaflkN1f7HP195zjqUenH39+6KW8cO/eclnkbJtzNfUP0Lfr2BAQHSDV/5AqxQ/cDohaowlPrue1LCe1cy2oU1YH/TNYoWQVt8ixxD19KRr9Sx86jsNysoU6QjypFH0KfYdWM+JdrlnW+YBY5hDA92vyTZvGdEDrEUyYAKrk5IkmyVkf9XSRY2FEqD2zfFa6LbxtYR14z2EKt4z2N2FOkMciw0vUg3JZCbWGtGNWZHE323JEPYDolagyqtnylyYjp50sO9yzcpUwBDOavik1/jsAe+360Qzt+P2MdmTR1hZF1+yHKF708sPf5rwGQFq5HwaMSUZ+M8zB3D6yLbF9/zYIDe0d1KWRKG/NeMjzizZui8rH9RMeHaDi253EwLI9McemvP2ArRq4R/2bhUg3qGuSSlNAM92zmEbgaYxtMrOhocXV4CyoVCfb+CCvx5yaeV0nM8KKOaBFQRY20ZsBDb2Y561o4iLxKAmvmHFqqKYodq9ULpbar/SecePHKZrhxMq2syfesVClOMvadtTvH19X9ATqCOcoPVGpOZQ3fpaMXbknCLLFGs7+wjRbA2Ypf3zsav3iw/3+9JeQSETiyKIj9MHnCZVgdC0Zt5QfsfRxhUEI7qtOSLNzo+QYwxFsCGJmc7r1YjT86g0UhTDaTYchk+MNEkwaP53qPFWk1M5dO9o1LjSpAYD3oez0xnMQmLeK1o/qySOh1v5jSEk53TibtP6OYeSkfvQ/fzMTl8Hs8y/SSaqWq6zD5tCnZ7po+nmG7508Iddpr5JrmtIW4NceIN3DNoj9AJwWwXGyOqB1XEJ7eBkD5IhVn0WwtV1QGr9dsZBbPiM4S9SMhlm2EqNl7DJhZUmtYRcQQ7/P15ldKOz3m1xYlR2HKYJ9DPRWClw4m0Gjz3PtSUgybTuzj8YLeI1cssB1x33ZJJ0RMbQCoRg6V5RGLZQgf+bJgu9Iij0rZhIwwhryYIG6FfzaJgLZWdKtPbQJUulXia61XXG4N20fK2LQ8eHjeAWTNH2lTtdI3lKwkEZq5xOTLdMJd90VOW/uKHcMYv93XwNYOX+ivLw19p2tjoUDQteDPDJdZeMrJdZj26dJB5dvBxtyMLghXEaejcxWiIz/Sg/wBIqqTDXoMAXW/3AMhCytNp8FpRGbhqUEdHRkgW9LG6wSNcMMZOfufQM2GfKPmmjh2cywsvN2fKf27+q0aaA=
Content-Type: multipart/related; boundary="_008_SY4P282MB1274DCF3EE66724A40A396F79D6A2SY4P282MB1274AUSP_"; type="multipart/alternative"
MIME-Version: 1.0
X-OriginatorOrg: mattr.global
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SY4P282MB1274.AUSP282.PROD.OUTLOOK.COM
X-MS-Exchange-CrossTenant-Network-Message-Id: 809eb760-8f67-485b-ccc5-08dc1155da08
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jan 2024 20:59:20.7232 (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: ZdmeV4hM4DR4JAhqvne4HECTA4P/mDMYnbe7TIt8jYQfY7k0yPzTXR6eLmr05KGHVcIg7ly/qfHn0iQX17XMXTbAmExDJ/t1+/4cJRlrbp0=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: ME3P282MB1460
Archived-At: <https://mailarchive.ietf.org/arch/msg/jose/lWgsMNHzE7-3eo2uocL5BDj8Y4g>
Subject: Re: [jose] Call for Adoption: draft-jones-jose-fully-specified-algorithms
X-BeenThere: jose@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Javascript Object Signing and Encryption <jose.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jose>, <mailto:jose-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jose/>
List-Post: <mailto:jose@ietf.org>
List-Help: <mailto:jose-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jose>, <mailto:jose-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 09 Jan 2024 20:59:29 -0000

I support adoption of this draft.

Thanks,
[MATTR website]<https://mattr.global/>

Tobias Looker
MATTR
+64 273 780 461
tobias.looker@mattr.global<mailto:first.last@mattr.global>
[MATTR website]<https://mattr.global/>
[MATTR on LinkedIn]<https://www.linkedin.com/company/mattrglobal>
[MATTR on Twitter]<https://twitter.com/mattrglobal>
[MATTR on Github]<https://github.com/mattrglobal>

This communication, including any attachments, is confidential. If you are not the intended recipient, you should not read it – please contact me immediately, destroy it, and do not copy or use any part of this communication or disclose anything about it. Thank you. Please note that this communication does not designate an information system for the purposes of the Electronic Transactions Act 2002.

From: jose <jose-bounces@ietf.org> on behalf of Simo Sorce <simo@redhat.com>
Date: Wednesday, 10 January 2024 at 9:26 AM
To: Ilari Liusvaara <ilariliusvaara@welho.com>, jose@ietf.org <jose@ietf.org>
Subject: Re: [jose] Call for Adoption: draft-jones-jose-fully-specified-algorithms
EXTERNAL EMAIL: This email originated outside of our organisation. Do not click links or open attachments unless you recognise the sender and know the content is safe.


On Tue, 2024-01-09 at 17:24 +0200, Ilari Liusvaara wrote:
> On Mon, Jan 08, 2024 at 10:28:01AM -0500, Simo Sorce wrote:
> > On Tue, 2024-01-02 at 14:13 -0500, Karen ODonoghue wrote:
> > > JOSE working group members,
> > >
> > > This email starts a two week call for adoption for:
> > > https://datatracker.ietf.org/doc/draft-jones-jose-fully-specified-algorithms/
> > >
> > > As discussed at the November IETF meeting, with the approved expansion of
> > > the charter to include maintenance items, this document is now within
> > > scope.
> > >
> > > Please reply to this email with your comments on the adoption of this
> > > document as a starting point for the related JOSE work item.
> > >
> > > This call will end on Wednesday, 17 January 2024.
> >
> >
> > While this draft is theoretically useful I am NOT in favor of its
> > adoption for existing curves.
> >
> > The curve used is already implicit in the size of the signature, and
> > besides servers generally only have a specific key they use so there is
> > really no confusion, at worst you get an error during cryptographic
> > operations, something you must always be prepared to deal with as it
> > can always happen with untrusted input.
> >
> > Either way there is no practical ambiguity that really _needs_ to be
> > resolved.
>
> Note that there is some confusion on what the actual issue is.
>
> The actual issue is not swapping of curves or algorithms, or that keys
> can not be "fully specified", but that some widely used applications
> assume that signature algorithm impiles key type.
>
> That of course breaks with Ed25519 and Ed448 in COSE/JOSE and ECDSA
> in COSE. EdDSA can be used with either Ed25519 or Ed448 keys, and
> ES* can be used with P-256/P-384/P-521 keys.
>
> With ECDSA, one could apply the hash algorithm convention, but this
> does not work with EdDSA because there is only one alg for two key
> types.
>
> What this draft defines is replacements for these that imply single
> key type.

So applications are buggy and need to be fixed, doesn't sound to me the
same as applications are buggy and RFCs need to be changed.

I understand that it would be nicer or easier to deal with pairing a
key to an algorithm, but the cat is out of the bag, ECDSA and EdDSA
already exist as is and those applications need to be fixed anyway (one
way or another), why add additional interoperability issues in the mix
by changing existing specifications ?

You improve one self-inflicted problem by swapping it with a system-
wide problem?

Simo.

--
Simo Sorce,
DE @ RHEL Crypto Team,
Red Hat, Inc




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