summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-07-18 23:47:27 +0200
committerChristian Poessinger <christian@poessinger.com>2022-07-18 23:47:32 +0200
commit393355f7feaa921eba46b83d4f15ad4a5c37adab (patch)
tree70985cf680649c0af66e4561a49fcc18981c3eb0 /interface-definitions
parentfc395620cc8dd68063a4a563f1f0b7b4a84457c5 (diff)
downloadvyos-1x-393355f7feaa921eba46b83d4f15ad4a5c37adab.tar.gz
vyos-1x-393355f7feaa921eba46b83d4f15ad4a5c37adab.zip
macsec: T4537: allow 32-byte keys for gcm-aes-256
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/interfaces-macsec.xml.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/interface-definitions/interfaces-macsec.xml.in b/interface-definitions/interfaces-macsec.xml.in
index dbb989588..adb48813f 100644
--- a/interface-definitions/interfaces-macsec.xml.in
+++ b/interface-definitions/interfaces-macsec.xml.in
@@ -63,11 +63,12 @@
<properties>
<help>Secure Connectivity Association Key</help>
<valueHelp>
- <format>key</format>
- <description>16-byte (128-bit) hex-string (32 hex-digits)</description>
+ <format>txt</format>
+ <description>16-byte (128-bit) hex-string (32 hex-digits) for gcm-aes-128 or 32-byte (256-bit) hex-string (64 hex-digits) for gcm-aes-256</description>
</valueHelp>
<constraint>
<regex>[A-Fa-f0-9]{32}</regex>
+ <regex>[A-Fa-f0-9]{64}</regex>
</constraint>
</properties>
</leafNode>
@@ -75,7 +76,7 @@
<properties>
<help>Secure Connectivity Association Key Name</help>
<valueHelp>
- <format>key</format>
+ <format>txt</format>
<description>32-byte (256-bit) hex-string (64 hex-digits)</description>
</valueHelp>
<constraint>