summaryrefslogtreecommitdiff
path: root/scripts/system
diff options
context:
space:
mode:
authorNataliia Solomko <natalirs1985@gmail.com>2026-10-30 15:33:41 +0200
committerNataliia Solomko <natalirs1985@gmail.com>2026-10-30 15:33:41 +0200
commitc171f03fa628c66b18c29fb0781098cb16203db6 (patch)
tree0a7d9ac5b0dab9841835220e50a9a3451b4c531e /scripts/system
parentcc972e7de80aea6101e936bffde775c0ee86bbc4 (diff)
downloadvyos-1x-c171f03fa628c66b18c29fb0781098cb16203db6.tar.gz
vyos-1x-c171f03fa628c66b18c29fb0781098cb16203db6.zip
zabbix-agent: T9545: Fix PSK authentication mode validation
The pre-shared-secret check compared the authentication mode against "pre_shared_secret", but key mangling only applies to keys, so the CLI value keeps its hyphens and the check never matched. PSK mode could be committed without an identity or secret, leaving the agent with TLSConnect=psk and no key, so it failed to start silently. The check now matches the CLI value and rejects PSK mode with a missing identity or secret, including when no psk node is configured at all.
Diffstat (limited to 'scripts/system')
0 files changed, 0 insertions, 0 deletions