Page MenuHomeVyOS Platform

MACsec CKN of 32 chars is not allowed in CLI, but works fine
Closed, ResolvedPublicBUG

Description

Our Aruba 5406R ZL2 switches require a CKN of 32 characters, while VyOS requires 64 chars.
This makes it impossible to create a working MACsec link between the two.

To test this anyway, I edited the CLI template file to allow this configuration. This seems to work just fine, with encrypted traffic flowing between the Aruba and VyOS devices.

The relevant Aruba documentation can be found here:
https://techhub.hpe.com/eginfolib/networking/docs/switches/K-KA-KB/15-18/5998-8150_access_security_guide/content/v32677644.html

Enter the CKN as a string of hexadecimal digits up to 32 characters long.

I see that smaller keys are also mentioned in the wpa_supplicant.conf template, which explains why it would work.

# mka_ckn (CKN = CAK Name) takes a 1..32-bytes (8..256 bit) hex-string
# (2..64 hex-digits)

This is the first time I'm configuring MACsec, but it looks like this might be just a validation bug.
We won't be running this in production, but I just wanted to report this.

Details

Version
vyos-1.4-rolling-202302130317
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

a.apostoliuk changed the task status from Open to In progress.Feb 15 2023, 2:40 PM
a.apostoliuk changed the task status from In progress to Needs testing.Feb 20 2023, 1:45 PM
a.apostoliuk changed the task status from Needs testing to In progress.Feb 24 2023, 2:30 PM
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus (1.3.3) board.