1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-03-26 21:15:44 +00:00
Commit Graph

620 Commits

Author SHA1 Message Date
M1nd3r
afc961cff5 wip 2025-03-13 12:17:13 +01:00
M1nd3r
4bd0ece104 feat: use autoconnect=False credentials as autoconnect=True in case of channel replacement
[no changelog]
2025-03-13 12:17:12 +01:00
M1nd3r
71d8fa58aa feat: implement thp channel replacement
[no changelog]
2025-03-13 12:17:12 +01:00
M1nd3r
748b8de2f2 chore(core): remove button request from pairing screens
[no changelog]
2025-03-13 12:17:12 +01:00
M1nd3r
9dc3575c76 temp: thp rest
[no changelog]
2025-03-13 12:17:12 +01:00
M1nd3r
59b994eaba test: update device tests
[no changelog]
2025-03-13 12:17:12 +01:00
M1nd3r
94a5c49daf test: update device tests
[no changelog]
2025-03-13 12:17:12 +01:00
Martin Milata
46ac326354 refactor(tests): move set_input_flow to SessionDebugWrapper context manager
[no changelog]
2025-03-13 12:17:12 +01:00
M1nd3r
e29215a1e5 fix(python): change nostr to use Session instead of Client 2025-03-13 12:17:12 +01:00
Martin Milata
38d0b9ff64 fix(python): transport handling with sessions
[no changelog]
2025-03-13 12:17:12 +01:00
M1nd3r
97d1a46204 test: update device tests
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-03-13 12:17:11 +01:00
Lukas Bielesch
17603ffe41 refactor(python): move Screen Buttons to debuglink 2025-03-12 14:34:25 +01:00
Lukas Bielesch
a4cd4ddaa5 refactor(tests): split buttons module functionality into buttons and actions 2025-03-12 14:34:25 +01:00
Lukas Bielesch
13be2dca24 refactor(tests): modularize tests buttons module based on layout type 2025-03-12 14:34:25 +01:00
Roman Zeyde
301190db4c chore(python): use pytest-rerunfailures instead of flaky
Since it supports re-running all failures that match certain expressions:

https://github.com/pytest-dev/pytest-rerunfailures?tab=readme-ov-file#re-run-all-failures-matching-certain-expressions

[no changelog]
2025-03-10 23:10:40 +02:00
Ioan Bizău
d0681212b0 fix(core): use BIP-340 to sign Nostr events
[no changelog]
2025-02-28 14:15:45 +01:00
Ioan Bizău
073038771e feat(core): introduce Nostr
[no changelog]
2025-02-28 14:15:45 +01:00
M1nd3r
8302f70d2a fix(test): remove print from device test test_singmessage_pagination
[no changelog]
2025-02-26 10:47:48 +01:00
Ioan Bizău
6c38f0d63d feat(core): friendlier way to confirm long messages 2025-02-25 22:51:16 +01:00
Ioan Bizău
64b9084b6c feat(core/ui): ability to cancel recovery on word count selector 2025-02-25 20:30:39 +01:00
Roman Zeyde
d2165c3eb3 test(core): add test vectors for Solana staking layouts
[no changelog]
2025-02-25 11:55:03 +01:00
Ioan Bizău
b8e2709ca8 fix(core): fix br_code inconsistency in sign-tx
[no changelog]
2025-02-11 16:10:58 +01:00
Roman Zeyde
d5078ebde5 test(core): increase test timeout for HW devices
[no changelog]
2025-02-05 10:52:46 +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