Hi help-guix, I have another question about guix deploy.

I am getting an error whenever I run guix deploy. The deployment appears to work - a new generation is created on the remote machine and I can see its provenance with `guix system describe`. However, at the end of the deployment I see the following:

guix deploy: error: unauthorized public key: (public-key
 (ecc
  (curve Ed25519)
  (q #10539EDF38DB50288DD75D6AD36D8E44B1C08B4CF4A630CC33BE0D395ECFA5F9#)
  )
 )

My deployment configuration is split across multiple files, so it's not easy to include the whole thing, but here is the machine configuration:

(list (machine
       (operating-system %blconf)
       (environment managed-host-environment-type)
       (configuration (machine-ssh-configuration
                       (host-name "2001:4d78:630:d0:0003::1")
                       (system "x86_64-linux")
                       (user "root")
                       (identity "/home/daniel/.ssh/id_rsa")
                       (port 22)
                       (build-locally? #t)
                       (host-key "ssh-ed25519 
AAAAC3NzaC1lZDI1NTE5AAAAIMzHj86Esn+bWhm4oz9ImLVPxxduiCNR/3aS3U/N1vMO 
root@(none)")))))

I am sure the host key is correct - if I change it to any other value then the deployment fails immediately with "server at '2001:4d78:630:d0:0003::1' returned host key ... instead of ...". I do not recognise the key quoted in the error message, but it seems like it is encoded in such a way I would not recognise it at face value, even if it was the host key of either machine.

I am running guix system on both machines, so I don't think there is any problem with authenticating the store, which is a possible problem mentioned in the manual. If it was, I think it would blow up sooner anyway. I can't tell if the deployment actually completely succeeded, so I want to deal with this error properly (just in case I do find something wrong otherwise).

Best wishes,
Daniel Littlewood

Reply via email to