1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-22 15:38:11 +00:00
Commit Graph

13601 Commits

Author SHA1 Message Date
obrusvit
598039434c chore: update fixtures.json 2024-09-12 21:26:45 +02:00
obrusvit
9b4b1203b6 refactor(core/mercury): remove some unused code
[no changelog]
2024-09-12 21:26:45 +02:00
obrusvit
aab68b9dfa feat(core/mercury): impl footer in RemainingShares 2024-09-12 21:26:45 +02:00
obrusvit
d15ecfb859 refactor(core/mercury): self-updating footer
This commit enables registering function for updating footer and header
based on the content. This eliminates the need to create wrappers around
Frame to update them.

[no changelog]
2024-09-12 21:26:45 +02:00
Ondřej Vejpustek
7a992a593d fix(crypto): fix sign-compare warning 2024-09-12 14:44:33 +02:00
Ondřej Vejpustek
fb471a96f2 refactor(crypto): adapt ripemd160 implementation 2024-09-12 14:44:33 +02:00
Ondřej Vejpustek
3167684d08 refactor(crypto): download ripemd160 implementation 2024-09-12 14:44:33 +02:00
Ondřej Vejpustek
732e21443d refactor(crypto): remove redundant include 2024-09-12 14:44:33 +02:00
Ondřej Vejpustek
c5984af1b5 refactor(crypto): use functions instead of macros in blake2b and blake2s 2024-09-12 14:44:33 +02:00
Ondřej Vejpustek
32356b8123 refactor(crypto): use functions instead of macros in groestl512 2024-09-12 14:44:33 +02:00
Ondřej Vejpustek
cb9c56e83f refactor(crypto): remove unused macros in groestl512 2024-09-12 14:44:33 +02:00
Ondřej Vejpustek
729da01b88 tests(crypto): test groestl512 2024-09-12 14:44:33 +02:00
Ondřej Vejpustek
b0e703f988 refactor(crypto): introduce symbolic constants for size optimization 2024-09-12 14:44:33 +02:00
Ondřej Vejpustek
0bdbd924c1 refactor(crypto): optimize size of AES 2024-09-12 14:44:33 +02:00
Ioan Bizău
f6aa7cbb08 fix(core): tweak swipes in ETH staking flow 2024-09-12 11:45:30 +03:00
vdovhanych
aa47f951ec ci: fix trezor-common sync gh worfklow 2024-09-12 09:37:53 +02:00
matejcik
b9a104d2ac fix(tests): python >=3.11 compatibility for identifiers
Python 3.11 changed IntEnum.__str__ to return the number instead of the
enum value name. This breaks fixtures.json because pytest uses
str(value) to generate the test identifier names, and in a lot of places
our identifiers use the enum values.

This override of `_idval_from_value` explicitly generates a name from
the IntEnum instead of using the __str__ implementation.
2024-09-12 09:36:13 +02:00
matejcik
8129086aa7 chore: upgrade pytest
to get rid of python 3.14 deprecation warnings
2024-09-12 09:36:13 +02:00
matejcik
eda8c72b3a feat(tests): flip the default service for update_fixtures.py ci to github
now that we don't really use gitlab anymore
2024-09-11 12:59:04 +02:00
matejcik
475673e894 feat(tests): use trezorlib's builtin model list to fetch the pipelines
this includes D001 / D002, that probably doesn't matter
2024-09-11 12:59:04 +02:00
matejcik
c31819b53f chore(tests): upgrade T2B1 to T3B1 for UI master-comparison 2024-09-11 12:59:04 +02:00
matejcik
d21af2a47f tests: rework tutorial tests
complicated flows that _do not accomplish results_ do not belong into
device_tests, so I moved them to click_tests and added stronger assert
system
2024-09-11 12:59:04 +02:00
matejcik
abe51b93a8 fix(python): prevent accidental modification of models.TREZORS 2024-09-11 12:59:04 +02:00
matejcik
17706540b5 chore(tests/ui_tests): screenshots for T3B1 should also be pixelated 2024-09-11 12:59:04 +02:00
matejcik
b3bd85b1fb refactor(tests): introduce a better model selection mechanism 2024-09-11 12:59:04 +02:00
matejcik
6506b02e2e feat(python/debuglink): introduce layout type awareness
[no changelog]
2024-09-11 12:59:04 +02:00
matejcik
37d8649d5d tests: flip T2B1 pipelines to T3B1 2024-09-11 12:59:04 +02:00
matejcik
62b56df573 fix(core/translations): update pt/tr/it translations with universal safe3 fonts 2024-09-09 09:12:49 +02:00
tychovrahe
656a86b8a0 chore(core): generate bootloader and prodtest changelogs
[no changelog]
2024-09-07 08:35:10 +02:00
tychovrahe
5eb68975d9 fix(core/prodtest): fix prodtest run with unlocked bootloader
[no changelog]
2024-09-07 08:35:10 +02:00
tychovrahe
be9255ae04 fix(core/bootloader): fix unlocking bootloader granting HDP access on U5
[no changelog]
2024-09-07 08:35:10 +02:00
tychovrahe
422b376ebd fix(core/bootloader): reporting bootloader lock state on U5
[no changelog]
2024-09-07 08:35:10 +02:00
tychovrahe
f3b78e9c7a fix(core/bootloader): fix firmware downgrade protection
[no changelog]
2024-09-07 08:35:10 +02:00
JoeGruff
d2a2ac2178 decred: Add input_derive_script.
Decred shares code with bitcoin and a recent change broke signing stake
based inputs. Add decred specific script construction and fix tests.
2024-09-06 10:52:47 +02:00
vdovhanych
d1da8aa9e3 ci: fix trezor-common sync action 2024-09-05 16:36:28 +02:00
Martin Milata
777ad11bec feat(core/translations): add it, pt
Partially added TR.
2024-09-03 21:58:09 +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