Bug 419033 - OpenVPN passwords not saved (with libnm0 1.10.6 in Kubuntu 18.04)
Summary: OpenVPN passwords not saved (with libnm0 1.10.6 in Kubuntu 18.04)
Status: REPORTED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Networking in general (show other bugs)
Version: master
Platform: Kubuntu Linux
: NOR normal
Target Milestone: 1.0
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-19 23:28 UTC by aslam karachiwala
Modified: 2024-12-23 18:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description aslam karachiwala 2020-03-19 23:28:01 UTC
SUMMARY
After adding credentials to an OpenVPN connection configuration, if one selects "Store password for this use only (encrypted)" and clicks Apply, the password is not saved (e.g., in the designated, open kwallet). This is a recent change in behavior.

STEPS TO REPRODUCE
1. System Settings > Connections
2. Pick an existing OpenVPN connection (or import a *.openvpn) that needs a password but the password field is empty.
3. Enter the valid username and password in the respective fields.
4. Select "Store password for this use only (encrypted)" under the password field.
5. Click the Apply button.
6. Close System Settings.
6. Try connecting to the OpenVPN connection.

OBSERVED RESULT
Dialog appears asking for password. Returning to the configuration panel of the connection in System Settings > Connections shows an empty password field.

EXPECTED RESULT
The password dialog should not appear and the connection should be attempted with the saved credentials. The username and password fields in connection configuration panel should persistently show the credentials.

SOFTWARE/OS VERSIONS:
OS: Kubuntu 18.04
(available in About System)
KDE Plasma Version: 5.12.9
KDE Frameworks Version: 5.47.0
Qt Version: 5.9.5

ADDITIONAL INFORMATION
This is new behavior. Saving the password used to work correctly until recently.

Related: Bug #396795 – This addresses a bug in a later version of NetworkManager (1.20) in Ubuntu 19.10 and higher. This bug report is for Kubuntu 18.04 (LTS).
Comment 1 aslam karachiwala 2020-03-20 19:01:05 UTC
I also discovered that a password _change_ on an existing OpenVPN connection does not get saved after clicking Apply on the connection configuration pane.

The connections in question are imported from *.openvpn file provided by multiple OpenVPN service providers.
Comment 2 Ben Cooksley 2024-12-23 18:23:39 UTC
Bulk transfer as requested in T17796