mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-25 00:38:24 -05:00
tests: SAE and AP sending Confirm message without waiting STA (2)
This goes through sae_confirm_immediate=2 behavior. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
3912cbd88d
commit
283be365c3
@ -1868,6 +1868,18 @@ def test_sae_confirm_immediate(dev, apdev):
|
|||||||
dev[0].request("SET sae_groups ")
|
dev[0].request("SET sae_groups ")
|
||||||
dev[0].connect("test-sae", psk="12345678", key_mgmt="SAE", scan_freq="2412")
|
dev[0].connect("test-sae", psk="12345678", key_mgmt="SAE", scan_freq="2412")
|
||||||
|
|
||||||
|
def test_sae_confirm_immediate2(dev, apdev):
|
||||||
|
"""SAE and AP sending Confirm message without waiting STA (2)"""
|
||||||
|
if "SAE" not in dev[0].get_capability("auth_alg"):
|
||||||
|
raise HwsimSkip("SAE not supported")
|
||||||
|
params = hostapd.wpa2_params(ssid="test-sae", passphrase="12345678")
|
||||||
|
params['wpa_key_mgmt'] = 'SAE'
|
||||||
|
params['sae_confirm_immediate'] = '2'
|
||||||
|
hapd = hostapd.add_ap(apdev[0], params)
|
||||||
|
|
||||||
|
dev[0].request("SET sae_groups ")
|
||||||
|
dev[0].connect("test-sae", psk="12345678", key_mgmt="SAE", scan_freq="2412")
|
||||||
|
|
||||||
def test_sae_pwe_group_19(dev, apdev):
|
def test_sae_pwe_group_19(dev, apdev):
|
||||||
"""SAE PWE derivation options with group 19"""
|
"""SAE PWE derivation options with group 19"""
|
||||||
run_sae_pwe_group(dev, apdev, 19)
|
run_sae_pwe_group(dev, apdev, 19)
|
||||||
|
Loading…
Reference in New Issue
Block a user