Jouni Malinen
db7f14c825
tests: Make FILS BSS result checks more robust
...
These can fail if the scan results from the previous test case remain,
e.g., when run immediately after scan_bss_limit.
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
2022-02-15 13:06:36 +02:00
Jouni Malinen
f5fcac731f
tests: Update capability checks to include OpenSSL 3.0
...
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
2022-01-11 17:42:55 +02:00
Jouni Malinen
d98f4c4660
tests: FILS SK and opportunistic key caching
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2021-05-21 21:07:28 +03:00
Jouni Malinen
2445e18b6f
tests: assoc+auth driver event
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2021-03-28 13:33:40 +03:00
Jouni Malinen
ecc46f2900
tests: Move ERP/FILS capability checks to utils.py
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2021-02-28 23:50:50 +02:00
Jouni Malinen
250cb99f4d
tests: Additional coverage for hostapd GET_CONFIG key_mgmt values
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2021-02-28 22:31:58 +02:00
Jouni Malinen
7a7e45ae68
tests: FILS Discovery frame generation
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2021-02-14 18:20:49 +02:00
Jouni Malinen
681e8495b4
tests: Extended Key ID
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2020-03-23 11:47:31 +02:00
Johannes Berg
bac54daf32
tests: Remove tabs
...
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
2020-02-02 21:11:20 +02:00
Jouni Malinen
bf97c1a34e
tests: FILS SK/ERP and roaming with different AKM
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2019-12-22 18:33:43 +02:00
Jouni Malinen
534d36210b
tests: Make fils_sk_auth_mismatch more robust
...
Wait STA connection to be completed in hostapd before testing
connectivity. This avoids a possible race condition that could be hit
especially when testing with UML time-travel.
Signed-off-by: Jouni Malinen <j@w1.fi>
2019-12-22 17:20:33 +02:00
Jouni Malinen
95337647aa
tests: Make FILS+FT test cases more robust
...
Wait for hostapd to report completion of association before running the
data connectivity check.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-12-18 16:30:40 +02:00
Jouni Malinen
a85d4ed1c0
tests: FILS SK using ERP and SHA256/SHA384 change in roam
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-05-06 23:43:33 +03:00
Jouni Malinen
e374def207
tests: Start ERP authentication server without AP
...
There is no actual need for running the authentication server with
driver=nl80211, so simplify this by using driver=none instead. This
frees up apdev[1] for actual AP needs in the test cases.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-05-06 23:36:30 +03:00
Jouni Malinen
4731296759
tests: FILS and PTK rekeying
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2019-04-18 21:55:39 +03:00
Jouni Malinen
78ed42d8a2
tests: ERP/FILS with external hostapd process as RADIUS server
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2019-04-06 16:47:38 +03: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
Masashi Honma
15dfcb69df
tests: Use 'b' prefix to mark Bytes literals explicitly 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
Masashi Honma
f94df3c0b0
tests: Explicitly encode str to bytes when needed for python3
...
Avoid implicit conversion errors when constructing bytes objects or
passing a str object to a function that needs a bytes object.
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
Masashi Honma
7ab74770e7
tests: Convert binascii.hexlify() output to a string object for python3
...
This is needed in cases the hexlify() output is used to concatenate with
a string or used in string comparisons.
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
Masashi Honma
bab493b904
tests: Use python3 compatible "except" statement
...
This patch is made by using 2to3 command.
$ find . -name *.py | xargs 2to3 -f except -w -n
Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
2019-01-26 12:11:35 +02:00
Mathy Vanhoef
a187bf0161
tests: OCI validation in the FILS handshake (OCV)
...
Signed-off-by: Mathy Vanhoef <Mathy.Vanhoef@cs.kuleuven.be>
2018-12-17 15:50:12 +02:00
Jouni Malinen
953f689391
tests: Test connectivity within each step of FILS+FT
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-10-04 00:31:48 +03:00
Jouni Malinen
add3c2a1bf
tests: FILS SK ERP and ERP flush on server, but not on peer
...
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-08-24 16:27:34 +03:00
Jouni Malinen
2842987879
tests: FILS+FT with SHA384
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2018-06-05 21:50:36 +03:00
Jouni Malinen
bf001e42bf
tests: FILS SK using ERP and FT initial mobility domain association
...
Verify use of KCK2/KEK2 and new FTE MIC calculation with FT-FILS-SHA256.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
2018-03-26 12:31:04 +03:00
Jouni Malinen
8f08315737
tests: Skip fils_sk_pfs_25 with BoringSSL
...
It looks like BoringSSL has dropped support for group 25 (192-bit Random
ECP Group).
Signed-off-by: Jouni Malinen <j@w1.fi>
2017-11-18 17:50:08 +02:00
Jouni Malinen
5a79966f9e
tests: Replayed FILS association request
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2017-10-16 02:03:47 +03:00
Jouni Malinen
53d7f351f4
tests: FILS SK with PFS and PMKSA caching
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-09-13 22:17:58 +03:00
Jouni Malinen
cc8330b88b
tests: Write MSK dump files from authentication server
...
This makes it easier to post-process frame capture files if frames need
to be decrypted in test cases that do not configure wlantest with the
PMK directly (i.e., mainly the cases when a RADIUS server is used).
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-09-05 19:29:01 +03:00
Vidyullatha Kanchanapally
9d3eb21ec4
tests: FILS ERP authentication followed by PMKSA caching
...
This test case verifies that both wpa_supplicant and hostapd are adding
a PMKSA cache entry based on FILS shared key authentication using ERP.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-07-05 17:55:33 +03:00
Jouni Malinen
13d36cce89
tests: FILS SK using ERP and FT initial mobility domain association
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2017-05-07 22:08:43 +03:00
Jouni Malinen
c27a6c6252
tests: GTK rekeying after FILS authentication
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-04-10 16:19:26 +03:00
Jouni Malinen
98b04522de
tests: Skip FILS SK PFS test cases if PFS functionality not in the build
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2017-03-13 11:46:59 +02:00
Jouni Malinen
133439b89a
tests: FILS SK authentication type mismatch (PFS not supported)
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2017-03-12 23:23:09 +02:00
Jouni Malinen
1c243e402b
tests: FILS SK with PFS
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2017-03-12 23:23:09 +02:00
Jouni Malinen
361afb4f0f
tests: FILS SK using ERP with SIM
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-02-26 12:05:40 +02:00
Jouni Malinen
360f8ad4ef
tests: FILS SK using ERP and AP going away
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-02-26 12:05:40 +02:00
Jouni Malinen
659ff34023
tests: FILS PMKSA caching with Cache Identifier and external management
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-02-26 12:05:40 +02:00
Jouni Malinen
22c54cd738
tests: FILS Cache Identifier for PMKSA caching
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-02-26 12:05:40 +02:00
Jouni Malinen
dd8f02349b
tests: Enable SO_REUSEADDR for FILS HLP testing sockets
...
This is needed to avoid "Address already in use" issues in some test
sequences.
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-02-16 20:59:06 +02:00
Jouni Malinen
88bf9c2354
tests: FILS SK HLP and DHCP response parsing
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-02-13 23:17:31 +02:00
Jouni Malinen
279ff5ab69
tests: FILS SK HLP request parsing
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-02-13 23:17:31 +02:00
Jouni Malinen
ea30e82dde
tests: FILS SK HLP and hostapd OOM
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-02-13 23:17:31 +02:00
Jouni Malinen
3d5bb90090
tests: FILS SK HLP (rapid commit server timeout)
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-02-13 10:58:21 +02:00
Jouni Malinen
eeea363cab
tests: FILS HLP request with DHCPDISCOVER
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-02-01 18:17:39 +02:00
Jouni Malinen
086d3cc2dc
tests: FILS SK using ERP and roam to another SSID
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-01-29 14:32:17 +02:00
Jouni Malinen
20032ba682
tests: FILS SK HLP
...
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
2017-01-29 14:32:17 +02:00
Jouni Malinen
a58bb54f7d
tests: More hostapd GET_CONFIG key_mgmt coverage
...
Signed-off-by: Jouni Malinen <j@w1.fi>
2016-12-28 14:31:42 +02:00