1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-28 10:29:04 +00:00
Commit Graph

13594 Commits

Author SHA1 Message Date
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
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