esp32c3 NVS encryption (HMAC), secure encryption
Posted: Tue Nov 19, 2024 7:34 pm
Hello,
I was going through documentation of NVS encryption based on HMAC (URL: https://docs.espressif.com/projects/esp ... externally) and I'm having some questions.
Our customer would like to flash esp32c3 devices on their own and we would like to provide all of the necessary .bins (app, nvs, partition table, bootlaoder,...). If our customer generates HMAC and NVS encryption keys, then sends us NVS encryption key and we encrypt NVS with it, will customer be able to decrypt our NVS?
We would like to keep our NVS enrypted and secure, that even customer cannot decrypt it, because it contains sensitive data.
Is there a way to encrypt NVS so that customer cannot decrypt it? So that only esp32c3 will be able to decrypt it?
Thank you in advance.
Miha
I was going through documentation of NVS encryption based on HMAC (URL: https://docs.espressif.com/projects/esp ... externally) and I'm having some questions.
Our customer would like to flash esp32c3 devices on their own and we would like to provide all of the necessary .bins (app, nvs, partition table, bootlaoder,...). If our customer generates HMAC and NVS encryption keys, then sends us NVS encryption key and we encrypt NVS with it, will customer be able to decrypt our NVS?
We would like to keep our NVS enrypted and secure, that even customer cannot decrypt it, because it contains sensitive data.
Is there a way to encrypt NVS so that customer cannot decrypt it? So that only esp32c3 will be able to decrypt it?
Thank you in advance.
Miha