Linux 5.13.0-39-generic #44~20.04.1-Ubuntu SMP Thu Mar 24 16:43:35 UTC 2022 
x86_64 x86_64 x86_64 GNU/Linux - Kubuntu
Bug still present. Adding with the cli works great:

nmcli connection import type openvpn file FILE.ovpn

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager-openvpn in Ubuntu.
https://bugs.launchpad.net/bugs/1847144

Title:
  network-manager-openvpn config import ignores tls-crypt section

Status in network-manager-openvpn package in Ubuntu:
  Confirmed

Bug description:
  I setup a vpn on raspberry pi with pivpn.

  It creates ovpn files with a tls-crypt section

  <tls-crypt>
  #
  # 2048 bit OpenVPN static key
  #
  -----BEGIN OpenVPN Static key V1-----
  <key data>
  -----END OpenVPN Static key V1-----
  </tls-crypt>

  network-manager fails to extract this key and setup the advanced tls-
  crypt section when one imports the ovpn file and vpn cannot connect
  (logs only show a timeout).

  on the other hand openvpn --config ovpn-file works fine.

  extracting the tls-crypt key and setting the tls settings to tls-crypt
  with this extracted key, enables the vpn to work.

  additionally, it doesn't extract the config to verify the name as the
  ovpn file also requests it do (again, cant set this manually)

  ProblemType: Bug
  DistroRelease: Ubuntu 19.04
  Package: network-manager-openvpn 1.8.10-1
  ProcVersionSignature: Ubuntu 5.0.0-27.28-generic 5.0.21
  Uname: Linux 5.0.0-27-generic x86_64
  ApportVersion: 2.20.10-0ubuntu27.1
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Mon Oct  7 23:30:49 2019
  InstallationDate: Installed on 2019-01-06 (274 days ago)
  InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Release amd64 
(20181017.3)
  SourcePackage: network-manager-openvpn
  UpgradeStatus: Upgraded to disco on 2019-04-18 (172 days ago)

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


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

Reply via email to