Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support the ESP8266_RTOS_SDK (WPA3 for the ESP8266) #2128

Open
Mat931 opened this issue Feb 20, 2023 · 11 comments
Open

Support the ESP8266_RTOS_SDK (WPA3 for the ESP8266) #2128

Mat931 opened this issue Feb 20, 2023 · 11 comments

Comments

@Mat931
Copy link

Mat931 commented Feb 20, 2023

Describe the problem you have/What new integration you would like

Please describe your use case for this integration and alternatives you've tried:

  • I would like to enable WPA3 and PMF for my WiFi network. Currently there are no alternatives.
  • I hope the RTOS SDK will also improve the connection issues on all my ESP8266 devices.

Additional context

@Mat931 Mat931 changed the title Support the ESP8266_RTOS_SDK Support the ESP8266_RTOS_SDK (WPA3 for the ESP8266) Feb 20, 2023
@benedikt-bartscher
Copy link

Thanks @Mat931 for pointing to the new SDK. Maybe this saves me from opening all my wall switches (about 40) and spending a lot of money.
Currently i run a seperate wifi only for esphome with esp8266, but its less secure and blocks wifi channels.

@Rudd-O
Copy link

Rudd-O commented Dec 30, 2024

This would be fantastic. I have about two dozen devices that do not support protected management frames or WPA3. This is fairly bad because it means a hostile neighbor can just hack into that wireless network and screw with me / my cameras. It would be important to get this serious security hole in many ESPHome devices fixed.

@ssieb
Copy link
Member

ssieb commented Dec 30, 2024

WPA2 is not insecure. It's not a "serious security hole".

@nagyrobi
Copy link
Member

nagyrobi commented Dec 30, 2024

No but a "good" friend can still cause you headaches by sending repeated deauth frames in the air preventing your nodes from reconnecting to the AP. All he needs is an ESP8266...

Good luck troubleshooting and defeating that...

Minimum current recommendation would probably be to never use captive portal with arduino framework imho (which would be spawned automatically if connection to your wifi fails).

@Gunni
Copy link

Gunni commented Dec 30, 2024

Please note that PMF should be possible with WPA2 too.

@nagyrobi
Copy link
Member

nagyrobi commented Dec 30, 2024

Afaik with upgrading the framework it's the same effort to bring PMF for WPA2 in, along with WPA3.

See: https://github.com/alexCajas/esp8266RTOSArduCore

This would bring the happiness of IDF to ESP8266 too...
I know it's a big stab as many ESP8266-only components will have to be refactored...

@Rudd-O
Copy link

Rudd-O commented Jan 2, 2025

8266 needs to gain WPA3. Hundreds of thousands of people with dozens of devices each can't just have devices vulnerable to shitty encryption and deauth / reauth attacks. Replacing those devices which otherwise should be functional and up to spec would be an enormous cost to society. Most of the smart devices compatible with ESPHome sold today are 8266! And the chip is supported all the way up to 2026.

What needs to be done in order to solve the issue? Will it require financial backing? I would be interested in helping that way.

@Rudd-O
Copy link

Rudd-O commented Jan 7, 2025 via email

@nagyrobi
Copy link
Member

nagyrobi commented Jan 7, 2025

It's a big stab but I think most of the steps to be done should follow the path of ESP32, when ESP-IDF was introduced. So it's not really from ground zero, as at least the way that has to be made should be familiar.

It's indeed a lot of manual coding to do and thus I agree that a good financial offer to somebody willing to do it could speed up the process. Don't think that existing fulltime team members could handle it though.

@Rudd-O
Copy link

Rudd-O commented Jan 7, 2025 via email

@nagyrobi
Copy link
Member

Chiming in @stellar-aria from esphome/esphome#8106 might worth joining efforts, or at least consider the changes with respect to this too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants