minimq icon indicating copy to clipboard operation
minimq copied to clipboard

Add TLS support

Open ryan-summers opened this issue 2 years ago • 5 comments

Add support for a TLS-based connection with the broker.

This may necessitate the development of new embedded-nal traits for the TCP stack.

embedded-tls can provide the necessary TLS components.

ryan-summers avatar Nov 22 '22 15:11 ryan-summers

Hello! Is TLS support planned?

teovillanueva avatar Oct 18 '23 21:10 teovillanueva

It is indeed planned eventually, but much of minimq development is driven by the user needs of https://github.com/quartiq/stabilizer and https://github.com/quartiq/booster. Given that we don't have any immediate need yet, it's not yet on my priority list and is more of a fun project I'd like to get to later.

cc @jordens

ryan-summers avatar Oct 19 '23 11:10 ryan-summers

Hello, I want to mention https://github.com/drogue-iot/embedded-tls here. It allows to wrap any tcp stream into tls. Maybe it would be useful for someone

Ddystopia avatar Apr 05 '24 12:04 Ddystopia

Yeah, the intent would be to leverage embedded-tls (or rustls when no-std support is complete) to facilitate this. Is your comment about wrapping a TCP stream with a TLS mechanism and then treating it opaquely as a "TCP stream"? That would alos be an interesting approach.

ryan-summers avatar Apr 05 '24 12:04 ryan-summers