1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-07-28 17:38:35 +00:00
Commit Graph

984 Commits

Author SHA1 Message Date
tychovrahe
3b9be7baec feat(core): add allow unlimited run vendorheader flag
[no changelog]
2025-07-22 14:04:09 +02:00
tychovrahe
4cd28ef643 fix(core): improve manufacturing mode detection by respecting vendorheader flag
[no changelog]
2025-07-22 14:04:09 +02:00
tychovrahe
8795cbcf5c feat(core): verify secmon signature in bootloader
[no changelog]
2025-07-22 14:04:09 +02:00
tychovrahe
fcf2bd0d48 feat(core): add secmon header
[no changelog]
2025-07-22 14:04:09 +02:00
M1nd3r
0b2fdf3667 chore(common/core): use public_key instead of pubkey in THP messages
[no changelog]
2025-07-21 13:05:51 +02:00
M1nd3r
3efcd0b601 chore(common): add ButtonAck to ThpMessageType
[no changelog]
2025-07-21 12:52:33 +02:00
Roman Zeyde
b0cc29cbae test(core): visit Delizia menu items in UI tests
[no changelog]
2025-07-21 10:10:17 +03:00
Michael de Hoog
304b0150e6 test(core): EIP-712 message hash
- add show_message_hash to client
2025-07-19 15:00:37 +02:00
Michael de Hoog
70ccc36ae4 feat(core): support displaying EIP-712 message hash during signing 2025-07-19 15:00:37 +02:00
Lukas Bielesch
6cc9c62941 chore(core): new entry in DebugLinkDecision message
- new optional enum TouchEventType in DebugLinkDecision message
- add new hold_touch debuglink function
- new pin tests utilizing hold_touch function
2025-07-16 13:40:04 +02:00
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