1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-24 14:20:57 +00:00
Commit Graph

606 Commits

Author SHA1 Message Date
M1nd3r
6a59d5a95a fixup! test: skip thp device test on protocol_v1 emu [no changelog] 2025-01-24 13:14:46 +01:00
M1nd3r
98952cf4ef test: skip thp device test on protocol_v1 emu
[no changelog]
2025-01-24 13:03:48 +01:00
M1nd3r
17656bb64e tests: fix device tests for codecV1
[no changelog]
2025-01-24 11:58:24 +01:00
M1nd3r
d8d3d76db5 test: fix device test for slip39 advanced backup
[no changelog]
2025-01-24 11:58:24 +01:00
M1nd3r
09567ddda7 test: fix device test for entropy checks
[no changelog]
2025-01-24 11:58:24 +01:00
M1nd3r
5b7f889853 test: fix device test enable_labeling
[no changelog]
2025-01-24 11:58:24 +01:00
M1nd3r
92b962175b temp: fix device tests test_protection_levels by removing session.end call
[no changelog]
2025-01-24 11:58:23 +01:00
M1nd3r
f551445c3a fix device tests
[no changelog]
2025-01-24 11:58:23 +01:00
M1nd3r
5334ac5df3 fix: remove unnecessary comment
[no changelog]
2025-01-24 11:58:23 +01:00
M1nd3r
ad215c0458 fix(test): update slip39 backup device test
[no changelog]
2025-01-24 11:58:23 +01:00
M1nd3r
5b49fb9515 test: fix device test test_authorize_coinjoin
[no changelog]
2025-01-24 11:58:23 +01:00
M1nd3r
5c2c3925d3 test: update device tests
[no changelog]
2025-01-24 11:58:22 +01:00
obrusvit
00740b560c refactor(core): consistent naming of UI layouts
- follow-up on 862c987779
- layout_bolt stays the same
- layout_samson -> layout_caesar
- layout_quicksilver -> layout_delizia
- use super for importing rust modules in layout code

[no changelog]
2025-01-20 12:29:24 +01:00
matejcik
4e852231ab fix(tests): implement expected responses for entropy check
fixes #4464
2025-01-17 11:28:12 +01:00
matejcik
a3fc66f4b6 fix(tests): update tests for newly introduced device.setup() 2025-01-17 11:28:12 +01:00
Ondřej Vejpustek
31fb9528b5 fix(tests): fix minor issues in multisig tests 2025-01-13 16:56:09 +01:00
obrusvit
862c987779 refactor(core): consistent naming of UI layouts
- UI layouts name changes:
  - model_tt -> layout_bolt
  - model_tr -> layout_samson
  - model_mercury -> layout_quicksilver
- rust features `model_xyz` freed for different use, now it's
`layout_xyz`
- input_flow function names are based on UI layout and not internal
model name (i.e. quicksilver instead of t3t1)
- directory names and commentary changed accordingly

[no changelog]
2025-01-09 22:57:14 +01:00
Roman Zeyde
367ba7cd5c fix(legacy): show XPUB using a QR code
Similar layout to `fsm_layoutAddress` is used.

Fixes #3043.
2025-01-09 12:49:24 +01:00
Ondřej Vejpustek
1a62cc8a59 fix(core): fix serialization of signatures and witnesses in multisig
[no changelog]
2025-01-02 15:07:25 +01:00
Andrew Kozlik
a4bdd92788 feat(tests): Tests for entropy check workflow in ResetDevice. 2025-01-02 13:44:36 +01:00
Ioan Bizău
ad06a54d76 chore(core): add test for Slip39_Single
[no changelog]
2024-12-20 15:44:43 +02:00
Lukas Bielesch
75ee4dc7a7 chore(core): turn labeling click test into device test 2024-12-12 18:46:57 +01:00
Ondřej Vejpustek
ae32a23002 fix(core): disallow per-node paths in change outputs 2024-12-02 12:21:24 +01:00
Ondřej Vejpustek
45a029edcc fix(core): disallow per-node paths in getaddress 2024-12-02 12:21:24 +01:00
Ondřej Vejpustek
4a1127620d refactor(tests): use same path in per-node specification 2024-12-02 12:21:24 +01:00
Ondřej Vejpustek
1e2031674c feat(test): test sortedmulti 2024-12-02 12:21:24 +01:00
Ondřej Vejpustek
4dce3d0099 feat(core):: support sortedmulti 2024-12-02 12:21:24 +01:00
Ondřej Vejpustek
0a9c4ba4ec feat(core)): forbid multisig to singlesig change outputs 2024-12-02 12:21:24 +01:00
Ondřej Vejpustek
c21c6d4474 refactor(test): use forged mainnet transactions 2024-12-02 12:21:24 +01:00
Ondřej Vejpustek
8db5ef94af refactor(test): refactor device test 2024-12-02 12:21:24 +01:00
Ondřej Vejpustek
f3983486d1 feat(core): remove deprecated path 2024-12-02 12:21:24 +01:00
Lukáš Bielesch
ebc302959b
fix(core): fix broken flow for changing brightness [no changelog] (#4378)
* fix(core): fix broken flow for changing brightness [no changelog]

* fixup! fix(core): fix broken flow for changing brightness [no changelog]

* fixup! fix(core): fix broken flow for changing brightness [no changelog]

* fixup! fix(core): fix broken flow for changing brightness [no changelog]

* fixup! fix(core): fix broken flow for changing brightness [no changelog]

* fixup! fix(core): fix broken flow for changing brightness [no changelog]
2024-11-26 19:35:40 +01:00
obrusvit
6f7fccaac2 fix(core/mercury): info at bitcoin signmessage 2024-11-26 16:23:50 +01:00
matejcik
8a1c15fd94 feat(tests): simplify asserts on translated strings 2024-11-25 13:32:13 +01:00
Ioan Bizău
777907ab3b refactor(core): drop confirm_blob_with_optional_pagination
Commit c300576d6c introduced
`confirm_blob_with_optional_pagination` which proved to be unpopular and
impractical. This commit brings back the old behaviour of having the
`ask_pagination` parameter on `confirm_blob`. It also reverts back to
using the old way of paginating `confirm_blob` on model R, which the
aforementioned commit ignored and re-implemented from scratch.

[no changelog]
2024-11-19 13:36:01 +02:00
Lukas Bielesch
a4da695430 chore(core): Use enum for for dealing with device rotations 2024-11-13 11:08:56 +01:00
Martin Milata
ea815eba93 test(core): fix test_reset_bip39_t2
[no changelog]
2024-11-12 16:55:17 +01:00
matejcik
d4423b3569 fix(tests): correctly check that backup flow was aborted 2024-11-12 16:55:17 +01:00
matejcik
f4240d6309 chore(python): improve recovery type deprecation warning 2024-11-12 16:55:17 +01:00
matejcik
d385667b4a fix(tests): restore test functionality on legacy
The global layout related changes were wrong for T1 where debuglink
behavior is significantly different; in particular, it is not always
possible to communicate over debuglink.

This change reverts to the old behavior for T1B1 and keeps the new one
only for core-based models.
2024-11-12 16:55:17 +01:00
matejcik
adc9b523be tests: fix small irregularities 2024-11-12 16:55:17 +01:00
matejcik
82290c2e5c tests: use read_layout everywhere 2024-11-12 16:55:17 +01:00
matejcik
0e8dcbb498 feat(core): unify RustLayout, implement single global layout 2024-11-12 16:55:17 +01:00
Lukas Bielesch
7a61d8e858 chore(core) Translate hard-coded 'Enable labeling' string 2024-11-06 18:34:05 +01:00
Ioan Bizău
c300576d6c feat(core/ethereum): new ETH contract flow 2024-10-30 17:25:48 +02:00
obrusvit
16a8d504e2 test(cardano): allow tests with details on mercury 2024-10-30 09:15:10 +01: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
b3bd85b1fb refactor(tests): introduce a better model selection mechanism 2024-09-11 12:59:04 +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
obrusvit
3de7256103 chore(core/mercury): fix UI test for everstake
[no changelog]
2024-09-03 18:59:53 +03:00