GNU bug report logs - #26972
ssh: ‘send-files’ silently fails if key is not authorized on remote target

Previous Next

Package: guix;

Reported by: ludo <at> gnu.org (Ludovic Courtès)

Date: Wed, 17 May 2017 22:06:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26972 in the body.
You can then email your comments to 26972 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#26972; Package guix. (Wed, 17 May 2017 22:06:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to ludo <at> gnu.org (Ludovic Courtès):
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 17 May 2017 22:06:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: bug-guix <at> gnu.org
Subject: ssh: ‘send-files’ silently fails if key is
 not authorized on remote target
Date: Thu, 18 May 2017 00:05:27 +0200
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’.




Reply sent to ludo <at> gnu.org (Ludovic Courtès):
You have taken responsibility. (Sun, 04 Jun 2017 21:05:03 GMT) Full text and rfc822 format available.

Notification sent to ludo <at> gnu.org (Ludovic Courtès):
bug acknowledged by developer. (Sun, 04 Jun 2017 21:05:03 GMT) Full text and rfc822 format available.

Message #10 received at 26972-done <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: 26972-done <at> debbugs.gnu.org
Subject: Re: bug#26972: ssh: ‘send-files’ silently
 fails if key is not authorized on remote target
Date: Sun, 04 Jun 2017 23:04:13 +0200
ludo <at> 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’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 03 Jul 2017 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.