Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Robin Schneider <ypid@riseup.net>
To: "Jason A. Donenfeld" <Jason@zx2c4.com>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: [PATCH] wg-quick linux: Add strip-and-eval cmd to extract keys from PostUp
Date: Mon, 12 Oct 2020 21:54:35 +0200	[thread overview]
Message-ID: <4870a998-bab9-14a7-0447-29f74322eca6@riseup.net> (raw)
In-Reply-To: <CAHmME9q0WPQYavB7cnJCcTfYYTafnJ3WxsswP33tv27C7+BMZw@mail.gmail.com>

On 2020-10-12 17:01, Jason A. Donenfeld wrote:
> On Sat, Oct 10, 2020 at 5:58 PM Robin Schneider <ypid@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/

  reply	other threads:[~2020-10-12 19:55 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-04 21:20 Robin Schneider
2020-10-09 12:20 ` Jason A. Donenfeld
2020-10-10 15:57   ` Robin Schneider
2020-10-12 15:01     ` Jason A. Donenfeld
2020-10-12 19:54       ` Robin Schneider [this message]
2020-10-12 22:31         ` Jason A. Donenfeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4870a998-bab9-14a7-0447-29f74322eca6@riseup.net \
    --to=ypid@riseup.net \
    --cc=Jason@zx2c4.com \
    --cc=wireguard@lists.zx2c4.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).