From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 YL5fIjfZ9GJVKQAAbAwnHQ (envelope-from ) for ; Thu, 11 Aug 2022 12:25:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id cFMkIjfZ9GKWAQAAauVa8A (envelope-from ) for ; Thu, 11 Aug 2022 12:25:59 +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 483F43CAE3 for ; Thu, 11 Aug 2022 12:25:59 +0200 (CEST) Received: from localhost ([::1]:42752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oM5O2-0004T6-ET for larch@yhetil.org; Thu, 11 Aug 2022 06:25:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39910) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oM5N9-0004SY-EG for bug-guix@gnu.org; Thu, 11 Aug 2022 06:25:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33755) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oM5N8-0006v1-TB for bug-guix@gnu.org; Thu, 11 Aug 2022 06:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oM5N8-00057A-IF for bug-guix@gnu.org; Thu, 11 Aug 2022 06:25:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57091: Git authentication reports subkey fingerprints Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 11 Aug 2022 10:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57091 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxime Devos Cc: 57091@debbugs.gnu.org Received: via spool by 57091-submit@debbugs.gnu.org id=B57091.166021347519605 (code B ref 57091); Thu, 11 Aug 2022 10:25:02 +0000 Received: (at 57091) by debbugs.gnu.org; 11 Aug 2022 10:24:35 +0000 Received: from localhost ([127.0.0.1]:51737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oM5Mh-000569-0H for submit@debbugs.gnu.org; Thu, 11 Aug 2022 06:24:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oM5Md-00055t-Rj for 57091@debbugs.gnu.org; Thu, 11 Aug 2022 06:24:32 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49914) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oM5MX-0006pZ-Kt; Thu, 11 Aug 2022 06:24:25 -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=9g0BBnjg5VvOLd61BQ3fDVYqOuslo0u4WdoOUzmVgY8=; b=HYm6w4urQz3rwJXi4Yv5 nmJRwyLJ3/aa+FfvWtcP20YWYthV9d49TEbjOzVmhkLFXF1pXKhEYLsMtphK12M31D4Ak33xB2aSR MCIB36RHV1z2MNCMBe9VFvsaGy0sPSe1zLff/tOPpB6J+o3VaxcGSH7EbX5fd4PI/XbKOLcNzmofR lMqcVViZiNhKf7aONUXqKXgNU1ZvhSE8al4uSSJEsxd6UjA2KlnbBVDiHE9rAqJhb7ofDOt5Q+G5M Ca6rKElT4qH/vIiqM62CJJFG1+fJ29vkISFA6sPwXsEAc0LCWN5k2Yt+g9/CyMkymN0e01/OShKPV hHu2FFkvEBIPAg==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=42770 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oM5MX-0007gj-82; Thu, 11 Aug 2022 06:24:25 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87iln12kjc.fsf@inria.fr> <78149f79-5620-fae9-1ba3-4ed25c2154c5@telenet.be> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Quartidi 24 Thermidor an 230 de la =?UTF-8?Q?R=C3=A9volution, ?= jour de =?UTF-8?Q?l'Aun=C3=A9e?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 11 Aug 2022 12:24:23 +0200 In-Reply-To: <78149f79-5620-fae9-1ba3-4ed25c2154c5@telenet.be> (Maxime Devos's message of "Tue, 9 Aug 2022 23:20:01 +0200") Message-ID: <878rnvxelk.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=1660213559; 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=9g0BBnjg5VvOLd61BQ3fDVYqOuslo0u4WdoOUzmVgY8=; b=OCkTG+5cQtHih9TaPbePDEVg5HRV5Nt+/HDnC24fR6OFF9umYPjj66OuFA5sHqToGMht0O UH9plNPKx57I2qUVHvtaNLBsefD/H7qI414agRX1aRgD0yIMKnyOeM9qneCtn9EGx5iy0p oEi65UACSChGZAIrIk0WFuQIZAyCzmsuV5nVnO2f9Odto1pIFANCtsagDp9KRFei6i3mdp sQAx+3yf3g/nvw+O8LAlqOjrhynGg7ecPyvWEm79MdW5JOqHOjCCOSCEFlNQl0NHFuqKo3 aZ1hr9oAPjg1fGcKIaNEBX7X6K6mQifUBuNYd7icDe3DMyYsvWUHDNVmv595TQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660213559; a=rsa-sha256; cv=none; b=Tzx39ymJuO8mCXyhWQJmIVbbtKXsXL6F+9bZ87l36tGhDbFNRn/BNW/1QXCOi3B/0LGDjj mWiLjoHscQakvMCkRBsrF5EKoaqQvjACWIe8WYaayuvby68Lm49V6x+NFyXkJlf2qHLKZl y5c1AtfVqf6RpS1Q+Ckqcnw04oGJAvm/e6dd3gLKdMLaYEiIya7Vogtu3HRDUIIWOVESw+ LTfQyD5r4lYSX4slW64gfmrYXEGmIA9ruv4GyAvHD4BbETb+laEjTlH7mB0YtAvz3GAyEz u8YfjABaBzi8KQI9GCdYYiaDoZ7HZobwW0odUaR7CL+QN/vz4OQOmO4srzMZkw== 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=HYm6w4ur; 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.58 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=HYm6w4ur; 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: 483F43CAE3 X-Spam-Score: -2.58 X-Migadu-Scanner: scn0.migadu.com X-TUID: AId+3Tf0pLKb Hi, Maxime Devos skribis: > On 09-08-2022 23:07, Ludovic Court=C3=A8s wrote: >> Hello, >> >> As Tobias explains at >> and >> as can be seen from =E2=80=98.guix-authorizations=E2=80=99, the (guix op= enpgp) and (guix >> git-authenticate) machinery reports the fingerprint of subkeys on >> signatures (when subkeys are used) rather than the fingerprint of >> primary keys. >> >> This should be changed to report primary keys, at least optionally. > > Why should it be changed? IIUC .guix-authorizations and (guix ...) > care about the key that things were signed with, not necessarily the > primary key, so it seems to me that it needs to report the subkey > fingerprint, not the fingerprint of the primary key it belongs to, as > the primary key is irrelevant to them IIUC. Yes, I kinda agree, but=E2=80=A6 the motivation here is that OpenPGP user interfaces don=E2=80=99t normally refer to subkey fingerprints; instead they refer to primary key fingerprints, even if you use a subkey, which is the point of subkeys AIUI. That Guix treats subkeys differently is confusing to seasoned OpenPGP users. Ludo=E2=80=99.