From 6a673d0fb05557d149e4ff50430991979e476f2a Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 21 Jan 2020 12:57:07 +0200 Subject: [PATCH] tests: Remove mesh SAE Password Identifier test cases for now IEEE P802.11-REVmd was modified to require H2E to be used whenever Password Identifier is used with SAE. Since wpa_supplicant and mac80211 do not yet support SAE H2E in mesh, Password Identifier cannot be used in mesh cases. Remove the test cases that verified this behavior for now to allow H2E to be required per updated REVmd definition. These test cases will be restored once H2E is fully functionality in mesh cases. Signed-off-by: Jouni Malinen --- tests/hwsim/test_wpas_mesh.py | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/tests/hwsim/test_wpas_mesh.py b/tests/hwsim/test_wpas_mesh.py index 0e80a5a21..85dd384e2 100644 --- a/tests/hwsim/test_wpas_mesh.py +++ b/tests/hwsim/test_wpas_mesh.py @@ -348,41 +348,6 @@ def test_wpas_mesh_secure_sae_password(dev, apdev): check_mesh_joined_connected(dev, connectivity=True) -def test_wpas_mesh_secure_sae_password_id(dev, apdev): - """Secure mesh using sae_password and password identifier""" - check_mesh_support(dev[0], secure=True) - dev[0].request("SET sae_groups ") - id = add_mesh_secure_net(dev[0], psk=False, sae_password=True, - sae_password_id="pw id") - dev[0].mesh_group_add(id) - - dev[1].request("SET sae_groups ") - id = add_mesh_secure_net(dev[1], sae_password=True, - sae_password_id="pw id") - dev[1].mesh_group_add(id) - - check_mesh_joined_connected(dev, connectivity=True) - -def test_wpas_mesh_secure_sae_password_id_mismatch(dev, apdev): - """Secure mesh using sae_password and password identifier mismatch""" - check_mesh_support(dev[0], secure=True) - dev[0].request("SET sae_groups ") - id = add_mesh_secure_net(dev[0], psk=False, sae_password=True, - sae_password_id="pw id") - dev[0].mesh_group_add(id) - - dev[1].request("SET sae_groups ") - id = add_mesh_secure_net(dev[1], sae_password=True, - sae_password_id="wrong") - dev[1].mesh_group_add(id) - - check_mesh_joined2(dev) - - ev = dev[0].wait_event(["CTRL-EVENT-SAE-UNKNOWN-PASSWORD-IDENTIFIER"], - timeout=10) - if ev is None: - raise Exception("Unknown Password Identifier not noticed") - def test_mesh_secure_pmf(dev, apdev): """Secure mesh network connectivity with PMF enabled""" check_mesh_support(dev[0], secure=True)