How to lock m5stack software (firmware encryption)
-
I want to activate the esp32 "firmware encryption" feature to:
- ensure that the firmware can't be written again
- ensure that it can't be read
I know this feature exists but i would need simple instructions to activate it. Can anybody help ?
-
Did you found a solution? I am looking for the same feature.
As I understand we need to use ESP-IDF
I found this but not tested it for now : https://github.com/ropg/m5core2_esp-idf_demo
-
I just found that M5unified support ESP-IDF : https://github.com/m5stack/M5Unified
@m5stack or @felmue can confirm we can use boot and flash encryption with M5unified ?
-
Also found this : https://www.motius.com/post/how-to-build-a-secure-iot-prototype-with-arduino-and-esp32
It seems esp-idf is only needed for the encryption part, the code can be written with arduino framework
-
Now the next challenge, use esptool-js to upgrade core2 ota.
Do someone know if esptool-js support transfert for encrypted files?