]> git.ipfire.org Git - thirdparty/hostap.git/commit
DPP: Expose enrollee pubkey hash for identification
authorMichal Kazior <michal@plume.com>
Tue, 11 May 2021 10:56:17 +0000 (10:56 +0000)
committerJouni Malinen <j@w1.fi>
Tue, 29 Nov 2022 11:55:53 +0000 (13:55 +0200)
commit043dedee83a7ded7a0df2c8a18fcaa22eb84148b
tree0922626746988fcb4918e1dbe5685e0023547bdc
parent2d8974e314cf260a63abda02464154c31c5095c2
DPP: Expose enrollee pubkey hash for identification

Just like with WPA-PSK and keyids it may be desired to identify
connecting clients to provide additional network filtering.

This does:

 - extend DPP_EVENT_AUTH_SUCCESS to expose public
   key hash of the peer so the system can pick it
   up and use for identification later

 - store public key hash in PMKSA from DPP Network
   Intro for later use

 - extend sta mib to print out the dpp_pkhash
   from PMKSA if present

 - extend AP_STA_CONNECTED to include the
   dpp_pkhash from PMKSA if present

Signed-off-by: Michal Kazior <michal@plume.com>
12 files changed:
src/ap/ctrl_iface_ap.c
src/ap/dpp_hostapd.c
src/ap/pmksa_cache_auth.c
src/ap/pmksa_cache_auth.h
src/ap/sta_info.c
src/ap/sta_info.h
src/ap/wpa_auth.c
src/ap/wpa_auth.h
src/common/dpp.c
src/common/dpp.h
src/common/dpp_crypto.c
wpa_supplicant/dpp_supplicant.c