From: Jouni Malinen Date: Sun, 20 Dec 2015 10:46:45 +0000 (+0200) Subject: tests: EAP-TTLS/MSCHAP with password hash X-Git-Tag: hostap_2_6~1150 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bfdb90d40f697eb10dcef6ae662099ede6c90039;p=thirdparty%2Fhostap.git tests: EAP-TTLS/MSCHAP with password hash Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_eap.py b/tests/hwsim/test_ap_eap.py index e0cce6b02..db91800f9 100644 --- a/tests/hwsim/test_ap_eap.py +++ b/tests/hwsim/test_ap_eap.py @@ -884,6 +884,12 @@ def test_ap_wpa2_eap_ttls_mschap(dev, apdev): anonymous_identity="ttls", password="password", ca_cert="auth_serv/ca.pem", phase2="auth=MSCHAP", fragment_size="200") + dev[0].request("REMOVE_NETWORK all") + dev[0].wait_disconnected() + eap_connect(dev[0], apdev[0], "TTLS", "mschap user", + anonymous_identity="ttls", + password_hex="hash:8846f7eaee8fb117ad06bdd830b7586c", + ca_cert="auth_serv/ca.pem", phase2="auth=MSCHAP") def test_ap_wpa2_eap_ttls_mschap_incorrect_password(dev, apdev): """WPA2-Enterprise connection using EAP-TTLS/MSCHAP - incorrect password"""