Bug 364972 - hidden options are overwritten when using the gui editor
Summary: hidden options are overwritten when using the gui editor
Status: RESOLVED DUPLICATE of bug 364973
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_networkmanagement (other bugs)
Version First Reported In: unspecified
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Lukáš Tinkl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-01 11:37 UTC by Bas Zoetekouw
Modified: 2024-12-23 18:27 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bas Zoetekouw 2016-07-01 11:37:35 UTC
UYsing nmcli, I have set a network-manager setting that is not supported in the plasma editor (for example  802-1x.subject-match).  I understand that not all options can be eaily exposed in the gui, so setting it from the command line is fine with me.

However, when I now make an unrelated change using th plasma-nm-editor (for example, changing the AP priority), the changes I made from the cli are silently reset.  In case of the 802-1x.subject-match property, this is quite disturbing, as it opens up my laptops to attacks using rogue access points and mitm-attacks.

So, please keep any changes written from the graphical client as compact as possible (i.e., only writing the keys that are actually exposed in the gui, or even only hte keys that have been changed), instead of resetting all variables.

Reproducible: Always

Steps to Reproduce:
0. (create an wifi network "eduroam" with 802.11x authn)
1. nmcli c modify eduroam 802-1x.subject-match radius.example.edu
2. open nm-connection editor in kde
3. change an unrelated setting (e.g., priority), and save
4. "nmcli c show eduroam" shows the "802-1x.subject-match" property has been reset

Actual Results:  
see above

Expected Results:  
802-1x.subject-match poperty should have been kept

I'd consider this a security bug (see above), but I think the group of people affected is not very large.
Comment 1 Jan Grulich 2016-07-20 10:56:32 UTC
That property should be already supported in Plasma 5.6.x so your problem shouldn't happen. See https://quickgit.kde.org/?p=plasma-nm.git&a=commit&h=92faca4156698df2aee896dbd3a1a6734be58056. Do you really have version 5.6.4?
Comment 2 Jan Grulich 2016-10-06 12:26:15 UTC
Closing, subject match property was implemented a year ago.

*** This bug has been marked as a duplicate of bug 364973 ***