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

974 Commits

Author SHA1 Message Date
M1nd3r
286fb47541 chore: reoder THP messages
[no changelog]
2025-07-14 21:05:27 +02:00
Ioan Bizău
8bfc5ff6d5 feat(tests): look for menus recursively
[no changelog]
2025-07-11 10:07:19 +02:00
Roman Zeyde
953b0e23d1 test(core): visit Delizia menu during tests
Currently, only shows the menu (without visiting its children).
Enabled by returning `has_menu=True` via LayoutContent JSON.

Also, reduce the number of `debuglink.read_layout()` calls in tests.

[no changelog]
2025-07-10 12:12:06 +03:00
Ioan Bizău
327ccd38e4 Revert "feat: Make payment request protobuf fields optional."
This reverts commit 4a4cc34d65.
2025-07-10 10:10:14 +02:00
Andrew Kozlik
8ffeb6e387 feat(common): Add PaymentNotification protobuf message. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
8103bd1aa2 feat(core): Implement payment requests in Ripple signing. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
70ef22b865 feat(common): Add PaymentRequest field to Ripple signing. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
96afce1e0c feat(core): Set mac field in altcoin Address response messages. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
c1cfd66b6d feat(common): Add mac field to altcoin Address response messages. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
2602fa7751 feat: Make payment request protobuf fields optional. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
65a200d39c feat: Add "text details" memo to payment requests. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
f699ecf65e feat(common): Add address_n field to PaymentRequest memos. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
e2c69033dd feat(core): Implement payment requests in Ethereum signing. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
9599e4d48c feat(common): Add PaymentRequest field to Ethereum signing. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
635f74f407 refactor: Move TxAckPaymentRequest to common messages as PaymentRequest. 2025-07-10 10:10:14 +02:00
Andrew Kozlik
913ba93616 feat(core): Add mac to EthereumAddress. 2025-07-10 10:10:14 +02:00
Roman Zeyde
4ebe1de056 fix(core): don't ignore ActionCancelled exception from menu
In Delizia, it should be possible to cancel the flow using the menu.

[no changelog]
2025-07-07 14:55:13 +03:00
Roman Zeyde
09be64d1e7 fix(core): don't send ButtonRequests during menu handling
Use `LayoutContent.page_count()` instead of `ButtonRequest.pages`.

[no changelog]
2025-07-04 15:38:54 +03:00
M1nd3r
9d9f3732a3 chore(python/docs): update OPTIONS.rst (nostr, ble)
[no changelog]
2025-07-04 11:35:31 +02:00
Martin Milata
5194e1e10b feat(common): allow multiple wire id enums
[no changelog]
2025-07-03 00:09:25 +02:00
Martin Milata
ad9989f3a1 refactor(common/protob): split ThpMessageType off MessageType
[no changelog]

Co-authored-by: M1nd3r <petrsedlacek.km@seznam.cz>
2025-07-03 00:09:25 +02:00
Martin Milata
f849bb952c refactor(common/protob): make some THP fields required
[no changelog]

Co-authored-by: M1nd3r <petrsedlacek.km@seznam.cz>
2025-07-03 00:09:25 +02:00
Roman Zeyde
47265ce850 test(core): expose whether Caesar Flow has a menu via LayoutContent
It is used to improve UI tests' coverage for new info menus.

[no changelog]
2025-07-02 12:09:42 +03:00
Roman Zeyde
34b434dfe9 refactor(core): use generator for default DebugUi.input_flow
[no changelog]
2025-07-02 12:09:42 +03:00
Roman Zeyde
7c45ce6522 chore(core): fix "trezor" -> "Trezor"
Also, remove duplicated `coinjoin__title_do_not_disconnect` string.

[no changelog]
2025-06-20 14:40:13 +03:00
Roman Zeyde
14768b1eab test(core): allow disabling GC leak check error using a CLI flag
In this case, a warning will be issued and shown on PyTest summary.

[no changelog]
2025-06-19 08:29:18 +03:00
Roman Zeyde
cb9a8919e5 test(core): don't fail next tests in case of a GC leak
Also, add more details to the assertion failure message.

[no changelog]
2025-06-19 08:29:18 +03:00
M1nd3r
3d8eab3515 chore(core): remove DebugLinkToggleThpPairingDialog
[no changelog]
2025-06-16 14:53:13 +02:00
Martin Milata
95ecbbed8b feat(common): add Trezor Host Protocol protobuf definitions
[no changelog]
2025-06-13 15:58:33 +02:00
M1nd3r
dd76266de5 chore: add THP FailureTypes
[no changelog]
2025-06-10 17:00:06 +02:00
Roman Zeyde
6f28b96733 test(core): collect GC statistics via new debug RPC
[no changelog]
2025-06-10 12:16:12 +03:00
Roman Zeyde
d6b1cff024 feat(core): support new translation blob format
It supports multiple translations strings chunks and allows total
container size to be above 64kB.

Previous format is also supported by firmware.
2025-06-05 20:55:56 +03:00
Roman Zeyde
23317d9390 test(legacy): add a missing t1_take_screenshots check in DebugLing`
[no changelog]
2025-06-05 19:20:27 +03:00
Roman Zeyde
1880630696 chore(core): fix deprecation warning for input_flow.throw(...)
https://docs.python.org/3.9/reference/expressions.html#generator.throw

Python 3.8 is no longer maintained: https://peps.python.org/pep-0569/

[no changelog]
2025-05-30 19:28:05 +03:00
Lukas Bielesch
459f851779 feat(eckhart): implement missing eckhart tests and flows 2025-05-30 17:38:16 +02:00
Lukas Bielesch
c66b435212 fix(eckhart): fix unstable click tests
- Differentiate input vectors for Eckhart due to different screen size
- paginate, where possible
2025-05-30 17:38:16 +02:00
Lukas Bielesch
3f1b5a9e28 chore(eckhart): minor improvements
- update trace function for firmware components
- add missing button requests
- update get address flow
- require long press to lock even with disabled animations
2025-05-30 17:38:16 +02:00
Lukas Bielesch
5fa68d15a3 chore(automation): enable T3W1 CI jobs and tests
- eckhart tests
- add Eckhart screen buttons
- rename passphrase click test file + fixtures
- eckhart click tests
- eckhart persistance tests
- eckhart device tests
- skip tests for unimplemented features
2025-05-30 17:38:16 +02:00
obrusvit
62933d2d62 feat(eckhart): initial commit
- build
- directory structure
- bootloader UI and assets copied from delizia
- FirmwareUI trait functions are empty
- Python layout functions are copied from delizia except some of more
complicated ones which raise NotImplemented for now
2025-05-30 17:38:16 +02:00
grdddj
3f520b4ce2 chore(python): remove inner parenthesis from type: ignore to silence mypy syntax errors 2025-05-21 14:29:22 +02:00
matejcik
996f81924f chore(python): move impractical network_from_address_n function out of the ethereum module
this is a backwards incompatible change
2025-05-19 11:14:20 +02:00
matejcik
5c0a84841b refactor(python): update definitions code for new paths 2025-05-19 11:14:20 +02:00
Roman Zeyde
7ebb00ff55 fix(core): handle DebugLink.input_wait_type when return_empty_state is set
Also, simplify `tests/upgrade_tests/recovery_old.py`.

[no changelog]
2025-05-16 11:57:55 +02:00
Martin Milata
241fcc0044 feat(core): homescreen streaming
[no changelog]
2025-05-14 23:57:03 +02:00
Martin Milata
846dd3b934 refactor(common/protob): rename TranslationDataRequest to DataChunkRequest
[no changelog]
2025-05-14 23:57:03 +02:00
Martin Milata
46c53bc30c feat(core): add Capability.NFC to Features 2025-05-13 10:48:13 +02:00
Martin Milata
a04525c6de feat(core): add Capability.BLE to Features 2025-05-13 10:48:13 +02:00
Roman Zeyde
3a7850f6a0 chore: remove BNB Beacon Chain support 2025-05-13 09:04:48 +03:00
tychovrahe
54202b9f53 feat(nordic): send busy response when trezor is not listening to BLE messages
[no changelog]
2025-05-07 16:08:46 +02:00
Roman Zeyde
74f6f11dbf fix(python): fix trezorctl firmware update device restarts' handling 2025-05-05 20:10:56 +03:00