From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8IVtKx8Tw2HSSgAAgWs5BA (envelope-from ) for ; Wed, 22 Dec 2021 12:59:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mEsiJx8Tw2FZXQAAB5/wlQ (envelope-from ) for ; Wed, 22 Dec 2021 11:59:27 +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 4838918F47 for ; Wed, 22 Dec 2021 12:59:27 +0100 (CET) Received: from localhost ([::1]:42778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n00HG-00061U-EP for larch@yhetil.org; Wed, 22 Dec 2021 06:59:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n00H4-000616-R0 for help-guix@gnu.org; Wed, 22 Dec 2021 06:59:14 -0500 Received: from mail-4322.protonmail.ch ([185.70.43.22]:14067) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n00H2-0006zK-Ib for help-guix@gnu.org; Wed, 22 Dec 2021 06:59:14 -0500 Date: Wed, 22 Dec 2021 11:59:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail2; t=1640174349; bh=UT3uY/ujNa0+lsZSXVHt09Aa34Ha9OGlnKOfS94Y2Kk=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc; b=sZABcUqVKvDyu4xW0jpWxbKruslIeZ9cMWanoP6+KjkOhcTay8PmadcCzT1E59FRg JMQbJojQcAL6JqqSLOlPJdIRufZId9MAZ+I7hD4J/Xyr5ur9/oqIhVCr6VZUWJxtw5 K8MH75K06CjeNfmjm8ymvbyYGfecDwUqqwEspWvZgMcihrQCnAOOBzQCqQaXr6uEa3 RH5PakzUB8f7isqWNVoMN1ztKPq4CLzEuZxUsWrcWnBzPYvV5TJFv0lVKY2jaMrLSw oX4UfnXWYguC5rJCfHbUeCYaf2lHBgYEplCGUwnixa3PxCU082uYMLmoxqQ6mMeJQr rs0oovT5UcVsQ== To: Tobias Geerinckx-Rice From: phodina Cc: help-guix@gnu.org Subject: Re: Providing/Submitting substitutes Message-ID: In-Reply-To: <87o85ga6cv.fsf@nckx> References: <87o85ga6cv.fsf@nckx> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.22; envelope-from=phodina@protonmail.com; helo=mail-4322.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: phodina Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1640174367; h=from:from:sender:sender:reply-to: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:dkim-signature; bh=UT3uY/ujNa0+lsZSXVHt09Aa34Ha9OGlnKOfS94Y2Kk=; b=Pf7nDhspKFy8LXWk9Y4R8QDZs+BlWtcuiI4awNRyuqJPLK7ATjUSCsDOAjPBElTslGE3uU BWgesrxZb2yWrK5O6eBRwrumc4/MtwrXN+Y0YXzAQa2YN37XANVebT/ODQLxJzCWoUpmwO Gueo8XTWpiPzo7Q2xRQsW4w+Gm1SQO/hU+AYK4OksfRkiUFilUPbb/Z3Wvwl4LPUicBl6q /ObYCh/I2wdkZ8Zdh9PadOry8+uznvAJ02m/BgOtQo6Xq5UPz9qduI53qRGjOl4YnhcsaS vgoJcUA46kmLNjoCiGbq9savMGicWWIOEOleBqA9gtz3baX+uPrcxi6WMP4dLA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1640174367; a=rsa-sha256; cv=none; b=SRQwBIBCmyC9qEhWU2ZxodZfQ2pj8NU5hGFbB9uDbUBB5ItHvkHLrjuBBmnXuZ99WMz5Q6 xnxcQu2zKlm9WcS2apEFJqAfTs9uSZ4k32mFBH+Cxq0lokc8dFGcyH/Q2xaEwq/2CPht4/ auWFvZ16u+4wSKjDaQ9be56e2VxXEpltb7E0t9cKibnSlhBlf7TleVCwrV/XB4qNbuBWRl D7+590Codb+TYGaFU3asm9hAekvli+T517jeFxd1Eu8qtpDaQ/8Z/hRASHO+vJ2HA7f58B D58U980K1T5oDlfZXpKdwfkybHM6BXKyBVSBIDJJYaHVXggNWupOP/k2JqU7fw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail2 header.b=sZABcUqV; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.74 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=protonmail.com header.s=protonmail2 header.b=sZABcUqV; dmarc=pass (policy=quarantine) header.from=protonmail.com; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4838918F47 X-Spam-Score: -7.74 X-Migadu-Scanner: scn0.migadu.com X-TUID: cHQ74oPO4Mbr Hi Tobias, > Petr, > > phodina via =E5=86=99=E9=81=93=EF=BC=9A > > > However, since I already built the browser and it took several > hours > > > > I'd like to provide it also to other people. > > That's very considerate of you. Thank you! My thanks go to all contributors of Guix for creating such amazing project! > > > Is there a way to submit the outputs of derivation to the > official > > > > substitution server or the only way would be to make public my > > > > substitution server? > > I'm afraid so (the latter). As you mention, this would require trusting t= he other party but to an unreasonably degree: the ability to redistribute a= rbitrary binaries, signed by the project, to all Guix users. I was afraid so. However, that is understandable as security and trust woul= d have to be sacrificed and it would open a large vector of attack against = Guix users. > > That said, if your substitution server has decent uptime, traffic, and a = public IP, nothing's stopping you from putting up a disclaimer page (like g= uix.tobias.gr=E2=80=A6 or better) and serving your substitutes to others. I do have a VPS server currently running NixOS as this was the first system= with the different concepts. Though, I'm now creating a patch for the prov= ider [1] in order to run Guix System there. It has decent storage, performa= nce and network connectivity. > > Adding the guix publish service is trivial, about as much work as typing = =E2=80=98guix archive --export=E2=80=99 once, and is a one-time effort! > > No need for the promo, I want to run a substitution server (figure out how = to do it correctly and securely) as otherwise this machine is sitting there= mostly idle. > > > Correct me if I'm wrong but can't this be solved be verified by > > > > using guix challenge? > > In this case, I don't see how. Guix challenge is a valuable tool but to u= se it in this way requires a fundamentally trusted party (e.g., you, or say= , bordeaux.guix.gnu.org) to be distributing their own independently-built c= opy. > > If that were the case you wouldn't have had to build it yourself. So it c= ould be used after the fact, or for general =E2=80=98hm, this is interestin= g=E2=80=99 flagging for further research, and that's not good enough here. = Copies would have been distributed by then. > > Challenges between 2 supposedly independent unofficial substitute provide= rs would be quite vulnerable to various kinds of subversion. > > Kind regards, > > T G-R Thanks for the explanation. If I understand this correctly than it basicall= y boils down to trusting the parties themselves. ---- Petr [1] https://vpsfree.cz