network-manager-openvpn-gnome doesn't allow underscore (_) in ta key name

Bug #1979987 reported by Jake Nabasny
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

$ apt list network-manager
network-manager/jammy,now 1.36.4-2ubuntu1 amd64 [installed,automatic]

$ uname -a
Linux hostname 5.15.0-33-generic #34-Ubuntu SMP Wed May 18 13:34:26 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy

What you expected to happen:
Load VPN configuration either manually by browsing and selecting each cert and key file, or importing a .ovpn file. TA key name is "my_ta.key". Turn on VPN and it connects.

What happened instead:
Load VPN configuration either manually by browsing and selecting each cert and key file, or importing a .ovpn file. TA key name is "my_ta.key". In the GUI, key is renamed to "myta.key". Turn on VPN and connection is immediately rejected with authentication error.

Workaround:
The GUI will always remove the underscores from the filename once loaded, so the only way to get it to read correctly is to remove the underscores from the file itself (e.g. "myta.key"). Once this is done, the VPN connects without issue.

Tags: vpn
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for bug report. Could you do
$ journalctl -f
then trigger the issue and copy the log to the bug report?

Changed in network-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

Testing locally the '_' is removed from the name in the UI but doing

$ nmcli connection edit 'Connection_name'
p vpn.data

displays the correct filename with an '_'

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.