Page 1 of 1

Disabling REPL on ESP32

Posted: Sat Jul 11, 2020 8:17 pm
by akushva
I have an application where I store wifi credentials on a text file inside the flash. I have encrypted the password using the cryptolib library but still, REPL exposes the file system and keys would be accessible making the encryption useless. Even if I store my keys in a frozen module, it wouldn't matter if REPL's accessible.

Is there any provision in upy to disable REPL on ESP32?

Re: Disabling REPL on ESP32

Posted: Sun Jul 12, 2020 4:30 pm
by dhylands
Disabling the REPL won't really help you.

You can still run esptool.py and download the entire flash and then just grab stuff from the filesystem using code running on the host.