Re: Signature Algorithm Identifiers

Ilari Liusvaara <ilariliusvaara@welho.com> Mon, 21 June 2021 06:07 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9FF833A2431 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 20 Jun 2021 23:07:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.751
X-Spam-Level:
X-Spam-Status: No, score=-5.751 tagged_above=-999 required=5 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.248, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-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 jjFLDFu9YfN5 for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Sun, 20 Jun 2021 23:07:11 -0700 (PDT)
Received: from lyra.w3.org (lyra.w3.org [128.30.52.18]) (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 9718A3A2430 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Sun, 20 Jun 2021 23:07:11 -0700 (PDT)
Received: from lists by lyra.w3.org with local (Exim 4.92) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1lvCwQ-0003jL-LA for ietf-http-wg-dist@listhub.w3.org; Mon, 21 Jun 2021 05:58:01 +0000
Resent-Date: Mon, 21 Jun 2021 05:57:50 +0000
Resent-Message-Id: <E1lvCwQ-0003jL-LA@lyra.w3.org>
Received: from mimas.w3.org ([128.30.52.79]) by lyra.w3.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <ilariliusvaara@welho.com>) id 1lvCdO-0007VY-0j for ietf-http-wg@listhub.w3.org; Mon, 21 Jun 2021 05:38:59 +0000
Received: from welho-filter1b.welho.com ([83.102.41.27] helo=welho-filter1.welho.com) by mimas.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <ilariliusvaara@welho.com>) id 1ludHz-00051S-Pt for ietf-http-wg@w3.org; Sat, 19 Jun 2021 15:54:17 +0000
Received: from localhost (localhost [127.0.0.1]) by welho-filter1.welho.com (Postfix) with ESMTP id 64A551F477 for <ietf-http-wg@w3.org>; Sat, 19 Jun 2021 18:53: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-filter1.welho.com [::ffff:83.102.41.23]) (amavisd-new, port 10024) with ESMTP id Z3-2qlPQJfgR for <ietf-http-wg@w3.org>; Sat, 19 Jun 2021 18:53: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 D16542A0 for <ietf-http-wg@w3.org>; Sat, 19 Jun 2021 18:45:59 +0300 (EEST)
Date: Sat, 19 Jun 2021 18:45:59 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: "ietf-http-wg@w3.org Group" <ietf-http-wg@w3.org>
Message-ID: <YM4RNzXfRPO8nFd+@LK-Perkele-VII2.locald>
References: <BD009D24-5DDB-4BE4-B367-919D1FABB81A@mit.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <BD009D24-5DDB-4BE4-B367-919D1FABB81A@mit.edu>
Sender: ilariliusvaara@welho.com
Received-SPF: none client-ip=83.102.41.27; envelope-from=ilariliusvaara@welho.com; helo=welho-filter1.welho.com
X-W3C-Hub-Spam-Status: No, score=-3.5
X-W3C-Hub-Spam-Report: BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.399, SPF_HELO_NONE=0.001, SPF_NONE=0.001, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: mimas.w3.org 1ludHz-00051S-Pt e3f25b1f61544121dc03f883bacfd9c9
X-Original-To: ietf-http-wg@w3.org
Subject: Re: Signature Algorithm Identifiers
Archived-At: <https://www.w3.org/mid/YM4RNzXfRPO8nFd+@LK-Perkele-VII2.locald>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/38926
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <https://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On Fri, Jun 18, 2021 at 04:47:42PM -0400, Justin Richer wrote:
> As discussed on the interim call this week, there’s a proposal for
> changing the algorithm identifiers used in the message signatures
> draft. There was spirited discussion on the topic, which I’ll try
> to summarize here, and it’s been discussed in the following issue:
> 
> https://github.com/httpwg/http-extensions/issues/1510 <https://github.com/httpwg/http-extensions/issues/1510>
> 
> The editors have defined the following identifiers in the current draft, to be used with fully-specified cryptographic algorithms:
> 
> - rsa-v1_5-sha256
> - rsa-pss-sha512
> - hmac-sha256
> - ecdsa-p256-sha256
> 
> Additional algorithms can be defined in an IANA registry, and as stated above, applications are free to use their own signature algorithms without registering a code point.
> 
> The counter-proposal in question (at the issue above) proposes a date-based method for identifiers instead (replacing each identifier in the above list respectively):
> 
>  - rsa-2003
>  - rsa-2005
>  - hmac-2006
>  - ecdsa-2013
> 
>
> The sentiment on the call seemed fairly clear, but the editors are
> seeking feedback and consensus as to whether the registered draft
> should switch to the date-based identifier format as proposed or
> to keep the current labels. 


Another point: Since abstract signatures and abstract MACs exist,
algorithms only really make sense if there are multiple possible
algorithms for a single key (this is usually not cryptographically
kosher). RSA does have two possible algorithms, but looks like HMAC and
(one subtype of) ECDSA only have one.


-Ilari