Hi
On 2/3/26 22:27, Ludovic Courtès wrote:
Hello,
Daniel Littlewood via <[email protected]> skribis:
I am getting an error whenever I run guix deploy.
[..]
at the end of the deployment I see the following:
guix deploy: error: unauthorized public key: (public-key
(ecc
(curve Ed25519)
(q #10539EDF38DB50288DD75D6AD36D8E44B1C08B4CF4A630CC33BE0D395ECFA5F9#)
)
)
By default, with (build-locally? #t), when you run ‘guix deploy’,
binaries are built or substituted locally and then sent to the target
machine(s).
For this reason, the signing key of the machine where ‘guix deploy’
runs, which is under /etc/guix/signing-key.pub, must be authorized on
the remote machine. This is a one-time setup you need to do manually:
https://guix.gnu.org/manual/devel/en/html_node/Substitute-Server-Authorization.html
FWIW, I ran into the same 'problem' with `guix copy` yesterday, and I
(apparently) found the documentation unclear, so I created a P.R. for that:
https://codeberg.org/guix/guix/pulls/6831
Maybe we should also update the `guix deploy` documentation? Or the
error message perhaps? Can we have error messages refer to a section in
the manual, e.g. with a URL?