]> git.ipfire.org Git - thirdparty/hostap.git/commit
SAE: Do not allow password identifier to be used without H2E
authorJouni Malinen <quic_jouni@quicinc.com>
Fri, 1 Nov 2024 10:06:10 +0000 (12:06 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 1 Nov 2024 10:36:09 +0000 (12:36 +0200)
commitea4e0116da10da71b24b6cc87cb56d18b02e551e
treee2cb22fe6718f7432469d4021c0a842706bbd0d1
parentafd120d03bf521df4c6c323952e30348c1103b8e
SAE: Do not allow password identifier to be used without H2E

When the concept of SAE password identifiers was introduced in IEEE
P802.11REVme/D1.0, there was no requirement to use H2E with them.
However, this was changed for the published IEEE Std 802.11-2020 to
require H2E to avoid certain cases where the password identifier could
not have been parsed robustly.

Commit e36a5894d0c0 ("SAE: Use H2E whenever Password Identifier is
used") started forcing H2E to be used when password identifiers were in
use with SAE. However, it did not enforce rejection of cases where H2E
was not enabled by a non-compliant implementation. Add that explicit
check during parsing of SAE commit messages.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
src/common/sae.c