1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 09:28:13 +00:00
Commit Graph

13966 Commits

Author SHA1 Message Date
Martin Milata
50da2bdfd1 chore(common): set definition timestamp to the current signed definitions
[no changelog]
2024-09-03 18:45:43 +02:00
Ioan Bizău
423f159794 chore(core): update fixtures and fix style 2024-09-03 18:59:53 +03:00
obrusvit
3de7256103 chore(core/mercury): fix UI test for everstake
[no changelog]
2024-09-03 18:59:53 +03:00
Ioan Bizău
ba8f0ea4bc feat(core): use new ETH send flow also for staking 2024-09-03 18:59:53 +03:00
obrusvit
c5f9fadbd1 fix(core/mercury): show remaining shares
This commit enables showing "Remaining shares" from the context menu
during recovery process. This is only shown during super-shamir.
2024-09-03 14:20:34 +02:00
tychovrahe
708b0274f5 chore(core): bump monotonic versions
[no changelog]
2024-09-03 13:07:34 +02:00
tychovrahe
b685820fb3 feat(core): implement firmware downgrade protection 2024-09-03 13:07:34 +02:00
tychovrahe
395a4af9be refactor(core): extract monotonic version to model specific headers
[no changelog]
2024-09-03 13:07:34 +02:00
tychovrahe
c1864a2a91 refactor(core): enclose monotonic counter to platform specific module
[no changelog]
2024-09-03 13:07:34 +02:00
tychovrahe
d334b92073 feat(core): add bootloader unlocking functionality to U5 optiga models 2024-09-03 13:07:34 +02:00
matejcik
cc9e74772b chore(common): rename MATIC to POL, following a network upgrade 2024-09-03 12:52:42 +02:00
matejcik
234c065aae chore(core): support T3B1 for translation blobs 2024-09-03 10:35:14 +02:00
matejcik
bcd837ae26 chore(core): generate coininfo for T3B1
this also includes T1B1 in the generated python files, but we don't care
because T1B1 will never be included in a built firmware
2024-09-03 10:35:14 +02:00
matejcik
f240a2d8fb docs(common): update info about support.json 2024-09-03 10:35:14 +02:00
matejcik
1f20b2984f feat(common/cointool): use support.json as a source of the list of supported models 2024-09-03 10:35:14 +02:00
tychovrahe
491647085f fix(core/bootloader): fix vendor image with new rendering
[no changelog]
2024-09-03 08:39:42 +02:00
tychovrahe
ee6410acdd fix(core/bootloader): fix repeated firmware upload
[no changelog]
2024-09-03 08:39:42 +02:00
tychovrahe
b8c27d5fd6 feat(core/bootloader): only allow confirm-less firmware installation for full-trust images 2024-09-03 08:39:42 +02:00
Martin Milata
7db1529533 refactor(core/ui): alternative multipage footer 2024-09-02 19:36:25 +02:00
Martin Milata
2572705d1f refactor(core/ui/mercury): delete CancelInfoConfirm
[no changelog]
2024-09-02 19:36:25 +02:00
Martin Milata
6ec9937ead chore(vendor): update vendor/fido2-tests
[no chagelog]
2024-09-02 19:36:25 +02:00
Martin Milata
7c8be6f0ea fix(core/ui/mercury): FIDO2 layouts 2024-09-02 19:36:25 +02:00
tychovrahe
167f567ab0 fix(core/prodtest): T3B1 welcome screen changed to full white screen to match T2B1 2024-09-02 15:50:51 +02:00
tychovrahe
6caafd6642 fix(core/bootloader): fix T3B1 bootloader UI - unsafe screen, boot image 2024-09-02 15:50:51 +02:00
tychovrahe
c86dfaa007 fix(docs): generate pipeline docs
[no changelog]
2024-08-30 10:39:31 +02:00
obrusvit
9e18e72a2c feat(core): ask for 20/33 words to unlock backup
Unlocking repeated backup is only possible with SLIP-39 extendable
backup which contains shares of 20 or 33 words. It is UI bug to have the
user choose from all options (12, 18, 20, 24, 33). This commit reduces
the choices when unlocking repeated backup to (20, 33) for all models.
2024-08-29 16:01:13 +02:00
vdovhanych
11b923959a ci: migrate trezor-common sync to github actions 2024-08-29 13:20:42 +02:00
tychovrahe
3bfc0b61e5 feat(core/tests): add core bootloader hashes to make gen and gen_check targets
[no changelog]
2024-08-29 12:47:24 +02:00
tychovrahe
7275a5544e refactor(core): move embedded bootloaders and their hashes to model folders
[no changelog]
2024-08-29 12:47:24 +02:00
matejcik
21988d6ef4 style(python): fix flake8 warning on python 3.12
[no changelog]
2024-08-29 10:56:21 +02:00
matejcik
afb75892f2 chore(core): include T3B1 where relevant
also convert "INTERNAL_MODEL in (tuple)" to equality comparisons, see
previous commit

[no changelog]
2024-08-29 10:56:21 +02:00
matejcik
43677c6afd style(core): add check for utils.INTERNAL_MODEL in (tuple)
The static replacer doesn't understand tuples (it's just a dumb sed,
we'd need to teach it the python ast which is a somewhat bigger project
that would also make the build slower)
so instead we spell out every "utils.INTERNAL_MODEL == xyz" equality
check separately.

If you don't, you don't get static replacement and you're checking at
run-time in every firmware for every device.

This pylint will catch the problem.
2024-08-29 10:56:21 +02:00
tychovrahe
384615c047 fix(core): fix button alignment in T3T1 bootloader
[no changelog]
2024-08-29 10:49:32 +02:00
matejcik
4ac28e60f6 chore(core): regenerate networks
[no changelog]
2024-08-28 16:15:35 +02:00
matejcik
0b2b0d06fb chore(common): add T3B1 to the list of supported models in support.json 2024-08-28 16:15:35 +02:00
matejcik
3f64f05b8c chore(common): revert supported versions for T1B1 and T2T1 to correct values 2024-08-28 16:15:35 +02:00
Jan Komarek
b42ae4494b chore(common): remove ropsten from defs 2024-08-28 16:15:35 +02:00
Jan Komarek
94a7ff5d32 chore(common): remove ropsten and rinkeby from fixtures 2024-08-28 16:15:35 +02:00
Jan Komarek
d6db9dd3e6 chore(common): remove unused defs 2024-08-28 16:15:35 +02:00
Jan Komarek
23d57949db chore(common): update eth and alt defs 2024-08-28 16:15:35 +02:00
Jan Komarek
1e1edd774f chore(common): add t3b1 defs 2024-08-28 16:15:35 +02:00
matejcik
6ae96868df chore(core): use trezor-core-tools in scripts 2024-08-28 16:15:10 +02:00
matejcik
4208707088 refactor(core/tools): make combine_firmware nicer 2024-08-28 16:15:10 +02:00
matejcik
0f18520690 chore(core/tools): make the core-tools available in top level poetry env 2024-08-28 16:15:10 +02:00
matejcik
0ce00cbdb6 feat(core/tools): create a poetry-installable package from some cli tools
so that we can have them available globally inside the poetry shell
2024-08-28 16:15:10 +02:00
obrusvit
f0989e20b8 fix(core/ui): fix persistent word during recovery
Remove the current word from recovery progress if a user goes to
previous word.

[no changelog]
2024-08-28 14:33:02 +02:00
obrusvit
65d3fd00f1 fix(core/ui): fix mnemonic keys availability
This commit disables keys of mnemonic keyboard if their press cannot
lead to a valid word if the keyboard is initialized with a pre-filled
word. This is useful to get valid keyboard state when going to a
previous word during recovery.

[no changelog]
2024-08-28 14:33:02 +02:00
obrusvit
e2022db8fa feat(core/mercury): use less severe icon color
Not using danger color during onboarding.

[no changelog]
2024-08-28 14:21:07 +02:00
tychovrahe
c7eabe3088 fix(core): update display initialization sequence on T3T1
[no changelog]
2024-08-28 11:03:20 +02:00
matejcik
c39ba83c8b fix(core/debug): make sure return_layout_change does not crash on a race condition
[no changelog]
2024-08-28 00:08:48 +02:00