https://bugs.kde.org/show_bug.cgi?id=517125
Bug ID: 517125
Summary: Setting with path to CA certificate is appended with
%00 (WPA Enterprise)
Classification: Plasma
Product: plasmashell
Version First 6.3.6
Reported In:
Platform: Debian stable
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Networks widget
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: 1.0
Created attachment 190375
--> https://bugs.kde.org/attachment.cgi?id=190375&action=edit
Wi-Fi Settings GUI with %00 appended to the CA certificate path
SUMMARY
I connect to a Wi-Fi using WPA Enterprise with PEAP and MSCHAPv2. When making
the settings the first time (and if you get them right), the connection works
fine. When opening the settings once more, a NULL Byte seems to be added to the
string that is the path to the CA certificate. Upon saving changes, the NULL
Byte is translated to "%00" in the config file. Subsequently, the connection
cannot be established any more.
STEPS TO REPRODUCE
1. Setup Wi-Fi network with WPA Enterprise, PEAP, MSCHAPv2, and set a path to a
certificate file.
2. Observe contents of the respective network manager file
(/etc/NetworkManager/system-connections/...) to show the path to the CA
certificate.
3. Reload the Wi-Fi settings GUI.
4. Make any change to the Wi-Fi settings except for the CA certificate.
5. Save the changes and check that %00 as appended to the end of the CA path in
the network manager config file.
6. Reload the Wi-Fi settings GUI, where the %00 appears.
This is repeatable. I guess there is an off-by-one error when parsing the
string, so the terminating NULL is put into the GUI?
SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 13
KDE Plasma Version: 6.3.6
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.12.63+deb13-amd64 (64-bit)
Graphics Platform: X11
Processors: 20 × 13th Gen Intel® Core™ i7-13700H
Memory: 64 GiB of RAM (62.5 GiB usable)
Graphics Processor 1: Intel® Iris® Xe Graphics
Graphics Processor 2: Intel® Arc
--
You are receiving this mail because:
You are watching all bug changes.