all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: 26972-done@debbugs.gnu.org
Subject: bug#26972: ssh: ‘send-files’ silently fails if key is not authorized on remote target
Date: Sun, 04 Jun 2017 23:04:13 +0200	[thread overview]
Message-ID: <87wp8rh3ci.fsf@gnu.org> (raw)
In-Reply-To: <87inkzt9zs.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 18 May 2017 00:05:27 +0200")

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’.

      reply	other threads:[~2017-06-04 21:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wp8rh3ci.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=26972-done@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.