nodemcu / nodemcu-firmware

Lua based interactive firmware for ESP8266, ESP8285 and ESP32
https://nodemcu.readthedocs.io
MIT License
7.64k stars 3.12k forks source link

https server support on esp32 #3409

Closed kit-klein closed 2 years ago

kit-klein commented 3 years ago

Missing feature

I'm looking to add https server side support to a project utilizing the esp32 build of nodemcu.

A moderate amount of google research hasn't identified in an existing implementation or http overlay that works with nodemcu (if anyone is aware of one - please let me know). At this point it seems like the only option is to build one.

I'm considering a few paths here and would appreciate any thoughts/insight before starting.

  1. Create a C based http module that leverages esp-idfs http and https implementation . I like this approach as creating c lua modules the wrap esp-idf functionality is well established and we can piggyback off fixes/testing/stability of the esp implementation.
  2. Adapt something like LuaSec to overlay the existing Lua HTTP module. This seems like a less straightforward path to me.

Justification

Workarounds

None

nwf commented 3 years ago

Does the ESP32 really have the power to be a TLS server? The demands are quite high.

marcelstoer commented 3 years ago

Does the ESP32 really have the power

As the IDF provides the foundation for that and since there's an established lib for the Arduino the answer is likely a "yes", no? Haven't tried either of them, though.

heythisisnate commented 3 years ago

my company (Konnected) is willing to sponsor a bounty or fee to any contributor who wants to accomplish this @tomsci @thornley-david @jpeletier any interest?

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.