From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 0Fl7BRrgKGdLvAAAe85BDQ:P1 (envelope-from ) for ; Mon, 04 Nov 2024 14:54:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 0Fl7BRrgKGdLvAAAe85BDQ (envelope-from ) for ; Mon, 04 Nov 2024 15:54:18 +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="iu7/P8jx"; dkim=fail ("headers rsa verify failed") header.d=freakingpenguin.com header.s=x header.b=CjznDf0w; 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=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1730732058; 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=V7uR/qqZCwDSi4m4hYgu6IpUgUQDBrI5I8kLMNi+BUI=; b=Cg/QmR2XtIAo0vapjFIMU6v2BlzfsZQ2eqlCY1y0rxqgjD+E+k63BRokHPy54QMluHTWPK cYVUJ9hoqWEv7s9wO3Qe03MEfxJaaM3dpouhwTVdgM17n0d8QYjK3DOPCYLRFQlESdspy7 PKNH9qsPhknabQvMXP3pI5y+I6AMzL46X5mWtBcSJf120H2ZbFMC8cn6rqZ8ANVBIEReOr 4F5mK4XP7FflssxPYjREhyN568z0noMQCvs6Z7+6tq89xlNXw0lP2SEXDIXMxi0ZeLzsDa yx6BkUBo3Mw3ebzZ5emgaMW1XhO8OomWMs/cxkIhZPAvSpR1XhkCbwoGc25osw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1730732058; a=rsa-sha256; cv=none; b=Y4f9fL1tn2suubVx46aSVp+nnLleLMZiM+bjlY1SLnoJVV13PSmPyUq9bNOrtJ5/m0xB7V AFZKcRz4Sb5kskJI4vY75RkWytOeyVpWv/bPmz3rhqyTU95xS+a4ylOGiNhI/W+jcsqkTc BJx0/97X6OZh71XTvmowwzWUA6tU4GV0aEHfnzZZfGAcvQQqDlTVjs1k8h8ELM9lflezzm fi6N/L65Z7KId6riZXSKnQTR2LanpfkNNeTyBX6ujoVbnQjjN31ZjFD4N33V0Zb8tbi+ag RRGxZSU6WXYCKVuGODm+SMtZtAIwDxOeui6w8zrq5c4vbWVLo12W3str8+DZ+A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b="iu7/P8jx"; dkim=fail ("headers rsa verify failed") header.d=freakingpenguin.com header.s=x header.b=CjznDf0w; 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=none 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 264C880DA5 for ; Mon, 04 Nov 2024 15:54:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7yT4-00062r-ID; Mon, 04 Nov 2024 09:54:10 -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 1t7ySz-000613-3H for guix-patches@gnu.org; Mon, 04 Nov 2024 09:54:07 -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 1t7ySv-0005gF-UI for guix-patches@gnu.org; Mon, 04 Nov 2024 09:54:04 -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:References:In-Reply-To:From:Date:To:Subject; bh=V7uR/qqZCwDSi4m4hYgu6IpUgUQDBrI5I8kLMNi+BUI=; b=iu7/P8jxidJ/sSJ9qN0pqaYZ7qTprNchRKilMKdCvOSlA+JDx8k6WNWpoffrYhevANXPh1Gv+PdI0t+sggimAjoQReC7XFFcK19AGxkcVHygSQg1L9jfpms81fujwDdmn5cqD5lCTx5LTJqKD+e+S2Geocf/cjLbwz2dbdy6fwJqmzF/568wv0qwJtn1umYARhidOjC700JSWsS9IhQRao8pmMZiclF31sJnxhogIoni/yGOm1g9ROwxXWSmJ+jHjgB5tjpWYFjedYuZN7PqcYfpElkFkrDh5iYKPlL7l9PPvVCPr+3SBmrlMVaGB9aTSeTYNOt8SNaAFqURKW+ECQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t7ySv-0005kY-Mu for guix-patches@gnu.org; Mon, 04 Nov 2024 09:54:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73955] [PATCH v3 3/3] services: wireguard: Support gexps for peer preshared keys. Resent-From: Richard Sent Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 04 Nov 2024 14:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73955 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Mathieu Othacehe Cc: 73955@debbugs.gnu.org Received: via spool by 73955-submit@debbugs.gnu.org id=B73955.173073204122099 (code B ref 73955); Mon, 04 Nov 2024 14:54:01 +0000 Received: (at 73955) by debbugs.gnu.org; 4 Nov 2024 14:54:01 +0000 Received: from localhost ([127.0.0.1]:40395 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t7ySu-0005kK-Pe for submit@debbugs.gnu.org; Mon, 04 Nov 2024 09:54:01 -0500 Received: from mail-108-mta115.mxroute.com ([136.175.108.115]:46639) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t7ySt-0005kC-6I for 73955@debbugs.gnu.org; Mon, 04 Nov 2024 09:53:59 -0500 Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta115.mxroute.com (ZoneMTA) with ESMTPSA id 192f7ab16fa0003e01.001 for <73955@debbugs.gnu.org> (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Mon, 04 Nov 2024 14:53:57 +0000 X-Zone-Loop: 8679f5aaddf166e8bc713c320c0b0d860f3fdfb58295 X-Originating-IP: [136.175.111.3] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freakingpenguin.com; s=x; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:References:In-Reply-To:Subject:CC:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=V7uR/qqZCwDSi4m4hYgu6IpUgUQDBrI5I8kLMNi+BUI=; b=CjznDf0wT57uy0IO7/tkoTMDD5 LhKsXv7ouBi//IQUYwWLhbIlcI1TsojhlcC4Rs6hX4d9wVXKp0QAYhRlFUbi3Ll4OTEy2gFkOqnPn fDYpywpdH1lvedk02TraZrIT8Mh5GPRVPd5h+zwDt93DGoRrYVDDhww2Ni2cEYb6f3nt9Ou1MSlME hVksKP4sgxWdtr0/tyDb9lqjLsx43uZBe6U6c/TxcYT5+ZWw1qg2iRY7zrc/kfM4/+dvcjSzM/9cd KTiJD90S1+yaAnZQbAWBTl2piUEHnFAx3rtWki0k9wgZs/5qy/mZHkq+vnh6S3irKjxcL2W4vqL/4 /qAD/53w==; Date: Mon, 04 Nov 2024 09:53:49 -0500 From: Richard Sent User-Agent: K-9 Mail for Android In-Reply-To: <8734k7h4ci.fsf@gnu.org> References: <536ca44a1cb23c3185f0dfb9bc5b3e5c87f6d566.1729707659.git.richard@freakingpenguin.com> <8734k7h4ci.fsf@gnu.org> Message-ID: <787F82FB-02BD-4A3B-8D82-3601C98DA998@freakingpenguin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Authenticated-Id: richard@freakingpenguin.com 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.76 X-Spam-Score: -4.76 X-Migadu-Queue-Id: 264C880DA5 X-Migadu-Scanner: mx13.migadu.com X-TUID: nMX6qdPTNzTF > Do you think that it would make sense to also update the documentation > for the "preshared-key" field, to mention that it can be a gexp? Makes sense to me! > (wireguard-configuration > (private-key (file-redirect > (get-secret-program-file "foo")))) I'm also realizing that while the wireguard=2Econf generated in my example= is correct, we still bootstrap a private key at file path <(/gnu/store=2E= =2E=2E), which isn't ideal=2E We could only attempt to bootstrap "reasonable" file names (i=2Ee=2E those= that start with a /), but this feels icky and <(foo) is technically a vali= d file name=2E I quite like how utilizing the private-key field for commands instead of a= file path works (as opposed to a rather ugly manual postup), so perhaps a = bootstrap-private-key? field should be added=2E As long as it defaults to #= t I don't see it impacting existing setups=2E