[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50814] [PATCH] guix: git-authenticate: Also authenticate the channe
From: |
Attila Lendvai |
Subject: |
[bug#50814] [PATCH] guix: git-authenticate: Also authenticate the channel intro commit. |
Date: |
Mon, 27 Sep 2021 18:45:25 +0000 |
what should happen if a channel-introduction commit does not update the
.guix-authorizations file?
this means that this single commit will get through the authentication (channel
intro commits are always trusted), but any later commits signed with the same
key will be rejected.
this is the situation that got me confused, and thrust me into attempting to
fix this (trying to `guix pull` from a local git checkout of guix containing my
patches).
i wrote the code for this, but i don't know what should be its UI. how should
this be reported to the user?
using `(warning ...)` will just print something to stderr.
i was hoping to raise a continuable condition of type &warning, that i can even
check for in the tests, but i have failed to put that together. the
scheme/guile condition system is a bit messy/convoluted.
can someone help me out with a hint/outline about how to report this that best
fits the rest of guix?
note that it's not really an error, because until another commit is added with
the new key, this channel is valid.
- attila
PGP: 5D5F 45C7 DFCD 0A39