Bug 375170

Summary: Not able to delete passphrase for private key in openvpn profile
Product: [Applications] systemsettings Reporter: Thomas K. <tom>
Component: kcm_networkmanagementAssignee: Lukáš Tinkl <lukas>
Status: RESOLVED FIXED    
Severity: normal CC: jgrulich
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: You cannot remove content and save in the red field

Description Thomas K. 2017-01-17 07:52:37 UTC
Created attachment 103453 [details]
You cannot remove content and save in the red field

Hello!

I have put my passphrase for Openvpn connection in the wrong field. I have used the field "password for private key (Key password)" instead of the password filed. Once you have done this you can't remove the saved passphrase in the "Key password" field.
Im also unable to remove it when I edit the openvpn profile in the connection editor. You can remove it, save it, but its not recognized.

The only way to get rid of this is to recreate the openvpn profile.

Please fix this.

Best regards,

Thomas Krüger
Comment 1 Jan Grulich 2017-01-17 10:47:15 UTC
Git commit 11fba0b008732f28709daba4a9062ce81cc21f0d by Jan Grulich.
Committed on 17/01/2017 at 10:46.
Pushed by grulich into branch 'master'.

OpenVPN: Remove previously configured secrets to avoid passing them back

M  +13   -1    vpn/openvpn/openvpnwidget.cpp

https://commits.kde.org/plasma-nm/11fba0b008732f28709daba4a9062ce81cc21f0d
Comment 2 Jan Grulich 2017-01-17 10:48:05 UTC
Git commit 30226c538ff9b0c1e353a9303b873548ca3dfbff by Jan Grulich.
Committed on 17/01/2017 at 10:47.
Pushed by grulich into branch 'Plasma/5.8'.

OpenVPN: Remove previously configured secrets to avoid passing them back

M  +13   -1    vpn/openvpn/openvpnwidget.cpp

https://commits.kde.org/plasma-nm/30226c538ff9b0c1e353a9303b873548ca3dfbff
Comment 3 Jan Grulich 2017-01-17 10:48:23 UTC
Git commit ff24c65d45502f5ab7897b8b76e7576b03d725f6 by Jan Grulich.
Committed on 17/01/2017 at 10:47.
Pushed by grulich into branch 'Plasma/5.9'.

OpenVPN: Remove previously configured secrets to avoid passing them back

M  +13   -1    vpn/openvpn/openvpnwidget.cpp

https://commits.kde.org/plasma-nm/ff24c65d45502f5ab7897b8b76e7576b03d725f6
Comment 4 Jan Grulich 2017-01-17 10:48:51 UTC
This still needs some adjustments on NM side:
https://bugzilla.gnome.org/show_bug.cgi?id=777378