esp-idf/tools
Mahavir Jain f2743707b8 fix(ota): additional checks for secure version in anti-rollback case
Some additional checks related to secure version of the application in
anti-rollback case have been added to avoid any attempts to boot lower
security version but valid application (e.g., passive partition image).

- Read secure_version under sha256 protection

- First check has been added in the bootloader to ensure correct secure
  version after application verification and loading stage. This check
  happens before setting up the flash cache mapping and handling over
  the final control to application. This check ensures that application
  was not swapped (e.g., to lower security version but valid image) just
  before the load stage in bootloader.

- Second check has been added in the application startup code to ensure
  that currently booting app has higher security version than the one
  programmed in the eFuse for anti-rollback scenario. This will ensure
  that only the legit application boots-up on the device for
  anti-rollback case.
2024-02-15 15:14:51 +02:00
..
ble feat: add requirements.ttfw.txt 2022-08-01 15:52:21 +08:00
catch Whitespace: Automated whitespace fixes (large commit) 2020-11-11 07:36:35 +00:00
ci fix(kconfcheck): Fixed false-positive indent errors and extended limits 2024-01-15 09:15:58 +01:00
cmake change(version): Update version to 5.0.5 2023-12-13 13:49:52 +05:50
docker feat(docker): allow to add paths into git's safe.directory 2023-12-01 08:31:06 +01:00
esp_app_trace idf.py: Change copyright in tools dir 2022-05-24 14:01:50 +02:00
esp_prov fix(esp_prov): update devices tuple usage due to API deprecations 2023-08-24 14:48:39 +05:30
gen_soc_caps_kconfig build-system: include soc_caps defines into kconfig 2021-12-06 12:37:07 +08:00
idf_monitor_base feat(tools/monitor): add simple port detection 2023-10-05 16:29:43 +02:00
idf_py_actions fix(gdbgui): Fix support of gdbgui on Unix with Python 3.11 2024-01-05 18:52:37 +01:00
idf_size_yaml tools: update esp32c2_data_info_yaml 2022-02-15 15:14:42 +08:00
kconfig_new Confgen: KConfig options not set in sdkconfig.defaults files can now be renamed 2022-08-26 16:34:21 +08:00
ldgen fix(ldgen): duplicate entries in the generated .ld file 2023-09-21 19:41:24 +08:00
mass_mfg tools: Introduce support for blank lines in config and value files for mfg utility 2022-07-08 13:22:35 +00:00
mocks Merge branch 'feature/mqtt_cmakefile_cleanup_v5.0' into 'release/v5.0' 2022-12-05 20:43:10 +08:00
requirements fix(gdbgui): Fix support of gdbgui on Unix with Python 3.11 2024-01-05 18:52:37 +01:00
templates/sample_component add new command to idf 2020-09-21 23:38:52 +02:00
test_apps fix(ota): additional checks for secure version in anti-rollback case 2024-02-15 15:14:51 +02:00
test_idf_monitor tools: Remove ELF-file-based IDF Monitor tests 2023-06-19 16:56:20 +02:00
test_idf_py tools: fixed elf symbols load if gdbinit specified 2022-10-03 18:48:16 +04:00
test_idf_size fix: noload being included in ram and flash sizes 2023-08-11 22:32:11 +02:00
test_idf_tools fix(idf_tools): Opt for the recommended tool in tools.json rather than the supported one (v5.0) 2023-12-12 14:19:39 +08:00
test_mkdfu mkdfu.py: Support setting flash parameters 2022-05-27 15:44:56 +02:00
test_mkuf2 idf.py: Change copyright in tools dir 2022-05-24 14:01:50 +02:00
unit-test-app feat(mbedtls): add new config CONFIG_MBEDTLS_USE_CRYPTO_ROM_IMPL for mbedtls unit-test 2023-10-26 21:00:27 +08:00
check_python_dependencies.py bug(tools): dependency check catch exception when package not installed 2023-08-30 17:14:10 +02:00
check_term.py check_term: allow alacritty term 2022-05-19 11:10:59 +08:00
detect_python.fish Tools: Use default value in the Python detections scripts 2022-03-11 11:00:31 +01:00
detect_python.sh Tools: Use default value in the Python detections scripts 2022-03-11 11:00:31 +01:00
eclipse-code-style.xml tools: add code formatter rules for Eclipse 2016-11-03 18:41:00 +08:00
format-minimal.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
format.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
gdb_panic_server.py newlib: ROM library is build with time_t 64bit on esp32c2 2022-06-09 10:48:31 +08:00
gen_esp_err_to_name.py Tools: Fix flake8 version 5 warnings 2022-08-12 15:36:11 +02:00
generate_debug_prefix_map.py build: create BUILD_DIR/prefix_map_gdbinit when enable reproducible build 2021-10-26 10:55:00 +08:00
idf_monitor.py feat(tools/monitor): add simple port detection 2023-10-05 16:29:43 +02:00
idf_size.py fix: noload being included in ram and flash sizes 2023-08-11 22:32:11 +02:00
idf_tools.py fix(idf_tools): Opt for the recommended tool in tools.json rather than the supported one (v5.0) 2023-12-12 14:19:39 +08:00
idf.py fix(tools): extend error message for failed python module import 2023-09-08 07:29:56 +02:00
install_util.py Tools: --disable-* argument for removing features 2022-06-30 12:31:59 +02:00
mkdfu.py mkdfu.py: Support setting flash parameters 2022-05-27 15:44:56 +02:00
mkuf2.py Tools: Fix flake8 version 5 warnings 2022-08-12 15:36:11 +02:00
python_version_checker.py Tools: Fix silent failure about the incompatible Python 2022-02-16 18:44:13 +01:00
requirements_schema.json Tools: Make easier the detection of the list of Python features 2022-02-03 19:02:14 +01:00
requirements.json feat: add requirements.ttfw.txt 2022-08-01 15:52:21 +08:00
set-submodules-to-github.sh global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs 2020-04-03 01:10:02 +02:00
split_paths_by_spaces.py tools: fixup version references related to paths with spaces 2022-05-02 19:05:47 +02:00
tools_schema.json tools: add esp-rom-elfs version '20220823' 2022-10-03 18:48:16 +04:00
tools.json feat(tools): update gdb version to 12.1_20231023 2023-11-24 11:17:52 +04:00