Skip to content

WiFiClientSecure: add support for PSK (pre-shared key) ciphers #2133

New issue

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

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

Already on GitHub? # to your account

Merged
merged 3 commits into from
Dec 3, 2018

Conversation

tve
Copy link
Contributor

@tve tve commented Dec 1, 2018

This PR adds support for using pre-shared keys in TLS connections. MQTT servers seem to start to support this, at least mosquitto does. This is an alternative to generating a self-signed cert and then distributing the cert to all mobile devices. With PSK one can now generate a long random hex string and simply use that as key. It also makes it easy to have multiple identity->key pairs, basically they act like passwords.
I would be happy to write some docs for this, but am not sure where to add given that WiFiClientSecure doesn't have any docs.

@me-no-dev
Copy link
Member

You can add README.md to the root of WiFiClientSecure library :)

@tve
Copy link
Contributor Author

tve commented Dec 2, 2018

README added

@me-no-dev me-no-dev merged commit af7e489 into espressif:master Dec 3, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants