git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: expired key in junio-gpg-pub

From
Konstantin Ryabitsev <konstantin@linuxfoundation.org>
Date
Sep 7, 2021, 20:41 UTC
Message-ID
<20210907204100.ptapvn4wrqn3qrzq@meerkat.local>
In-Reply-To
<YTfL/eLKOiJdpH1c@coredump.intra.peff.net>
On Tue, Sep 07, 2021 at 04:30:53PM -0400, Jeff King wrote:
Show 9 quoted lines
> > I am reasonably sure that I've done update with pgp.mit.edu when I
> > refreshed the expiration last time, but apparently I didn't update
> > the in-tree copy.  I doubt that it is a good practice to ship the
> > public key used to sign things in the repository in the repository
> > itself, but if are not dropping the tag, I agree I should keep it up
> > to date.
> 
> Yeah, I agree that the is potentially problematic: it's a circular
> dependency, plus updating tags is awkward, per Ævar's other message.

It's not really as circular as it would appear at the outset -- at least not any more circular than any other situation, in reality. E.g. my favourite example:

1. you should verify the checksum of your distro's ISO before installing it
2. the checksum is available over a trusted https:// connection
3. the trust anchors for that https verification come with the browser package
4. which was installed from the ISO you downloaded the last time
5. goto 1

Bootstrapping trust is a hard problem and no matter how you look at it, at some point you have to just close your eyes and hope that the adversary isn't one step ahead of you.

So, I'd say putting the key into the git repository itself is fine. After all, it gets imported into the local PGP keyring on someone's workstation, where it gets a separate life of its own.

-K
Previous: Jeff King
Message 7 of 7 in “expired key in junio-gpg-pub”
  1. Jeff KingSep 7, 2021
  2. Konstantin RyabitsevSep 7, 2021
  3. Jeff KingSep 7, 2021
  4. Ævar Arnfjörð BjarmasonSep 7, 2021
  5. Junio C HamanoSep 7, 2021
  6. Jeff KingSep 7, 2021
  7. Konstantin RyabitsevSep 7, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.