]> git.ipfire.org Git - thirdparty/hostap.git/commit
SAE: Do not expire the current PMKSA cache entry
authorJouni Malinen <jouni@codeaurora.org>
Mon, 18 Oct 2021 17:02:35 +0000 (20:02 +0300)
committerJouni Malinen <j@w1.fi>
Mon, 18 Oct 2021 18:20:52 +0000 (21:20 +0300)
commitb0f457b6191aa8ee329331ccbe0600326f7b1e2e
tree67b15bab911161a109314b24bc723ce8438d928a
parentf332f69513a205a25ae45da9d04f45c18edac9a3
SAE: Do not expire the current PMKSA cache entry

There is no convenient mechanism for reauthenticating and generating a
new PMK during an association with SAE. As such, forced PMK update would
mean having to disassociate and reauthenticate which is not really
desired especially when the default PMKLifetime is only 12 hours.

Postpone PMKSA cache entry expiration of the currently used entry with
SAE until the association is lost. In addition, do not try to force the
EAPOL state machine to perform reauthentication for SAE since that won't
work.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
src/rsn_supp/pmksa_cache.c
src/rsn_supp/pmksa_cache.h
src/rsn_supp/wpa.c