SuperHouse / esp-open-rtos

Open source FreeRTOS-based ESP8266 software framework
BSD 3-Clause "New" or "Revised" License
1.52k stars 491 forks source link

TLS v1.2 #605

Open myco opened 6 years ago

myco commented 6 years ago

Hi, Is there a support for TLS v1.2 ?

myco commented 6 years ago

Anyone? I just need to know if it is possible to use MQTT with TLSv1.2 with this distro of FreeRTOS.

ourairquality commented 6 years ago

TLS support is provide by 'extra' components. For example look at extras/mbedtls which includes an upstream version that you might want to update. Mbedtls claims to supports TLSv1.2. There are also other implements.

TLS is a stretch for the limited memory on the esp8266. If you control both ends then you can limit the buffers sizes which helps, and there are patches to limit the size each way that can help too. There are WIP patches to esp-open-rtos to make an extra 16k RAM available and the helps too.