From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8PoVLFheT1/gYAAA0tVLHw (envelope-from ) for ; Wed, 02 Sep 2020 08:56:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id UFrdJ1heT1/INAAAB5/wlQ (envelope-from ) for ; Wed, 02 Sep 2020 08:56:56 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 57DEB940215 for ; Wed, 2 Sep 2020 08:56:55 +0000 (UTC) Received: from localhost ([::1]:42400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kDOZZ-0008JU-IK for larch@yhetil.org; Wed, 02 Sep 2020 04:56:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kDOZS-0008J5-ID for help-guix@gnu.org; Wed, 02 Sep 2020 04:56:46 -0400 Received: from sender4-op-o11.zoho.com ([136.143.188.11]:17133) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1kDOZQ-00006T-IW for help-guix@gnu.org; Wed, 02 Sep 2020 04:56:46 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1599037002; cv=none; d=zohomail.com; s=zohoarc; b=FF9ZeIMLnW6BVEaSGSoZZab058B7vP6u74e9CKOeh1Wm1sVo4/nm/lap8bRhsh9AhgWrSreQ2yq5XvC5On+jLchnloAjJJMonJJ7q0qnRvSPMwm2bBrrE0IK+uoVmhg5xhopuZbX5R6Z65M2T1O143afNve6rZMq45rh2gws7qE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1599037002; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=C/kQcqt+pDak81zDMVtALyn7/s9t2c/jTb1LLeLF0ok=; b=DXNvOb13sbZxYk22rHOEUbiEmvW1T13QNlAVwkY4pDMHyYOC9unNm12uMHVipsH36OJS2gzDY/bJGnD0rxoVXO2pRQDDsihBwkh4p1VUphFlUf7EGQJSvbdHTzOBuxAyt8rbwTqN6Ql1DJcKWioUdd9XArtz1eQuBAWjN/XwQ4w= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=beaver-labs.com; spf=pass smtp.mailfrom=edk@beaver-labs.com; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1599037002; s=zoho; d=beaver-labs.com; i=edk@beaver-labs.com; h=References:From:To:Cc:Subject:In-reply-to:Message-ID:Date:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=C/kQcqt+pDak81zDMVtALyn7/s9t2c/jTb1LLeLF0ok=; b=XIsEm3O0589eXAKEGBvI55ww+J9tARLtjjmhveDxBNjhrtFo9hTtfDrSzmouT5tQ Lg+Q4qpi1h4QgZz3QhXxYtmO/KrOOgcTsuY2Q1prw3TRf+6GZGZ73LyH+tBYZSsig1d 53eGe4MJ1HEbjGGmEB9Ix90gDYhlqIaS6ryWTKEk= Received: from Rasoir (lfbn-idf3-1-1319-142.w92-170.abo.wanadoo.fr [92.170.248.142]) by mx.zohomail.com with SMTPS id 159903699950518.02012819035258; Wed, 2 Sep 2020 01:56:39 -0700 (PDT) References: <87eenk8xm6.fsf@rdklein.fr> <87o8mo4m3s.fsf@ambrevar.xyz> User-agent: mu4e 1.4.4; emacs 26.3 From: edk@beaver-labs.com To: Pierre Neidhardt Subject: Re: Guix doesnt use guix publish as a substitute In-reply-to: <87o8mo4m3s.fsf@ambrevar.xyz> Message-ID: <87blio8slj.fsf@rdklein.fr> Date: Wed, 02 Sep 2020 10:56:24 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.11; envelope-from=edk@beaver-labs.com; helo=sender4-op-o11.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/02 03:08:25 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none (invalid DKIM record) header.d=beaver-labs.com header.s=zoho header.b=XIsEm3O0; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -2.01 X-TUID: 6Br3z0T7/O6P Hi Pierre ! That was it, thanks a lot ! Sorry I should have read the docs more carefull= y. The command to run on the first machine was ssh root@SECONDMACHINE guix archive --authorize < /etc/guix/signing-key.pub It now says "downloading from http://localhost:8081/nar/gzip/yyrr1zj2ax53pylzp0mq92sgpldk2603-gerbil-0.16" Cheers, Edouard. Pierre Neidhardt writes: > Hi! > > Did you authorize the substitute server on the client? > > From the manual (Invoking `guix publish'): > >> The signing key pair must be generated before =E2=80=98guix publish= =E2=80=99 is >> launched, using =E2=80=98guix archive --generate-key=E2=80=99 (*note Inv= oking guix >> archive::). >> ... >> Once a publishing server has been authorized (*note Invoking guix >> archive::), the daemon may download substitutes from it: > > Hope that helps!