ESP32 Security - PKI Support

askpatrickw
Posts: 19
Joined: Tue Jun 30, 2020 12:32 am

ESP32 Security - PKI Support

Postby askpatrickw » Fri Aug 07, 2020 6:58 pm

I see the ESP32 supports secure boot and flash encryption:
https://docs.espressif.com/projects/esp ... ot-v2.html
https://docs.espressif.com/projects/esp ... ption.html

I also see there is an AES based approach and in the ESP32V3 a PKI based approach:
https://medium.com/the-esp-journal/unde ... 483e465724 (search for ESP32V3)

Is the PKI support in the ESP32V3 limited to only these features or can we use this for other features, such as IoT Device Identity with Azure IoT Device Provisioning?

Thanks for the help!

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: ESP32 Security - PKI Support

Postby WiFive » Sun Aug 09, 2020 1:52 am

There is no separate secure element hardware with private key storage. If you need that maybe you want wroom32-se? Otherwise just rely on secure boot and flash encryption to protect your keys. You could sign and verify your key partitions with the same PKI.

Franco
Posts: 104
Joined: Thu Dec 10, 2015 1:11 pm

Re: ESP32 Security - PKI Support

Postby Franco » Fri Aug 14, 2020 1:05 pm

Sorry just saw your post. If you can use the ESP32-S2 in your application, the Digital Signature Peripheral may be helpful. It is explained here:
https://medium.com/the-esp-journal/esp3 ... 5453f98590

askpatrickw
Posts: 19
Joined: Tue Jun 30, 2020 12:32 am

Re: ESP32 Security - PKI Support

Postby askpatrickw » Thu Sep 10, 2020 5:05 am

Thanks, I was checking if the ESP32 had similar security features as the S2. It does not, as you point out, the S2 is way to go for these needs.

Thank you !
-p

Who is online

Users browsing this forum: No registered users and 104 guests