[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Authenticating maintenance.git
From: |
Chris Marusich |
Subject: |
Re: Authenticating maintenance.git |
Date: |
Wed, 23 Jun 2021 18:01:05 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Chris Marusich <cmmarusich@gmail.com> writes:
> Hi Ludo,
>
> Ludovic Courtès <ludo@gnu.org> writes:
>
>> It looks like you’re missing a local ‘keyring’ branch 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:
--8<---------------cut here---------------start------------->8---
$ git push -n origin
Authenticating commits 8a7e10b to 413b8f1 (1 new commits)...
[##############################################################################]guix
git: error: could not authenticate commit
413b8f1c6d9ca2160d7aa8d80db181a6f39d3d82: key CBF5 9755 CBE7 E7EF EF18 3FB1
DD40 9A15 D822 469D is missing
error: failed to push some refs to
'git.savannah.gnu.org:/srv/git/guix/maintenance.git'
--8<---------------cut here---------------end--------------->8---
However, the signature looks good to me:
--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 <cmmarusich@gmail.com>" [ultimate]
--8<---------------cut here---------------end--------------->8---
GnuPG reports it can find the keys:
--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 <cmmarusich@gmail.com>
sub rsa4096 2016-02-19 [E] [expires: 2021-08-13]
--8<---------------cut here---------------end--------------->8---
This happens even if I update guix with "guix pull". Any idea what the
problem might be?
--
Chris
0001-README-Clarify-that-pre-push-hook-needs-keyring.patch
Description: Text Data
signature.asc
Description: PGP signature