1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-19 03:40:59 +00:00
trezor-firmware/core/embed/bootloader
Pavol Rusnak 35d40cc164 fix(core): change logic of vendor header comparison
Previously we checked whether the current vendor header and
the new vendor header are the same by comparing the embedded keyset.

What originally looked like a good idea is not that good, because
this disallows us from ever changing the vendor header signing keys
without causing erasure of the storage during the version update.

This commit fixes that by changing the logic to comparing just the
vendor string.

Change of function names is purely cosmetic:
* vendor_keys_hash -> vendor_header_hash
* check_vendor_keys_lock -> check_vendor_header_lock
2022-01-03 14:23:58 +01:00
..
.changelog.d fix(core): change logic of vendor header comparison 2022-01-03 14:23:58 +01:00
protob chore(vendor): update nanopb to 0.4.5 2021-07-14 17:34:12 +02:00
.towncrier.template.md docs(core+legacy): use towncrier for generating CHANGELOG.md 2021-07-21 14:27:20 +02:00
bootloader_flash.jlink core: commands for flashing via JLink (#911) 2020-03-23 10:40:06 +01:00
bootui.c refactor(core): rework color definitions in bootloader 2021-03-10 18:33:00 +01:00
bootui.h refactor(core): drop buttons argument for ui_screen_firmware_info 2021-03-10 17:42:52 +01:00
CHANGELOG.md docs(core+legacy): use towncrier for generating CHANGELOG.md 2021-07-21 14:27:20 +02:00
CHANGELOG.unreleased docs(core+legacy): use towncrier for generating CHANGELOG.md 2021-07-21 14:27:20 +02:00
header.S MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
icon_cancel.h MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
icon_confirm.h MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
icon_done.h MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
icon_fail.h MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
icon_info.h MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
icon_install.h MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
icon_logo.h MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
icon_safeplace.h MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
icon_welcome.h MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
icon_wipe.h MONOREPO CREATE FROM trezor-core 2019-04-15 19:14:40 +02:00
main.c fix(core): change logic of vendor header comparison 2022-01-03 14:23:58 +01:00
memory.ld all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
messages.c fix(core): change logic of vendor header comparison 2022-01-03 14:23:58 +01:00
messages.h all: rename TREZOR to Trezor where possible 2019-06-17 20:28:29 +02:00
startup.s refactor(core): rename shutdown to shutdown_privileged 2021-06-23 16:40:45 +02:00
towncrier.toml docs(core+legacy): use towncrier for generating CHANGELOG.md 2021-07-21 14:27:20 +02:00
version.h core: bump versions of firmware to 2.1.1, bootloader to 2.0.4 2019-04-23 21:31:00 +02:00