mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-16 09:03:05 -05:00
tests: Run owe test with PMF required
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
0dc3c5f2ee
commit
05e5c0e554
@ -19,6 +19,7 @@ def test_owe(dev, apdev):
|
|||||||
raise HwsimSkip("OWE not supported")
|
raise HwsimSkip("OWE not supported")
|
||||||
params = { "ssid": "owe",
|
params = { "ssid": "owe",
|
||||||
"wpa": "2",
|
"wpa": "2",
|
||||||
|
"ieee80211w": "2",
|
||||||
"wpa_key_mgmt": "OWE",
|
"wpa_key_mgmt": "OWE",
|
||||||
"rsn_pairwise": "CCMP" }
|
"rsn_pairwise": "CCMP" }
|
||||||
hapd = hostapd.add_ap(apdev[0], params)
|
hapd = hostapd.add_ap(apdev[0], params)
|
||||||
@ -29,7 +30,8 @@ def test_owe(dev, apdev):
|
|||||||
if "[WPA2-OWE-CCMP]" not in bss['flags']:
|
if "[WPA2-OWE-CCMP]" not in bss['flags']:
|
||||||
raise Exception("OWE AKM not recognized: " + bss['flags'])
|
raise Exception("OWE AKM not recognized: " + bss['flags'])
|
||||||
|
|
||||||
dev[0].connect("owe", key_mgmt="OWE")
|
dev[0].connect("owe", key_mgmt="OWE", ieee80211w="2",
|
||||||
|
scan_freq="2412")
|
||||||
hwsim_utils.test_connectivity(dev[0], hapd)
|
hwsim_utils.test_connectivity(dev[0], hapd)
|
||||||
val = dev[0].get_status_field("key_mgmt")
|
val = dev[0].get_status_field("key_mgmt")
|
||||||
if val != "OWE":
|
if val != "OWE":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user