Search found 25 matches

by RuslanPopov
Wed Nov 06, 2024 10:07 pm
Forum: ESP-IDF
Topic: [SecureBoot v1] Signature verification failed
Replies: 3
Views: 974

Re: [SecureBoot v1] Signature verification failed

My fault. I found the right key for signing... ;)
by RuslanPopov
Wed Nov 06, 2024 9:46 am
Forum: ESP-IDF
Topic: [SecureBoot v1] Signature verification failed
Replies: 3
Views: 974

Re: [SecureBoot v1] Signature verification failed

So, I have performed the following steps: 1. I returned the environment at the time of ESP-IDF v4.4.4, at which my devices were created. 2. I found all the ECDSA keys that are available to me. One by one, I signed and uploaded the application to the device. Naturally, I used the correct encryption k...
by RuslanPopov
Mon Oct 28, 2024 8:42 pm
Forum: ESP-IDF
Topic: [SecureBoot v1] Signature verification failed
Replies: 3
Views: 974

Re: [SecureBoot v1] Signature verification failed

Is there any difference between 4.4.4 and 4.4.7, I think about espsecure.py...
by RuslanPopov
Sun Oct 27, 2024 10:06 pm
Forum: ESP-IDF
Topic: [SecureBoot v1] Signature verification failed
Replies: 3
Views: 974

[SecureBoot v1] Signature verification failed

Hi all. I have a pack of devices that I flashed with SecureBoot v1 a couple of years ago using ESP-IDF v4.4.4. An error was made in the firmware, which led to the inability of OTA due to the outdated certificate that was flashed in the devices. But I carefully store the keys to all devices and decid...
by RuslanPopov
Sun Mar 05, 2023 4:55 pm
Forum: ESP-IDF
Topic: [Solved] Secure boot signature verification failed
Replies: 16
Views: 11228

Re: Secure boot signature verification failed

Thanks. All works fine!
by RuslanPopov
Thu Mar 02, 2023 8:42 pm
Forum: ESP-IDF
Topic: [Solved] Secure boot signature verification failed
Replies: 16
Views: 11228

Re: Secure boot signature verification failed

Also, I have the following configuration: grep SIGN configurations/sdkconfig-latch-sim800 CONFIG_SECURE_SIGNED_ON_BOOT=y CONFIG_SECURE_SIGNED_ON_UPDATE=y CONFIG_SECURE_SIGNED_APPS=y CONFIG_SECURE_SIGNED_APPS_RSA_SCHEME=y # CONFIG_SECURE_BOOT_BUILD_SIGNED_BINARIES=y # CONFIG_SECURE_BOOT_SIGNING_KEY="...
by RuslanPopov
Thu Mar 02, 2023 5:58 pm
Forum: ESP-IDF
Topic: [Solved] Secure boot signature verification failed
Replies: 16
Views: 11228

Re: Secure boot signature verification failed

Build signed application, decide this application as base application. Then it is needed to have an application signed for particular device using the device's key. Make sign_data process, no errors. At the end of OTA the device can not verify the signature. Build signed application from scratch usi...
by RuslanPopov
Thu Feb 23, 2023 9:01 am
Forum: ESP-IDF
Topic: [Solved] Secure boot signature verification failed
Replies: 16
Views: 11228

Re: Secure boot signature verification failed

Your utility can not resign the application binary!
by RuslanPopov
Wed Feb 22, 2023 6:06 pm
Forum: ESP-IDF
Topic: [Solved] Secure boot signature verification failed
Replies: 16
Views: 11228

Re: Secure boot signature verification failed

Ah. I've found a solution. There is a bug in sign_data implementation...
by RuslanPopov
Wed Feb 22, 2023 12:27 pm
Forum: ESP-IDF
Topic: [Solved] Secure boot signature verification failed
Replies: 16
Views: 11228

Re: Secure boot signature verification failed

Hmm, I did a hack: Build the application on the notebook with applying signature during build process. Run OTA with breakpoint on obtaining application. Upload the builded and signed (by notebook) application to OTA server. Begin the OTA process And the final was: D (892411) OTA: Written image lengt...