From 21ef3b742e6031cb40d0da94015aced31fc18be2 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 30 Mar 2019 16:22:45 +0100 Subject: [PATCH] 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 --- src/functions/functions.hostapd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.2