Page 1 of 1

Proposal to add TLS PSK cipher suites

Posted: Thu Jan 16, 2020 7:50 am
by tve
I just created a PR to support the PSK cipher suites. I really like them for MQTT (with mosquitto) because I can do away with the cert/key crap and assign each client a string ID and a hex key, and then I get server and client mutual authentication and encryption all in one go. The code is for mbedtls and could support any port that uses mbedtls but I only enabled the cipher suites in the mbedtls compilation for the esp32 (that's actually the only MP platform I have...). I hope others are also excited about this :lol: :!:
PR: https://github.com/micropython/micropython/pull/5544
Docs: https://micropython-tve.readthedocs.io/ ... /ussl.html

Re: Proposal to add TLS PSK cipher suites

Posted: Thu Jan 16, 2020 6:10 pm
by kinno
I would love to see this as well.