-
Notifications
You must be signed in to change notification settings - Fork 234
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
WiFiModule Allow PSK instead of password #870
Comments
Interesting. It is nice that the password wouldn't need to be stored, though the PSK value still allows log-in to the network, so that should still be secured in a real product. It seems like the password and PSK are not quite the same. I'm not sure if there should be a different name in JavaScript to distinguish those ( |
How do you generate the PSK? |
https://www.wireshark.org/tools/wpa-psk.html |
Sorry to be so slow The proposed change makes sense. Even macOS allows a 64 character password, so we should just always do that. This will be included in tomorrow's Moddable SDK update. Thank you! |
Closing as the proposed change has been applied. |
Thank you so much! |
😱 |
I tried again. ;) Any better? |
Excellent! |
Describe
WiFi Module Allow PSK instead of password
Why do you think this feature would be useful?
There is a slight security advantage as it avoids storing raw passwords.
Proposal change
moddable/modules/network/wifi/esp/modwifi.c
Line 133 in 5df3b55
moddable/modules/network/wifi/esp32/xs6wifi.c
Line 183 in 5df3b55
remove -1 both files.
(both source use memcpy, not strcpy , because maybe not required terminate null charactor)
I tried on esp32, it works.
ref.
http://jorisvr.nl/wpapsk.html
esp8266/Arduino/pull/1850
The text was updated successfully, but these errors were encountered: