Proposal to add TLS PSK cipher suites

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
User avatar
tve
Posts: 214
Joined: Wed Jan 01, 2020 10:12 pm
Location: Santa Barbara, CA
Contact:

Proposal to add TLS PSK cipher suites

Post by tve » Thu Jan 16, 2020 7:50 am

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

kinno
Posts: 32
Joined: Mon Oct 21, 2019 2:06 pm

Re: Proposal to add TLS PSK cipher suites

Post by kinno » Thu Jan 16, 2020 6:10 pm

I would love to see this as well.

Post Reply