From: Efraim Flashner <efraim@flashner.co.il>
To: Vagrant Cascadian <vagrant@debian.org>
Cc: 22883@debbugs.gnu.org, guix-devel@gnu.org
Subject: Re: bug#22883: Authenticating Git checkouts: step #1
Date: Sun, 29 Dec 2019 09:34:32 +0200 [thread overview]
Message-ID: <20191229073432.GY23018@E5400> (raw)
In-Reply-To: <87a77bzw6p.fsf@yucca>
[-- Attachment #1: Type: text/plain, Size: 3253 bytes --]
On Sat, Dec 28, 2019 at 06:45:34PM -0800, Vagrant Cascadian wrote:
> On 2019-12-27, Ricardo Wurmus wrote:
> >> b3011dbbd2 doc: Mention "make authenticate".
> >> 787766ed1e git-authenticate: Keep a local cache of previously-authenticated commits.
> >> 785af04a75 git: 'commit-difference' takes a list of excluded commits.
> >> 1e43ab2c03 Add 'build-aux/git-authenticate.scm'.
> >>
> >> Commit 787766ed1e takes care of caching (one of the limitations I
> >> mentioned in my previous message).
> >>
> >> Commit b3011dbbd2 adds instructions for contributors on how to
> >> authenticate a checkout (copied below). It’s a bit bumpy so I would
> >> very much welcome feedback and suggestions on how to improve this!
> >
> > This is great!
>
> Yes! Yes!
>
>
> > Thank you for the instructions. I thought I had all keys, but
> > apparently at least one of them is missing. “make authenticate” fails
> > for me with this error:
> >
> > Throw to key `srfi-34' with args `(#<condition &message [message: "could not authenticate commit b291c9570d5a27b11472df3df61cef9ed012241b: key B943509D633E80DD27FC4EED634A8DFFD3F631DF is missing"] 7f70fb08c240>)'.
> >
> > I previously downloaded the gpg keyring from Savannah:
> >
> > https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=guix
> >
> > Looks like Hartmut used to use a different key, which I don’t have.
>
> I got this too, and manually worked around it by downloading
> guix-keyring.gpg from:
>
> https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=guix&download=1
>
> And running:
>
> gpg --no-default-keyring --keyring ~/.config/guix/keyrings/channels/guix.kbx --import ~/guix-keyring.gpg
>
Thanks for the hint. I started with importing the keyring into my normal
keyring but I see now we have another keyring for this specifically.
(another being the user default, ~/.config/guix/upstream/trustedkeys.kbx
and now this one)
> It seems to be working now... how is the keyring *supposed* to be
> populated? Before I manually imported guix-keyring.gpg into guix.kbx,
> there were a very small number of keys present.
>
>
> It's a little awkward that it uses the fingerprint of the signing key
> rather than the primary key, as by default things like "gpg --list-keys"
> do not display the fingerprint of signing keys, only the primary key, so
> it is an adventure in gpg commandline options to correlate them.
>
> "gpg log --show-signature" also reports the the primary key fingerprint,
> if the key is available in the keyring, and only the subkey fingerprint
> for unknown keys if I remember correctly.
>
> It would be nice if the statistics would display the primary uid
> instead, as it is something a little more human readable, and the
> primary key fingerprint, as it is a little easier to find. :)
>
>
> I'm hoping the eventual goal is to integrate this into guix pull?
>
>
> Very nice to see progress on this issue!
>
>
> live well,
> vagrant
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2019-12-29 7:35 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87io14sqoa.fsf@dustycloud.org>
[not found] ` <87tvnemfjh.fsf@aikidev.net>
[not found] ` <871sab7ull.fsf@gnu.org>
[not found] ` <87zhwz6ct4.fsf@aikidev.net>
[not found] ` <877ek364u5.fsf@gnu.org>
2019-12-20 22:11 ` Authenticating Git checkouts: step #1 Ludovic Courtès
2019-12-21 1:33 ` zimoun
2019-12-27 12:58 ` bug#22883: " Ludovic Courtès
2019-12-27 20:47 ` Ricardo Wurmus
2019-12-27 21:31 ` Alex Griffin
2019-12-30 21:23 ` Ludovic Courtès
2019-12-29 2:45 ` Vagrant Cascadian
2019-12-29 7:34 ` Efraim Flashner [this message]
2019-12-30 21:29 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191229073432.GY23018@E5400 \
--to=efraim@flashner.co.il \
--cc=22883@debbugs.gnu.org \
--cc=guix-devel@gnu.org \
--cc=vagrant@debian.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).