1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-03-12 22:26:08 +00:00
Commit Graph

616 Commits

Author SHA1 Message Date
M1nd3r
03d5751f3f wip 2025-03-11 13:11:26 +01:00
M1nd3r
02c5676928 feat: use autoconnect=False credentials as autoconnect=True in case of channel replacement
[no changelog]
2025-03-11 13:11:03 +01:00
M1nd3r
e7c7cf5443 feat: implement thp channel replacement
[no changelog]
2025-03-11 13:11:03 +01:00
M1nd3r
69ab0d1ba4 chore(core): remove button request from pairing screens
[no changelog]
2025-03-11 13:11:03 +01:00
M1nd3r
853bf8529a temp: thp rest
[no changelog]
2025-03-11 13:11:03 +01:00
M1nd3r
42cad3b61a test: update device tests
[no changelog]
2025-03-11 11:48:01 +01:00
M1nd3r
a028570bd1 test: update device tests
[no changelog]
2025-03-11 11:47:45 +01:00
M1nd3r
febac09a2f fix(python): change nostr to use Session instead of Client 2025-03-11 11:47:17 +01:00
Martin Milata
d2d93d0960 fix(python): transport handling with sessions
[no changelog]
2025-03-11 11:47:17 +01:00
M1nd3r
682d0634be test: update device tests
Co-authored-by: mmilata <martin@martinmilata.cz>
2025-03-11 11:45:09 +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
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