Announcement

Collapse
No announcement yet.

ESP32 flash encryption

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ESP32 flash encryption

    Is there any simple and easy method to check if protection (encryption) is active on ESP32 or not?
    I'm a layman when it comes to things like this.
    With the help of ESPTOOL I can read the ID, as well as download the flash into a .bin file.
    In this case it is about:

    Detecting chip type... ESP32
    Chip is ESP32-D0WD-V3 (revision v3.0)
    Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
    Crystal is 40MHz
    MAC: 40:22:d8:76:34:84
    Uploading stub...
    Running stub...
    Stub running...
    Changing baud rate to 921600
    Changed.
    Manufacturer: d8
    Device: 4016
    Detected flash size: 4MB
    Hard resetting via RTS pin...


    Is there a way to check with ESPTOOL exactly if encryption is active or not?

    Or it doesn't have to be EPSTOOL, is there some other Windows app I can check all that with?​​

  • #2
    Although the flash size is 4Mb; it does not have to be completely filled with data.
    And data does not have to be present in all memory blocks.
    So it is difficult to distinguish by simply viewing the .bin file in an editor, whether a specific block in the memory is empty or encrypted.

    Comment


    • #3
      Hi ivconic,
      I'm brand new, just stumbled upon this forum, I'm excited to learn more.
      I've done a very little with the ESP32 and love them.
      There are a couple of levels of encryption, so rather than ramble aimlessly, can I direct you here :-

      https://docs.espressif.com/projects/...ncryption.html

      I hope it's what you're looking for, or leads you to it.
      So also I'm not quite sure if you posted this the day before yesterday, or back in Feb.

      Comment


      • #4
        Thanks!

        Comment


        • #5
          Oh when one scratches a little deeper beneath the surface...he discovers a lot!
          The first versions of the ESP32, which is actually a Chinese module, carried an American core.
          But then somewhere halfway, in the meantime, the Chinese discovered that the Americans installed a back door on the core!
          Why am I not surprised?
          Then the Chinese started to install their core in a module, different, with more layers of protection... but I guess with their own back door!


          Comment

          Working...
          X