This worked for me in 24.04, but broke in 24.10.

Getting this error:
nm-openvpn: OPTIONS ERROR: failed to negotiate cipher with server.  Add the 
server's cipher ('AES-192-CBC') to --data-ciphers (currently 
'AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305') if you want to connect to this 
server.

I had to edit the yaml file in /etc/netplan as @morgancoxuk suggested.
(And restart the machine because I didn't know how to get the GUI tool
to re-read it)

@nteodosio, why did you mark "Fix released" for Oracular? Was any fix
actually released?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1993634

Title:
  network-manager-openvpn: --cipher option deprecated in OpenVPN 2.6, no
  option to set suggested --data-ciphers flag instead

Status in NetworkManager-OpenVPN:
  New
Status in network-manager package in Ubuntu:
  Incomplete
Status in network-manager-openvpn package in Ubuntu:
  Fix Released
Status in network-manager-openvpn source package in Focal:
  Incomplete
Status in network-manager-openvpn source package in Jammy:
  Incomplete
Status in network-manager-openvpn source package in Noble:
  Fix Released
Status in network-manager-openvpn source package in Oracular:
  Fix Released

Bug description:
  Latest network-manager-openvpn still uses the deprecated --cipher
  option, and offers no way to set the new --data-ciphers option.

  nm-openvpn[257279]: OPTIONS ERROR: failed to negotiate cipher with server.  
Add the server's cipher ('AES-256-CBC') to --data-ciphers (currently 
'AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305') if you want to connect to this 
server.
  nm-openvpn[257279]: ERROR: Failed to apply push options
  nm-openvpn[257279]: Failed to open tun/tap interface

  Using the command line and passing --data-ciphers option works.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.10
  Package: network-manager-openvpn 1.10.0-1ubuntu2
  ProcVersionSignature: Ubuntu 5.19.0-21.21-generic 5.19.7
  Uname: Linux 5.19.0-21-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.23.1-0ubuntu3
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: KDE
  Date: Thu Oct 20 09:50:10 2022
  InstallationDate: Installed on 2022-02-05 (256 days ago)
  InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220119)
  SourcePackage: network-manager-openvpn
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/network-manager-openvpn/+bug/1993634/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to