1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-04 20:01:18 +00:00
Commit Graph

614 Commits

Author SHA1 Message Date
M1nd3r
265a909e9c feat(core, python): implement nfc pairing for tests, add device test
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
a7422cb595 chore: add DebugLinkPairingInfo
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
e3bec99691 tests(python): improve thp device tests
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
027822b1d9 temp: update pairing process, part 1 2025-02-03 11:30:52 +01:00
M1nd3r
053110532c test: add thp device tests
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
8ec5648a2b fixup! test: skip thp device test on protocol_v1 emu [no changelog] 2025-02-03 11:30:52 +01:00
M1nd3r
ae08b64b7a test: skip thp device test on protocol_v1 emu
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
d2d8b82bb9 tests: fix device tests for codecV1
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
e404806663 test: fix device test for slip39 advanced backup
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
698b742572 test: fix device test for entropy checks
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
f6e13fa55c test: fix device test enable_labeling
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
c790c8f70f temp: fix device tests test_protection_levels by removing session.end call
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
f690e0f31d fix device tests
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
7556031990 fix: remove unnecessary comment
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
ed52487fc1 fix(test): update slip39 backup device test
[no changelog]
2025-02-03 11:30:52 +01:00
M1nd3r
cdfedbaec3 test: fix device test test_authorize_coinjoin
[no changelog]
2025-02-03 11:30:51 +01:00
M1nd3r
c3d3fa50ec test: update device tests
[no changelog]
2025-02-03 11:30:51 +01:00
Ondřej Vejpustek
54c0a30e08 fix(legacy): disallow using per-node paths 2025-01-28 14:22:13 +01:00
Ondřej Vejpustek
2f104ea1fe feat(legacy): support sortedmulti 2025-01-28 14:22:13 +01:00
Ondřej Vejpustek
0e8c1312bf feat(legacy): forbid multisig to singlesig change outputs 2025-01-28 14:22:13 +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