[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#73465] Wireguard: Deprecate and rename fields
From: |
Richard Sent |
Subject: |
[bug#73465] Wireguard: Deprecate and rename fields |
Date: |
Mon, 09 Dec 2024 12:05:22 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug#73465] Wireguard: Deprecate and rename fields,
Richard Sent <=