From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id GCUxD6ZrM2fjEwEAqHPOHw:P1 (envelope-from ) for ; Tue, 12 Nov 2024 14:52:22 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id GCUxD6ZrM2fjEwEAqHPOHw (envelope-from ) for ; Tue, 12 Nov 2024 15:52:22 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=cDEoR75a; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=WnMuEle0; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1731423142; a=rsa-sha256; cv=none; b=RnfAC2a1Gk4c31t6Z32w2Ls4zQZ5LNL2y5Yop2WMrmq8nb1+A1bIDuBK4EYwitOpIDB4Dg vG7XTvS/ReApkmQCaaMklqM+png13BhulzmXhyqruqzn/k/WJGe3UyyQQ6zdQzRI/uVTDz B5hiY4BDJmt+/eNSuqqgzRMSN9I0og+lvhBj3RwjQOc70SETMGtgOylAgWMm+tsvKJ5SMG +8JkbpaFJE8bNREdLFI8jmYn81g0Kd7PXZ3QdBQ8y9PiiDK/F9WhNcV3dC2tNzRelOVSz7 0t1pAujVk/ax0+Eeb+bbMX0U8wi5rHpmRSIHjmxD6clJCqnQz8g2X6gYKlpU/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=cDEoR75a; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=WnMuEle0; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1731423142; 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: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=0qt5QoO49jD1qsAJYrCwHYUQrPDq2QEqd1nlSWcYvZc=; b=AsWWY56jc24xmOcwsfXAshGy287CezMrjsdnbV07AskRC6zbsHcMzjeM146E1cNbENwP6a vOTxEussatSDZ9KXPB93vQk5txtwUcBGDlurcLSP6vPXkGmI4svEcgDkuFNdvVH+NvAutA 91OWNvKWtTzZ4LZLuwdT37pR7TfJBCkwj1Uh7Rf9bxJShXn8DvrtH92X4Ovue8BYkfCZWe yuyVxzAXxISrkVekkgE5PHh3qc3dgxJVKapoHXcHumfdExGM9F9qpt2bBMhILQzamPqPXS sxuym0NcnlDROr/YENFXWhWafgo9YRmVrFguADLieCePUqzoYUup/NGWXMSEWA== 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 9E96E84D7C for ; Tue, 12 Nov 2024 15:52:19 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tAsFQ-0005UW-EU; Tue, 12 Nov 2024 09:52:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tAsFP-0005Td-53 for bug-guix@gnu.org; Tue, 12 Nov 2024 09:52:03 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tAsFO-00027F-T5 for bug-guix@gnu.org; Tue, 12 Nov 2024 09:52:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=0qt5QoO49jD1qsAJYrCwHYUQrPDq2QEqd1nlSWcYvZc=; b=cDEoR75awNWOUhAiHs5STpuxDKyz6dUpHSzhUBzQSzIWJgKS/gH1WALQLTydtmtwkHvp1tp5ob5+qZPbNmVIpQTr85BGffSNS1Jbbk+junEhZ6xQxkSHRFWs3YvMvFKiVZzmBXMUFknIcbOSNVyMwqT8eUNlB1GENgZJfoMXX/pQF9cQfhBiM2cZ9MGtebLXhJLDKcUSxt9rycYSB51l4enwP4y6pZiG0bnYfHkQzt/bKQ1vWBnv64zVzft2z6CsvaQYPAwUb+KDqDz+evAOE3R1KRmogeqMv06jE80l0SWg3yLCMGLd9NAfBHB4VLn2FrCpOhsFJOBSBisE3E593A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tAsFO-0002sB-8C for bug-guix@gnu.org; Tue, 12 Nov 2024 09:52:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#73166: shell-autorized-directories Resent-From: Suhail Singh Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 12 Nov 2024 14:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73166 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Nicolas Graves Cc: 73166@debbugs.gnu.org, ludo@gnu.org, suhailsingh247@gmail.com, andrew@trop.in, saku@laesvuori.fi X-Debbugs-Original-Cc: Saku Laesvuori via Bug reports for GNU Guix , Ludovic =?UTF-8?Q?Court=C3=A8s?= , 73166@debbugs.gnu.org, Suhail Singh , Andrew Tropin , Saku Laesvuori Received: via spool by submit@debbugs.gnu.org id=B.173142308310977 (code B ref -1); Tue, 12 Nov 2024 14:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Nov 2024 14:51:23 +0000 Received: from localhost ([127.0.0.1]:33063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAsEl-0002qz-G1 for submit@debbugs.gnu.org; Tue, 12 Nov 2024 09:51:23 -0500 Received: from lists.gnu.org ([209.51.188.17]:40432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tAsEj-0002ql-B4 for submit@debbugs.gnu.org; Tue, 12 Nov 2024 09:51:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tAsEX-0004wi-Po for bug-guix@gnu.org; Tue, 12 Nov 2024 09:51:10 -0500 Received: from mail-qk1-x744.google.com ([2607:f8b0:4864:20::744]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tAsES-00022s-2p; Tue, 12 Nov 2024 09:51:08 -0500 Received: by mail-qk1-x744.google.com with SMTP id af79cd13be357-7b1467af9dbso394874785a.0; Tue, 12 Nov 2024 06:51:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1731423062; x=1732027862; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=0qt5QoO49jD1qsAJYrCwHYUQrPDq2QEqd1nlSWcYvZc=; b=WnMuEle0A1ABveIEiJ6aHXcU8D8K0OdgzXWlky5wtBuchxiVOXkbQkpLrvRo2Yhh5f ySVVhNAwxT3ZAaxcBCBuXH52jYP1nUzC3zGEz/LJszArEf3ETSCjDaHoaZzQSQqzAJTi B0+ueRBzo8HhCOIR3KfHpRzVO/ophHEocd4MckCdxX2lRxFm2vMPiX7wxZeIti6/9IOR TeN3C1SSyFQM7TCSxdvfiCCsBK3KTphJsAzyvPwqW34xAAtvP+AdF1dCHLOX71w58s+U RoMYp5bqS8/9O2CUK0w0SMKrld5G4uubYeHMRrKrbyIlzcMfseAwO6NCoF/hvn3gdnF9 XBgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1731423062; x=1732027862; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=0qt5QoO49jD1qsAJYrCwHYUQrPDq2QEqd1nlSWcYvZc=; b=WbO0osefYHJkFxLZGlbSthP+oMN4b2HuIGGSxkHOPY/APO4tspH8FxkhgSMRc5UrNj xQmNQq9yZjIIhlB/lADqWaO9I1uDXX/LjAgeHHnrQsZ+gA76AaqQA8Bv5Csu6at/3XtY 8S7m8juVPrudsfoyO2//YpzBUaRj85hecqYZYCJElWaEQypPlOTK6/sJkI/fwqgE2Kfb pXErklhMMsvGiC23DGkGc5wmnjlBQbvNAVCOpi2XwUz1hvpT1W6neeVNtVs5jtEPwRB+ mZovsXzgzYBC4QSNoXtc3GJFbj2N+kUkBaG5OfKNg/T5efJ8OcL41rM/xzUInF6FGLUG ZtJw== X-Forwarded-Encrypted: i=1; AJvYcCVC5FyDhjZggkBhEhrqMLtEeI5GvWoj4TUorKmLlE1w5alWiKuUrfAecoTrGsFN7GmeqwJquFdEKg==@gnu.org, AJvYcCX3HVuWumIc6GVKXuohwIod1TTF0ZkpyzJhyhJQ9I4KV8Uzp9eItVCplN2rIt2246pI3a7PXw==@gnu.org X-Gm-Message-State: AOJu0Yzerx8EMUuU3NvGEbUW9/GWAMn5ppg3EavzcGsTVzn2O6fqbNoK oYeE/QSDL7R4CWZMmVQFuZbKFhs4JJh8e1/3Jag2plW+vIJtoQ/Y X-Google-Smtp-Source: AGHT+IHF6++peeBXqELyJWbM/eMIgPtucF2IVtZCmZIqkLIH94PXLkozqwY/k7Vx1GR04DpKlH077g== X-Received: by 2002:a05:620a:4047:b0:7a1:e4e4:3a9e with SMTP id af79cd13be357-7b34bb17b3bmr377623585a.21.1731423061796; Tue, 12 Nov 2024 06:51:01 -0800 (PST) Received: from gnus ([70.26.179.129]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7b32ac2dbfasm594543585a.24.2024.11.12.06.51.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Nov 2024 06:51:01 -0800 (PST) From: Suhail Singh In-Reply-To: <87cyj06g97.fsf@ngraves.fr> (Nicolas Graves's message of "Tue, 12 Nov 2024 08:52:20 +0100") References: <877cbjwxs4.fsf@ngraves.fr> <87cyla7c0f.fsf@gnu.org> <87mske8emf.fsf@ngraves.fr> <874j4gpkbn.fsf@ngraves.fr> <87bjyn1ga7.fsf@ngraves.fr> <87ikstteal.fsf@gmail.com> <87cyj06g97.fsf@ngraves.fr> Date: Tue, 12 Nov 2024 09:50:50 -0500 Message-ID: <87ttccmrp1.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::744; envelope-from=suhailsingh247@gmail.com; helo=mail-qk1-x744.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.33 X-Spam-Score: -0.33 X-Migadu-Queue-Id: 9E96E84D7C X-Migadu-Scanner: mx10.migadu.com X-TUID: Jpp+LXpUw2LB Nicolas Graves writes: > My last message to Saku basically agreed to this ;) Yes, my bad for only noticing that message after having sent mine. Whoops. > I'm actually willing to improve that patch series if you have better > ideas/implementations, I was just building on what I know > (direnv/.dir-locals.el). As a direnv and .dir-locals.el user myself, I think there's some utility in doing things similarly, at least till we come up with a threat model on which we have some consensus and which motivates us to deviate from the norm. > Maybe we should only allow to automatically run when the manifest is > able to build without network access in container mode. I was under the impression that the build phase in guix is always containerized and without network access. Could you please elaborate on this? > Or include things like automatic git commit authentication on such > allowed repositories. But I'm not sure if they are convenient or easy > to implement, or make sense. While valuable, I believe if we do provide this, it should only be done in a manner that the user is able to disable if/as needed. -- Suhail