From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qCRSNm7Z02D/eQEAgWs5BA (envelope-from ) for ; Thu, 24 Jun 2021 03:01:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id cFYCMm7Z02B5NwAAbx9fmQ (envelope-from ) for ; Thu, 24 Jun 2021 01:01:34 +0000 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 51BF427481 for ; Thu, 24 Jun 2021 03:01:34 +0200 (CEST) Received: from localhost ([::1]:40854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lwDkK-0002yt-OQ for larch@yhetil.org; Wed, 23 Jun 2021 21:01:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwDk7-0002yl-19 for guix-devel@gnu.org; Wed, 23 Jun 2021 21:01:19 -0400 Received: from mail-pl1-x633.google.com ([2607:f8b0:4864:20::633]:39519) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lwDk3-0001AX-5s; Wed, 23 Jun 2021 21:01:18 -0400 Received: by mail-pl1-x633.google.com with SMTP id d1so1419408plg.6; Wed, 23 Jun 2021 18:01:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=QMZbo2Gg+G/PxlhAJpsUAowjGP4lc6rybEfxyMAybMI=; b=Bn1399XS4kUAs7tMugu7g10pMowqKzYNVt1SDrF6TIhgD9PeXSNDvF/PGyqepbBbtD TWHx6q+Q+a5MpQ2mjEYzJ5AXVwN844xHmlYae4BK9oS4mfOoftfD+0cfJc9K4nbDF+So 4Yq/Y9oKwi94irKJRdow/U+ThEQY2Ek0bILaEjJJMbfhUy9IcM616qmrJXLF/BPhFEDo zM84SDjT7wmL3eB9G0zyPM6OhLikHWFlPuIHu7ZWMs4p+bse6dNpNzKJgSwbQ+2pE5zK V5vlUy961tc4vQplKwHDRuYh3QSVLh8dHiCtXlDBoC1a9HjBfN1vcDCar6XQyznqsKhY ByoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=QMZbo2Gg+G/PxlhAJpsUAowjGP4lc6rybEfxyMAybMI=; b=rTlWKra5ItgaiW9DtZhka76if3N2i2w+9k+sCBOB22UvranNT6nVXvus66xFfC/Es3 MLmeubNdJgbooQtb1RSWqt+XAH+MldITXGR4GI2+PvxOCoXnYwkmVWJ50igPeVKMK5JZ XYeTaCLAWsZNihFZrrGTN6XxHVPWvTBuH/pa+XoBZfs0JDWIihEI18jbrelFfv6yiXJr G7im9edFsmyPAgRN1v18TQR2IBA6L5zxOqKIUtW9Z3bpIaMjGUFBV1xSe7V1nDoqpxf0 0biavexB5+0RY17O+qzvMc6O+02qyGHSKWFNSI2voYnaRJUs0yZay4xtJakQRS3H1boN 0J5A== X-Gm-Message-State: AOAM530ovO2aPE7wpIHs4bSA+7l0c9ly+2slDUL599IVUOyrzy5Q+Zb1 FNSrtgGeholJ7EaaUhWMRRrXmjyj5ClM/w== X-Google-Smtp-Source: ABdhPJzTDBa/6vPMNDCRUyDnyFFLn+4CgOlJXBg3fkTc4rPW8//f5VYk0fXYmhoN9dZiy4qarPjLVA== X-Received: by 2002:a17:902:8343:b029:122:eb4:218f with SMTP id z3-20020a1709028343b02901220eb4218fmr1851088pln.71.1624496471763; Wed, 23 Jun 2021 18:01:11 -0700 (PDT) Received: from garuda-lan ([2601:601:9d01:3f90::24aa]) by smtp.gmail.com with ESMTPSA id gg5sm648499pjb.18.2021.06.23.18.01.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 23 Jun 2021 18:01:10 -0700 (PDT) From: Chris Marusich To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: Authenticating maintenance.git References: <87tungf7k6.fsf@gnu.org> <87o8c6e0ng.fsf@gmail.com> <87czsgcxli.fsf@gnu.org> <87lf71be64.fsf@gmail.com> Date: Wed, 23 Jun 2021 18:01:05 -0700 In-Reply-To: <87lf71be64.fsf@gmail.com> (Chris Marusich's message of "Tue, 22 Jun 2021 17:46:59 -0700") Message-ID: <87zgvg9ium.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=2607:f8b0:4864:20::633; envelope-from=cmmarusich@gmail.com; helo=mail-pl1-x633.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1624496494; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=QMZbo2Gg+G/PxlhAJpsUAowjGP4lc6rybEfxyMAybMI=; b=cmV/Tu65txrpyN1LNpiSvrCljfQEjBjCDAVtBaI9sXzChrbA7mlcjd9bj25NwJiesZrSEe g5tdzwJHFY9jmEg36/pLz9hkXqHw9tA8/uNXxsEL6qHDKYMMj+JD0nPWy65Nh4fN7nWWhH EoGEVI2comusbwhOJYWzFaG3JKt0Kenbzkk5cQFcV4q+eQgsg4AUMHnsXE0OHEiiYGaz2H IBR/F2k/NfgmPLZQ9wxIwUxGXUOcZfWuuUAVyJjklCunM2aqUkGZJAhzmGmFU0hdyACB4C QRpMkTFTIwf6O5WKf9YVypwdJrO2Iuxvk3uksIgVT2RUB2ZfyclP253VjjbAsQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624496494; a=rsa-sha256; cv=none; b=F8aBf7p8n7SAF32hPc8I+wSPCUDn7DXVB5F13kAJUD4ALjDNJSdhdEY7188ZzhEBNN2P0L t2vDztOoSTZdXQxT/EHyg1AkQVLJoc5MZE4+eurhM//e9Wgt+6H9Y0km7rpf9BKK9kcPyB jWjmOwMnAU1DZxc1Mxj5O4cUPN++UG1WaTdkmobAPY3BSmt4zOnxKJ/vE0K3zwbs3oksrd R0iWde5tb4CyHN9M7orejH4pBlhAUC18AsU1LiCW93EfuQiPuDmkMJ7Lv9UZN/Va38pJgX RGcf7iVWkjzgNYP+zlpEG8RvELfXRuMx+P/9Ss4PexQvmxUpyYDrVjFaCplESA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Bn1399XS; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -5.23 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Bn1399XS; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 51BF427481 X-Spam-Score: -5.23 X-Migadu-Scanner: scn0.migadu.com X-TUID: zAdHS058AJ1Y --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Chris Marusich writes: > Hi Ludo, > > Ludovic Court=C3=A8s writes: > >> It looks like you=E2=80=99re missing a local =E2=80=98keyring=E2=80=99 b= ranch for that repo, no? >> >> I think you need to run: >> >> git fetch >> git branch --track keyring > > This works, basically. Thank you! Although I was now able to run the pre-push hook, it seems unaware of my PGP key. I tried making the attached change to the README and testing a push via "git push -n origin", and it complained about the signature: =2D-8<---------------cut here---------------start------------->8--- $ git push -n origin Authenticating commits 8a7e10b to 413b8f1 (1 new commits)... [##########################################################################= ####]guix git: error: could not authenticate commit 413b8f1c6d9ca2160d7aa8d= 80db181a6f39d3d82: key CBF5 9755 CBE7 E7EF EF18 3FB1 DD40 9A15 D822 469D i= s missing error: failed to push some refs to 'git.savannah.gnu.org:/srv/git/guix/main= tenance.git' =2D-8<---------------cut here---------------end--------------->8--- However, the signature looks good to me: =2D-8<---------------cut here---------------start------------->8--- $ git verify-commit 413b8f1c6d9ca2160d7aa8d80db181a6f39d3d82 gpg: Signature made Tue 22 Jun 2021 05:54:13 PM PDT gpg: using RSA key CBF59755CBE7E7EFEF183FB1DD409A15D822469D gpg: Good signature from "Chris Marusich " [ultimate] =2D-8<---------------cut here---------------end--------------->8--- GnuPG reports it can find the keys: =2D-8<---------------cut here---------------start------------->8--- $ gpg --list-keys 'CBF5 9755 CBE7 E7EF EF18 3FB1 DD40 9A15 D822 469D' pub rsa4096 2016-02-19 [SC] [expires: 2021-08-13] CBF59755CBE7E7EFEF183FB1DD409A15D822469D uid [ultimate] Chris Marusich sub rsa4096 2016-02-19 [E] [expires: 2021-08-13] =2D-8<---------------cut here---------------end--------------->8--- This happens even if I update guix with "guix pull". Any idea what the problem might be? =2D-=20 Chris --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-README-Clarify-that-pre-push-hook-needs-keyring.patch Content-Transfer-Encoding: quoted-printable From=20413b8f1c6d9ca2160d7aa8d80db181a6f39d3d82 Mon Sep 17 00:00:00 2001 From: Chris Marusich Date: Tue, 22 Jun 2021 17:51:07 -0700 Subject: [PATCH] README: Clarify that pre-push hook needs keyring. * README: Explain that the pre-push hook requires the existence of a local keyring branch, and add a "git branch" command to show how to create one. =2D-- README | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README b/README index 338895b..71dc641 100644 =2D-- a/README +++ b/README @@ -1,8 +1,10 @@ This repository is meant to contain documents and tools by Guix hackers and maintainers that do not fit in the Guix repository. =20 =2DIf you=E2=80=99re a committer, please install this pre-push hook: +If you=E2=80=99re a committer, please create a local keyring branch that +tracks origin/keyring and install this pre-push hook: =20 +git branch --track keyring origin/keyring cat > .git/hooks/pre-push <