Hi Rutherther,

On 4/7/26 22:18, Rutherther wrote:

Hi Hugo,


Any of you an idea on how disable authentication through `guix package -m`?

There is no way to do that, primarily because guix package is doing no
authentication. What you want to disable is the authentication of the
inferior-for-channels that is the one actually performing the auth. This
is also not supported at the moment. But it can be, it's just a simple
addition of (authenticate? #t) key argument, then passing it through to
the cached-channel-instance that already does support it. ..talking
about the guix/inferior.scm file.


Oh, scouring the manual shows that "7.5 Invoking guix git authenticate"
has a paragraph about authenticating a "branch called personal-fork"
that "has a different introduction than other branches".  Sounds like
what I'm trying to do.

It seems the solution is to properly sign my commits, and add a keyring
branch to my fork, and then update my .git/config.  It seems I don't
need to modify .guix-authorizations, but not sure.

You definitely need to update .guix-authorizations, that says what
users/keys are actually authorized. You will also need to update the
channel introduction you use when pulling the channel as your commit
updating the .guix-authorizations won't be signed by someone already
authorized, so authentication would fail without adapted introduction.

Thank you. I've added this to my list of things to verify and maybe update the documentation, because it was not immediately clear to me.

I resolved it for now by just making a separate channel and pulling with --disable-authorization.

Reply via email to