From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id XX1OJfPcqmMkCwEAbAwnHQ (envelope-from ) for ; Tue, 27 Dec 2022 12:54:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id +MFxJPPcqmPJ4QAAauVa8A (envelope-from ) for ; Tue, 27 Dec 2022 12:54:27 +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 6BDC515F0B for ; Tue, 27 Dec 2022 12:54:26 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pA8X0-0006wn-8e; Tue, 27 Dec 2022 06:54:06 -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 1pA8Ww-0006wD-Cl for guix-patches@gnu.org; Tue, 27 Dec 2022 06:54:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pA8Ww-0006ag-4h for guix-patches@gnu.org; Tue, 27 Dec 2022 06:54:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pA8Wv-00005n-KE for guix-patches@gnu.org; Tue, 27 Dec 2022 06:54:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#47155] [PATCH] gnu: Respect DataDirectoryGroupReadable option of tor. References: In-Reply-To: Resent-From: Jean Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 27 Dec 2022 11:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47155 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: "47155@debbugs.gnu.org" <47155@debbugs.gnu.org> Cc: "raid5atemyhomework@protonmail.com" , Maxime Devos Received: via spool by 47155-submit@debbugs.gnu.org id=B47155.167214198932735 (code B ref 47155); Tue, 27 Dec 2022 11:54:01 +0000 Received: (at 47155) by debbugs.gnu.org; 27 Dec 2022 11:53:09 +0000 Received: from localhost ([127.0.0.1]:54834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pA8W5-0008Vv-7L for submit@debbugs.gnu.org; Tue, 27 Dec 2022 06:53:09 -0500 Received: from mail-4317.proton.ch ([185.70.43.17]:59599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pA8W1-0008VN-IR for 47155@debbugs.gnu.org; Tue, 27 Dec 2022 06:53:07 -0500 Date: Tue, 27 Dec 2022 11:52:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeandudey.tech; s=protonmail; t=1672141978; x=1672401178; bh=p1XYQY5qPbJJ7bLmtXg6KZkp+ZZYbLAN1YR1qstWWzA=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=bOVKRsadZROzgRXmtp0BqLL/qf4Iq04tyN9Lu29Per3z+K+IrS37t+dbcsuT6Ebax qUr55/hVCmGZIWUy2EpwGnXO9g9Q3AehCJSPW2JT84RTJAKBA+1OoTDgGown4b/bAA RqNcxA4TNmglv0yRil5gOMe3+E92TnfyJsRFNhztYtOGduWn8MyDArFrBtzlBFyK9W 7WU7wfCDldtwYa+cIXQ8Ag4O/EioffO7Qu/Cf7F0kHXkAyhLfkJJG10vph4cUQW31F tOuy5MG6vFvAAqwOSaH1Qgl0n/1jhNBVfNKJ75yYOss1Pj43UJd3DxIYEJcIsFkip/ h1OqP4ypuDy1g== Message-ID: Feedback-ID: 20187791:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Reply-to: Jean Pierre De Jesus DIAZ X-ACL-Warn: , Jean Pierre De Jesus DIAZ via Guix-patches From: Jean Pierre De Jesus DIAZ via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1672142067; 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: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=p1XYQY5qPbJJ7bLmtXg6KZkp+ZZYbLAN1YR1qstWWzA=; b=WGJ1Q85IKEKdR8CMqGFwimQH90PCHuK1Yy04MGxL3E4qJEAzREhg8gmtkVWsmBnYcaQM5S ieQs7sKgZGcSC0lK50Avn+JE658On92qXLkEUul5ZMwTG/4uODiprrtHBGEyKgF0dgpfdq vPxQ0K8wH4lsYY2of9yRoeJkM73/1Vk+8FtyxK37XcOqECws4RYOXVlTiUcSKWbN/YSejx Byl1nAQzjP4sdVX8V4V56AYXUvDfV8nts3Ip7YnNEdk5356s9ZV6QPeyBRLnMbupy0+2sZ HHZOM1mzKqkvVnIwvjo0jZRwDgEWU4N9jr3FodO2caqmk+Kaa2MscZNKY8II0w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jeandudey.tech header.s=protonmail header.b=bOVKRsad; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1672142067; a=rsa-sha256; cv=none; b=DzMExrAFOxyGiCrUCQPJAug7k0RkL0Zr5HVkoeZ7iqOrugACMwPiZelxTZUlw4iEbLh/fT p36iCd/Il9OFKy/WejJqb/MY+9p/J9Ag+vAkDCVjexVd+u+WXkcvjtj3W42R05F2mvf79L c9LGH3IfYu6NVo3XQ6I1uwq9IzFNDPeDwppnMFXwi65jnP9HO5EWjC77ITimSujXEkec+P 76w5oA1GeRdzKLT0Qc9P9465u3LExOPas28LCRTFjbAGk0miIIB1w5OULgiD3s8OVS4od4 MOavS/Cch85B3cvYHGdd90+8dE5GZsQN6mZQXtIjW9WNbjfC7qaSPqyixQEhlA== X-Spam-Score: -2.03 X-Migadu-Queue-Id: 6BDC515F0B Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jeandudey.tech header.s=protonmail header.b=bOVKRsad; 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"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -2.03 X-TUID: ur0WpHfi4H86 >+ (when #$control-port? >+ (format port >+ "\ >+ControlPort ~a >+CookieAuthentication 1 >+CookieAuthFileGroupReadable 1 >+DataDirectoryGroupReadable 1\n" Maybe instead of a port, we can have separate options for `control-port', and `cookie-authentication?'. As IIUC cookie authentication can still be used with a control UNIX domain socket. >+ #$(if (eq? control-port? #t) >+ 9051 >+ control-port?))) As a side note, the `if' can be removed and the port put in place into the string directly. But would prefer an option in the configuration record for the control port. =E2=80=94 Jean-Pierre De Jesus DIAZ