From: Michael Tremer Date: Sat, 30 Mar 2019 15:22:45 +0000 (+0100) Subject: hostapd: Allow WPA2 authentication only with SHA256 X-Git-Url: http://git.ipfire.org/?p=people%2Fms%2Fnetwork.git;a=commitdiff_plain;h=21ef3b742e6031cb40d0da94015aced31fc18be2 hostapd: Allow WPA2 authentication only with SHA256 This experimental change disables support for the legacy WPA2 authentication that does not support SHA256. Signed-off-by: Michael Tremer --- diff --git a/src/functions/functions.hostapd b/src/functions/functions.hostapd index 6c2fbd92..095beb8e 100644 --- a/src/functions/functions.hostapd +++ b/src/functions/functions.hostapd @@ -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