openwrt/package/network
Eneas U de Queiroz e6df13d0e1 hostapd: fallback to psk when generating r0kh/r1kh
The 80211r r0kh and r1kh defaults are generated from the md5sum of
"$mobility_domain/$auth_secret".  auth_secret is only set when using EAP
authentication, but the default key is used for SAE/PSK as well.  In
this case,  auth_secret is empty, and the default value of the key can
be computed from the SSID alone.

Fallback to using $key when auth_secret is empty.  While at it, rename
the variable holding the generated key from 'key' to 'ft_key', to avoid
clobbering the PSK.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
[make ft_key local]
Signed-off-by: David Bauer <mail@david-bauer.net>
2022-02-19 16:14:52 +01:00
..
config firewall4: update to latest Git HEAD 2022-02-12 20:51:22 +01:00
ipv6 odhcp6c: update to latest git HEAD 2021-12-17 21:06:34 +01:00
services hostapd: fallback to psk when generating r0kh/r1kh 2022-02-19 16:14:52 +01:00
utils tcpdump: Fix CVE-2018-16301 2022-02-12 23:22:05 +01:00