mirror of
https://github.com/opnsense/plugins.git
synced 2026-06-09 00:42:34 -04:00
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.
This commit is contained in:
parent
8f660333d6
commit
54b26b562d
1 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<model>
|
||||
<mount>//OPNsense/wireguard/client</mount>
|
||||
<description>Wireguard Client configuration</description>
|
||||
<version>0.0.5</version>
|
||||
<version>0.0.6</version>
|
||||
<items>
|
||||
<clients>
|
||||
<client type="ArrayField">
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
<Required>Y</Required>
|
||||
</name>
|
||||
<pubkey type="Base64Field">
|
||||
<Required>N</Required>
|
||||
<Required>Y</Required>
|
||||
<ValidationMessage>Should be a base64-encoded 32 byte string.</ValidationMessage>
|
||||
</pubkey>
|
||||
<psk type="Base64Field">
|
||||
|
|
|
|||
Loading…
Reference in a new issue