From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GCmyKp9HAGKp7gAAgWs5BA (envelope-from ) for ; Sun, 06 Feb 2022 23:11:43 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 6HJUI59HAGIMuwAAG6o9tA (envelope-from ) for ; Sun, 06 Feb 2022 23:11:43 +0100 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 509B92AE17 for ; Sun, 6 Feb 2022 23:11:43 +0100 (CET) Received: from localhost ([::1]:37876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGpkz-0006tC-Gm for larch@yhetil.org; Sun, 06 Feb 2022 17:11:41 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGpgU-0007S5-Kz for guix-patches@gnu.org; Sun, 06 Feb 2022 17:07:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46132) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGpgU-0001WB-C2 for guix-patches@gnu.org; Sun, 06 Feb 2022 17:07:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nGpgT-0006yK-UN for guix-patches@gnu.org; Sun, 06 Feb 2022 17:07:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53827] [PATCH] Add a TLDR entry to the cookbook for building Guix from Git. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Feb 2022 22:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53827 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Pierre-Henry =?UTF-8?Q?Fr=C3=B6hring?= , 53827@debbugs.gnu.org Received: via spool by 53827-submit@debbugs.gnu.org id=B53827.164418519526766 (code B ref 53827); Sun, 06 Feb 2022 22:07:01 +0000 Received: (at 53827) by debbugs.gnu.org; 6 Feb 2022 22:06:35 +0000 Received: from localhost ([127.0.0.1]:40029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGpg2-0006xe-Qe for submit@debbugs.gnu.org; Sun, 06 Feb 2022 17:06:35 -0500 Received: from laurent.telenet-ops.be ([195.130.137.89]:41432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGpg2-0006xW-0Q for 53827@debbugs.gnu.org; Sun, 06 Feb 2022 17:06:34 -0500 Received: from [172.20.10.5] ([188.188.37.53]) by laurent.telenet-ops.be with bizsmtp id ry6Y2600Y18o4tG01y6YUa; Sun, 06 Feb 2022 23:06:32 +0100 Message-ID: From: Maxime Devos Date: Sun, 06 Feb 2022 23:06:32 +0100 In-Reply-To: <20220206213344.3117861-1-contact@phfrohring.com> References: <20220206213344.3117861-1-contact@phfrohring.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-9sHQ68BcDSBuhocdHLfC" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1644185193; bh=Vt44qUZ2xNdIe1lt+yuR8OlqED6ulUWF5kC9MpElzPY=; h=Subject:From:To:Date:In-Reply-To:References; b=EHldMSnzmy3jl1XO2d57x/g06c7x4hR+y+x6t2NgsMN5t2Aq9/flfcM5uFlP8YM/z jCjxE7oNjQ89uEFHm+b08tqsaaWZRZApp7ljwv1AsofEGz9BWiVynTYBlj82aVLEAH GBRkvFHNjwcF/j5G0vq+A2HkR2maXJTT5FCJM5tSJT1KJ0/3/iZ9wjoaSxewRndowm cY++hVnqaP/JG1rDWrdQUHb0gUDQpDLTqBwiqCSq00id0bKuZxZGDtPU7WqZj9Z5Ne 2R/rPPoIPd1dGT2Eow/ohVl3/3TCtg64IMUKepQ23jXWbRCopFKudGL4WODmZXsfeX t3Fffu3cE9uEA== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" 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=1644185503; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=Vt44qUZ2xNdIe1lt+yuR8OlqED6ulUWF5kC9MpElzPY=; b=L82cgJCCUjjkxh2Bw7crGKKOliHF9NEUnVtM+5SkynhpUomG8ilJkLs6G86pID3GG1iOrJ JhkGc46Qse2ikoyaR0QUVB8nAKOVaPD2ZHQfb0VVNZcna8xd8bcgVYWIE15JXuarbKD879 z+kDo7q07t8g1Sc052N21sF47f0VDI4PpznlM5bn9xNrqlXQfxXg0h3FbNo5mWMpeZSJZn iMNe7pR2oCst2/tPCYPXfOMqt0wBLIxddKvIUGX5lrMEDqW6GE49GLPZl1tU4MoGyyCYME TNSI8n8WjNEg73pz/9Fq8E1oL7YE9Yc/lDKAT7IgJCdIJZxrzJJTBdWw2Zd9hQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644185503; a=rsa-sha256; cv=none; b=LSxU2vjUdAJt/z8hq4PBJATb95/RZQ/6Ug2uhMjYRpS/ksKj0nchpmk66ZmQ1wWF1Bf/X9 NNslM2h9QmEjjkDZ1oojym5huRNpl5loNBarTLN2Dnjx2PvgTQwkIy8aU/+wLeh315Nioc aPZWcZHGctMl5I7W8aKuCZ+G49EH1/5jsQ0BxLB6jWwtl9/3dW38ycBsG6PWqDtaAumDo0 gJaC38hlop4S0yl5s4HxhUX5C0gChkZR1lSnWLQ4FvWPDp+WlgIA6bpdfTUQbmneHnUV5r lFOIg5G+Bb2mo91ADUxRJwwtJaBQYrIZb7a56gtyvFYrSRuJGA/dwyFb9moMjw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=EHldMSnz; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.23 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=EHldMSnz; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 509B92AE17 X-Spam-Score: -4.23 X-Migadu-Scanner: scn1.migadu.com X-TUID: HvLfIFGRparz --=-9sHQ68BcDSBuhocdHLfC Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Pierre-Henry Fr=C3=B6hring schreef op zo 06-02-2022 om 22:33 [+0100]: > +guix environment guix --pure --ad-hoc fd > +./bootstrap > +guix_db_prefix=3D$(fd -p '.*/guix/db$' /) > +guix_db_prefix=3D$@{guix_db_prefix%/guix/db@} What's this 'fd' and guix_db_prefix about? If this is necessary, shouldn't it be documented in the main manual. > +./configure --localstatedir=3D"$guix_db_prefix" > +exit > +make authenticate This "make authenticate" gives a false sense of security -- the MITM attacker could have changed the Makefile.am to let the 'authenticate' target be a no-op. Likewise, authentication must happen before ./bootstrap and ./configure otherwise it's too late. Also, didn't this authentication already happen in > +@node Authentication > +@section Authentication > + > +@example > +git fetch origin keyring:keyring > +guix git authenticate 9edb3f66fd807b096b48283debdcddccfea34bad \ > + "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA" Greetings, Maxime. --=-9sHQ68BcDSBuhocdHLfC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYgBGaBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7gPdAPwNwtKDmYn9Gc1Xyz3Xoo2A/cga BmvyFfWf7MKP017c2AEAn2+HrM6vCNl7nPXJnnBs0bsneSBnDMlWTtbg4sAvXAw= =DQhP -----END PGP SIGNATURE----- --=-9sHQ68BcDSBuhocdHLfC--