summaryrefslogtreecommitdiff
path: root/interface-definitions/interfaces-wireguard.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'interface-definitions/interfaces-wireguard.xml.in')
-rw-r--r--interface-definitions/interfaces-wireguard.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/interfaces-wireguard.xml.in b/interface-definitions/interfaces-wireguard.xml.in
index bbe9a5d03..74319f705 100644
--- a/interface-definitions/interfaces-wireguard.xml.in
+++ b/interface-definitions/interfaces-wireguard.xml.in
@@ -75,7 +75,7 @@
<properties>
<help>base64 encoded public key</help>
<constraint>
- <regex>^[0-9a-zA-Z\+/]{43}=$</regex>
+ <regex>[0-9a-zA-Z\+/]{43}=$</regex>
</constraint>
<constraintErrorMessage>Key is not valid 44-character (32-bytes) base64</constraintErrorMessage>
</properties>
@@ -84,7 +84,7 @@
<properties>
<help>base64 encoded preshared key</help>
<constraint>
- <regex>^[0-9a-zA-Z\+/]{43}=$</regex>
+ <regex>[0-9a-zA-Z\+/]{43}=$</regex>
</constraint>
<constraintErrorMessage>Key is not valid 44-character (32-bytes) base64</constraintErrorMessage>
</properties>