Securing firmware using flash encryption

bramalka
Posts: 1
Joined: Mon Mar 25, 2024 8:03 am

Securing firmware using flash encryption

Postby bramalka » Mon Mar 25, 2024 8:28 am

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??

ESP_harshal
Posts: 24
Joined: Wed Jul 06, 2022 8:36 am

Re: Securing firmware using flash encryption

Postby ESP_harshal » Wed Mar 27, 2024 7:19 am

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.

Who is online

Users browsing this forum: Google [Bot] and 65 guests