OTA security

kelvinlo0227
Posts: 1
Joined: Mon Mar 07, 2022 4:41 am

OTA security

Postby kelvinlo0227 » Mon Mar 07, 2022 4:53 am

Hello Big Bro,

I am new to the ESP32, I'd like to know directly:
1) Could ESP32-WROOM-32E run any OS on the chip like Ubuntu (like Rasberry Pi)?
2) If I want to change the firmware in ESP32-WROOM-32E by OTA (over-the-air), is it possible? Any link or tutorial?
3) If question 2 is yes, is there any security means during OTA, so that no one can "hack" my ESP32-WROOM-32E devices with the same OTA process?

Hope I am not asking some silly questions and someone who is expert could show me the right way.

Thank you very much for all! :D

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

Re: OTA security

Postby WiFive » Mon Mar 07, 2022 10:37 pm

1. No, only small rtos.
2. Yes, many blogs, videos, GitHub projects, and official examples.
3. Usually ota is secured with https and client/server certificates.

graceyoung-ww
Posts: 4
Joined: Sun Mar 20, 2022 8:24 am

Re: OTA security

Postby graceyoung-ww » Mon Mar 21, 2022 3:05 am

1. answered above
2. You may want to check the official documentation (a quick Google search will uncover it) — https://docs.espressif.com/projects/esp ... m/ota.html
3. There is a Secure Boot mechanism on the ESP32 that aids with firmware security for OTA udpates — https://docs.espressif.com/projects/esp ... ot-v2.html. You'll probably need to implement a few other measures as well.

Who is online

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