Bug 1626397

Summary: [NetworkManager-openvpn] asks for CA private key
Product: [Fedora] Fedora Reporter: Joachim Frieben <jfrieben>
Component: network-manager-appletAssignee: Thomas Haller <thaller>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: blueowl, choeger, code, dcbw, lkundrak, steve, thaller
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: network-manager-applet-1.8.18-2.fc29 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-02 19:27:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joachim Frieben 2018-09-07 08:40:59 UTC
Description of problem:
For current Fedora 29, the OpenVPN setup dialog provided by NetworkManager-openvpn-gnome asks the user for a CA private key which, in my case, is not provided by the OpenVPN service provider.

Version-Release number of selected component (if applicable):
NetworkManager-openvpn-1.8.4-2.fc29

How reproducible:
Always

Steps to Reproduce:
1. Run gnome-control-center and add OpenVPN network connection.

Actual results:
Configuration dialog asks both for CA certificate and CA private key.

Expected results:
Configuration dialog asks for the CA certificate alone.

Additional info:
For the current release Fedora 28, no additional CA private key is required.

Comment 1 Thomas Haller 2018-09-07 09:48:35 UTC
libnma bug fixed upstream:

https://gitlab.gnome.org/GNOME/network-manager-applet/issues/20

Comment 2 Fedora Update System 2018-09-07 13:06:18 UTC
network-manager-applet-1.8.18-1.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-824f4dc06b

Comment 3 Thomas Haller 2018-09-07 14:08:13 UTC
Hm, seems network-manager-applet-1.8.18-1.fc29 won't fix the issue.

that's because of a misunderstanding from my side about https://gitlab.gnome.org/GNOME/network-manager-applet/issues/20

libnma changed behaviour regarding no-show-all.

that broke nm-c-e. So, nm-c-e was fixed to get the necessary adjustment.

But gnome-control-center has the same issue. Now, we could and should adjust gnome-control-center. Because using show-all is wrong.

But libnma breaking gnome-control-center should be avoided as much as possible. I think the patch in libnma should be reverted (at least for now).

Comment 4 Joachim Frieben 2018-09-07 15:01:29 UTC
If there is a bug in libnma which breaks both nm-connection-editor and gnome-control-center, then it seems natural to me to fix libnma and not the applications which are using it.

The original bug can be worked around by simply importing some empty file, e.g. called "ca.key" in order to (formally) satisfy the erroneous requirement for a CA private key. The save button is then no longer disabled.

Comment 5 Fedora Update System 2018-09-07 22:50:00 UTC
network-manager-applet-1.8.18-1.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-824f4dc06b

Comment 6 Thomas Haller 2018-09-21 08:08:22 UTC
Upstream reverted the offending change, see https://gitlab.gnome.org/GNOME/network-manager-applet/commit/f3b84748bb3377d503254a387da0f47fddbdcf9c

Still needs fixing in Fedora...

Back to MODIFIED.

Comment 7 Fedora Update System 2018-09-21 09:56:15 UTC
network-manager-applet-1.8.18-2.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-824f4dc06b

Comment 8 Fedora Update System 2018-09-22 20:03:19 UTC
network-manager-applet-1.8.18-2.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-824f4dc06b

Comment 9 Fedora Update System 2018-10-02 19:27:37 UTC
network-manager-applet-1.8.18-2.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.