Using Flash Encryption

Widgetman
Posts: 4
Joined: Mon Jan 29, 2018 9:26 pm

Using Flash Encryption

Postby Widgetman » Tue Feb 13, 2018 10:57 pm

All,
Is there a good example on how to use the flash encryption scheme for applications. I would like to develop an app using this part and maintain encrypting the image outside of the part so that it is only decrypted inside and run. I would need to update it OTA if possible using wifi. Any thoughts or suggestions would be appreciated.

User avatar
rudi ;-)
Posts: 1731
Joined: Fri Nov 13, 2015 3:25 pm

Re: Using Flash Encryption

Postby rudi ;-) » Wed Feb 14, 2018 9:13 am

Widgetman wrote: All,
..
.or suggestions would be appreciated.
post this not in the NEWS
post this example in Discussion Forum
thanks
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪

ESP_Sprite
Posts: 9772
Joined: Thu Nov 26, 2015 4:08 am

Re: Using Flash Encryption

Postby ESP_Sprite » Wed Feb 14, 2018 10:29 am

Moved News -> General Chat

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: Using Flash Encryption

Postby ESP_Angus » Thu Feb 15, 2018 12:08 am

Widgetman wrote:All,
Is there a good example on how to use the flash encryption scheme for applications. I would like to develop an app using this part and maintain encrypting the image outside of the part so that it is only decrypted inside and run. I would need to update it OTA if possible using wifi. Any thoughts or suggestions would be appreciated.
Hi Widgetman,

Did you see the section on flash encryption in the documentation?
http://esp-idf.readthedocs.io/en/latest ... ption.html

This explains how to have your application encrypted in the ESP32 flash. OTA updating is supported when flash encryption is in use.

Angus

Who is online

Users browsing this forum: No registered users and 100 guests