unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26972: ssh: ‘send-files’ silently fails if key is not authorized on remote target
@ 2017-05-17 22:05 Ludovic Courtès
  2017-06-04 21:04 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Ludovic Courtès @ 2017-05-17 22:05 UTC (permalink / raw)
  To: 26972

I just noticed that something like:

  guix copy --to=REMOTE /gnu/store/….drv

seems to work (it actually sends data) but silently fails if the host’s
nar signing key is not authorized on REMOTE (that is, the store items
are not added to REMOTE’s store but there’s no error message).  Same
problem with ‘guix offload’ since both use ‘send-files’ in (guix ssh).

This is on v0.12.0-3916-g411ba5118.

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#26972: ssh: ‘send-files’ silently fails if key is not authorized on remote target
  2017-05-17 22:05 bug#26972: ssh: ‘send-files’ silently fails if key is not authorized on remote target Ludovic Courtès
@ 2017-06-04 21:04 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2017-06-04 21:04 UTC (permalink / raw)
  To: 26972-done

ludo@gnu.org (Ludovic Courtès) skribis:

> I just noticed that something like:
>
>   guix copy --to=REMOTE /gnu/store/….drv
>
> seems to work (it actually sends data) but silently fails if the host’s
> nar signing key is not authorized on REMOTE (that is, the store items
> are not added to REMOTE’s store but there’s no error message).  Same
> problem with ‘guix offload’ since both use ‘send-files’ in (guix ssh).
>
> This is on v0.12.0-3916-g411ba5118.

Fixed in commit de9d8f0e295928d92e0e5ea43a4e594fa78c76fb.  Now we get:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix copy --to=localhost sed
sending 1 store item to 'localhost'...
guix copy: error: build failed: program `guix-authenticate' failed with exit code 1
--8<---------------cut here---------------end--------------->8---

Ludo’.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-04 21:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-17 22:05 bug#26972: ssh: ‘send-files’ silently fails if key is not authorized on remote target Ludovic Courtès
2017-06-04 21:04 ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).