Commit Graph

9 Commits

Author SHA1 Message Date
Ivan Grokhotkov
6d87100a70
feat(examples): add local components via idf_component.yml
Specifying all the dependencies (managed and local) in the manifest
makes it easier for users to see every component the example
depends on.
2023-09-19 10:38:24 +02:00
Harshit Malpani
b9caa324bc
examples: pre_encrypted_ota: update to newer API from esp_encrypted_img component
The members of the esp_decrypt_cfg_t configuration structure have been updated to correctly
reflect that we are using RSA private key member for the decryption purpose. Earlier their names were
incorrect. This old names have been marked as deprecated for IDF 5.2 release. This change can be viewed
at https://github.com/espressif/idf-extra-components/pull/187 and its part of esp_encrypted_img
component version 2.0.4

This commit updated to newer API usage from esp_encrypted_img component v2.0.4 for
pre_encrypted_ota example.
2023-06-23 21:04:41 +05:30
Harshit Malpani
048e7f75b9 example: fix memory leak in pre_encrypted_ota example.
Closes: https://github.com/espressif/esp-idf/issues/9489
2022-08-05 15:12:17 +05:30
Harshit Malpani
cca208f71a Check FW version at start of ota for encrypted binary 2022-03-23 11:09:48 +05:30
Harshit Malpani
c813de50ec example: use decrypt_user_ctx in decryption callback 2022-03-11 18:05:40 +05:30
Mahavir Jain
61c68b7f4d Merge branch 'contrib/github_pr_8544' into 'master'
esp_https_ota: add user_ctx to decrypt_cb (GitHub PR)

Closes IDFGH-6924

See merge request espressif/esp-idf!17456
2022-03-11 15:43:38 +08:00
MacDue
e47419374c esp_https_ota: add user_ctx to decrypt_cb
This makes the decryption layer easier to use in C++ wrappers,
or whenever you want to avoid a global
2022-03-10 12:02:42 +00:00
MacDue
f17a3491e5 examples/pre_encrypted_ota: update to esp_encrypted_img 2.x.x 2022-03-09 16:30:22 +00:00
Harshit Malpani
5a6dbaa487 feature: Pre Encrypted Binary for OTA updates
This feature enables using encrypted binaries for OTA updates

Closes https://github.com/espressif/esp-idf/issues/6172
2022-02-17 10:48:41 +05:30