From 74d991bf8e3bab6de52ef78f785f559521e71932 Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Wed, 13 Dec 2017 16:11:48 -0800 Subject: [PATCH] autotest: update EAP-AKA' autotest after plugin change A new 'keys' file must be added for hardcoded keys --- autotests/testEAP-AKA-prime/hw.conf | 3 ++- autotests/testEAP-AKA-prime/sim.eap_user | 2 +- autotests/testEAP-AKA-prime/sim_keys.conf | 6 ++++++ autotests/testEAP-AKA-prime/ssidEAP-AKA.8021x | 7 +------ 4 files changed, 10 insertions(+), 8 deletions(-) create mode 100644 autotests/testEAP-AKA-prime/sim_keys.conf diff --git a/autotests/testEAP-AKA-prime/hw.conf b/autotests/testEAP-AKA-prime/hw.conf index 59b5239e..61dcc807 100644 --- a/autotests/testEAP-AKA-prime/hw.conf +++ b/autotests/testEAP-AKA-prime/hw.conf @@ -1,7 +1,8 @@ [SETUP] num_radios=2 max_test_exec_interval_sec=40 -tmpfs_extra_stuff=sim.eap_user:sim.db +tmpfs_extra_stuff=sim.eap_user:sim.db:sim_keys.conf +sim_keys=/tmp/sim_keys.conf [HOSTAPD] rad0=ssidEAP-AKA.conf diff --git a/autotests/testEAP-AKA-prime/sim.eap_user b/autotests/testEAP-AKA-prime/sim.eap_user index 86ea6389..915c8fb0 100644 --- a/autotests/testEAP-AKA-prime/sim.eap_user +++ b/autotests/testEAP-AKA-prime/sim.eap_user @@ -1 +1 @@ -"abc@example.com" AKA' \ No newline at end of file +"632010000000000@example.com" AKA' \ No newline at end of file diff --git a/autotests/testEAP-AKA-prime/sim_keys.conf b/autotests/testEAP-AKA-prime/sim_keys.conf new file mode 100644 index 00000000..c4c425fb --- /dev/null +++ b/autotests/testEAP-AKA-prime/sim_keys.conf @@ -0,0 +1,6 @@ +[AKA] +Identity=632010000000000@example.com +KI=90dca4eda45b53cf0f12d7c9c3bc6a89 +OPC=cb9cccc4b9258e6dca4760379fb82581 +AMF=61df +SQN=000000000021 diff --git a/autotests/testEAP-AKA-prime/ssidEAP-AKA.8021x b/autotests/testEAP-AKA-prime/ssidEAP-AKA.8021x index ff18eefd..64245312 100644 --- a/autotests/testEAP-AKA-prime/ssidEAP-AKA.8021x +++ b/autotests/testEAP-AKA-prime/ssidEAP-AKA.8021x @@ -1,8 +1,3 @@ [Security] EAP-Method=AKA' -EAP-Identity=abc@example.com -EAP-AKA-IMSI=632010000000000@example.com -EAP-AKA-KI=90dca4eda45b53cf0f12d7c9c3bc6a89 -EAP-AKA-OPC=cb9cccc4b9258e6dca4760379fb82581 -EAP-AKA-AMF=61df -EAP-AKA-SQN=000000000021 \ No newline at end of file +EAP-Identity=632010000000000@example.com