Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Tim Sedlmeyer <tim@sedlmeyer.us>
To: WireGuard@lists.zx2c4.com
Subject: Removing pre-shared key from peer using wg set fails
Date: Wed, 22 Nov 2017 23:53:43 +0000	[thread overview]
Message-ID: <CAK_h9uHiudc2d_qOJgQeQd7+8oB-Kgr8nN_S5Y1hsBUu==Zd1w@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 438 bytes --]

Removal of the preshared-key from a peer using the 'wg set' command and
providing /dev/null or an empty file as the preshared-key filename does not
result in the key being removed from the peer. The command doesn't return
an error, but it also doesn't remove the key. I have attempted it using
0.0.20171111 and 0.0.20171122.

Supplying /dev/null or an empty file as the filename does work properly for
removing the interface private-key.

[-- Attachment #2: Type: text/html, Size: 500 bytes --]

             reply	other threads:[~2017-11-22 23:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-22 23:53 Tim Sedlmeyer [this message]
2017-11-23  0:20 ` Jason A. Donenfeld
2017-11-23  2:17   ` Tim Sedlmeyer

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='CAK_h9uHiudc2d_qOJgQeQd7+8oB-Kgr8nN_S5Y1hsBUu==Zd1w@mail.gmail.com' \
    --to=tim@sedlmeyer.us \
    --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).