.ovpn file "cipher" does not work if it is lowercase

Bug #1746245 reported by Gleb Mazovetskiy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

Network Manager Import VPN configuration does not work correctly if a file contains a lowercase cipher.

Worst is, the import appears to work (no errors). The connection fails with "Invalid HMAC signature" and no other errors.

I only figured out what the problem was by going to the advanced settings and opening the cipher dropdown.

Perhaps the easiest fix to this would be to convert the "cipher" value to upper case when importing.

Using the `openvpn` command directly does work with lowercase "cipher" value, it's only when importing it via the Network Manager where there is a problem.

Example .ovpn file contents (the lowercase cipher value here is "aes-128-cbc"):

client
dev tun
proto udp
remote austria.privateinternetaccess.com 1198
resolv-retry infinite
nobind
persist-key
persist-tun
cipher aes-128-cbc
auth sha1
tls-client
remote-cert-tls server
auth-user-pass
comp-lzo
verb 1
reneg-sec 0
crl-verify crl.rsa.2048.pem
ca ca.rsa.2048.crt
disable-occ

Tags: vpn
Revision history for this message
Gleb Mazovetskiy (glex-spb) wrote :
description: updated
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.