1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-19 22:18:13 +00:00
trezor-firmware/core
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 Merge branch 'release/21.12' 2021-12-08 14:53:56 +01:00
assets
embed fix(core): change logic of vendor header comparison 2022-01-03 14:23:58 +01:00
mocks feat(core/rust): add example layout for T1 2021-11-24 15:36:34 +01:00
prof style(all): use f-strings for formatting 2021-10-13 11:53:17 +02:00
site_scons/site_tools/micropython style(all): use f-strings for formatting 2021-10-13 11:53:17 +02:00
src feat(common): enable Taproot on Groestlcoin 2021-12-20 22:49:36 +01:00
tests Merge branch 'release/21.12' 2021-12-08 14:53:56 +01:00
tools style(all): use f-strings for formatting 2021-10-13 11:53:17 +02:00
vendor
.dockerignore
.gitignore feat(core/monero): cache Monero testing chain between runs 2021-06-23 11:51:18 +02:00
.towncrier.template.md docs(core): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
asan_blacklist.txt
AUTHORS
CHANGELOG.md docs: update links in changelogs (#2013) 2021-12-17 14:53:21 +01:00
CHANGELOG.unreleased docs(core): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00
COPYING
emu.py feat(core/emu.py): erase profile when running emu.py -e 2021-05-06 13:14:21 +02:00
emu.sh core: remove src1 2020-08-03 15:59:57 +02:00
Makefile ci: add core unit test t1 2021-11-24 15:36:34 +01:00
README.md ci: enable editorconfig checks, fix whitespace issues 2020-11-11 14:43:50 +01:00
SConscript.boardloader chore(vendor): bump micropython to 1.17 2021-09-17 11:18:14 +02:00
SConscript.bootloader chore(vendor): bump micropython to 1.17 2021-09-17 11:18:14 +02:00
SConscript.bootloader_ci chore(vendor): bump micropython to 1.17 2021-09-17 11:18:14 +02:00
SConscript.firmware feat(core/rust): add support for T1 UI 2021-11-24 15:36:34 +01:00
SConscript.prodtest chore(vendor): bump micropython to 1.17 2021-09-17 11:18:14 +02:00
SConscript.reflash chore(vendor): bump micropython to 1.17 2021-09-17 11:18:14 +02:00
SConscript.unix build(core/emulator): build with -fPIE 2021-12-06 16:25:59 +01:00
SConstruct core/bootloader_ci: fix typos in the previous commit 2020-08-21 14:47:35 +02:00
towncrier.toml docs(core): use towncrier for generating CHANGELOG.md 2021-05-04 14:18:01 +02:00

Trezor Core

Firmware currently running on Model T.

See docs/core for more info.