esp-idf/tools
Mahavir Jain 4c95aa445d 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:08:26 +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 feat(nimble): added HID over Gatt profile support 2023-12-20 09:58:26 +05:30
cmake Merge branch 'feat/all_components' into 'master' 2023-10-16 17:40:12 +08:00
docker feat(docker): Add Dockerfile argument for variable clone depth 2023-12-18 17:37:20 +08:00
esp_app_trace fix: Replace deprecated flushregs alias with full gdb command 2023-07-13 09:26:47 +02:00
esp_prov ci: remove ttfw related files 2023-10-16 10:23:09 +02:00
gen_soc_caps_kconfig build-system: include soc_caps defines into kconfig 2021-12-06 12:37:07 +08:00
idf_py_actions Merge branch 'bugfix/coredump_detect_v5.2' into 'release/v5.2' 2023-12-26 10:38:43 +08:00
kconfig_new feat(tools/kconfig): add initial and current versions of IDF to kconfig 2023-07-10 17:01:51 +02:00
ldgen change(esp_hw_support/sleep): rename ESP_SLEEP_DEEP_SLEEP_WAKEUP_DELAY 2023-12-27 15:35:00 +08:00
mass_mfg docs: Update CN for nvs_flash.rst and flash-encryption.rst 2023-07-14 04:05:53 +00:00
mocks fix(wifi): fix psram enabled but initialized fail issue 2023-12-08 13:08:55 +00:00
requirements fix(tools): Fix fatfsgen construct exception type and dependency 2023-12-04 17:21:10 +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:08:26 +02:00
test_build_system feat(ci): add test for custom cmake CMAKE_EXECUTABLE_SUFFIX 2023-11-20 10:48:47 +01:00
test_idf_py Merge branch 'feat/all_components' into 'master' 2023-10-16 17:40:12 +08:00
test_idf_tools fix(idf_tools): Opt for the recommended tool in tools.json rather than the supported one 2023-12-12 14:25:25 +08:00
test_mkdfu mkdfu.py: Support setting flash parameters 2022-05-27 15:44:56 +02:00
unit-test-app ci: remove ttfw related files 2023-10-16 10:23:09 +02:00
check_python_dependencies.py bug(tools): dependency check catch exception when package not installed 2023-08-28 16:03:15 +02:00
check_term.py check_term: allow alacritty term 2022-05-19 11:10:59 +08:00
detect_python.fish feat: Drop Python 3.7 support 2023-08-08 08:37:29 +02:00
detect_python.sh feat: Drop Python 3.7 support 2023-08-08 08:37:29 +02:00
eclipse-code-style.xml
format.sh ci: add astyle pre-commit check 2023-09-27 08:43:45 +02:00
gdb_panic_server.py feat(tools): remove gdb_panic_server and use just a wrapper for script 2023-08-24 15:20:29 +02:00
gen_esp_err_to_name.py tool: skip test folder when generating esp_err_t table 2022-11-10 10:37:59 +08: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(idf_monitor): move idf_monitor to separate repo 2023-02-03 11:20:15 +01:00
idf_size.py tools: Move out idf_size.py in favour of using the esp-idf-size package 2023-03-27 19:40:33 +02:00
idf_tools.py fix(idf_tools): Opt for the recommended tool in tools.json rather than the supported one 2023-12-12 14:25:25 +08:00
idf.py feat(tools): Added IDF path order check for Windows platform 2023-10-24 15:34:41 +02:00
install_util.py ci: remove ttfw related files 2023-10-16 10:23:09 +02:00
mkdfu.py tools: remove the dependency on the future package 2022-08-09 16:46:58 +02:00
mkuf2.py feat(tools): move uf2 generation to esptool 2023-10-09 15:38:30 +02:00
python_version_checker.py feat: Drop Python 3.7 support 2023-08-08 08:37:29 +02: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 ci: remove ttfw related files 2023-10-16 10:23:09 +02: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 feat(tools): Option in tools.json to rename toolchanis being downloaded 2023-10-17 12:28:02 +02:00
tools.json Merge branch 'feature/update-gdb-to-12.1_20231023_v5.2' into 'release/v5.2' 2023-12-26 10:32:07 +08:00