DEV Community

Discussion on: How to encrypt the NVS volume on the ESP32

Collapse
 
mocasrhey profile image
mocasrhey

i flashed the partition and it executes nvs_open with success but nvs_get_str returns ESP_ERR_NVS_NOT_FOUND, do you have any idea of what might be the problem?

Collapse
 
kkentzo profile image
Kyriakos Kentzoglanakis

My guess would be that the key does not exist. Did you try to write a key/value pair to nvs first before you attempt to retrieve the key's value?