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?
Disabling REPL on ESP32
Re: Disabling REPL on ESP32
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.
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.