Search found 24 matches

by ESP_harshal
Thu Oct 17, 2024 5:04 am
Forum: ESP-IDF
Topic: Flash encryption with internal key generation boots with "invalid header"
Replies: 6
Views: 895

Re: Flash encryption with internal key generation boots with "invalid header"

ESP-IDF does not support a partition of subtype "nvs" to be marked as "encrypted": reference: https://github.com/espressif/esp-idf/blob/release/v5.3/components/nvs_flash/src/nvs_partition_lookup.cpp#L21-L23 . You could enable the NVS encryption feature for the partition by initializing it using `nvs...
by ESP_harshal
Wed Oct 16, 2024 8:58 am
Forum: ESP-IDF
Topic: Flash encryption with internal key generation boots with "invalid header"
Replies: 6
Views: 895

Re: Flash encryption with internal key generation boots with "invalid header"

I realised that removing the "encrypted" flag from the last partition was solving the problem.
With the "last partition", do you mean the "storage" nvs partition?
by ESP_harshal
Tue Oct 15, 2024 6:22 am
Forum: ESP-IDF
Topic: Flash encryption with internal key generation boots with "invalid header"
Replies: 6
Views: 895

Re: Flash encryption with internal key generation boots with "invalid header"

Hello @Lobelois,

Is it possible for you to share your partition table csv?
by ESP_harshal
Tue Aug 06, 2024 4:05 am
Forum: ESP-IDF
Topic: esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x6C00
Replies: 2
Views: 1492

Re: esp-tls-mbedtls: mbedtls_ssl_handshake returned -0x6C00

Hi @askash kadam,

I think you should use the

Code: Select all

.crt_bundle_attach
element for the config to attach the cert bundle instead of

Code: Select all

.cert_pem
. The

Code: Select all

.cert_pem
element expects a certificate string whereas

Code: Select all

.crt_bundle_attach
expects a callback function pointer.

Thank you!
by ESP_harshal
Tue Aug 06, 2024 3:49 am
Forum: ESP-IDF
Topic: espidf 5.3 mbedtls removed function (mbedtls_pk_load_file)?
Replies: 2
Views: 1179

Re: espidf 5.3 mbedtls removed function (mbedtls_pk_load_file)?

Hi @fschuetz, A similar issue has been reported in the mbedtls issues as well, could you please take a look into this thread https://github.com/libssh2/libssh2/commit/2e4c5ec4627b3ecf4b6da16f365c011dec9a31b4#commitcomment-141379351 . I think the crux of the above discussion is that the mbedtls_pk_lo...
by ESP_harshal
Mon Jul 22, 2024 9:06 am
Forum: ESP-IDF
Topic: Issue with Secure Boot v1 in ESP-IDF
Replies: 1
Views: 924

Re: Issue with Secure Boot v1 in ESP-IDF

Hello @vkp2808, I tried using the v5.2.2 tag of ESP-IDF but I was unable to recreate the issue. Using which ESP-IDF release are you facing the issue? You could also try out secure boot using QEMU (emulator) to "conserve" your testing devkits: 1. Build your firmware 2. Merge the binaries using: (cd b...
by ESP_harshal
Wed Mar 27, 2024 7:19 am
Forum: ESP-IDF
Topic: Securing firmware using flash encryption
Replies: 1
Views: 1304

Re: Securing firmware using flash encryption

Hi @bramalka, I would suggest you to use the Flash Encryption development mode for generating a production-ready device. Reference docs: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/security/flash-encryption.html#flash-enc-release-mode . While using development mode, you can disable f...
by ESP_harshal
Wed Mar 27, 2024 7:10 am
Forum: ESP-IDF
Topic: Secure Boot V1 on ESP32 Rev1 OR Rev3
Replies: 3
Views: 1722

Re: Secure Boot V1 on ESP32 Rev1 OR Rev3

Hello @mikecarlos,

The steps that you have followed are correct and even I tried them out at my end and the device boots correctly.
But I am not sure why the bootloader does not boot up in your case. Could you share your sdkconfig file to help me to reproduce the issue?
by ESP_harshal
Mon Mar 04, 2024 9:27 am
Forum: ESP-IDF
Topic: Efuse error when Running ESP32-C3 app on QEMU
Replies: 1
Views: 1858

Re: Efuse error when Running ESP32-C3 app on QEMU

Hi @yaghmr,

Addressing this issue at: https://github.com/espressif/esp-insigh ... 1976104736.

Thanks!
by ESP_harshal
Mon Mar 04, 2024 7:32 am
Forum: ESP-IDF
Topic: ESP32-S3 stuck in sha_hal_wait_idle
Replies: 3
Views: 2035

Re: ESP32-S3 stuck in sha_hal_wait_idle

Skimmed through the sdkconfig and it looks just normal.
I'll try to build a smaller repro.
Thanks that would be really helpful!