espressif / esp-mqtt

ESP32 mqtt component
Apache License 2.0
610 stars 257 forks source link

Possiblity of supporting PSK SSL for MQTT? (IDFGH-992) #95

Closed mreutman closed 5 years ago

mreutman commented 5 years ago

Mosquitto broker supports PSK encryption as an alternative to using certificates. There's obviously downsides to PSK, but it is at least far simpler for users to implement. For PSK, there's no reliance on a third party certificate authority or need to create/manage your own self signed certificates. It seems like the ESP32 userbase (both hobbyist and more serious) could benefit from PSK support.

david-cermak commented 5 years ago

hi @mreutman

No plans to support TLS-PSK yet.

But yes, I agree that could be a good alternative to certificates for esp32 users, and it does not seem to be a complicated update. Will think about it, but currently the priority is to resolve all pending issues and make the library more robust.

slavslavov commented 5 years ago

I would like to vote for this one as well.