From f41f670ea53247c85c43697c1ff233e4241240b9 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sat, 20 Dec 2014 23:48:53 +0200 Subject: [PATCH] tests: ERP with EAP-IKEv2 Signed-off-by: Jouni Malinen --- tests/hwsim/auth_serv/eap_user.conf | 1 + tests/hwsim/test_erp.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/tests/hwsim/auth_serv/eap_user.conf b/tests/hwsim/auth_serv/eap_user.conf index 0ec4c6342..55569e217 100644 --- a/tests/hwsim/auth_serv/eap_user.conf +++ b/tests/hwsim/auth_serv/eap_user.conf @@ -23,6 +23,7 @@ "erp-tls@example.com" TLS "erp-ttls@example.com" TTLS "erp-ttls@example.com" TTLS-PAP "password" [2] +"erp-ikev2@example.com" IKEV2 "password" "vlan1" PAX 0123456789abcdef0123456789abcdef radius_accept_attr=64:d:13 diff --git a/tests/hwsim/test_erp.py b/tests/hwsim/test_erp.py index bfc3b12d9..5073622c7 100644 --- a/tests/hwsim/test_erp.py +++ b/tests/hwsim/test_erp.py @@ -194,6 +194,8 @@ def test_erp_radius_eap_methods(dev, apdev): phase1="fast_provisioning=2", pac_file="blob://fast_pac_auth_erp") erp_test(dev[0], hapd, eap="GPSK", identity="erp-gpsk@example.com", password="abcdefghijklmnop0123456789abcdef") + erp_test(dev[0], hapd, eap="IKEV2", identity="erp-ikev2@example.com", + password="password") erp_test(dev[0], hapd, eap="PAX", identity="erp-pax@example.com", password_hex="0123456789abcdef0123456789abcdef") # TODO: PEAP (EMSK) -- 2.47.2