Is it possible to use AES encryption in softAP mode(ESP32)?

coolesthead
Posts: 1
Joined: Sat Oct 10, 2020 6:25 pm

Is it possible to use AES encryption in softAP mode(ESP32)?

Postby coolesthead » Sat Oct 10, 2020 6:29 pm

I'm trying to start softAP mode in WPA2_PSK as auth type. It is starting successfully but the encryption type is coming as TKIP rather than more secured AES. So when I connect my iPhone it is saying, WiFi is having weak security and suggesting to configure the device as either WPA3 or WPA2(AES). Since WPA3 is not supported for AP mode, I'm planning to use AES with WPA2. But I don't know how to change that. How to change the encryption type for softAP mode? Thanks in advance!

Adrian
Posts: 6
Joined: Wed Mar 20, 2019 8:57 am

Re: Is it possible to use AES encryption in softAP mode(ESP32)?

Postby Adrian » Mon Jan 18, 2021 1:54 pm

Hello,

I am also interested because iOS is complaining about an insecure network.
Meanwhile espressif has added WPA3 support, but if I select

Code: Select all

wifi_config.ap.authmode = WIFI_AUTH_WPA3_PSK;
the log output just says:
I (8315) wifi:wifi driver task: 3ffd6438, prio:23, stack:6656, core=0
I (8315) system_api: Base MAC address is not set
I (8315) system_api: read default base MAC address from EFUSE
I (8325) wifi:wifi firmware version: 9a688d0
I (8325) wifi:wifi certification version: v7.0
I (8325) wifi:config NVS flash: enabled
I (8325) wifi:config nano formating: disabled
I (8325) wifi:Init data frame dynamic rx buffer num: 12
I (8325) wifi:Init management frame dynamic rx buffer num: 12
I (8325) wifi:Init management short buffer num: 32
I (8325) wifi:Init static tx buffer num: 8
I (8335) wifi:Init tx cache buffer num: 16
I (8335) wifi:Init static rx buffer size: 1600
I (8335) wifi:Init static rx buffer num: 6
I (8335) wifi:Init dynamic rx buffer num: 12
I (8335) wifi_init: rx ba win: 9
I (8335) wifi_init: tcpip mbox: 32
I (8335) wifi_init: udp mbox: 6
I (8335) wifi_init: tcp mbox: 6
I (8335) wifi_init: tcp tx win: 5744
I (8335) wifi_init: tcp rx win: 5744
I (8335) wifi_init: tcp mss: 1436
I (8335) wifi_init: WiFi/LWIP prefer SPIRAM
I (8335) wifi_init: WiFi IRAM OP enabled
I (8335) wifi_init: WiFi RX IRAM OP enabled
I (8335) wifi_init: LWIP IRAM OP enabled
W (8365) wifi:authmode is WEP or WPA2_ENTERPRISE or wrong, 6

I (8395) phy_init: phy_version 4660,0162888,Dec 23 2020
I (8515) wifi:mode : softAP (80:7d:3a:08:84:fe)
I (8515) wifi:Total power save buffer number: 4
I (8515) wifi:Init max length of beacon: 752/752
I (8525) wifi:Init max length of beacon: 752/752
Any ideas?

etherfi
Posts: 1
Joined: Sat Feb 13, 2021 9:02 pm

Re: Is it possible to use AES encryption in softAP mode(ESP32)?

Postby etherfi » Sat Feb 13, 2021 9:04 pm

Bump

Xylopyrographer
Posts: 15
Joined: Sat Mar 06, 2021 12:39 am

Re: Is it possible to use AES encryption in softAP mode(ESP32)?

Postby Xylopyrographer » Sat Apr 10, 2021 5:03 pm

Looks like the method used to set softAP encryption in the current stable release (1.0.6) isn't working.

However the Espressif Arduino esp32 team is busy working on a version 2 release that looks like it'll do the trick.

The response from the dev team team in this link
https://github.com/espressif/arduino-esp32/issues/4805
refers to the upcoming v2 release.

Xylopyrographer
Posts: 15
Joined: Sat Mar 06, 2021 12:39 am

Re: Is it possible to use AES encryption in softAP mode(ESP32)?

Postby Xylopyrographer » Wed May 12, 2021 3:34 am

Good info. Thanks for the reply.

Who is online

Users browsing this forum: No registered users and 98 guests