From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH 2/3] wireless client: Try using SHA256 over SHA1 when possible Date: Wed, 06 Jan 2021 14:43:13 +0000 Message-ID: <20210106144314.2732-2-michael.tremer@ipfire.org> In-Reply-To: <20210106144314.2732-1-michael.tremer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7007024784590673207==" List-Id: --===============7007024784590673207== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Signed-off-by: Michael Tremer --- src/initscripts/system/wlanclient | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/initscripts/system/wlanclient b/src/initscripts/system/wlanc= lient index 27a144f72..4b3938b46 100644 --- a/src/initscripts/system/wlanclient +++ b/src/initscripts/system/wlanclient @@ -143,7 +143,7 @@ function wpa_supplicant_config_line() { =20 case "${mode}" in EAP) - key_mgmt=3D"WPA-EAP" + key_mgmt=3D"WPA-EAP-SHA256 WPA-EAP" ;; WPA3) key_mgmt=3D"SAE" @@ -153,12 +153,12 @@ function wpa_supplicant_config_line() { WPA2) auth_alg=3D"OPEN" proto=3D"RSN" - key_mgmt=3D"WPA-PSK" + key_mgmt=3D"WPA-PSK-SHA256 WPA-PSK" ;; WPA) auth_alg=3D"OPEN" proto=3D"WPA" - key_mgmt=3D"WPA-PSK" + key_mgmt=3D"WPA-PSK-SHA256 WPA-PSK" ;; WEP) auth_alg=3D"SHARED" --=20 2.20.1 --===============7007024784590673207==--