1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-14 03:30:02 +00:00
Commit Graph

13558 Commits

Author SHA1 Message Date
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
matejcik
ed79d35de9 feat(python): make webusb transport more resilient
* convert more USB errors into TransportExceptions
* add a timeout + infinite loop for read/write operations,
  so that they are interruptible by Python, instead of leaving
  the interface in a bad state when hard-killed
* (also ctrl+c now works if the process is waiting for usb)
2024-08-28 00:08:48 +02:00
Andrew Kozlik
2a567f3a0c feat: Remove display_random feature. 2024-08-27 19:33:23 +02:00
Ioan Bizău
0a0c1004c8 chore(core): fix failing style check 2024-08-27 16:21:03 +03:00
Ioan Bizău
e3c3264f68 chore(core/translations): shorten es menu item 2024-08-27 16:21:03 +03:00
Ioan Bizău
b747a5bcc9 refactor(core): merge confirm_summary flow into confirm_output flow 2024-08-27 16:21:03 +03:00
Ioan Bizău
692eee3e07 feat(core): add progress to Ethereum transaction signing 2024-08-27 16:21:03 +03:00
Ioan Bizău
09d3301785 feat(core): improve ETH send flow 2024-08-27 16:21:03 +03:00
Pavol Rusnak
07ac2fd4d8 chore(rust/trezor-client): run clippy
[no changelog]
2024-08-27 10:05:15 +02:00