From: James Prestwood <prestwoj@gmail.com>
To: iwd@lists.linux.dev
Cc: James Prestwood <prestwoj@gmail.com>
Subject: [PATCH 00/15] PMKSA support (SAE only)
Date: Fri, 22 Nov 2024 07:15:36 -0800 [thread overview]
Message-ID: <20241122151551.286355-1-prestwoj@gmail.com> (raw)
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
--
2.34.1
next reply other threads:[~2024-11-22 15:15 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-22 15:15 James Prestwood [this message]
2024-11-22 15:15 ` [PATCH 01/15] handshake: add ref counting to handshake_state James Prestwood
2024-11-22 15:15 ` [PATCH 02/15] unit: update use of handshake_state with ref/unref James Prestwood
2024-11-22 15:15 ` [PATCH 03/15] auto-t: always initialize StationDebug in Device class James Prestwood
2024-11-22 15:15 ` [PATCH 04/15] auto-t: add pmksa_flush() to hostapd module James Prestwood
2024-11-22 15:15 ` [PATCH 05/15] auto-t: update testSAE to disable PMKSA James Prestwood
2024-11-22 15:15 ` [PATCH 06/15] pmksa: Add skeleton James Prestwood
2024-11-22 15:15 ` [PATCH 07/15] unit: Add basic pmksa test James Prestwood
2024-11-22 15:15 ` [PATCH 08/15] pmksa: Add debugging James Prestwood
2024-11-22 15:15 ` [PATCH 09/15] handshake: Add pmksa setter & stealer James Prestwood
2024-11-25 14:56 ` Denis Kenzior
2024-11-25 15:01 ` James Prestwood
2024-11-25 19:25 ` Bryce Johnson
2024-11-25 19:49 ` James Prestwood
2024-11-25 20:18 ` Bryce Johnson
2024-11-22 15:15 ` [PATCH 10/15] handshake: add handshake_state_remove_pmksa James Prestwood
2024-11-22 15:15 ` [PATCH 11/15] netdev: add support to use PMKSA over SAE if available James Prestwood
2024-11-22 15:15 ` [PATCH 12/15] station: hold reference to handshake object James Prestwood
2024-11-22 15:15 ` [PATCH 13/15] station: support PMKSA connections James Prestwood
2024-11-22 15:15 ` [PATCH 14/15] auto-t: add PMKSA tests James Prestwood
2024-11-22 15:15 ` [PATCH 15/15] doc: document DisablePMKSA option James Prestwood
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241122151551.286355-1-prestwoj@gmail.com \
--to=prestwoj@gmail.com \
--cc=iwd@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox