[netctl] Support WPA3-Personal

Message ID YhplE8kkJBX+09Bu@Mindship-06.localdomain
State New
Headers show
Series [netctl] Support WPA3-Personal | expand

Commit Message

Jouke Witteveen Feb. 26, 2022, 5:36 p.m. UTC
By not introducing a specific security setting for WPA3, we inherrit the
WPA2 key restrictions. For now, that is better than nothing.
---
 src/lib/wpa | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Patch

diff --git a/src/lib/wpa b/src/lib/wpa
index d081540..3605659 100644
--- a/src/lib/wpa
+++ b/src/lib/wpa
@@ -231,7 +231,8 @@  wpa_make_config_block() {
         fi
       ;;
       wpa)
-        echo "proto=RSN WPA"
+        echo "key_mgmt=WPA-PSK SAE"
+        echo "ieee80211w=1"
         if [[ "${#Key}" -eq 64 && $Key == +([[:xdigit:]]) ]]; then
             echo "psk=$Key"
         else