espressif / arduino-esp32

Arduino core for the ESP32
GNU Lesser General Public License v2.1
13.75k stars 7.43k forks source link

SoftAP running ancient TKIP encryption. iPhones complain. #4805

Closed EtherFidelity closed 3 years ago

EtherFidelity commented 3 years ago

Hardware:

Board: ESP-WROOM-32 Dev Board (FCC ID: 2AC7Z-ESPWROOM32) Core Installation version: 1.0.5-rc6 IDE name: Arduino IDE Flash Frequency: 80Mhz PSRAM enabled: N/A Upload Speed: 115200 Computer OS: Windows 10

Description:

When connecting to a SoftAP created by the sketch below from my iPhone, I receive this message:

Weak Security WPA/WPA2 (TKIP) is not considered secure. If this is your Wi-Fi network, configure the router to use WPA2 (AES) or WPA3 security type.

How do I fix this?

Sketch:

#include <WiFi.h>

void setup() {
  WiFi.softAP("Test-AP", "testpass");
}

void loop() {
  // put your main code here, to run repeatedly:

}

Debug Messages:

N/A
EtherFidelity commented 3 years ago

Bump

me-no-dev commented 3 years ago

encryption is set here: https://github.com/espressif/arduino-esp32/blob/master/libraries/WiFi/src/WiFiAP.cpp#L127

options available in this version of esp-idf (v3.3) are here: https://github.com/espressif/arduino-esp32/blob/master/tools/sdk/include/esp32/esp_wifi_types.h#L55-L63

For adding support for other types of encryption, you can post an issue in esp-idf's issue tracker.