Open ams1 opened 11 months ago
I haven't pursued this HTTPS server other than opening https://github.com/adafruit/circuitpython/issues/7657 on the CircuitPython repo. Using a regular Pi running Linux is a more practical way to run an HTTPS server for my use case (personal project, no size constraints, plugged into a wall socket) and I've shared this repo with others who might be more motivated to get HTTPS working on the Pico.
Using hardware-based encryption could be fast enough. This link benchmarked ciphers like various AES modes in software and hardware on a different Cortex-M0+ processor and found a 10-20x speed-up.
IMO you've done a TON - I really appreciate it!
True, for us techies, a regular Pi is almost ubiquitous, but when "deploying" a web-app at non-techie locations... it helps having a ~$10 option :smile:.
I'll let you know if I make progress on this - or you can of course close this issue.
Hi @ide ,
GREAT initiative, GREAT write-up - I adhere 100%. THANK YOU for pushing this!
Have you considered adding a cryptographic coprocessor to the pico W to offload these TLS operations?
I'm NOT sure if/how this would work, but I'm currently looking into this, and found something maybe similar. https://github.com/espressif/esp-idf/issues/8286
I would love to do fast HTTPS on the PICO W without buying/soldering additional things, but yeah... it doesn't seem to work.
Also I'm open to other directions to solve this problem with the pico-W.