Skip to content

PMKSA support (SAE only)

James Prestwood iwd 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest15 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15handshake: add ref counting to handshake_statesrc/adhoc.c src/ap.c src/handshake.c +5 more+29 -150 replies
2/15unit: update use of handshake_state with ref/unrefunit/test-eapol.c unit/test-sae.c unit/test-wsc.c+35 -280 replies
3/15auto-t: always initialize StationDebug in Device classautotests/util/iwd.py+3 -10 replies
4/15auto-t: add pmksa_flush() to hostapd moduleautotests/util/hostapd.py+4 -00 replies
5/15auto-t: update testSAE to disable PMKSAautotests/testSAE/main.conf+3 -00 replies
6/15pmksa: Add skeletonMakefile.am src/pmksa.c src/pmksa.h+275 -20 replies
7/15unit: Add basic pmksa test.gitignore Makefile.am unit/test-pmksa.c+171 -10 replies
8/15pmksa: Add debuggingsrc/pmksa.c+12 -10 replies
9/15handshake: Add pmksa setter & stealerMakefile.am src/handshake.c src/handshake.h+91 -15 replies
10/15handshake: add handshake_state_remove_pmksasrc/handshake.c src/handshake.h+17 -00 replies
11/15netdev: add support to use PMKSA over SAE if availablesrc/netdev.c+25 -10 replies
12/15station: hold reference to handshake objectsrc/station.c+28 -00 replies
13/15station: support PMKSA connectionssrc/station.c+53 -10 replies
14/15auto-t: add PMKSA testsautotests/testPMKSA-SAE/connection_test.py autotests/testPMKSA-SAE/hw.conf autotests/testPMKSA-SAE/ssidSAE.conf +1 more+192 -10 replies
15/15doc: document DisablePMKSA optionsrc/iwd.config.rst+5 -00 replies

Reviews trailers per patch

None of the 15 patches has a Reviewed-by or Acked-by.

PatchDenis KenziorJames Prestwood
1/15
2/15
3/15
4/15
5/15
6/15
7/15
8/15
9/15Authored-by Authored-by
10/15
11/15
12/15
13/15
14/15
15/15

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/15] PMKSA support (SAE only)

This adds support for PMKSA-based connections. For now only SAE and SAE-FT are supported. This was done for a few reasons:
- PMKSA with WPA2 doesn't make a whole lot of sense. There is no real benefit to using PMKSA over full association.
- PMKSA is required by the WiFi Alliance for WPA3 certificaion

Missing features include:
- 802.1x support, this may be added at a later date.
- Filesystem storage of PMKSA caches. For now this just hasn't been implemented.

Denis Kenzior (4):
pmksa: Add skeleton
unit: Add basic pmksa test
pmksa: Add debugging
handshake: Add pmksa setter & stealer

James Prestwood (11):
handshake: add ref counting to handshake_state
unit: update use of handshake_state with ref/unref
auto-t: always initialize StationDebug in Device class
auto-t: add pmksa_flush() to hostapd module
auto-t: update testSAE to disable PMKSA
handshake: add handshake_state_remove_pmksa
netdev: add support to use PMKSA over SAE if available
station: hold reference to handshake object
station: support PMKSA connections
auto-t: add PMKSA tests
doc: document DisablePMKSA option

 .gitignore                                 |   1 +
 Makefile.am                                |  18 +-
 autotests/testPMKSA-SAE/connection_test.py | 114 ++++++++++
 autotests/testPMKSA-SAE/hw.conf            |   7 +
 autotests/testPMKSA-SAE/ssidSAE.conf       |  12 ++
 autotests/testSAE-roam/connection_test.py  |  60 +++++-
 autotests/testSAE/main.conf                |   3 +
 autotests/util/hostapd.py                  |   4 +
 autotests/util/iwd.py                      |   4 +-
 src/adhoc.c                                |   4 +-
 src/ap.c                                   |   2 +-
 src/handshake.c                            | 105 ++++++++-
 src/handshake.h                            |  21 +-
 src/iwd.config.rst                         |   5 +
 src/netdev.c                               |  31 ++-
 src/p2p.c                                  |   2 +-
 src/pmksa.c                                | 235 +++++++++++++++++++++
 src/pmksa.h                                |  46 ++++
 src/station.c                              |  90 +++++++-
 src/wsc.c                                  |   2 +-
 unit/test-eapol.c                          |  38 ++--
 unit/test-pmksa.c                          | 164 ++++++++++++++
 unit/test-sae.c                            |  15 +-
 unit/test-wsc.c                            |  10 +-
 24 files changed, 942 insertions(+), 51 deletions(-)
 create mode 100644 autotests/testPMKSA-SAE/connection_test.py
 create mode 100644 autotests/testPMKSA-SAE/hw.conf
 create mode 100644 autotests/testPMKSA-SAE/ssidSAE.conf
 create mode 100644 src/pmksa.c
 create mode 100644 src/pmksa.h
 create mode 100644 unit/test-pmksa.c
Signature · 1 line
2.34.1