Hi,

On Thu, 27 Feb 2025 at 14:16, Rostislav Svoboda <[email protected]> 
wrote:

> 9c7ef1994d 2025-02-27  .guix-authorizations: Use subkey for
> Steve/futurile. (11 minutes ago) Maxim Cournoyer

As explained elsewhere, this is because you have not updated your local
checkout of the keyring branch.

I’ve hit this situation several times, and each time, I took me some
time to remember what’s wrong.  Therefore, instead of what the manual
recommends [1], namely

     git fetch origin keyring:keyring
     guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad \
       "BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA"

I run this on a fresh clone:

     guix git authenticate -k origin/keyring     \
        9edb3f66fd807b096b48283debdcddccfea34bad \
       "BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA"

Otherwise, I tweak the file .git/config to have:

--8<---------------cut here---------------start------------->8---
[guix "authentication"]
        introduction-commit = 9edb3f66fd807b096b48283debdcddccfea34bad
        introduction-signer = BBB0 2DDF 2CEA F6A8 0D1D  E643 A2A0 6DF2 A33A 54FA
        keyring = origin/keyring
--8<---------------cut here---------------end--------------->8---

Then I do not need to remember to update my local checkout of the
keyring branch when a committer is added.  All just works like a charm
and out of the box.

I see you: What is it not documented? :-)  Well, I’ve sent the patch but
there is no consensus.  See:

    https://codeberg.org/guix/guix/pulls/440

And to be honest, I’ve been too bored to argue again and again for a
trivial patch that fixes all the annoyances, so I gave up.

Closing this ticket because it’s not a bug, and if it’s one it’s already
known and already tracked on Codeberg. :-)

Cheers,
simon

1: https://guix.gnu.org/manual/devel/en/guix.html#Building-from-Git



Reply via email to