eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 183a7a18a97561f52d0a49be1736a08d24f358a6
parent 0f3b2ae180d6266d63485dfce48f7eb8bd7ddf9c
Author: James Prestwood <prestwoj@gmail.com>
Date:   Tue, 28 Sep 2021 15:25:52 -0700

eapol: don't enforce PMKID on 1/4 if require_handshake is false

FT/FILS handle their own PMK derivation but rekeys still require
using the 4-way handshake. There is some ambiguity in the spec whether
or not the PMKID needs to be included in message 1/4 and it appears
that when rekeying after FT/FILS hostapd does not include a PMKID.

Diffstat:
Msrc/eapol.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/eapol.c b/src/eapol.c @@ -1147,7 +1147,8 @@ static void eapol_handle_ptk_1_of_4(struct eapol_sm *sm, * send no PMKID KDE. */ if (!sm->eap_exchanged && !sm->handshake->wpa_ie && - rsn_info.num_pmkids) { + rsn_info.num_pmkids && + sm->require_handshake) { bool found = false; int i;