openwrt/package/network/services
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
..
bridger bridger: update to the latest version 2023-01-29 10:08:21 +01:00
dnsmasq dnsmasq: refuse to add empty DHCP range 2023-02-07 21:05:57 +01:00
dropbear dropbear: cherry-pick upstream commit 544f28a0 2022-06-27 00:57:15 +02:00
ead ead: fix resource leak in tinysrp 2020-01-05 19:36:46 +01:00
hostapd hostapd: always use sae_password for mesh/SAE auth 2023-02-19 19:43:57 +01:00
ipset-dns build: prefer HTTPS if available (for packages) 2022-10-05 17:37:07 +02:00
lldpd lldpd: use release tar instead of codeload 2023-01-12 14:55:07 +01:00
odhcpd odhcpd: bump to git HEAD 2023-02-17 16:30:03 +02:00
omcproxy omcproxy: bump to git HEAD 2021-11-04 15:04:45 +02:00
ppp ppp: use modprobe in place of insmod 2022-09-27 17:16:42 +02:00
relayd relayd: bump to version 2023-01-28 2023-01-28 20:24:22 +01:00
uhttpd uhttpd: clean up Makefile 2023-01-28 22:37:35 +01:00
umdns umdns: add missing syscall to seccomp filter 2022-08-05 14:10:42 +02:00
unetd unetd: add missing init script 2022-09-16 22:02:28 +02:00
ustp ustp: update to the latest version 2021-09-21 19:43:20 +02:00