Skip to content

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

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 2 commits into from
Apr 13, 2016
Merged

Conversation

4m1g0
Copy link
Contributor

@4m1g0 4m1g0 commented Apr 3, 2016

In WPA protocol, the maximum length of the passphrases is 63 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.

In WPA protocol, the maximum length of the passphrases are 64 characters in order to distinguish them from the actual PSK who 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.
@4m1g0
Copy link
Contributor Author

4m1g0 commented Apr 3, 2016

I've tested nodemcu firmware and it allows this too. I think it's standard.

@ghost
Copy link

ghost commented Apr 11, 2016

Can one of the admins verify this patch?

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