Page 1 of 1

Encryption of EMBED_TXTFILES

Posted: Sun Apr 25, 2021 10:06 pm
by oklambdago
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.

Re: Encryption of EMBED_TXTFILES

Posted: Mon Apr 26, 2021 2:56 am
by WiFive
Yes it assumes flash encryption is enabled.