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 6c2fbd9..095beb8 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