mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-02-16 09:03:05 -05:00
DPP2: Add ppKey into Connector
This provides the new privacy protection key to the Enrollee so that this can be used to protect E-id in Reconfig Announcement frames. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
9c1fbff074
commit
2a8c928871
@ -1586,6 +1586,16 @@ skip_groups:
|
||||
wpa_printf(MSG_DEBUG, "DPP: Failed to build csign JWK");
|
||||
goto fail;
|
||||
}
|
||||
#ifdef CONFIG_DPP2
|
||||
if (auth->peer_version >= 2 && auth->conf->pp_key) {
|
||||
json_value_sep(buf);
|
||||
if (dpp_build_jwk(buf, "ppKey", auth->conf->pp_key, NULL,
|
||||
curve) < 0) {
|
||||
wpa_printf(MSG_DEBUG, "DPP: Failed to build ppKey JWK");
|
||||
goto fail;
|
||||
}
|
||||
}
|
||||
#endif /* CONFIG_DPP2 */
|
||||
|
||||
json_end_object(buf);
|
||||
json_end_object(buf);
|
||||
|
Loading…
x
Reference in New Issue
Block a user