OpenVPN embedded files are not removed when adding VPN is cancelled
If you add an .ovpn
file with certs/keys embedded they are extracted to ~/.cert
, but upon cancelling that they are not removed.
Steps to reproduce:
- Check the files in
~/.cert
. If you have not added a VPN previously, this dir might not even exist. - Open GNOME Settings.
- Go to "Network".
- Add an
.ovpn
file with certs/keys embedded. A window with information about the VPN is shown. (internally it extracts keys, ca and so on to~/.cert
) - Click Cancel, i.e. do not add the VPN.
What happens: Files in ~/.cert
exist.
What should happen: It should delete files in ~/.cert
as I finally decided not to add the VPN.
System
$ gnome-control-center --version
gnome-control-center 3.28.2
$ NetworkManager --version
1.10.12-1.fc28
$ dnf info NetworkManager-openvpn
[…]
Name : NetworkManager-openvpn
Epoch : 1
Version : 1.8.4
Release : 1.fc28
Arch : x86_64
Größe : 1.0 M
Quelle : NetworkManager-openvpn-1.8.4-1.fc28.src.rpm
Paketquelle : @System
Aus Paketque : updates
Zusammenfass : NetworkManager VPN plugin for OpenVPN
URL : http://www.gnome.org/projects/NetworkManager/
Lizenz : GPLv2+
Beschreibung : This package contains software for integrating VPN capabilities
: with the OpenVPN server with NetworkManager.
Fedora 28
Edited by rugk