]> git.ipfire.org Git - thirdparty/hostap.git/commit
OWE: Reuse own DH private key in AP if STA tries OWE association again
authorJouni Malinen <j@w1.fi>
Sat, 2 Apr 2022 14:15:41 +0000 (17:15 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 2 Apr 2022 14:52:50 +0000 (17:52 +0300)
commit65a3a273cd1a0860bb1b8400cd1f7a8655afc234
tree95b83b891b6f7ee5202aeeb0c63229e615d1e76a
parent6ff8bda992463a8c0dc34ee18820ca56cf9cccc0
OWE: Reuse own DH private key in AP if STA tries OWE association again

This is a workaround for mac80211 behavior of retransmitting the
Association Request frames multiple times if the link layer retries
(i.e., seq# remains same) fail. The mac80211 initiated retransmission
will use a different seq# and as such, will go through duplicate
detection. If we were to change our DH key for that attempt, there would
be two different DH shared secrets and the STA would likely select the
wrong one.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/ieee802_11.c