Skip to content
Snippets Groups Projects
Commit 5b97085b authored by Jouke Witteveen's avatar Jouke Witteveen
Browse files

Support WPA3-Personal

By not introducing a specific security setting for WPA3, we inherrit the
WPA2 key restrictions. For now, that is better than nothing.
parent 27670bbc
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -90,7 +90,7 @@ init_entries() {
else
ENTRIES[i]=" " # Not present
fi
if [[ "$flags" =~ WPA2|WPA|WEP ]]; then
if [[ "$flags" =~ WPA3|WPA2|WPA|WEP ]]; then
ENTRIES[i]+="${sep}${BASH_REMATCH[0],,}"
else
ENTRIES[i]+="${sep}none"
......@@ -141,7 +141,7 @@ create_profile() {
else
security=none
fi
if [[ "$flags" =~ PSK|WEP ]]; then
if [[ "$flags" =~ PSK|SAE|WEP ]]; then
if is_yes "${OBSCURE:-no}"; then
box="--insecure --passwordbox"
else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment