I am using kali 2019.2。I tried to use wpa_supplicant to connect to a WPA3 Enterprise WiFi。But I got error message:
Code:
Line 5: invalid key_mgmt 'WPA-EAP-SUITE-B-192'
Line 5: no key_mgmt values configured.
Line 5: failed to parse key_mgmt 'WPA-EAP-SUITE-B-192'
The wpa_supplicant is provided by kali, version is 2.8-devel. My wpa_supplicant configuration is:
Code:
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="wpa3-1x"
proto=RSN
key_mgmt=WPA-EAP-SUITE-B-192
eap=PEAP
ieee80211w=2
pairwise=GCMP-256
group=GCMP-256
identity="admin"
password="admin"
}
I had read the source code of wpa_supplicant 2.8,I think the wpa_supplicant doesn't recognize WPA-EAP-SUITE-B-192 key_mgmt is because it was not compiled with CONFIG_SUITEB192 enabled, is that true? If so, why not compile it with CONFIG_SUITEB192? If not,then what's the reason of "invalid key_mgmt 'WPA-EAP-SUITE-B-192'" error?
Code:
/* source code from wpa_supplicant */
#ifdef CONFIG_SUITEB192
else if (os_strcmp(start, "WPA-EAP-SUITE-B-192") == 0)
val |= WPA_KEY_MGMT_IEEE8021X_SUITE_B_192;
#endif /* CONFIG_SUITEB192 */
/* some other codes ... */
else {
wpa_printf(MSG_ERROR, "Line %d: invalid key_mgmt '%s'",
line, start);
errors++;
}