From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KCRPGZjRXmHtNAEAgWs5BA (envelope-from ) for ; Thu, 07 Oct 2021 12:53:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wJrgFJjRXmHFVQAAbx9fmQ (envelope-from ) for ; Thu, 07 Oct 2021 10:53:12 +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 315512E7CE for ; Thu, 7 Oct 2021 12:53:12 +0200 (CEST) Received: from localhost ([::1]:60148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mYR1T-00024D-Bj for larch@yhetil.org; Thu, 07 Oct 2021 06:53:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mYR1K-000243-39 for guix-patches@gnu.org; Thu, 07 Oct 2021 06:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34617) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mYR1J-0007w2-Sc for guix-patches@gnu.org; Thu, 07 Oct 2021 06:53:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mYR1J-0004Cq-RS for guix-patches@gnu.org; Thu, 07 Oct 2021 06:53:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50960] [PATCH 00/10] Add 'guix shell' to subsume 'guix environment' Resent-From: "pelzflorian (Florian Pelz)" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 07 Oct 2021 10:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50960 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 50960@debbugs.gnu.org, "Thompson, David" Received: via spool by 50960-submit@debbugs.gnu.org id=B50960.163360396916150 (code B ref 50960); Thu, 07 Oct 2021 10:53:01 +0000 Received: (at 50960) by debbugs.gnu.org; 7 Oct 2021 10:52:49 +0000 Received: from localhost ([127.0.0.1]:46163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYR17-0004CP-F2 for submit@debbugs.gnu.org; Thu, 07 Oct 2021 06:52:49 -0400 Received: from pelzflorian.de ([5.45.111.108]:56040 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mYR15-0004CG-8x for 50960@debbugs.gnu.org; Thu, 07 Oct 2021 06:52:48 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id A53FC3606A0; Thu, 7 Oct 2021 12:52:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1633603965; bh=yxTnkqkCzdBSBi4NB9Rfp1nCub3G6OQ1uZT6HDOuYoU=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=bH+JvkiA8D71VNMAlto9qFZKtjn09RdgLuoakk1AaaiO3gOjyT3fXnaVFxuzioSYv Df3zvuhH1PXEWVbuBoo3j8BrRuraIASJyyeH4cIewwYeIvDbdZz4/W6NvU2bM22Jw/ VIe+NMS1EYXlnUbgILWIkpuwwmS/1SuJxDnL3xO4= Date: Thu, 7 Oct 2021 12:52:36 +0200 From: "pelzflorian (Florian Pelz)" Message-ID: <20211007105236.xzkq5tij3g3tcdob@pelzflorian.localdomain> References: <20211002102116.27726-1-ludo@gnu.org> <877depdw3i.fsf_-_@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <877depdw3i.fsf_-_@gnu.org> 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633603992; 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: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=T1j6WdyQaQDYn0ZRvToQRwGeBNAs8lbX939QPiNBaxw=; b=WSM6xXC7cJ4bh+/CRr1eFOJRisqTrpq+XYX67ovwClZ++sdaGRPxQebqCjUU0/ATvpuhiP wveUtX8YTgnHAjx+vXgEveL/V5YNVup7DFx/4mPjICmT0swsNmT1HhA8z/u74ZshvJgHq4 ySWsRjiNr7B7HufeUTy4uejP3u1t28bv7KLq+hlK7LxdYuBZGBinUhDqpVe7oBFlaIxRWR XHv952EbTbrHKCxjZsGtpWI39wOySiAz8FQg/QyRNK7lEMHgOhqrNGx/avskzlGHn82+u6 Eg/anwnkoWFSTEEYKLJ1I2kIcD5N2FZxl6D0xauREg0m1B0ZAnHYi+UahGfB8w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633603992; a=rsa-sha256; cv=none; b=dujzWswOLQkLX4KiUH+1+QuHyxyXgYl2vd/WsC+e3gpeLkurVuUuuqNUnTT6l7H7aAuWd5 z7FXFUVLK2QVGsTUAkrJEylOIl4VJ0AVTOUrvSkNiwnHL21er3+rlm5N5CjjjYTbV81bDR d3Vz/s9ltJRQSP0YPVXgAg0yhujkC31IF+DdXz5NbvXvtVCaxDM7wbJQqxz1OtIGkKMXRc 3S7X0zGHo1WPjVcQRumaRVYuKtyyUR5RyNM/3d9sABW2hJ30sUWqvHUSq5uiSZcEFjCoVg K8ECYYKIN100Cf0rjshN8zXALDLUr6qCjs0GycXiqOTFoTtBov0Bu4DKFjcvVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=bH+JvkiA; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.08 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=bH+JvkiA; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 315512E7CE X-Spam-Score: 0.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: jjP9FLdZmc0d I’m not a direnv user and frankly don’t really understand the gain from loading by default the guix.scm file nor manifest.scm. My fear is accidentally running code, possibly malicious, possibly just a backup script one happened to call guix.scm. In German we have the word DAU for “dumbest assumable user”. Guix without shell is DAU-prove. Both - Konrad Hinsen’s suggestion of two different commands and - Nicolò Balzarotti’s suggestion of having to explicitly allow a file would take away my paranoia of accidentally running code. (By just not using Konrad Hinsen’s other command.) - Hidden .-rc files in the current directory would not take away my paranoia of malicious code. - I think printing a suggestion to use --file=../guix.scm is fine. Bash is different from Guix Shell. It does not load code from . or arbitrary parent directories. Regards, Florian