diff options
| author | aapostoliuk <a.apostoliuk@vyos.io> | 2023-02-17 12:04:03 +0200 | 
|---|---|---|
| committer | aapostoliuk <a.apostoliuk@vyos.io> | 2023-02-17 12:35:38 +0200 | 
| commit | 1ea2d583d857dfef820874399eebcd4c29cf8484 (patch) | |
| tree | 6f984a08dbfcf0f0be6fae051dcd9a8897a56f7c | |
| parent | e0e550ad1187e10bcd730675c11714a075abc4a0 (diff) | |
| download | vyos-1x-1ea2d583d857dfef820874399eebcd4c29cf8484.tar.gz vyos-1x-1ea2d583d857dfef820874399eebcd4c29cf8484.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)
| -rw-r--r-- | interface-definitions/interfaces-macsec.xml.in | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/interface-definitions/interfaces-macsec.xml.in b/interface-definitions/interfaces-macsec.xml.in index 4b4f9149d..6bc28e44b 100644 --- a/interface-definitions/interfaces-macsec.xml.in +++ b/interface-definitions/interfaces-macsec.xml.in @@ -75,10 +75,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> | 
