Skip to content

Allow PSK instead of passphrase in WiFiSTA::begin #897

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

Merged
merged 1 commit into from
Dec 4, 2017

Conversation

mascii
Copy link
Contributor

@mascii mascii commented Dec 3, 2017

Allow PSK, which generated by wpa_passphrase command or the PBKDF2 function.

I referred to the following the PR: esp8266/Arduino#1850

In WPA protocol, the maximum length of the passphrases is 64 characters in order to distinguish them from the actual PSK which is 64 ASCII characters long, so in most systems if a 64 chars string is passed, it is assumed to be a PSK, otherwise is treated as a passphrase and is used to compute the PSK.

To calc the PSK, please use http://jorisvr.nl/wpapsk.html

@me-no-dev me-no-dev merged commit 79e5d4c into espressif:master Dec 4, 2017
@me-no-dev
Copy link
Member

Thanks :)

Curclamas pushed a commit to Curclamas/arduino-esp32 that referenced this pull request Aug 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants