Skip to content

DPP PKEX Changes

James Prestwood iwd 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest10 patches 1 replyIn review
  2. v44 patches 5 repliesApplied
  3. v39 patches 6 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v215 patches9 repliesApplied
v121 patches35 repliesApplied

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 filesSizeRepliesApplied
1/10dpp-util: fix typo, 'REQUST'src/dpp-util.h+1 -10 replies
2/10dpp: introduce dpp_interface type, prep for PKEXsrc/dpp.c+37 -110 replies
3/10auto-t: fix testDPP after Stop() changeautotests/testDPP/connection_test.py+7 -20 replies
4/10doc: document Stop() correctly for both DPP interfacesdoc/device-provisioning-api.txt+4 -40 replies
5/10dpp: initial version of PKEX enrollee supportsrc/dpp.c+800 -110 replies
6/10dpp: initial version of PKEX configurator supportsrc/dpp.c+504 -10 replies
7/10dpp: Add StartConfigurator, PKEX agent supportsrc/dpp.c+222 -20 replies
8/10auto-t: add utils for wpa_supplicant PKEXautotests/util/wpas.py+39 -10 replies
9/10auto-t: add APIs for PKEXautotests/util/iwd.py+150 -30 replies
10/10auto-t: add DPP PKEX testsautotests/testDPP/hostapd.conf autotests/testDPP/hw.conf autotests/testDPP/pkex_test.py +2 more+231 -80 replies

Reviews trailers per patch

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

Read the v5 thread

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