diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-07-18 23:47:27 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-08-15 17:59:58 +0200 |
commit | fd5adb0136aa49a9ec59bb16ff7956b7a9f8a85c (patch) | |
tree | b71ce8f9e4b70b24c935467e7dbfd7c9f9016e52 | |
parent | 63d572ffa332e75c8dbf0f9f627a4c25411d4ac6 (diff) | |
download | vyos-1x-fd5adb0136aa49a9ec59bb16ff7956b7a9f8a85c.tar.gz vyos-1x-fd5adb0136aa49a9ec59bb16ff7956b7a9f8a85c.zip |
macsec: T4537: allow 32-byte keys for gcm-aes-256
(cherry picked from commit 393355f7feaa921eba46b83d4f15ad4a5c37adab)
-rw-r--r-- | interface-definitions/interfaces-macsec.xml.in | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/interface-definitions/interfaces-macsec.xml.in b/interface-definitions/interfaces-macsec.xml.in index 96dcf3ca0..fa54aedc1 100644 --- a/interface-definitions/interfaces-macsec.xml.in +++ b/interface-definitions/interfaces-macsec.xml.in @@ -60,11 +60,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]{32}</regex> + <regex>[A-Fa-f0-9]{64}</regex> </constraint> </properties> </leafNode> @@ -72,7 +73,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> |