https://bugs.kde.org/show_bug.cgi?id=499425

            Bug ID: 499425
           Summary: On page load, WPA2-EAP CA-certificate field replaced
                    with invalid file:// URI, causing subsequent
                    connection failure
    Classification: Applications
           Product: systemsettings
           Version: 6.1.5
          Platform: Kubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: kcm_networkmanagement
          Assignee: plasma-b...@kde.org
          Reporter: tux12...@justmail.de
                CC: jgrul...@redhat.com
  Target Milestone: ---

Created attachment 177907
  --> https://bugs.kde.org/attachment.cgi?id=177907&action=edit
Working config on top. Autogenerated, broken config on the bottom

SUMMARY

When loading the WiFi settings of a WPA2-EAP encrypted network that has the
CA-certificate field populated, the plain certificate path is replaced with a
file:// URI that ends in a whitespace. Saving again saves the file URI which
then causes connection failures.

I.e. "/home/user/.config/cert.pem" is replaced with
"file:///home/user/.config/cert.pem "

STEPS TO REPRODUCE
1. Have a working WPA2-EAP encrypted wireless network connection, with
CA-certificate explicitly set to a filesystem path.
2. Open the connection in the network connections module, go to the encryption
tab
3. Observe that the CA-cert field now contains a file:// URI that ends with a
whitespace character.
4. Edit something and revert (hit a key, then backspace in any line edit), to
enable the Save button
5. Save the connection
6. Try to connect to the network
7. Observe it failing.

OBSERVED RESULT

No connection possible while the file:// URI is present in the CA-cert field.
freeradius3 on the backend server says:
```
(128) eap: Peer sent packet with method EAP NAK (3)
(128) eap: Peer NAK'd indicating it is not willing to continue
```

EXPECTED RESULT

Keep the field exactly as-is, similar to the username, password, anonymous
identity field.

In the broken state, removing both "file://" and the trailing whitespace, then
saving reverts to a working configuration.

SOFTWARE/OS VERSIONS
Operating System: Kubuntu 24.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.6.2
Kernel Version: 6.11.0-14-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1070/PCIe/SSE2

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to