openwrt/package
Leon M. Busch-George ae751535de
hostapd: always use sae_password for mesh/SAE auth
This patch fixes a corner case when using passwords that are exactly 64
characters in length with mesh mode or passwords longer than 63 characters
with SAE because 'psk' is used instead of 'sae_password'.
SAE is obligatory for 802.11s (mesh point).

The 'psk' option for hostapd is suited for WPA2 and enforces length
restrictions on passwords. Values of 64 characters are treated as PMKs.
With SAE, PMKs are always generated during the handshake and there are no
length restrictions.
The 'sae_password' option is more suited for SAE and should be used
instead.

Before this patch, the 'sae_password' option is only used with mesh mode
passwords that are not 64 characters long.
As a consequence:
- mesh passwords can't be 64 characters in length
- SAE only works with passwords with lengths >8 and <=63 (due to psk
  limitation).

Fix this by always using 'sae_password' with SAE/mesh and applying the PMK
differentiation only when PSK is used.

Fixes: #11324
Signed-off-by: Leon M. Busch-George <leon@georgemail.eu>
[ improve commit description ]
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2023-02-19 19:43:57 +01:00
..
base-files base-files: sysfixtime: Fix time on the fake RTC 2023-02-19 20:04:59 +08:00
boot ramips: add support for Senao Engenius EPG600 2023-02-18 16:55:35 +01:00
devel trace-cmd: update to v3.1.6 2023-01-13 22:02:20 +01:00
firmware wireless-regdb: update to 2023.02.13 2023-02-18 16:27:37 +01:00
kernel kernel: kmod-ramoops: Include pstore console support 2023-02-18 19:58:22 +01:00
libs elfutils: fix build with GCC 11 2023-02-18 19:55:37 +01:00
network hostapd: always use sae_password for mesh/SAE auth 2023-02-19 19:43:57 +01:00
system fstools: update to git HEAD 2023-02-15 03:27:35 +00:00
utils ucode: update to the latest version 2023-02-14 09:59:16 +01:00
Makefile build: fix opkg install step for large package selection 2021-05-12 11:13:53 +02:00