]> git.ipfire.org Git - thirdparty/hostap.git/commit
tests: Reset the correct key's PN for group key handshake testing
authorJohannes Berg <johannes.berg@intel.com>
Thu, 7 May 2020 08:26:50 +0000 (10:26 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 16 May 2020 22:31:19 +0000 (01:31 +0300)
commit7f508ff96858e61bf216e749e09bb0dbdcbaf66e
treedabadbbe6e79858eaa364cae165cb963313a9f01
parent889218c14a23ff663aad74705c17252dc6e7a069
tests: Reset the correct key's PN for group key handshake testing

While adding support for IGTK and BIGTK here, I tested this without
protections (i.e., with protections removed from both wpa_supplicant and
the driver), and while I got some bad resets on the debugfs values, it
should have failed with "unexpected connectivity".

Fix this to be correct - we need to reset the GTK PN, not the PTK PN in
this test.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
tests/hwsim/test_ap_ciphers.py