From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id yDlPK8/gYmB2DwEAgWs5BA (envelope-from ) for ; Tue, 30 Mar 2021 10:26:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id sOmcI8/gYmDxNwAA1q6Kng (envelope-from ) for ; Tue, 30 Mar 2021 08:26:55 +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 564CE16E55 for ; Tue, 30 Mar 2021 10:26:55 +0200 (CEST) Received: from localhost ([::1]:40758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lR9iA-00071b-Iq for larch@yhetil.org; Tue, 30 Mar 2021 04:26:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47450) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lR9i2-00071V-UH for guix-devel@gnu.org; Tue, 30 Mar 2021 04:26:46 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33524) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lR9i2-00067s-J7; Tue, 30 Mar 2021 04:26:46 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=52748 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lR9i2-0007wC-5D; Tue, 30 Mar 2021 04:26:46 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: =?utf-8?Q?L=C3=A9o?= Le Bouter Subject: Re: Secure GNU Guix offloading References: <08637e6051d17cb890eb051ca8d5518a527bd39b.camel@zaclys.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 10 Germinal an 229 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 30 Mar 2021 10:26:44 +0200 In-Reply-To: <08637e6051d17cb890eb051ca8d5518a527bd39b.camel@zaclys.net> (=?utf-8?Q?=22L=C3=A9o?= Le Bouter"'s message of "Tue, 23 Mar 2021 14:46:05 +0100") Message-ID: <87wntphwsb.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617092815; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Ut/9mYMU4IdgkvK5zQuSYdW+VaBUObzveGHFAcOebeo=; b=iouFEaY/+mcv3IB672dQTAzI+QlA06rV57Or8naMIloqhDZ+SQUjgiRvjmsVIm1CiGT8XF L/AFTxzOMkP43/ytB+tQcNveGMPuOcIsEKqp9fOnczDeXdoKEvabCeaNyXUShjNUE0wyQg 1IftbH/AiI3OnvV9cS/5nkl00FN1lkl+g2by3aw3edTIp4Vn4XfqAH+lVzu4DyhX+pWpXD phq/aNphaYGtWyMs7DbEUhpTRNOQL2i/Mo1lyWXCejSWYj4fESkvi970j+9PhRL3BpcTcq IfrApvh+PmH1b4Icd59rFJey2pBGhX+PwezutErBvXqtVKs4rdKlNf/vHn7ckw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617092815; a=rsa-sha256; cv=none; b=F5BHPzWHZAEWK34mBNIidaKFQryz7VuBCLWIErJ+09FmRkOgJVZXiflgKEpdrmQdn/eA+X mE2ogv2We8ct8Le86JJxZD87s460qMBpccS0gflZkXz670AAwbuf17RaRN6SrqnxSDPQL0 PMRl2dhK5wmM2gzwUl/WqwwY8aWfuBo+A2/1nM+5+7f6YKXAa3HPmeFztB176Ru6pSIYb2 a03c/wQOfR6lNFA/bRRUcnRzNbB756peDZOj4eTgkq4LpCnZdHrTrcl26FSNFPSPJhBWDU 7w62+ROIFLtom9UY8w3QVI4+ykJVPBQIddoYD7e7aqU4yKDu2yd8qVyONmChOg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -2.92 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 564CE16E55 X-Spam-Score: -2.92 X-Migadu-Scanner: scn0.migadu.com X-TUID: QS2XOTwh1Ft2 Hi! L=C3=A9o Le Bouter skribis: > I don't want to give more access than what SSH non-root access would > give, and I think it would be possible to do something helpful in GNU > Guix offloading so it can work even without the offload machine > trusting the client's store public signing key. One possibility would be to give SSH access and nothing more. That would allow hackers to run: GUIX_DAEMON_SOCKET=3Dssh://leo.example.org guix build whatever Users would still be able to retrieve build results from your machine via =E2=80=98guix copy=E2=80=99 or an instance of =E2=80=98guix publish=E2= =80=99 running on the machine. HTH! Ludo=E2=80=99.