Bug 451071

Summary: Plasma nm prefers WPA2-PSK security type over WPA3-PSK security type
Product: [Plasma] plasmashell Reporter: Eric Armbruster <eric1>
Component: Networking in generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: jgrulich, lamarque, lukas.tinkl, nate, nicolas.fella
Priority: NOR    
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Eric Armbruster 2022-03-03 08:22:19 UTC
SUMMARY
Plasma nm prefers WPA2-PSK security type over WPA3-PSK security type when setting up a new connection to a network that offers connections of both security types.

STEPS TO REPRODUCE
1. Set up your home network to enable both WPA3 and WPA2.
2. Open the plasma nm applet and set up a new connection to this network


OBSERVED RESULT
After successful connection, go into details tab in the plasma nm applet and observe WPA2-PSK as security type.

When I remove the connection and set up a new connection again, this time via nmtui, the observed security type after connecting is WPA3-PSK.

This indicates to me the bug is not upstream, but in plasma-nm.

EXPECTED RESULT

Operating System: openSUSE Tumbleweed 20220227
KDE Plasma Version: 5.24.2
KDE Frameworks Version: 5.91.0
Qt Version: 5.15.2
Kernel Version: 5.16.11-1-default (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700U with Radeon Graphics
Memory: 14.4 GiB of RAM
Graphics Processor: AMD RENOIR

ADDITIONAL INFORMATION
Comment 1 Eric Armbruster 2022-03-03 08:41:10 UTC
I think I found the problem: https://invent.kde.org/frameworks/networkmanager-qt/-/blob/master/src/utils.cpp#L397

Would like to submit a MR for this.
Comment 2 Eric Armbruster 2022-03-03 09:08:00 UTC
(In reply to Eric Armbruster from comment #1)
> Would like to submit a MR for this.

Perhaps this was a bit premature, but will certainly try to look into it.
Comment 3 Ben Cooksley 2024-12-23 18:23:44 UTC
Bulk transfer as requested in T17796