From: "Manuel Schölling" <manuel.schoelling@gmx.de>
To: Aaron Jones <aaronmdjones@gmail.com>
Cc: WireGuard mailing list <wireguard@lists.zx2c4.com>
Subject: Re: Reading configuration from stdin
Date: Mon, 11 Dec 2017 21:31:11 +0100 [thread overview]
Message-ID: <1513024271.24175.3.camel@gmx.de> (raw)
In-Reply-To: <ebc466dc-a1b7-6de9-2e3b-fb94e63f60a6@gmail.com>
On Mon, 2017-12-11 at 04:12 +0000, Aaron Jones wrote:
> On 10/12/17 12:43, Manuel Sch=C3=B6lling wrote:
> > Hi,
> >=20
> > Would it make sense (aka be secure) if we make it possible to call
> > 'wg setconf wg0 -' so the wg tool does not read the configuration
> > from a file but from stdin? Same for 'wg set wg0 private-key -' and
> > 'wg set wg0 psk -'?
>=20
> This should already be possible via `wg setconf wg0 /dev/stdin', no?
Duh, you're right. I totally forgot about /dev/stdin 'cause tools like
cat use '-'!
next prev parent reply other threads:[~2017-12-11 20:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-10 12:43 Manuel Schölling
2017-12-11 4:12 ` Aaron Jones
2017-12-11 20:31 ` Manuel Schölling [this message]
2017-12-11 4:24 ` Jason A. Donenfeld
2017-12-11 20:36 ` Manuel Schölling
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=1513024271.24175.3.camel@gmx.de \
--to=manuel.schoelling@gmx.de \
--cc=aaronmdjones@gmail.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).