Encryption of EMBED_TXTFILES

oklambdago
Posts: 19
Joined: Mon Mar 15, 2021 12:54 pm

Encryption of EMBED_TXTFILES

Postby oklambdago » Sun Apr 25, 2021 10:06 pm

I was reading this thread: viewtopic.php?t=6514#p27964

It was stated that using the EMBED_TXTFILES macro encrypts the embedded file. However, I don't see this detail mentioned in the docs. Why wouldn't someone just be able to dump the plain text of firmware which also contains the embedded information?

Does anyone have any details about what exactly is meant by ESP_Augus's comment:

"If you only have a small amount of files which are the same for each device, you can also embed the files directly in the app (which is entirely encrypted):"

To my understanding the app itself is not encrypted at all and is entirely readable unless flash encryption is enabled.

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

Re: Encryption of EMBED_TXTFILES

Postby WiFive » Mon Apr 26, 2021 2:56 am

Yes it assumes flash encryption is enabled.

Who is online

Users browsing this forum: No registered users and 198 guests