AsyncTCP icon indicating copy to clipboard operation
AsyncTCP copied to clipboard

mbed TLS support (client)

Open fremouw opened this issue 6 years ago • 5 comments

Hey,

I've added support for TLS using mbed TLS. It's only for the client side, but for most this is probably enough. You can enable it by setting the ASYNC_TCP_SSL_ENABLED build flag. Of course if anybody wants to add server side TLS support, feel free to do so.

fremouw avatar Apr 27 '19 09:04 fremouw

+1, I'm using fremouw's fork.

tve avatar Apr 28 '19 20:04 tve

So, sorry :) it's been a while since I had time to spend on this. I have just added some much needed fixes to Async TCP.

Please rebase the PR to match the current code. Also, it's a bit half-ass to add just client support. Do you think that adding server is much work?

me-no-dev avatar Jun 22 '19 14:06 me-no-dev

So, sorry :) it's been a while since I had time to spend on this. I have just added some much needed fixes to Async TCP.

Please rebase the PR to match the current code. Also, it's a bit half-ass to add just client support. Do you think that adding server is much work?

No worries! So, I totally agree with you that it would be better to also have server-side support. However, I would say that client-side TLS is used way more than server side, so from my perspective I would still go for it and merge. Btw, just noticed that @tve already rebased :-)

fremouw avatar Jun 26 '19 20:06 fremouw

please have a look at the comments I left there :) not much needed to get this into testing

me-no-dev avatar Jun 26 '19 21:06 me-no-dev

Well, I'm currently looking for Client and Server side TLS. I would like to use it in combination with mqtt-client and I believe that it would make a lot of sense to use it in that context.

GO74 avatar Aug 05 '19 13:08 GO74