Tomas Rezucha
73437887da
Create dependabot.yml
2022-03-25 19:45:19 +01:00
Tomas Rezucha
d85b1c8724
Merge pull request #30 from espressif/fix/ci-labels
...
ci: Check runner labels
2022-03-25 08:46:40 +01:00
Tomas Rezucha
bb580ebf90
ci: Get runner label from idf_target
2022-03-25 08:19:38 +01:00
Tomas Rezucha
5bcd51088c
Merge pull request #28 from espressif/feature/clang_tidy
...
ci: add static analysis with clang-tidy
2022-03-22 15:01:21 +01:00
Ivan Grokhotkov
2ecf68c253
ci: add static analysis with clang-tidy
2022-03-22 12:42:20 +01:00
Tomas Rezucha
0d69218634
Merge pull request #27 from espressif/feature/ci/scheduled_tests
...
ci: Run nightly tests
2022-03-21 08:46:09 +01:00
Tomas Rezucha
535be7b79f
ci: Run nightly tests
...
This catches regressions on 4.3, 4.4 and latest release branches
2022-03-18 15:08:54 +01:00
Mahavir Jain
e876229ec1
Merge pull request #24 from laukik-hase/bugfix/libsodium_build
...
`libsodium`: Added forward compatibility with `mbedtls-3.x`
2022-03-11 19:14:42 +05:30
Laukik Hase
0520ca919d
libsodium: Added forward compatibility with `mbedtls-3.x`
2022-03-11 17:41:04 +05:30
Mahavir Jain
71142723e2
Merge pull request #23 from MacDue/const_correct
...
esp_encrypted_img: make code const-correct
2022-03-11 12:26:27 +05:30
MacDue
8486f8bddb
esp_encrypted_img: make code const-correct
...
`pre_enc_decrypt_arg_t.data_in` is not modified so can be const
2022-03-10 16:09:58 +00:00
Tomas Rezucha
35df97f987
Merge pull request #22 from espressif/libsodium/bump-version
...
libsodium: Bump version to 1.0.19
2022-03-09 18:36:55 +01:00
Tomas Rezucha
78303a91bd
libsodium: Bump version to 1.0.19
...
This breaks alignment with upstream libsodium versioning.
libsodium doesn't use semantic versioning,
version 1.0.18 is being continuously updated.
2022-03-09 17:30:29 +01:00
Mahavir Jain
8c331c9b5e
Merge pull request #21 from MacDue/forgot_fixes
...
esp_encrypted_img: fix doc comments and readme formatting
2022-03-09 19:00:11 +05:30
MacDue
ed520f9a51
esp_encrypted_img: fix doc comments and readme formatting
2022-03-09 12:58:17 +00:00
Mahavir Jain
6ce72eb948
Merge pull request #17 from MacDue/encrypted_img_fixes
...
Some fixes/enhancements for esp_encrypted_img
2022-03-09 17:29:04 +05:30
Tomas Rezucha
15a8cd2348
Use checkout v3 and python 3.7-buster
2022-03-08 14:11:54 +00:00
MacDue
d7334f04a2
pre-commit: format code
2022-03-08 11:11:36 +00:00
MacDue
3863d888d4
esp_encrypted_img: bump major
2022-03-08 11:00:21 +00:00
MacDue
0d45d9c58a
Use has_include to detect esp_random.h
2022-03-08 10:48:45 +00:00
MacDue
2a328b2126
libsodium: bump stable version
2022-03-08 10:33:40 +00:00
MacDue
dcd228a753
Fix esp_random includes on idf:latest
2022-03-08 10:33:11 +00:00
MacDue
695aaf6c2f
esp_encrypted_img: pre-commit format code
2022-03-08 09:33:12 +00:00
MacDue
fedc88522b
esp_encrypted_img: use 'wb' file mode instead of 'ab' in encrypt tool
...
'ab' appends to the file if it already exists, which results in
invalid app images.
2022-03-08 09:33:12 +00:00
MacDue
f2b4213b91
esp_encrypted_img: add test for free after decryption canceled
2022-03-08 09:33:12 +00:00
MacDue
c89f4af6f9
esp_encrypted_img: fix handle pointer in tests
2022-03-08 09:33:12 +00:00
MacDue
3bb65a9687
esp_encrypted_img: bump patch version
2022-03-08 09:33:12 +00:00
MacDue
8fbf13dee9
esp_encrypted_img: avoid possible leak of rsa_pem
...
It's possible esp_encrypted_img_decrypt_end() could be called
without any decryption done. E.g. If firmware was going to
be installed there was a network failure that cancelled it.
So rsa_pem should be free'd there too.
Note: freeing a NULL pointer is a no-op
2022-03-08 09:33:12 +00:00
MacDue
724c95488c
esp_encrypted_img: remove unnecessary additional allocations
...
This moves the gcm_key and iv to the esp_encrypted_img_handle,
which is only an additional 48 bytes, and avoids a bunch
of extra error checking & deallocation logic.
got_auth is also allocated on the stack since it's only 16 bytes
2022-03-08 09:33:12 +00:00
MacDue
a087052578
esp_encrypted_img: esp_decrypt_handle_t params not esp_decrypt_handle_t*
...
Replaces esp_decrypt_handle_t* parameters with esp_encrypted_handle_t,
esp_encrypted_handle_t is a void*, esp_decrypt_handle_t* is void**
which is incorrect and produces compiler errors when used in C++.
2022-03-08 09:33:12 +00:00
Tomas Rezucha
d99c3eafc3
Merge pull request #13 from espressif/feature/ci/test_app
...
Run Test Application on target
2022-03-08 10:25:27 +01:00
Tomas Rezucha
06bd5dcbe3
ci: Publish test results
2022-03-03 12:37:39 +01:00
Tomas Rezucha
2019d71fd4
ci: Run Test App on target
2022-03-03 12:37:39 +01:00
Tomas Rezucha
feb0f628a3
ci: Upload build artifacts
...
The artifacts will be used you 'run_test' action
2022-03-03 12:37:39 +01:00
Mahavir Jain
bdd4088007
Merge pull request #15 from hmalpani/bugfix/fix_unused_variable
...
esp_encrypted_img: fix for unused variable error during build
2022-02-24 19:22:06 +05:30
Harshit Malpani
e8efc29976
esp_encrypted_img: fix for unused variable error during build
2022-02-24 19:16:57 +05:30
Mahavir Jain
8490a5f677
Merge pull request #14 from hmalpani/feature/mbedtls_3.1_support
...
pre_encrypted_img: Updated component to support mbedtls-3.1 APIs
2022-02-24 13:49:52 +05:30
Harshit Malpani
894e3d71f6
esp_encrypted_img: Updated component to support mbedtls 3.1 APIs
2022-02-24 12:37:39 +05:30
Mahavir Jain
1e806eec84
Merge pull request #11 from hmalpani/feature/add_coap_to_component_manager
...
Add libcoap to Component Manager
2022-02-23 12:26:24 +05:30
Aditya Patwardhan
b90b4caa8a
mbedtls-3.X: Add patch in port/coap_mbedtls.c
2022-02-22 18:07:33 +05:30
Harshit Malpani
db60efdfb6
Add libcoap to Component Manager
2022-02-17 19:50:30 +05:30
Tomas Rezucha
3e2b836926
Merge pull request #12 from espressif/feature/ci/pre-commit-gh-action
...
Add pre-commit GH action
2022-02-17 15:08:46 +01:00
Tomas Rezucha
2cfa07b678
Add pre-commit GH action
2022-02-17 14:58:44 +01:00
Tomas Rezucha
e651ec16c5
Format code
2022-02-17 14:56:45 +01:00
Mahavir Jain
5362db237b
Merge pull request #10 from hmalpani/feature/add_esp_encrypted_img_component
...
Add esp_encrypted_img to component manager
2022-02-15 12:50:45 +05:30
Harshit Malpani
1d9f9b05c6
Add esp_encrypted_img to component manager
2022-02-15 12:01:47 +05:30
Mahavir Jain
80fa57ec6f
Merge pull request #8 from hmalpani/feature/upgrade_expat_component
...
expat: upgrade to v2.4.3 release
2022-01-28 17:03:19 +05:30
Harshit Malpani
3f3aa2886c
expat: upgrade to v2.4.3 release
...
Detailed Changelog: https://github.com/libexpat/libexpat/blob/R_2_4_3/expat/Changes
2022-01-28 15:56:05 +05:30
Tomas Rezucha
2b53f35752
Merge pull request #6 from espressif/feature/ci/multiple-test-builds
...
Extend test_app builds
2022-01-20 11:17:40 +01:00
Tomas Rezucha
6c797558dc
ci: Build test_app for multiple idf versions and targets
2022-01-20 11:06:53 +01:00