esp-idf/tools/test_apps/system
Mahavir Jain 83ec466b26 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:10:28 +02:00
..
bootloader_sections fix(ota): additional checks for secure version in anti-rollback case 2024-02-15 15:10:28 +02:00
build_test feat(mac): Add a configuration to set custom MAC as base MAC 2023-12-07 14:15:40 +08:00
cxx_build_test cxx: gnu++23 -> gnu++2b for clang compatibility, added docs and test 2023-05-11 17:48:38 +08:00
cxx_no_except tools: Increase the minimal supported CMake version to 3.16 2022-06-01 06:35:02 +00:00
cxx_pthread_bluetooth build: Adds support for universal Clang toolchain 2022-11-23 13:25:16 +03:00
eh_frame esp32h4: removed esp32h4 related codes 2023-04-26 18:53:12 +08:00
g0_components esp32h4: remove esp32h4 target from ci 2023-04-26 18:53:12 +08:00
g1_components g1: add esp_mm to g1 list 2023-02-07 20:23:52 +08:00
gdb esp32h2: add build test 2023-01-17 10:29:04 +08:00
gdb_loadable_elf ci: add ci workaround for gdb_loadable_elf 2023-02-01 17:57:28 +08:00
longjmp_test TWDT: Use the new TWDT Kconfig options in the examples and tests 2023-02-17 11:22:25 +08:00
memprot Merge branch 'ci/system_apps_pytest' into 'master' 2022-08-01 16:45:09 +08:00
no_embedded_paths docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00
panic feat(coredump): add panic details to the elf file 2023-08-28 18:48:16 +02:00
ram_loadable_app test_apps: add test case for flash mmap data integrity in ram loadable app 2023-03-20 11:12:11 +05:30
startup esp32h4: remove esp32h4 target from ci 2023-04-26 18:53:12 +08:00
test_watchpoint bugfix(esp_system): made watchpoint setting configuration-dependent 2023-03-13 14:24:15 +08:00
unicore_bootloader test_apps: Test multicore app can be run by unicore bootloader 2023-03-29 03:47:55 +08:00