From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id UNCmH5EfFmNiSwEAbAwnHQ (envelope-from ) for ; Mon, 05 Sep 2022 18:10:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 0FGNHpEfFmPcIgEAG6o9tA (envelope-from ) for ; Mon, 05 Sep 2022 18:10:57 +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 EE9A33EFDC for ; Mon, 5 Sep 2022 18:10:56 +0200 (CEST) Received: from localhost ([::1]:56922 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVEga-0004NF-5t for larch@yhetil.org; Mon, 05 Sep 2022 12:10:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVEco-00085l-OR for bug-guix@gnu.org; Mon, 05 Sep 2022 12:07:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59993) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVEco-0006lh-G9 for bug-guix@gnu.org; Mon, 05 Sep 2022 12:07:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVEco-00036L-Af for bug-guix@gnu.org; Mon, 05 Sep 2022 12:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57576: Missing support for NIPT-P384 gpg algorithm in Guix channel authentication. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 05 Sep 2022 16:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57576 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Zhu Zihao Cc: 57576@debbugs.gnu.org Received: via spool by 57576-submit@debbugs.gnu.org id=B57576.166239397211817 (code B ref 57576); Mon, 05 Sep 2022 16:07:02 +0000 Received: (at 57576) by debbugs.gnu.org; 5 Sep 2022 16:06:12 +0000 Received: from localhost ([127.0.0.1]:48692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVEbz-00034X-Ll for submit@debbugs.gnu.org; Mon, 05 Sep 2022 12:06:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVEbx-00034C-Rk for 57576@debbugs.gnu.org; Mon, 05 Sep 2022 12:06:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51920) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVEbs-0006ed-JV; Mon, 05 Sep 2022 12:06:04 -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=UkGtCBty6Hh8uZqpIB3zuQvjVzG1PYNpmCMesm2ZtCw=; b=Bwh0Jkyu9zdO05MtdTHs 4S22q1IcVkf15HI3BttvdhF0/ixV10VieRENvv/QJChj+RFYVJAvuH6q5Grp8FgHX+n//MB03OyIt D7o7IC8b1CJfLRInUQgBJBRlWcL4wSRAIhyeEM1zbUbAwglb8HVCog+p45Ym4uhlZR9Yv3a5Ylayy yKlW4PTKI5QMYrRLx/Qp8Be2KyAa9om835NPXeoi4ogsen7ol8nzNsTF90T2J9wOcCD+PNifxv+8r Vs4wwNwv3Wz08cH0UjlXSnVm+TLLFX+JrI/BtsWhZcGMuMrFbYtHo0VQc+5zoCKGdkZ39BM2NGOOC VZsEv0POlLGMUw==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=34280 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVEbr-0002on-Mx; Mon, 05 Sep 2022 12:06:04 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <86v8q38i5i.fsf@163.com> Date: Mon, 05 Sep 2022 18:06:01 +0200 In-Reply-To: <86v8q38i5i.fsf@163.com> (Zhu Zihao's message of "Sun, 04 Sep 2022 19:53:28 +0800") Message-ID: <87r10p3ixi.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: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" 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=1662394257; 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=UkGtCBty6Hh8uZqpIB3zuQvjVzG1PYNpmCMesm2ZtCw=; b=ckMhCu/pFuWzhhkR+pNFeHcZrNRCM/wShtkZeNq6HeC+Vfcwux/RvFuuVczDFgp97JofH2 h1FfJwooNbtdstqlxdOcsg6mKZ8xfleqCkitpYPuztRI5pDhBMkU3V01iLPxJbQsx2mTCz KJikWshxZ8g9RF68MVsTqFqExGhDJ8fggW7A0TZ+hktTkNrAe2W44A0HUKggiWwLLzISR5 5of0yY5cr9K9rjO/nc0IJywKURwRlyPxXZxfKbNfzKB9v98To+MIrNy/6l21KFN7uB1LoC wklXriSMN1NMr+Jf1Nf32GY/YHsyssy2nCQrs5CPxwdq2syD6+W+InByjQiNGg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1662394257; a=rsa-sha256; cv=none; b=S61BnF6ktXVJHvAyv1rZfa5YTX9VhPMkJ09D+78owlowfWuV9mO2LZLbbXB0SP5FZgUX0S HgeO1he/DnKteVBEPQXZzMCFEgYu3s0tteZsO8eg2q7WqOhuDopGX1Flo7jar/itOjxpPw s5tg7ZkW4iyDC9v1GFahzIIA4ddAy2qc9Q7JfDJnqmHzPw/oPHJMN33XdnwsUmq7QZ1tjX HBgElq9qbBgSaisTOuh1NnM3/rc8mPJjWLaMT+i7pgBJLYpVI5wjpLlEWIU3rIvXNJ8KWx mDPfZsW7vWJgypK0jDQm2WS4Ah+C3e5Wu2TTQtuEDMBh7nJskInysz6ClqMsRQ== 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=Bwh0Jkyu; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-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=Bwh0Jkyu; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EE9A33EFDC X-Spam-Score: -2.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: dHpJwrDpGaB8 Hi, Zhu Zihao skribis: > I'm working with my private channel, And I update my gpg key using > NIPT-P384 algorithm. But `guix time-machine` complains that: [...] > 226:4 6 (authenticate-commit # # =E2=80=A6) > 129:23 5 (commit-signing-key _ # =E2=80=A6) > In guix/openpgp.scm: > 562:26 4 (verify-openpgp-signature _ _ _) > In gcrypt/pk-crypto.scm: > 250:8 3 (key-type (unsupported-algorithm 19 #vu8(5 43 129 4 =E2=80= =A6))) > 202:27 2 (_ (unsupported-algorithm 19 #vu8(5 43 129 4 0 34 3 =E2=80= =A6)) 0) > In ice-9/boot-9.scm: > 1685:16 1 (raise-exception _ #:continuable? _) > 1685:16 0 (raise-exception _ #:continuable? _) > > ice-9/boot-9.scm:1685:16: In procedure raise-exception: > In procedure struct-vtable: Wrong type argument in position 1 (expecting = struct): (unsupported-algorithm 19 #vu8(5 43 129 4 0 34 3 3 4 53 239 158 10= 5 250 133 46 247 192 56 245 48 43 60 70 47 46 85 221 226 213 94 248 254 218= 85 176 252 233 119 26 85 65 191 47 159 193 86 129 155 186 183 151 233 81 1= 78 42 30 81 234 192 184 140 230 226 26 72 186 82 18 213 187 6 28 34 39 197 = 75 37 138 226 98 216 187 185 223 222 126 181 122 255 104 171 201 51 254 7 2= 35 245 151 247 168 215 165 73 181)) > > Does Guix support NIPT-P384 key? Nope! (That=E2=80=99s NIST-P384.) To add it, we need to adjust (guix openpgp) to support it (and ECDSA, the =E2=80=9C19=E2=80=9D we see above). I=E2=80=99ll follow up with a patc= h. Ludo=E2=80=99.