encrypt and store wifi credentials received at run time
Posted: Mon May 06, 2024 8:39 am
Hi,
Espressif have a "Provisioning" example that lets users supply wifi-credentials to a (running) ESP32 from their mobile phone.
But how do I securely store a user's wifi-credentials once the ESP32 receives them?
I understand it's possible to encrypt the contents of the ESP32 flash at the compile/programming stage, but once the ESP32 is up-and-running how can I receive some data (a wifi password) and securely store it?
Can I (for example) encrypt the flash at programming time, then access/re-use the flash-encryption-key later at run-time to encrypt a received wifi password?
Can anyone point me to any examples or docs?
Many thanks
Gilbert
Espressif have a "Provisioning" example that lets users supply wifi-credentials to a (running) ESP32 from their mobile phone.
But how do I securely store a user's wifi-credentials once the ESP32 receives them?
I understand it's possible to encrypt the contents of the ESP32 flash at the compile/programming stage, but once the ESP32 is up-and-running how can I receive some data (a wifi password) and securely store it?
Can I (for example) encrypt the flash at programming time, then access/re-use the flash-encryption-key later at run-time to encrypt a received wifi password?
Can anyone point me to any examples or docs?
Many thanks
Gilbert