Jouni Malinen
46cb161a81
tests: Clear IP configuration from sigma_dut explicitly
...
The 127.0.0.11/24 address that could have been left on the wlan0
interface resulted in some test case sequence failures. Fix this by
explicitly clearing that address when terminating sigma_dut.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-12-18 17:12:23 +02:00
Jouni Malinen
7327f0fa6f
tests: Fix skipping of new sigma_dut test cases
...
start_sigma_dut() can raise an exception and as such, assigning a
variable to its return value within a try block does not work in this
manner when the result is supposed to be used in the finally statement.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-12-13 21:19:36 +02:00
Jouni Malinen
fb3ef06dde
tests: sae_rejected_groups with and without sigma_dut
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-12-12 23:52:36 +02:00
Jouni Malinen
326acce814
tests: sigma_dut controlled SAE association with group negotiation
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-12-12 01:59:06 +02:00
Jouni Malinen
2ca63f58b9
tests: sigma_dut controlled SAE H2E AP misbehavior with RSNXE
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-12-07 17:46:44 +02:00
Jouni Malinen
49ac2466c3
tests: sigma_dut controlled SAE H2E misbehavior with RSNXE
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-12-07 14:00:23 +02:00
Jouni Malinen
dedd8f336e
tests: sigma_dut controlled SAE H2E misbehavior with rejected groups
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-12-07 00:51:40 +02:00
Jouni Malinen
4d16d7cc8d
tests: sigma_dut controlled SAE H2E misbehavior with looping forced
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-12-06 17:39:46 +02:00
Jouni Malinen
ee27567198
tests: Clear sae_pwe at the end of sigma_dut test cases
...
sigma_dut does not clear sae_pwe value when the command line argument
"-2" is used, so we need to explicitly clear this from wpa_supplicant at
the end of the test case.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-11-29 00:06:50 +02:00
Jouni Malinen
5632b07158
tests: sigma_dut control of SAE PWE
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-11-24 16:58:18 +02:00
Jouni Malinen
9c7ab4c5df
tests: sigma_dut controlled AP and deauth commands
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-11-06 19:55:42 +02:00
Jouni Malinen
131c2600f4
tests: sigma_dut DPP TCP Enrollee as initiator
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-10-11 13:27:49 +03:00
Jouni Malinen
377d5f7cc2
tests: sigma_dut DPP TCP Configurator (Controller) as responder
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-10-11 13:07:39 +03:00
Jouni Malinen
d905c8f7a7
tests: sigma_dut controlled SAE association with PMKID
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-10-10 16:21:10 +03:00
Jouni Malinen
4dda07ba98
tests: sigma_dut controlled AP with SAE Confirm immediate
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-10-10 15:56:01 +03:00
Jouni Malinen
656b07c189
tests: sigma_dut DPP/QR responder status query
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-10-04 17:03:47 +03:00
Jouni Malinen
1743ddce76
tests: sigma_dut DPP AP as Relay to Controller
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-10-04 16:33:36 +03:00
Jouni Malinen
cefcbcdba4
tests: sigma_dut with DPPConfIndex 9 and 10
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-10-01 14:21:51 +03:00
Jouni Malinen
d11c41bb75
tests: sigma_dut controlled SAE association and FT-over-DS
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-08-20 00:15:20 +03:00
Jouni Malinen
5a7af3a32c
tests: sigma_dut controlled AP FT-PSK (over-DS)
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-08-19 23:54:29 +03:00
Jouni Malinen
35337b448a
tests: sigma_dut and initial UOSC with TOD-STRICT/TOFU
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-08-19 16:57:55 +03:00
Jouni Malinen
263c0cbdc0
tests: sigma_dut with TOD-TOFU
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-08-16 16:40:36 +03:00
Jouni Malinen
df5dc87873
tests: sigma_dut and UOSC when CA is not trusted
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-06-20 23:46:46 +03:00
Jouni Malinen
4068d683f5
tests: sigma_dut server certificate validation with UOSC/TOD
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-06-14 23:10:50 +03:00
Jouni Malinen
8a3368d7f4
tests: sigma_dut and DPPConfIndex,8
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-06-12 22:29:09 +03:00
Jouni Malinen
6980542556
tests: sigma_dut and TLS server certificate constraints
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-05-03 13:06:44 +03:00
Jouni Malinen
d08ef5798d
tests: sigma_dut controlled AP with PSK, SAE, FT
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-04-01 13:28:26 +03:00
Jouni Malinen
43f68853ab
tests: sigma_dut controlled SAE association with Password Identifier/FT
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-03-26 22:50:17 +02:00
Jouni Malinen
1b232c1b96
tests: sigma_dut and SAE Password Identifier
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-03-26 22:50:17 +02:00
Jouni Malinen
74cb18c6b0
tests: sigma_dut sta_scan GetParameter,SSID_BSSID
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-03-23 12:50:46 +02:00
Jouni Malinen
7f1eeda2df
tests: Reset sae_groups in sigma_dut_dpp_qr_init_enrollee_sae
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-03-18 19:00:06 +02:00
Jouni Malinen
fab49f6145
tests: Python coding style cleanup (pylint3 bad-whitespace)
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-03-16 18:52:09 +02:00
Jouni Malinen
a5387062e5
tests: Use a helper function for DPP_BOOTSTRAP_GEN commands
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2019-03-09 18:13:10 +02:00
Jouni Malinen
0422d06b54
tests: Use a helper function for DPP_QR_CODE commands
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2019-03-09 16:55:54 +02:00
Jouni Malinen
656f4a3edd
tests: Enable needed SAE groups explicitly in sigma_dut_sae
...
Configure the sae_groups parameter for hostapd explicitly in preparation
for the default value change in the implementation.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-03-05 17:12:44 +02:00
Jouni Malinen
366ada0412
tests: Decode sigma_dut output for python3
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2019-02-04 16:48:22 +02:00
Jouni Malinen
37df1775ad
tests: Read sigma_dut-ap.conf as binary data for python3 compatibility
...
Sending UTF-8 encoded data to logger file is currently not working
properly, so create a separate binary file with a copy of
sigma_dut-ap.conf instead to work with both python2 and python3.
Signed-off-by: Jouni Malinen <j@w1.fi>
2019-02-04 16:46:31 +02:00
Jouni Malinen
a42ec6611c
tests: Explicit str/bytes conversion in sigma_dut_venue_url
...
This is needed for python3.
Signed-off-by: Jouni Malinen <j@w1.fi>
2019-02-04 12:26:34 +02:00
Masashi Honma
e1810300c9
tests: Replace str.decode('hex') with binascii.unhexlify() for python3
...
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Signed-off-by: Jouni Malinen <j@w1.fi>
2019-02-04 12:26:34 +02:00
Masashi Honma
54c58f29c0
tests: Replace str.encode('hex') with binascii.hexlify() for python3
...
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Signed-off-by: Jouni Malinen <j@w1.fi>
2019-02-04 12:26:34 +02:00
Masashi Honma
cc02ce96cf
tests: Explicit str/bytes conversion for socket operations for python3
...
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
Signed-off-by: Jouni Malinen <j@w1.fi>
2019-02-04 12:26:33 +02:00
Jouni Malinen
58be42b264
tests: Remove trailing semicolons from python code
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2019-02-02 12:10:53 +02:00
Jouni Malinen
524b963c6c
tests: Mark OSU BSS explicitly in sigma_dut_ap_hs20
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-11-09 18:10:28 +02:00
Jouni Malinen
b583907b53
tests: Use more correct OSU_METHOD value in sigma_dut_ap_hs20
...
The OSU Providers List includes two providers, so there should be two
OSU_METHOD values listed just like there was two OSU_SERVER_URI URLs.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-11-06 02:04:09 +02:00
Jouni Malinen
4902eb04b1
tests: Use bridge in sigma_dut_ap_eap_osen
...
This is needed to allow sigma_dut to enable ap_isolate=1. In addition,
verify that the two associated STAs with RSN(EAP) and OSEN cannot
exchange frames between them.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-11-06 00:46:23 +02:00
Jouni Malinen
e7869a664a
tests: sigma_dut AP configuration for Hotspot 2.0
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-11-01 17:10:40 +02:00
Jouni Malinen
31157568f2
tests: sigma_dut controlled Hotspot 2.0 connection
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-09-15 05:17:54 +03:00
Jouni Malinen
dc60d5643a
tests: sigma_dut controlled Venue URL fetch
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-09-15 05:17:54 +03:00
Jouni Malinen
0beb6c2f50
tests: sigma_dut controlled AP with OSEN
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-09-12 02:26:11 +03:00
Jouni Malinen
63add34eb0
tests: sigma_dut with various AP KeyMgnt values
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-08-01 18:45:53 +03:00