espressif / esp-idf

Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Apache License 2.0
13.69k stars 7.29k forks source link

About flash_download_tool_3.9.4 flash encryption esp8684(esp32-c2) (IDFGH-12229) #13281

Closed 13248519492a closed 7 months ago

13248519492a commented 8 months ago

Answers checklist.

General issue report

How to set security.conf to do the following 1.Use your own key instead of a software generated key 2.Flash encryption only 3.Can write ciphertext firmware and execute it My setup is not able to fulfil the requirements and reports errors

13248519492a commented 8 months ago

1 2

arosyc commented 8 months ago

Hi, We will release version 3.9.6 recently (about two weeks ) to fix the ESP32-C2 encryption problem. You can refer to the latest documentation for operation.

mahavirj commented 7 months ago

@13248519492a

Interim, you may use the IDF tools for enabling flash encryption on ESP32-C2. Please refer to this guide https://docs.espressif.com/projects/esp-idf/en/latest/esp32c2/security/host-based-security-workflows.html#enable-flash-encryption-externally for externally generated flash encryption key workflow.

I will close this issue for now.