From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eCTBAQRKF2OJ6gAAbAwnHQ (envelope-from ) for ; Tue, 06 Sep 2022 15:24:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id WHfBAARKF2P1hQAAG6o9tA (envelope-from ) for ; Tue, 06 Sep 2022 15:24:20 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C1BE622C61 for ; Tue, 6 Sep 2022 15:24:19 +0200 (CEST) Received: from localhost ([::1]:40090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVYYs-0006To-DO for larch@yhetil.org; Tue, 06 Sep 2022 09:24:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVXEN-0007Y3-8w for guix-patches@gnu.org; Tue, 06 Sep 2022 07:59:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33018) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVXEM-0007FC-Hm for guix-patches@gnu.org; Tue, 06 Sep 2022 07:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVXEM-0005yW-CX for guix-patches@gnu.org; Tue, 06 Sep 2022 07:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#57599] [PATCH] openpgp: Add support for ECDSA with NIST curves. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 06 Sep 2022 11:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57599 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 57599@debbugs.gnu.org Cc: 57576@debbugs.gnu.org, Zhu Zihao Received: via spool by 57599-submit@debbugs.gnu.org id=B57599.166246553222942 (code B ref 57599); Tue, 06 Sep 2022 11:59:02 +0000 Received: (at 57599) by debbugs.gnu.org; 6 Sep 2022 11:58:52 +0000 Received: from localhost ([127.0.0.1]:49949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVXEB-0005xs-P4 for submit@debbugs.gnu.org; Tue, 06 Sep 2022 07:58:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVXEA-0005xZ-2s; Tue, 06 Sep 2022 07:58:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVXE3-0007Dl-PV; Tue, 06 Sep 2022 07:58:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=xfzwpkeSOdAdAhf0VR9CTc0gCQCf2I/mpOHet9s52Ao=; b=ZZYtV9fVXo2LXYfxTY2U NRjMNkq8fcsR9iFHZggqD6nT321hqLGdM8qPmHYGAnKs0AK4GPmG0fVwTUDyZNl1IxZ3WObysGFgV ptzZONhLpah9pAJcs/qnobet/P9skt5FaqbRVJUxR+SZT0aBVL8WKKiM+Rk/dLyMY40ZesOvw9mPn gOGPa5+mxY3gRGI+uZ+j0K8ouZJ/a/84oNcxnvaSCEnpfLrv3ZlcN5RJcmjITuhOi7gsxhTHeCa+O uAUtFlPZQPm1fnfzJ4/pSPCDfddABCPSqLjIb0GbAiNRZYilVNHR9FypmfE6JLnKrc5ghP03hs46G 4MllZ5zbTr+yXw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:64957 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVXE3-0001bb-D2; Tue, 06 Sep 2022 07:58:43 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87r10p3ixi.fsf@gnu.org> <20220905160929.21742-1-ludo@gnu.org> Date: Tue, 06 Sep 2022 13:58:40 +0200 In-Reply-To: <20220905160929.21742-1-ludo@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 5 Sep 2022 18:09:29 +0200") Message-ID: <8735d4zpcf.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1662470659; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xfzwpkeSOdAdAhf0VR9CTc0gCQCf2I/mpOHet9s52Ao=; b=iIUmKp9gme/1LTC4FXhT59ArjiC4mynWAuvU1j+aSSDDJ05+yaCXwtlPfExV419RGBVuBQ Q8zP3x2TVoEY7nSSx4vglwb7IA/0NPVTQfk85qlzVYorXggQMGHVOi6zr0a10uQ/XAblin 2R22CRo616VdQQBI7asMoPYF/R1PNON3u3NB/xy6XTn8MIOqFbZ1Ic7grpPxXWLnZoTa2V gIORqtyy+qwYY06D4cMTi0/fAdWEaasr59j8lOxydv+Ks20vXlYDbID+cdwfBFxgS/lGYB bkXZrR9IttTFBKcziEgYdJU7R/xzVla08qUxls4VvDPx9GThqt7Sxtwr5vUbXA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662470659; a=rsa-sha256; cv=none; b=dIgVzRsxweGtshtMKhlIk17+SIVhsdE+0kjBU/ricCuzdvz8k1vgHaiqa7OiHnI26B3CJS Kq7HE9/2Fe96p2kCsyoo0tBC8ZzWHi8pk8IP8oJisSclEe01bLAaA6kwnvfpFgLr80RZwE IPrdhiphgbYD3IdzmysSECUGs0zqJOv3J/+1MhA5HJUSQ+5tm3GZHX/VZ+ApHe6tlMHO2C c7CUNhJEoyr3TgeYfsm1+tsh0AtAtaiMBccRTXsoKDesAvXD97OV7W6fJytlm32IuDiLvd 8LUcHeYPXVVbkVc3mg82Pz2xGG7tKSRMbMdRwokSfBOxCaiRoKr3NeL5+5aLmQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ZZYtV9fV; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=ZZYtV9fV; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C1BE622C61 X-Spam-Score: -2.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: jTRHKUqHDnBM Hi, ECDSA and the NIST curves (and in fact a large part of NIST=E2=80=99s crypto standardization work=C2=B9) are actually considered with skepticism by some: https://en.wikipedia.org/wiki/Elliptic_Curve_Digital_Signature_Algorithm#= Concerns That makes me wonder whether supporting them is a good idea, after all. Evidently they=E2=80=99re not widely used in OpenPGP and not supporting them hasn=E2=80=99t been much of a problem, it seems. On one hand, we don=E2=80= =99t want Guix=E2=80=99s OpenPGP implementation to limit what users do with their Ope= nPGP keys; on the other hand, we don=E2=80=99t want to encourage algorithms that bring little to the table at best and are suspicious at worst. What do people think? Ludo=E2=80=99. =C2=B9 https://blog.cr.yp.to/20220805-nsa.html