Flash Encyption and Secure Boot through OTA

nikola
Posts: 11
Joined: Tue Sep 04, 2018 2:36 pm

Flash Encyption and Secure Boot through OTA

Postby nikola » Tue Oct 06, 2020 9:24 pm

Hi,

I am reading the docs regarding flash encryption and secure boot but can't seem to find if it can be enabled through OTA to previously unsecured system. So is this possible and if yes do I need to do something more than pushing OTA of the firmware with these settings enabled?

Thanks.

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Flash Encyption and Secure Boot through OTA

Postby WiFive » Wed Oct 07, 2020 12:22 am

Not supported, risk of bricking devices, but technically possible. There are other posts in the forum about updating the partition table and bootloader via ota which would be required.

nikola
Posts: 11
Joined: Tue Sep 04, 2018 2:36 pm

Re: Flash Encyption and Secure Boot through OTA

Postby nikola » Wed Oct 07, 2020 10:55 am

The reason that I am asking is I would like to buy some ESP32-MeshKit-Light bulbs and upload my custom firmware to them but also I need them to be encrypted since they will contain some web login details. So bricking them during OTA is an acceptable risk for me. It is far better then breaking the bulbs apart and soldering wires in order to flash.

Who is online

Users browsing this forum: Baidu [Spider] and 119 guests