[PATCH 0/1] wg syncconf not clearing PresharedKey/PersistentKeepalive

Andreas Weigel andreas.weigel at posteo.de
Fri Apr 22 17:45:05 UTC 2022


I noticed that wg syncconf does not actually clear PresharedKey and
PersistentKeepalive values if those are not set in the file but set in
the running config. The proposed patch changes that to always
clear those if they are not set in the configuration file, which imho is
the correct behavior.


Andreas Weigel (1):
  wg syncconf: explicitly reset PresharedKey/PersistentKeepalive

 src/setconf.c | 8 ++++++++
 1 file changed, 8 insertions(+)


More information about the WireGuard mailing list