SSL(Web)REPL + SHELL
Posted: Sun Jan 12, 2020 1:43 pm
Hi, I somehow managed to make a REPL / SHELL that works over SSL, which basically looks like this :
It still NEEDS WebREPL enabled for the initial logging and after that the SSL REPL is initiated ("os.dupterm" on a ssl wrapped socket).
Right now with client authentication only, since server authentication in MicroPython is still missing? (At least esp32 port).
Sadly for esp8266 SSL seems to be not fast enough (I've just manage to make the handshake which took quite a bit and after that it just freezes )
However I made the exactly same (90%) REPL/SHELL working over WebREPL and Serial (so esp8266 and pyboard works too)
This is included in last version of upydev, so to install and read more about it see the README/DOCS: SSLWebREPL docs
It is still a WIP, but I think is ready for some testing
Cheers
It still NEEDS WebREPL enabled for the initial logging and after that the SSL REPL is initiated ("os.dupterm" on a ssl wrapped socket).
Right now with client authentication only, since server authentication in MicroPython is still missing? (At least esp32 port).
Sadly for esp8266 SSL seems to be not fast enough (I've just manage to make the handshake which took quite a bit and after that it just freezes )
However I made the exactly same (90%) REPL/SHELL working over WebREPL and Serial (so esp8266 and pyboard works too)
This is included in last version of upydev, so to install and read more about it see the README/DOCS: SSLWebREPL docs
It is still a WIP, but I think is ready for some testing
Cheers