From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 05 12:06:11 2022 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: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Zhu Zihao Subject: Re: bug#57576: Missing support for NIPT-P384 gpg algorithm in Guix channel authentication. 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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 57576 Cc: 57576@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) 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.