]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Comment out during-association TK-in-memory checks
authorJouni Malinen <j@w1.fi>
Mon, 16 Oct 2017 14:42:20 +0000 (17:42 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 16 Oct 2017 14:43:10 +0000 (17:43 +0300)
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>
tests/hwsim/test_ap_eap.py
tests/hwsim/test_ap_ft.py
tests/hwsim/test_ap_psk.py
tests/hwsim/test_erp.py
tests/hwsim/test_sae.py

index 0acb39a36b1b89f071f922840d117a45d4afe633..f04a7fc69b263858ab2194f75c36505efb39349e 100644 (file)
@@ -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)
index bc03c3c7769537b9181257204639b10bfe7b0c3f..ddbb1f188395dc5544ea7a5552bd1c63818a42fa 100644 (file)
@@ -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)
index f0230df46bd2e6f4c6cc79b167baf4bda0bd7d61..2c753afe5d9e90b981e84f37a4d150c01d7dc1ff 100644 (file)
@@ -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)
index 7185211475ac8879b1a89dc83853f190c99c71ec..836edf5e9b4e627e62ce72ccb57695b8b49433fb 100644 (file)
@@ -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)
index 0611e4b3bf3b3480b71301842be5c756d833b83d..2ed5c09364fbeb3a7cb35c4484d527d0991737ad 100644 (file)
@@ -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)")