Skip to content

Basic WPA3 support in AP mode

John Brandt iwd 2 versions – Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest18 patches 13 repliesApplied
  2. v111 patches 11 repliesSuperseded

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/18ap: ability to advertise PSK and SAEsrc/ap.c+25 -10 replies
2/18ap: accept PSK/SAE in auth depending on configsrc/ap.c+22 -71 reply
3/18unit: fix SAE unit testsunit/test-sae.c+0 -31 reply
4/18sae: add function sae_set_groupsrc/sae.c+14 -111 reply
5/18sae: refactor and add function sae_calculate_keyssrc/sae.c+50 -361 reply
6/18sae: make sae_process_commit callable in AP modesrc/sae.c+47 -200 replies
7/18sae: verify offered group in AP modesrc/sae.c+14 -11 reply
8/18sae: support reception of Confirm frame by APsrc/sae.c+35 -131 reply
9/18ap: add support to handle SAE authenticationsrc/ap.c+58 -91 reply
10/18ap: enable start of 4-way HS after SAEsrc/ap.c+12 -50 replies
11/18eapol: support PTK derivation with SHA256src/eapol.c+6 -11 reply
12/18eapol: encrypt key data for AKM-defined cipherssrc/eapol.c+36 -151 reply
13/18unit: add unit test for SAE AP modeunit/test-sae.c+111 -00 replies
14/18ap: move toward requiring MFP when using SAEsrc/ap.c src/wiphy.c src/wiphy.h+14 -31 reply
15/18handshake: add functions to save and set IGTKsrc/handshake.c src/handshake.h+42 -01 reply
16/18eapol: include IGTK in 4-way handshake as APsrc/eapol.c+12 -01 reply
17/18ap: generate IGTK on startup if MFP is enabledsrc/ap.c src/nl80211util.c+63 -50 replies
18/18ap: propogate IGTK and RSC to handshakesrc/ap.c+52 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 00/18] Basic WPA3 support in AP mode

This set of patches adds basic WPA3 support for IWD in AP mode. It has been tested by connecting to IWD AP using wpa_supplicant, both when WPA3 is enabled and when it was not. A unit test for SAE mode is now also included and all other unit tests now pass again.

Compared to the previous version, this patch now also includes MFP support for AP mode. The AP will generate an IGTK on startup, and distribute it to MFP-capable clients. Sanity checks on received SAE frames are now also added.

John Brandt (18):
ap: ability to advertise PSK and SAE
ap: accept PSK/SAE in auth depending on config
unit: fix SAE unit tests
sae: add function sae_set_group
sae: refactor and add function sae_calculate_keys
sae: make sae_process_commit callable in AP mode
sae: verify offered group in AP mode
sae: support reception of Confirm frame by AP
ap: add support to handle SAE authentication
ap: enable start of 4-way HS after SAE
eapol: support PTK derivation with SHA256
eapol: encrypt key data for AKM-defined ciphers
unit: add unit test for SAE AP mode
ap: move toward requiring MFP when using SAE
handshake: add functions to save and set IGTK
eapol: include IGTK in 4-way handshake as AP
ap: generate IGTK on startup if MFP is enabled
ap: propogate IGTK and RSC to handshake

 src/ap.c          | 270 ++++++++++++++++++++++++++++++++++++++++------
 src/eapol.c       |  70 +++++++++---
 src/handshake.c   |  34 ++++++
 src/handshake.h   |   8 ++
 src/nl80211util.c |   7 +-
 src/sae.c         | 209 ++++++++++++++++++++++++-----------
 src/wiphy.c       |   2 +-
 src/wiphy.h       |   2 +
 unit/test-sae.c   | 114 +++++++++++++++++++-
 9 files changed, 595 insertions(+), 121 deletions(-)
Signature · 1 line
2.45.0