GNOME Bugzilla – Bug 791881
auth param lost upon ovpn import
Last modified: 2018-01-04 18:51:18 UTC
I'm running stock Linux Mint 18.3, based upon Ubuntu 16.04. network-manager 1.2.2-0ubuntu0.16.04.4 network-manager-openvpn 1.1.93-1ubuntu1 OpenVPN 2.3.10 If I import a standard .ovpn file for PrivateInternetAccess vpn service, the auth parameter ("auth sha1") is lost. This causes the connection to fail with the error "VPN connection: failed to connect interactively: 'Invalid HMAC auth.'" (from syslog). The GUI notification just says that openvpn failed to start. When I go back into the GUI I notice that under Advanced -> Security, HMAC Authentication is set to "Default", rather than "SHA-1". Setting it to SHA-1 (to match the ovpn file) fixes it and the connection succeeds. Although I realize there are newer versions of network-manager, this version is shipping on lots of machines, and I didn't notice a bug fix matching this description, so wanted to bring it to your attention in case it is not known.
"auth sha1" works for me. could you attach a ovpn file that shows the issue? Careful to mangle private information before posting. Thanks.
Created attachment 366033 [details] .ovpn file showing the problem Note, the ovpn file refers to two certificate files which I do not include.
fixed upstream by https://git.gnome.org/browse/network-manager-openvpn/commit/?id=eb48d030e90d8d601faa9a013e4af3e209498ad6 This only affects the GTK UI (used by nm-connection-editor and gnome-control-center). *** This bug has been marked as a duplicate of bug 774730 ***