]> git.ipfire.org Git - people/stevee/network.git/commitdiff
hostapd: Allow WPA2 authentication only with SHA256
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 30 Mar 2019 15:22:45 +0000 (16:22 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 30 Mar 2019 15:22:45 +0000 (16:22 +0100)
This experimental change disables support for the legacy WPA2
authentication that does not support SHA256.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/functions/functions.hostapd

index 6c2fbd9231c6a99b6bfc7e0e8103f8f9f55a1384..095beb8ee181303437187f89404eae3f16b88726 100644 (file)
@@ -424,7 +424,7 @@ hostapd_config_write() {
                wpa="2"
 
                # Add WPA key management
-               list_append wpa_key_mgmt "WPA-PSK-SHA256" "WPA-PSK"
+               list_append wpa_key_mgmt "WPA-PSK-SHA256"
                wpa_passphrase="${secret}"
 
                # Enable WPA strict rekey