Page 1 of 1

Securing firmware using flash encryption

Posted: Mon Mar 25, 2024 8:28 am
by bramalka
Hi,

I have encrypted esp32-v3 using flash encryption (dev mode). i tried to prevent my firmware getting stolen.
Is my 'encrypted esp32' safe just using flash encryption in dev mode?? If not, is there any other way to prevent my esp32 getting reversed??

Re: Securing firmware using flash encryption

Posted: Wed Mar 27, 2024 7:19 am
by ESP_harshal
Hi @bramalka,

I would suggest you to use the Flash Encryption development mode for generating a production-ready device.
Reference docs: https://docs.espressif.com/projects/esp ... lease-mode.

While using development mode, you can disable flash encryption by burning an even number of bits of the efuse `FLASH_CRYPT_CNT` and thus any non-encrypted firmware flashed can be booted.