Bug 424304 - Network Manager copies certificate file everytime, regardless of whether "yes" or "no" is selected in dialog box
Summary: Network Manager copies certificate file everytime, regardless of whether "yes...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_networkmanagement (show other bugs)
Version: 5.18.4
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Jan Grulich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-16 20:03 UTC by NIk
Modified: 2023-01-20 02:16 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.27
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description NIk 2020-07-16 20:03:17 UTC
SUMMARY


STEPS TO REPRODUCE
1. Go to connections
2. Add a new connection, choose import VPN connection
3. Selsct .ovpn file. Dialog box appears:"Do you want to copy your certificates to  /home/USERNAME/.local/share/networkmanagement/certificates/?"

OBSERVED RESULT
Clicking yes copies the file as expected
Clicking no also copies the file 

EXPECTED RESULT
Clicking "no" should NOT copy the file to home/USERNAME/.local/share/networkmanagement/certificates/

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Kubuntu 20.04
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
Comment 1 NIk 2022-03-26 18:10:20 UTC
This is still happening btw, just seen it yesterday. Nothing critical, but .. 

My system has changed since the original report:

Operating System: openSUSE Tumbleweed 20220324
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.92.0
Qt Version: 5.15.2
Kernel Version: 5.16.15-1-default (64-bit)
Graphics Platform: X11
Processors: 12 × 11th Gen Intel® Core™ i5-11600K @ 3.90GHz
Memory: 31.2 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Comment 2 Nicolas Fella 2023-01-20 02:16:40 UTC
Plasma 5.27 changes the way VPN files are imported to match what nmcli is doing. That means that we no longer ask for the certificate to be copied and always copy to ~/.cert. I guess we can consider this fixed then