Mahavir Jain
1afc579e07
change(bootloader): honor SECURE_BOOT_ALLOW_UNUSED_DIGEST_SLOTS during first boot
...
Previously the bootloader unconditionally revoked unused secure boot key
digest slots while permanently enabling secure boot on the first boot,
ignoring CONFIG_SECURE_BOOT_ALLOW_UNUSED_DIGEST_SLOTS. Now the config is
honored on this path too: when set, the unused digest slots are left
un-revoked. This is safe as long as the debug and download interfaces are
disabled.
Update the Kconfig help and the Secure Boot v2 guide (en and zh_CN)
accordingly.
2026-06-16 13:30:03 +05:30
Aditya Patwardhan
94be07050f
change(secure_boot): mark ECDSA based Secure Boot V2 as insecure on affected SoCs
...
ECDSA based Secure Boot V2 is not functional for certain input vectors on
ESP32-C5/C61/H2/P4 and on the preview targets ESP32-H4/H21. RSA based Secure
Boot V2 is the recommended scheme where the SoC supports it. This issue will be
fixed in a future hardware ECO revision; more details will be shared through the
hardware errata document.
A new hidden Kconfig option SECURE_BOOT_V2_ECDSA_INSECURE marks the affected
mass-production SoCs (ESP32-C5/C61/H2/P4). On these SoCs, when hardware Secure
Boot V2 is enabled, the ECDSA (V2) signing scheme is no longer offered by
default; it must be turned on explicitly via SECURE_BOOT_V2_FORCE_ENABLE_ECDSA
under "Allow potentially insecure options" (CONFIG_SECURE_BOOT_INSECURE). App
signing without hardware Secure Boot is not affected. Note that ESP32-C61 has no
RSA based Secure Boot V2, so it has no Secure Boot scheme enabled by default.
The preview targets ESP32-H4 and ESP32-H21 mark ECDSA Secure Boot V2 as not
supported in their SoC capabilities instead of using the option above. As
ESP32-H4 has no other Secure Boot V2 scheme, Secure Boot is disabled entirely on
it; ESP32-H21 retains RSA based Secure Boot V2.
The security documentation keeps the ECDSA Secure Boot V2 content visible and
adds a warning describing the limitation (including that ECDSA Secure Boot V2 on
ESP32-C61 is not recommended for production). CI apps that exercise ECDSA Secure
Boot V2 on the affected SoCs set CONFIG_SECURE_BOOT_V2_FORCE_ENABLE_ECDSA
accordingly.
2026-06-10 18:06:48 +05:30
Jiang Jiang Jian
83a088da13
Merge branch 'feat/support_persistent_esp_rsa_ds_keys_v6.0' into 'release/v6.0'
...
Support persistent ESP RSA DS keys (v6.0)
See merge request espressif/esp-idf!48523
2026-05-15 15:46:46 +08:00
harshal.patil
513efdf89a
refactor(mbedtls/test): Move the mbedtls test app to support multiple test apps
2026-05-15 09:28:42 +05:30
renpeiying
f54b53d86c
docs: Update CN translation for security docs
2026-05-15 11:31:41 +08:00
Ashish Sharma
04ec0ab538
feat(bootloader_support): remove P192 curve support
2026-05-10 19:16:12 +08:00
Mahavir Jain
64c744abb7
docs: update PSRAM and flash encryption docs with per-page and separate key capabilities
2026-04-02 12:20:24 +05:30
Ashish Sharma
a5f46aa6ee
docs(security): adds data partition verification docs
2026-03-20 15:08:54 +08:00
morris
3ae282f796
Merge branch 'change/deprecate_tcm_and_use_scp_v6.0' into 'release/v6.0'
...
tcm: deprecated tcm and added scp memory utils (v6.0)
See merge request espressif/esp-idf!46588
2026-03-19 23:34:57 +08:00
Aditya Patwardhan
891ddca56e
Merge branch 'feat/introduce_esp_rsa_ds_opaque_key_context_v6.0' into 'release/v6.0'
...
Extend opaque driver context to add Key recovery info (v6.0)
See merge request espressif/esp-idf!46074
2026-03-19 19:45:02 +05:30
Shen Mengjing
1e05e719e1
docs: Update CN translation for key manager related docs
2026-03-18 16:42:28 +05:30
harshal.patil
629a4e2444
docs(key-manager): Add Key-Manager peripheral related documentation
2026-03-18 16:42:21 +05:30
armando
45ec3b962b
fix(spm): rename scp (scratchpad) to spm (scratchpad memory)
2026-03-18 09:49:59 +08:00
armando
1b85ad5081
change(mem): deprecated tcm and added scp memory utils
2026-03-18 09:49:59 +08:00
Chen Jichang
04df934c05
refactor(flash_enc): move esp_flash_encryption_enabled() to efuse component
2026-03-06 18:14:22 +08:00
harshal.patil
91c3738e81
test(mbedtls): Re-introduce the extensive AES, AES-GCM and the SHA tests
...
- Also extend the PSRAM encryption test to ESP32-S3
2026-02-03 13:04:32 +05:30
Aditya Patwardhan
8c7b5de2f3
fix(docs): Fix docs after esp_hal_security update
2026-01-30 17:12:54 +05:30
Zhang Shuxian
90e4b81ffb
docs: implement comments
2025-11-28 10:17:46 +08:00
Zheng Zhong
72d6bde1e5
fix : apply the suggestion from doc team
2025-11-28 10:17:45 +08:00
Zheng Zhong
e3d6eef5a1
docs: fix some description in security guide docs
2025-11-28 10:17:45 +08:00
Laukik Hase
d0f66bad0e
docs(esp_tee): Enable ESP-TEE documentation for ESP32-C61
2025-11-20 11:01:30 +05:30
Laukik Hase
afe8fea489
docs(esp_tee): Enable ESP-TEE documentation for ESP32-C5
2025-10-06 18:49:01 +05:30
Peter Dragun
e3198fff3c
feat: Update esptool to v5
2025-09-30 15:28:55 +02:00
Zhang Shuxian
ff8c82169f
docs: Correct wrong description in secure-boot-v2.rst
2025-09-26 17:23:05 +08:00
WanqQixiang
6b503d0db5
component: Remove wifi_provisioning component and esp_prov tool
2025-09-26 09:48:50 +08:00
Shen Mengjing
71f8405742
docs: Add the updated CN translation
2025-09-19 17:01:29 +05:30
harshal.patil
60ff4bca9b
refactor(esp_system): Update all references of the memory protection configs
2025-08-04 11:43:01 +05:30
Zhang Shuxian
b615ab5a40
docs: Update CN translation for secure boot
2025-07-22 19:14:46 +08:00
Marius Vikhammer
f3d1717408
docs(esp32h4): support building esp32h4 docs
2025-05-13 11:09:15 +08:00
nilesh.kale
4722f49bc7
feat: update documentation for esp32h21
...
This also updated log files for other targets to make consistent.
2025-05-12 12:07:36 +05:30
Zhang Shuxian
111e453c4d
docs: Update CN translation for Secure Boot
2025-04-30 14:20:45 +08:00
harshal.patil
75fd14efbc
fix(docs): Fix unterminated quotes in secure-boot-v2.rst
2025-04-21 11:18:22 +05:30
Marius Vikhammer
1e72b10b26
docs(build): add support for building H21 docs
2025-01-26 11:44:28 +08:00
Mahavir Jain
e1a737e401
refactor(docs): re-organize security docs for better navigation
2025-01-09 09:35:12 +05:30
Laukik Hase
cb84119600
docs(esp_tee): Added documentation for the ESP-TEE framework
...
- Co-authored-by: Shen Meng Jing <shenmengjing@espressif.com >
2025-01-08 11:37:42 +05:30
shenmengjing
29a7146b12
docs: Update CN translation for secure-boot-v2.rst
2024-12-20 11:24:49 +08:00
renpeiying
fb1105f449
docs: Update CN trans for security docs
2024-12-03 11:17:55 +05:30
shenmengjing
6f86f70f0a
docs: Sync CN and EN files
2024-11-05 18:03:42 +08:00
renpeiying
46770a50a6
docs: standardize the names of bootloaders in esp-idf
2024-10-23 11:29:24 +08:00
Aditya Patwardhan
6dc8fe3db3
Merge branch 'docs/update_cn_trans_for_secure_boot_v2' into 'master'
...
docs: Update CN translation for secure-boot-v2.rst
Closes DOC-9082
See merge request espressif/esp-idf!33895
2024-10-08 15:13:59 +08:00
Zhang Shuxian
808a82de81
docs: Update CN translation for secure-boot-v2.rst
2024-10-08 11:09:40 +08:00
renpeiying
757fa4d72c
docs: Update Chinese translation for docs
2024-09-29 11:35:45 +08:00
Mahavir Jain
2b806c9772
Merge branch 'feature/update_security_docs_for_c61' into 'master'
...
feat: update security documents for ESP32C61
Closes IDF-10154, IDF-10155, IDF-10156, IDF-10157, and IDF-10158
See merge request espressif/esp-idf!31959
2024-09-03 19:11:09 +08:00
nilesh.kale
3550e36a68
feat: updated security docs for ESP32C5
...
This commit modified document files for ESP32C5.
This revised chnages for security components, RNG, provisioning and
some minor changes in sample output for flash encryption example.
2024-09-02 11:50:07 +05:30
nilesh.kale
1011cee7a7
feat: udpate security docs for c61 and c5
...
This commit update security documents for ESP32C61.
2024-09-02 11:04:38 +05:30
harshal.patil and Zhang Shuxian
03a15664ee
change(bootloader_support/secure_boot): Improve description of the config SECURE_BOOT_V2_ALLOW_EFUSE_RD_DIS
...
Co-authored-by: Zhang Shuxian <zhangshuxian@espressif.com >
2024-08-21 16:32:54 +05:30
Mahavir Jain
3ec400b332
docs(security): fix ESP32-C3 minimum supported revision for secure boot v2
...
Closes https://github.com/espressif/esp-idf/issues/14377
2024-08-16 15:04:28 +05:30
renpeiying
afd3179ae8
docs: Provide Chinese translation for host-based-security-workflows.rst
2024-08-08 11:03:24 +08:00
shenmengjing
2cf95ac406
docs: Enable secure boot for c5 in CN translation
2024-07-09 10:42:53 +08:00
shenmengjing
3cb4880d02
docs: Add often used espefuse subcommands to idf.py
2024-07-03 17:55:26 +08:00