From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.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 2ODTIqQjV2cd2wAA62LTzQ:P1 (envelope-from ) for ; Mon, 09 Dec 2024 17:06:44 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 2ODTIqQjV2cd2wAA62LTzQ (envelope-from ) for ; Mon, 09 Dec 2024 18:06:44 +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=fJ8fY9xJ; dkim=fail ("headers rsa verify failed") header.d=freakingpenguin.com header.s=x header.b=nEFi9oel; dmarc=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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733764004; a=rsa-sha256; cv=none; b=uGWg1aKn1LZKD14KDvjGEJaX4HKwWRkhD8BhlhO4HgKdcm1Jnts9rGp/AAXjlijesap5tb Eyn6Lz1r4+k3qVMNg1wFLRw+1gKlR0TpxQJRV0zg/z4HrFG+aHaVERuLk3ASPE6aQ+uvxH lFqHWzEJhb9FZq4/9vWKwzdBr99LR5Dg+c9IKxkVMaFedvjQBmt16472jBAoGz71apoB8t ue1FoCU3FzWOJB1FH552DbWGTy2DHEsCg1thW3O+ZQg1MVl8m2+JOFBTiasL7WFl9L0tY0 mJj+kKP24Gbt/DduOUTfaklitPcIWkK6trFFbG0AtxoVUxR4EHqcEBKSLHDyXQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=fJ8fY9xJ; dkim=fail ("headers rsa verify failed") header.d=freakingpenguin.com header.s=x header.b=nEFi9oel; dmarc=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733764004; 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=TdJLYv9AdcncdRbZ3t3zJSX7KYx9xTQPtJBD6rz0NqY=; b=ncLp5Pl/1uGeSlGKfHYbpyMW+LFe/BGqOoS2pcDox6ZaYCdFWt2v9NCeio3NMMMCVbT0CX x67Sz0rrmN/GWPGcZDdx0ohZ6gQw5OfRnvQPYcEn8bB0ouJR9YoREWjDRCdv0g+qr/wi7w 1/gyYxVunJsI3JRaXNMwNb1BsoOZxf/qWDVrzI1imTwdQI8qapENfk3221YgEEp4mZwVsP zfz4WHwd5AgAcB0d/ukIksb1YTt9rpraA5nscgFhZ057Qhp7im8CtHIBWPhTpJG3t/yWNM jETM4jk5FHI5pV7nVh9RxsAwupQXzXB/kl5AzebMFtco/LyJpfZtO8XqSYH5qQ== 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 6FF788FF53 for ; Mon, 09 Dec 2024 18:06:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tKhDK-0006GK-7D; Mon, 09 Dec 2024 12:06:33 -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 1tKhCt-00067W-3U for guix-patches@gnu.org; Mon, 09 Dec 2024 12:06:08 -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 1tKhCs-0001rc-QL for guix-patches@gnu.org; Mon, 09 Dec 2024 12:06: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=TdJLYv9AdcncdRbZ3t3zJSX7KYx9xTQPtJBD6rz0NqY=; b=fJ8fY9xJxglMKh7mCG2hBtWTxiNRZSLBd5aE1UeMuhk2Rehv5OSCU2XZo4dFg/0uzyeFN7BrYqpstXNs0IAkFU20Bz3u4KK/S+kb5YAGwHD6eG+70+beZ9oDQZ2ukfvO2OvZCFcxeVM27UAhBN9E3PKlgF1zbpJCQIc2EhP8VA+M9JFr9TgaJVkn/HnHs0L9o3semlWH4zaT7n2qsiiDXidr/xRKMlWQj4ZtRJVzzdpZlADOcL6OVLj36x/Bbd5el/NyOH8sIJPIpFzVKviTokCGzz5aDI/KcLaFtVH+8w8fKeMHNqKTWw1PjChHDyti9IlTMtEDgjxd7RqUg1L9Lg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tKhCs-00004z-JT for guix-patches@gnu.org; Mon, 09 Dec 2024 12:06:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73465] Wireguard: Deprecate and rename fields Resent-From: Richard Sent Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 09 Dec 2024 17:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73465 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Apoorv Singh Cc: 73465@debbugs.gnu.org Received: via spool by 73465-submit@debbugs.gnu.org id=B73465.173376394232740 (code B ref 73465); Mon, 09 Dec 2024 17:06:02 +0000 Received: (at 73465) by debbugs.gnu.org; 9 Dec 2024 17:05:42 +0000 Received: from localhost ([127.0.0.1]:55401 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKhCY-0008W0-6w for submit@debbugs.gnu.org; Mon, 09 Dec 2024 12:05:42 -0500 Received: from mail-108-mta181.mxroute.com ([136.175.108.181]:33877) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tKhCS-0008Vn-64 for 73465@debbugs.gnu.org; Mon, 09 Dec 2024 12:05:40 -0500 Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta181.mxroute.com (ZoneMTA) with ESMTPSA id 193ac6221bb0013e01.001 for <73465@debbugs.gnu.org> (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Mon, 09 Dec 2024 17:05:32 +0000 X-Zone-Loop: d95360fe593c87b6a21ab5cf70859130d9699c52b4f8 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-Type:MIME-Version:Message-ID:Date: References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding: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=TdJLYv9AdcncdRbZ3t3zJSX7KYx9xTQPtJBD6rz0NqY=; b=nEFi9oel/FgeSOxy6zmzEYPZQv 61fOt0xovuza0y2iUDN7eWD/2iEy7Pwlpew14SPt3pi8GTpIRFFKsyh9sQT4mSdnsl6lPkaBf8RzT Od/rBnlX1botjbDhyfT47qwYuO79tNdoR+R1d6c8aMmWl1Ic+3NmXKJ3F8J4LN0/WzIaUubTK/Vey Px6prDiKK2hpDW6KNxtSocn17SIkcUyLEZekUbayk8PnmEGpWGnRYxTAJEG8lNRNJKe58QasO/N9B a1jecghSUousKHvqb5iZKB0S5W08kQGxfnOmVBXN+PtGe4kG1ORg1EU0Tt4qD7M3wHyfEbocBSnss 79xcUF6w==; From: Richard Sent In-Reply-To: <87y133cjc1.fsf@gmail.com> (Apoorv Singh's message of "Sat, 05 Oct 2024 09:05:58 +0530") References: <87h6a4jsej.fsf@gmail.com> <87y133cjc1.fsf@gmail.com> Date: Mon, 09 Dec 2024 12:05:22 -0500 Message-ID: <87ldwo4wj1.fsf@freakingpenguin.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -9.77 X-Spam-Score: -9.77 X-Migadu-Queue-Id: 6FF788FF53 X-Migadu-Scanner: mx10.migadu.com X-TUID: oLSNi6ZvWSqk With #73955, private-key better supports g-exp based command redirection, e.g. --8<---------------cut here---------------start------------->8--- ;; A config of (wireguard-configuration ... (private-key (string-append "(<" my-custom-script ">"))) ;; Results in PostUp = ... set %i private-key <(/gnu/store/...-my-custom-script) ... --8<---------------cut here---------------end--------------->8--- (This was also supported before but was more limited.) Given that, I think renaming it to private-key-file is more confusing than keeping it as private-key. Same for preshared-key. Perhaps we can somehow check the field, see if the user enters a WG-compatible key literally, and emit a warning? I'm not fluent on the format to determine the best way for that. -- Take it easy, Richard Sent Making my computer weirder one commit at a time.