-
Notifications
You must be signed in to change notification settings - Fork 71
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
Size of WiFi password #98
Comments
I found an old network.cfg and I uploaded that. Now my ESP32 connects fine. |
I didn't check the specification but per the result of googling, maximum pass phrase length is 32. |
I tried to search the sources, but there the WPA2 spec is followed : password-length=64 bytes.
Unfortunately, I can't find if that code is actually used by the software. |
It's defined in BPLSettings.h. |
Hi,
I was working on new hardware, so I purchased a new ESP32-device and flashed it, with the beta-5 software.
Unfortunately, I can't persistently connect to my WiFi with that device. I found that passwords bigger than 40 characters are not saved.
When I connect to the bm-AP, I can scan and connect to my own AP, but when I reboot, the connection is not restored. I looked at the serial debug-log and this is what I see when the password is saved :
SSID and AP-password are modified for privacy. AP-password is more than 40 characters long.
The local IP is in the right subnet, so the connection works, but the saving does not work. I can connect to that ip-address to get the web-site.
But after reboot :
I searched the code for a location where that password is checked and/or stored but I can't find anything.
The strange thing is that with my previous ESP32-device I could connect with the same software. Unfortunately I can't remember how I did this. I reflashed that device and it did still work. But when I saved a smaller password and again with the real password it also didn't save that password.
Any help ?
TIA
The text was updated successfully, but these errors were encountered: