]> git.ipfire.org Git - thirdparty/hostap.git/commit
DPP: Delete PKEX code and identifier on success completion of PKEX
authorJouni Malinen <quic_jouni@quicinc.com>
Tue, 19 Jul 2022 18:23:04 +0000 (21:23 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 19 Jul 2022 20:28:33 +0000 (23:28 +0300)
commit15af83cf1846870873a011ed4d714732f01cd2e4
treed807a2ad2739e22a9740a4fd0b459d929acd4b28
parentd86ed5b72b866ffdbc257805cd2ca4b875087219
DPP: Delete PKEX code and identifier on success completion of PKEX

We are not supposed to reuse these without being explicitly requested to
perform PKEX again. There is not a strong use case for being able to
provision an Enrollee multiple times with PKEX, so this should have no
issues on the Enrollee. For a Configurator, there might be some use
cases that would benefit from being able to use the same code with
multiple Enrollee devices, e.g., for guess access with a laptop and a
smart phone. That case will now require a new DPP_PKEX_ADD command on
the Configurator after each completion of the provisioning exchange.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/ap/dpp_hostapd.c
wpa_supplicant/dpp_supplicant.c