From 54b26b562d1190256faae6b3ae42cebebdc9741f Mon Sep 17 00:00:00 2001 From: ElJeffe Date: Thu, 28 Jan 2021 16:22:02 -0500 Subject: [PATCH] net/wireguard: Make client Public Key required field (#2174) Recent experience is that adding a client without a public key will break WireGuard and all connecting clients. I'm not sure if this is the best place to do the check, but seems to make sense to just require the public key when creating the client. --- .../src/opnsense/mvc/app/models/OPNsense/Wireguard/Client.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/wireguard/src/opnsense/mvc/app/models/OPNsense/Wireguard/Client.xml b/net/wireguard/src/opnsense/mvc/app/models/OPNsense/Wireguard/Client.xml index 48a16ee26..e547d80bd 100644 --- a/net/wireguard/src/opnsense/mvc/app/models/OPNsense/Wireguard/Client.xml +++ b/net/wireguard/src/opnsense/mvc/app/models/OPNsense/Wireguard/Client.xml @@ -1,7 +1,7 @@ //OPNsense/wireguard/client Wireguard Client configuration - 0.0.5 + 0.0.6 @@ -14,7 +14,7 @@ Y - N + Y Should be a base64-encoded 32 byte string.