From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: bug#31825: guix offload fails with guix-authenticate error Date: Sat, 22 Feb 2020 00:18:39 -0500 Message-ID: <87r1ynqjww.fsf@apteryx.i-did-not-set--mail-host-address--so-tickle-me> References: <87y3firpjs.fsf@gmail.com> <877en1xbpq.fsf@gnu.org> <87bmc87rlm.fsf@gmail.com> <87zhzswl4s.fsf@gnu.org> <87bmc75wqv.fsf@gmail.com> <8736xjqg5c.fsf@gnu.org> <871sd354mb.fsf@gmail.com> <871sd2u8zo.fsf@gnu.org> <87vaae40wh.fsf@gmail.com> <87fu1hsgbw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:35852) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5NBu-0006BO-Sa for bug-guix@gnu.org; Sat, 22 Feb 2020 00:19:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j5NBt-0005Ci-Tz for bug-guix@gnu.org; Sat, 22 Feb 2020 00:19:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42552) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j5NBt-0005CY-Qe for bug-guix@gnu.org; Sat, 22 Feb 2020 00:19:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j5NBt-0003Af-Lk for bug-guix@gnu.org; Sat, 22 Feb 2020 00:19:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87fu1hsgbw.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 20 Jun 2018 16:06:11 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 31825@debbugs.gnu.org, Maxim Cournoyer Just as a follow-up; I've managed to fall into this trap again, attempting to authorize the keys by adding them to the 'authorize-keys' field of guix-configuration record. On the local machine: --8<---------------cut here---------------start------------->8--- guix offload test /etc/guix/machines.scm 127.0.0.1 guix offload: testing 1 build machines defined in '/etc/guix/machines.scm'... guix offload: Guix is usable on '127.0.0.1' (test returned "/gnu/store/883yjkl46dxw9mzykykmbs0yzwyxm17z-test") guix offload: '127.0.0.1' is running GNU Guile 3.0.0 sending 1 store item (0 MiB) to '127.0.0.1'... exporting path `/gnu/store/l9mph3k5l26nm8mb50imsklbsz0bji0b-export-test' guix offload: error: program `/gnu/store/amjsgks2n05k9lkck78z64nphad1dkqr-guix-1.0.1-13.50299ad/bin/guix' failed with exit code 1 --8<---------------cut here---------------end--------------->8--- On the remote machine: --8<---------------cut here---------------start------------->8--- sudo strace -p 15683 -p 15716 -f -s345 -o /tmp/log --8<---------------cut here---------------end--------------->8--- And found within /tmp/log: 16120 write(2, "guix authenticate: error: error: unauthorized public key: (public-key \n (ecc \n (curve Ed25519)\n (q #MY-PUBLIC-KEY#)\n )\n )\n", 176) = 176 So, still actual :-) Maxim