Skip to content

wg syncconf not clearing PresharedKey/PersistentKeepalive

Andreas Weigel wireguard 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1wg syncconf: explicitly reset PresharedKey/PersistentKeepalivesrc/setconf.c+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

Hi,

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

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

 src/setconf.c | 8 ++++++++
 1 file changed, 8 insertions(+)
Signature · 1 line
2.25.1