tests: Comment out during-association TK-in-memory checks
TK needs to be maintained in memory for additional testing functionality, so for now, comment out these checks. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
4158b80eef
commit
b74f82a4f8
5 changed files with 10 additions and 10 deletions
|
@ -5030,8 +5030,8 @@ def test_wpa2_eap_ttls_pap_key_lifetime_in_memory(dev, apdev, params):
|
|||
raise Exception("KCK not found while associated")
|
||||
if kek not in buf:
|
||||
raise Exception("KEK not found while associated")
|
||||
if tk in buf:
|
||||
raise Exception("TK found from memory")
|
||||
#if tk in buf:
|
||||
# raise Exception("TK found from memory")
|
||||
|
||||
logger.info("Checking keys in memory after disassociation")
|
||||
buf = read_process_memory(pid, password)
|
||||
|
|
|
@ -911,8 +911,8 @@ def test_ft_psk_key_lifetime_in_memory(dev, apdev, params):
|
|||
raise Exception("KCK not found while associated")
|
||||
if kek not in buf:
|
||||
raise Exception("KEK not found while associated")
|
||||
if tk in buf:
|
||||
raise Exception("TK found from memory")
|
||||
#if tk in buf:
|
||||
# raise Exception("TK found from memory")
|
||||
|
||||
logger.info("Checking keys in memory after disassociation")
|
||||
buf = read_process_memory(pid, pmk)
|
||||
|
|
|
@ -2205,8 +2205,8 @@ def test_wpa2_psk_key_lifetime_in_memory(dev, apdev, params):
|
|||
raise Exception("KCK not found while associated")
|
||||
if kek not in buf:
|
||||
raise Exception("KEK not found while associated")
|
||||
if tk in buf:
|
||||
raise Exception("TK found from memory")
|
||||
#if tk in buf:
|
||||
# raise Exception("TK found from memory")
|
||||
|
||||
logger.info("Checking keys in memory after disassociation")
|
||||
buf = read_process_memory(pid, pmk)
|
||||
|
|
|
@ -316,8 +316,8 @@ def test_erp_key_lifetime_in_memory(dev, apdev, params):
|
|||
raise Exception("KCK not found while associated")
|
||||
if kek not in buf:
|
||||
raise Exception("KEK not found while associated")
|
||||
if tk in buf:
|
||||
raise Exception("TK found from memory")
|
||||
#if tk in buf:
|
||||
# raise Exception("TK found from memory")
|
||||
|
||||
logger.info("Checking keys in memory after disassociation")
|
||||
buf = read_process_memory(pid, password)
|
||||
|
|
|
@ -344,8 +344,8 @@ def test_sae_key_lifetime_in_memory(dev, apdev, params):
|
|||
raise Exception("KCK not found while associated")
|
||||
if kek not in buf:
|
||||
raise Exception("KEK not found while associated")
|
||||
if tk in buf:
|
||||
raise Exception("TK found from memory")
|
||||
#if tk in buf:
|
||||
# raise Exception("TK found from memory")
|
||||
verify_not_present(buf, sae_k, fname, "SAE(k)")
|
||||
verify_not_present(buf, sae_keyseed, fname, "SAE(keyseed)")
|
||||
verify_not_present(buf, sae_kck, fname, "SAE(KCK)")
|
||||
|
|
Loading…
Reference in a new issue