Does NVS library support flash encryption?

luchot
Posts: 1
Joined: Mon Oct 09, 2017 6:12 pm

Does NVS library support flash encryption?

Postby luchot » Mon Oct 09, 2017 6:20 pm

In the section about "Flash Encryption" the documentation says:
“NVS” partitions for non-volatile storage cannot be encrypted.

http://esp-idf.readthedocs.io/en/latest/security/flash-encryption.html
But in the NVS documentation is specified:
NVS is compatible with the ESP32 flash encryption system, and it can store key-value pairs in an encrypted form.

https://github.com/espressif/esp-idf/tree/master/components/nvs_flash

Does NVS library support flash encryption?

User avatar
fly135
Posts: 396
Joined: Wed Jan 03, 2018 8:33 pm
Location: Orlando, FL

Re: Does NVS library support flash encryption?

Postby fly135 » Sat May 12, 2018 5:11 pm

Can we get this addressed. Clearly the documentation is not in agreement with the readme on the NVS component.

John A

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

Re: Does NVS library support flash encryption?

Postby ESP_Angus » Tue May 15, 2018 1:33 am

Hi,

Unfortunately,the documentation is correct. Currently we do not support NVS on encrypted partitions. However, someone is working on this support right now.

The content in the README is some notes about the NVS flash encryption storage protocol and the compatibility of various parts with flash encryption. Will modify the README so this is clear.


Angus

snahmad75
Posts: 263
Joined: Wed Jan 24, 2018 6:32 pm

Re: Does NVS library support flash encryption?

Postby snahmad75 » Thu Oct 11, 2018 9:00 pm

Hi Angus,

Is nvs partition with encrypted partition still not supported?
How about other partitions storage fat file system? Does it work with encrypted partition bin.


Who is online

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