DPP PKEX Changes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest10 patches 1 replyIn review
- v44 patches 5 repliesApplied
- v39 patches 6 repliesSuperseded
Changes in v5 from the cover letter
* Separate the DPP/PKEX interfaces using a new enum to distinguish which interfaces is using the dpp_sm. Similarly added a refcount to the dpp_sm object so when one interface goes away it won't destroy the SM for the other.
* Removed unneeded checks on the identifier, and added some:
- Assume utf8/null terminated when coming from DBus (just check length)
- Validate utf8/length when coming from the peer.
* Enforce any user-disabled bands when generating the default frequency list.
* Return error on Stop() if not started. This is an API change, but I thought it made sense so its very clear when Stop() is called on the incorrect interface.
* Included autotest changes.
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | dpp-util: fix typo, 'REQUST'src/ | +1 | 0 replies | |
| 2/10 | dpp: introduce dpp_interface type, prep for PKEXsrc/ | +37 | 0 replies | |
| 3/10 | auto-t: fix testDPP after Stop() changeautotests/ | +7 | 0 replies | |
| 4/10 | doc: document Stop() correctly for both DPP interfacesdoc/ | +4 | 0 replies | |
| 5/10 | dpp: initial version of PKEX enrollee supportsrc/ | +800 | 0 replies | |
| 6/10 | dpp: initial version of PKEX configurator supportsrc/ | +504 | 0 replies | |
| 7/10 | dpp: Add StartConfigurator, PKEX agent supportsrc/ | +222 | 0 replies | |
| 8/10 | auto-t: add utils for wpa_supplicant PKEXautotests/ | +39 | 0 replies | |
| 9/10 | auto-t: add APIs for PKEXautotests/ | +150 | 0 replies | |
| 10/10 | auto-t: add DPP PKEX testsautotests/ autotests/ autotests/ +2 more | +231 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.
Cover letter [PATCH v5 00/10] DPP PKEX Changes
v5:
* Separate the DPP/PKEX interfaces using a new enum to distinguish which interfaces is using the dpp_sm. Similarly added a refcount to the dpp_sm object so when one interface goes away it won't destroy the SM for the other.
* Removed unneeded checks on the identifier, and added some:
- Assume utf8/null terminated when coming from DBus (just check length)
- Validate utf8/length when coming from the peer.
* Enforce any user-disabled bands when generating the default frequency list.
* Return error on Stop() if not started. This is an API change, but I thought it made sense so its very clear when Stop() is called on the incorrect interface.
* Included autotest changes.
James Prestwood (10):
dpp-util: fix typo, 'REQUST'
dpp: introduce dpp_interface type, prep for PKEX
auto-t: fix testDPP after Stop() change
doc: document Stop() correctly for both DPP interfaces
dpp: initial version of PKEX enrollee support
dpp: initial version of PKEX configurator support
dpp: Add StartConfigurator, PKEX agent support
auto-t: add utils for wpa_supplicant PKEX
auto-t: add APIs for PKEX
auto-t: add DPP PKEX tests
autotests/testDPP/connection_test.py | 9 +- autotests/testDPP/hostapd.conf | 2 +- autotests/testDPP/hw.conf | 5 +- autotests/testDPP/pkex_test.py | 209 ++++ autotests/testDPP/ssidCCMP.psk | 12 + autotests/util/iwd.py | 152 ++- autotests/util/wpas.py | 40 +- doc/device-provisioning-api.txt | 8 +- src/dpp-util.h | 2 +- src/dpp.c | 1722 ++++++++++++++++++++++++-- 10 files changed, 2056 insertions(+), 105 deletions(-) create mode 100644 autotests/testDPP/pkex_test.py
Signature · 1 line
2.25.1