Nespressif
Sure, I will update here once I modify the documentation.
Please note that you can also try out the instructions on qemu emulation of respective target for e.g., qemu emulated esp32c3 or esp32s3.
This example https://github.com/espressif/esp-idf/tree/master/examples/security/security ...
Search found 28 matches
- Thu Apr 03, 2025 5:28 am
- Forum: ESP-IDF
- Topic: secure boot and encryption for production programming
- Replies: 8
- Views: 3102
- Wed Apr 02, 2025 8:40 am
- Forum: ESP-IDF
- Topic: secure boot and encryption for production programming
- Replies: 8
- Views: 3102
Re: secure boot and encryption for production programming
@bram128,
I see,
there is no need to compile the firmware twice. It only needs to be compiled once.
The issue that you face is because, we combined the two workflows Secure Boot and Flash Encryption together to avoid duplicate instructions. I will update it once again to keep the separate section ...
I see,
there is no need to compile the firmware twice. It only needs to be compiled once.
The issue that you face is because, we combined the two workflows Secure Boot and Flash Encryption together to avoid duplicate instructions. I will update it once again to keep the separate section ...
- Fri Mar 28, 2025 5:11 am
- Forum: ESP-IDF
- Topic: secure boot and encryption for production programming
- Replies: 8
- Views: 3102
Re: secure boot and encryption for production programming
Hi @bram128 @Nespressif
Can you please let me know at what location did you face the issue? and what part is not working for your case ?
Thanks,
Aditya
Can you please let me know at what location did you face the issue? and what part is not working for your case ?
Thanks,
Aditya
- Mon Mar 25, 2024 1:42 am
- Forum: ESP-IDF
- Topic: Encryption via espsecure.py
- Replies: 5
- Views: 5937
Re: Encryption via espsecure.py
Hi Especially_Embedded,
I did use the enable-flash-encryption-externally instruction, does this essentially set all bits required for "release" mode?
Yes, the instructions are provided for the release mode. The step related to burning security related eFuses in https://docs.espressif.com ...
I did use the enable-flash-encryption-externally instruction, does this essentially set all bits required for "release" mode?
Yes, the instructions are provided for the release mode. The step related to burning security related eFuses in https://docs.espressif.com ...
- Wed Mar 20, 2024 3:44 am
- Forum: ESP-IDF
- Topic: Encryption via espsecure.py
- Replies: 5
- Views: 5937
Re: Encryption via espsecure.py
Hi Especially_Embedded,
Thanks for the issue, sorry for the delayed reply.
In the steps that you have mentioned below
. BURN a known encryption key to BLOCK1 from file via espefuse.py burn_key so that it is not auto-generated on boot
2. Enable encryption in development mode via menuconfig, then ...
Thanks for the issue, sorry for the delayed reply.
In the steps that you have mentioned below
. BURN a known encryption key to BLOCK1 from file via espefuse.py burn_key so that it is not auto-generated on boot
2. Enable encryption in development mode via menuconfig, then ...
- Thu Feb 22, 2024 7:54 am
- Forum: ESP-IDF
- Topic: Fatal error ESP32S2 after Secure Boot Experiments
- Replies: 5
- Views: 2866
Re: Fatal error ESP32S2 after Secure Boot Experiments
Hi stan-k
I see.
Since Secure Boot is a security feature on which the root of trust depends completely, hence it is not possible to disable secure boot once it is enabled for the device.
After you have disabled the ROM DL mode then the espefuse script would not work with the chip. So no more eFuse ...
I see.
Since Secure Boot is a security feature on which the root of trust depends completely, hence it is not possible to disable secure boot once it is enabled for the device.
After you have disabled the ROM DL mode then the espefuse script would not work with the chip. So no more eFuse ...
- Tue Feb 20, 2024 10:43 am
- Forum: ESP-IDF
- Topic: Fatal error ESP32S2 after Secure Boot Experiments
- Replies: 5
- Views: 2866
Re: Fatal error ESP32S2 after Secure Boot Experiments
Hi stan-k,
As Nespressif has suggested, are you able to obtain the eFuse summary, can you share it with us?
I am sharing a link to a similar issue faced on esp32 https://github.com/espressif/esptool/issues/741 Can you see if the steps given there help your use-case?
Thanks,
Aditya
As Nespressif has suggested, are you able to obtain the eFuse summary, can you share it with us?
I am sharing a link to a similar issue faced on esp32 https://github.com/espressif/esptool/issues/741 Can you see if the steps given there help your use-case?
Thanks,
Aditya
- Sat Feb 17, 2024 5:23 am
- Forum: ESP-IDF
- Topic: IDF v4.4 ESP32 secure boot and flash encryption step-by-step
- Replies: 19
- Views: 26737
Re: IDF v4.4 ESP32 secure boot and flash encryption step-by-step
Hi ChrisAlfred and Nespressif,
Please allow me to clear your doubts.
Here is my explanation for the questions raised above.
Question 1
(1) In step "5. Encrypt and flash the binaries." there is the command line:
CODE: SELECT ALL
espsecure.py encrypt_flash_data --keyfile my_flash_encryption_key ...
Please allow me to clear your doubts.
Here is my explanation for the questions raised above.
Question 1
(1) In step "5. Encrypt and flash the binaries." there is the command line:
CODE: SELECT ALL
espsecure.py encrypt_flash_data --keyfile my_flash_encryption_key ...
- Mon Nov 20, 2023 7:44 am
- Forum: ESP-IDF
- Topic: Eror in esp-cryptoauthlib atecc608b
- Replies: 3
- Views: 6936
Re: Eror in esp-cryptoauthlib atecc608b
Hi oedzee,
It looks like this issue is related to the Serial Port.
The script esp_cryptoauth_utility internally uses esptool.
Below are some requirements for serial connection with esptool related to Serial Port.
https://docs.espressif.com/projects/esptool/en/latest/esp32/esptool/basic-options.html ...
It looks like this issue is related to the Serial Port.
The script esp_cryptoauth_utility internally uses esptool.
Below are some requirements for serial connection with esptool related to Serial Port.
https://docs.espressif.com/projects/esptool/en/latest/esp32/esptool/basic-options.html ...
- Mon Oct 16, 2023 9:16 am
- Forum: ESP-IDF
- Topic: Flash encryption with micropython and reflashing
- Replies: 1
- Views: 2821
Re: Flash encryption with micropython and reflashing
Hi MauroDiam,
I'm not using the reflashing option (see here) of the Flash encryption Development mode, bacause the efuse FLASH_CRYPT_CNT has just 7 bits so the board could be reflashed just 4 times, is it correct?
Please note that the 7 bits are not related to the flashing.
Those 7 bits indicate ...
I'm not using the reflashing option (see here) of the Flash encryption Development mode, bacause the efuse FLASH_CRYPT_CNT has just 7 bits so the board could be reflashed just 4 times, is it correct?
Please note that the 7 bits are not related to the flashing.
Those 7 bits indicate ...