summaryrefslogtreecommitdiff
path: root/interface-definitions
diff options
context:
space:
mode:
authoraapostoliuk <a.apostoliuk@vyos.io>2023-02-24 11:32:08 +0200
committeraapostoliuk <a.apostoliuk@vyos.io>2023-02-24 11:32:08 +0200
commit391b7333c8366d3e4a1bf44f75d780591e4e09e8 (patch)
treecaf9370da09141063fcc445b145c5b8545c4a38f /interface-definitions
parentaa693e13db22ef0388bb5a1e6f9256b4edaa146f (diff)
downloadvyos-1x-391b7333c8366d3e4a1bf44f75d780591e4e09e8.tar.gz
vyos-1x-391b7333c8366d3e4a1bf44f75d780591e4e09e8.zip
macsec: T5008: Changed length of CKN to (2..64 hex-digits)
Based on wpa_supplicant documentation. mka_ckn (CKN = CAK Name) takes a 1..32-bytes (8..256 bit) hex-string (2..64 hex-digits) Changed allowable length of CKN from strong 64 hex-digits to the range (2..64 hex-digits)
Diffstat (limited to 'interface-definitions')
-rw-r--r--interface-definitions/interfaces-macsec.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/interface-definitions/interfaces-macsec.xml.in b/interface-definitions/interfaces-macsec.xml.in
index fa54aedc1..7543df412 100644
--- a/interface-definitions/interfaces-macsec.xml.in
+++ b/interface-definitions/interfaces-macsec.xml.in
@@ -74,10 +74,10 @@
<help>Secure Connectivity Association Key Name</help>
<valueHelp>
<format>txt</format>
- <description>32-byte (256-bit) hex-string (64 hex-digits)</description>
+ <description>>1..32-bytes (8..256 bit) hex-string (2..64 hex-digits)</description>
</valueHelp>
<constraint>
- <regex>^[A-Fa-f0-9]{64}$</regex>
+ <regex>^[A-Fa-f0-9]{2,64}$</regex>
</constraint>
</properties>
</leafNode>