[PATCH] wg-quick linux: Add strip-and-eval cmd to extract keys from PostUp

Robin Schneider ypid at riseup.net
Mon Oct 12 21:54:35 CEST 2020

On 2020-10-12 17:01, Jason A. Donenfeld wrote:
> On Sat, Oct 10, 2020 at 5:58 PM Robin Schneider <ypid at riseup.net> wrote:
>> The proposed workaround has two issues:
>> 1. It does not allow to replace the PrivateKey or PresharedKey using the `syncconf` now from the config file which is what I want to have.
>> 2. It only outputs the PrivateKey and not the PresharedKey for each peer. Sure, this could be done with a for loop.
> Sounds like something easily achievable with scripting.

So you suggest to write a 3party script instead of putting it into wg-quick? Because a inline script with support for all of this wound not exactly be a one-liner :) Could such a script be included in the wireguard-tools?

Live long and prosper
Robin `ypid` Schneider -- https://me.ypid.de/

More information about the WireGuard mailing list