Page MenuHomeVyOS Platform

op-mode: OpenVPN client-file generator validates wrong node for private key
Closed, ResolvedPublicBUG

Description

The OpenVPN client-file generator checks that the certificate exists where it means to check the private key.

Location
src/op_mode/generate_ovpn_client_file.py:138-139, :153

Problem
The existence check uses cert where key is intended, so --key is never validated.

Details

Version
rolling
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)