Bug 396795

Summary: Network Connections does not remember passwords for OpenVPN
Product: [Plasma] plasma-nm Reporter: Radoslaw Jurga <radoslaw.jurga>
Component: editorAssignee: Jan Grulich <jgrulich>
Status: RESOLVED UPSTREAM    
Severity: normal CC: bugs, dschridde+kde, jgrulich
Priority: NOR    
Version: 5.17.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: The OpenVPN configuration that caused the bug in my case.

Description Radoslaw Jurga 2018-07-23 15:20:38 UTC
It sometimes happens that the Network Connection tool fails to remember the password for an OpenVPN connection.

I had two OpenVPN connections configured, both with the setting `Store password for this user only (encrypted)` selected. For one of them the password was being remembered, but not for the other one.

In the case where it doesn't work, it was enough to select `This password is not required`, Apply, select again `Store password for this user only (encrypted)`, and then the password is properly remembered.
Comment 1 Radoslaw Jurga 2018-07-23 17:17:26 UTC
Created attachment 114086 [details]
The OpenVPN configuration that caused the bug in my case.
Comment 2 Martin van Es 2019-12-03 08:02:23 UTC
I'm seeing the exact same problem in plasma-nm 5.17.3, but I can't fix it by selecting "This password is not required" and then "Store ... (encrypted)". I can only choose to store it unencrypted and only then I see the pwd stored in the (system wide) conf under /etc/NetworkManager/system-connections
Comment 3 Jan Grulich 2019-12-17 10:33:59 UTC
This is a bug in NetworkManager.

Upstream bug: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/230