Bug 396795 - Network Connections does not remember passwords for OpenVPN
Summary: Network Connections does not remember passwords for OpenVPN
Status: RESOLVED UPSTREAM
Alias: None
Product: plasma-nm
Classification: Plasma
Component: editor (show other bugs)
Version: 5.17.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-23 15:20 UTC by Radoslaw Jurga
Modified: 2019-12-17 10:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The OpenVPN configuration that caused the bug in my case. (290 bytes, text/plain)
2018-07-23 17:17 UTC, Radoslaw Jurga
Details

Note You need to log in before you can comment on or make changes to this bug.
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