1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-02-26 06:12:01 +00:00
Commit Graph

14483 Commits

Author SHA1 Message Date
M1nd3r
8070d18dcf fix(ci): remove unnecessary code changes [no changelog] 2025-02-25 12:17:34 +01:00
M1nd3r
26d794e1e9 feat: use autoconnect=False credentials as autoconnect=True in case of channel replacement
[no changelog]
2025-02-25 12:17:34 +01:00
M1nd3r
9c4b4d2897 temp 2025-02-25 12:17:34 +01:00
M1nd3r
98e75f2e51 feat: implement thp channel replacement
[no changelog]
2025-02-25 12:17:34 +01:00
M1nd3r
ac71b8f957 fix: change credential to bytes from bytearray 2025-02-25 12:17:34 +01:00
M1nd3r
081f7b8908 feat(core): add host static pubkey to channel cache
[no changelog]
2025-02-25 12:17:34 +01:00
M1nd3r
f5bf763089 chore(core): update cpace implementation
[no changelog]
2025-02-25 12:17:34 +01:00
M1nd3r
71cbfc5504 chore(core): remove button request from pairing screens
[no changelog]
2025-02-25 12:17:34 +01:00
M1nd3r
d8de4a0002 temp: thp rest
[no changelog]
2025-02-25 12:17:34 +01:00
M1nd3r
7183155f58 chore(tests): update fixtures
[no changelog]
2025-02-25 12:17:34 +01:00
M1nd3r
f3505c78ec chore(core): adapt trezorlib transports to session based
[no changelog]
2025-02-25 12:17:34 +01:00
M1nd3r
fe5a50fb9d feat(python): implement session based trezorlib 2025-02-25 12:17:34 +01:00
M1nd3r
bc6df6d44f feat(python): implement session based trezorctl
[no changelog]
2025-02-25 12:17:34 +01:00
M1nd3r
b70517d6d9 chore(tests): add protocol pytest marker
[no changelog]
2025-02-25 12:17:34 +01:00
M1nd3r
853a98b239 test: update device tests
[no changelog]
2025-02-25 12:17:33 +01:00
M1nd3r
9a23181f74 wip: channel database changes 2025-02-25 12:17:33 +01:00
Martin Milata
1ab4b12b0b debuglink and tests fixes
[no changelog]
2025-02-25 12:17:33 +01:00
Martin Milata
5e07d63134 test(core): remove dead code
[no changelog]
2025-02-25 12:17:33 +01:00
M1nd3r
0660ce743f feat(python): add platformdirs to requirements
[no changelog]
2025-02-25 12:17:33 +01:00
M1nd3r
9bc0ee679c chore(tests): update fixtures
[no changelog]
2025-02-25 12:17:33 +01:00
M1nd3r
6300cb401a chore(core): adapt trezorlib transports to session based
[no changelog]
2025-02-25 12:17:33 +01:00
M1nd3r
271f9cc7b7 feat(python): implement session based trezorlib 2025-02-25 12:17:33 +01:00
M1nd3r
a96e7c5b67 feat(python): implement session based trezorctl
[no changelog]
2025-02-25 12:17:33 +01:00
M1nd3r
4218b77cd2 chore(python): add refresh of invalid client to internal emulator
[no changelog]
2025-02-25 12:17:33 +01:00
M1nd3r
8b1974e140 chore(tests): adapt testing framework to session based
[no changelog]
2025-02-25 12:17:33 +01:00
M1nd3r
c8aff30abb test: update upgrade tests
[no changelog]
2025-02-25 12:17:33 +01:00
M1nd3r
7ee4e45e5a test: update click tests
[no changelog]
2025-02-25 12:17:33 +01:00
M1nd3r
7e12731f6b test: update ui tests
[no changelog]
2025-02-25 12:17:33 +01:00
M1nd3r
aad8dedde3 test: update persistence tests
[no changelog]
2025-02-25 12:17:33 +01:00
M1nd3r
638402a4a0 test: update device tests
[no changelog]
2025-02-25 12:17:33 +01:00
M1nd3r
c8150cd073 chore(python): update python tools
[no changelog]
2025-02-25 12:14:04 +01:00
M1nd3r
547fde0421 chore(vendor): update fido2-tests
[no changelog]
2025-02-25 12:14:04 +01:00
M1nd3r
b1e0bc30c4 chore(core): adapt emu.py to the new trezorlib
[no changelog]
2025-02-25 12:14:04 +01:00
Roman Zeyde
d2165c3eb3 test(core): add test vectors for Solana staking layouts
[no changelog]
2025-02-25 11:55:03 +01:00
Roman Zeyde
1857612a37 feat(core): add Solana staking layouts 2025-02-25 11:55:03 +01:00
Roman Zeyde
19c9e502d7 feat(core): add new translation entries for Solana staking layouts
[no changelog]
2025-02-25 11:55:03 +01:00
Roman Zeyde
803955b047 feat(core): add description to Delizia confirm_output()
It will allow confirming the vote account for Solana staking.

[no changelog]
2025-02-25 11:55:03 +01:00
Roman Zeyde
8a5373c733 feat(core): add extra info item to summary menu on Delizia
It will allow confirming the blockhash for Solana transactions.

Also, simplify arguments passing into `new_confirm_output()`.

[no changelog]
2025-02-25 11:55:03 +01:00
Roman Zeyde
2284b338c8 feat(core): skip empty fee entry in UICaesar::confirm_summary
Otherwise, we may get an additional empty confirmation screen.

[no changelog]
2025-02-25 11:55:03 +01:00
Roman Zeyde
d33244912b refactor(core): separate base and priority Solana fees
Move fee calculation into `Transaction` class.

Also, replace floating-point division by integer division in fee calculation.

[no changelog]
2025-02-25 11:55:03 +01:00
Roman Zeyde
c55893ffe5 Fix a small typo in .github/workflows/core.yml
[no changelog]
2025-02-24 07:52:11 +01:00
kopecdav
9f03e0c37b feat(core): Add prodtest function which prints simple text log on the screen [no changelog] 2025-02-21 10:15:12 +01:00
matejcik
eda9f2b183 chore: fix ethereum fixtures for translations after #4626 2025-02-20 16:09:14 +01:00
matejcik
b119675dd4 chore: update UI fixtures 2025-02-20 16:09:14 +01:00
matejcik
c246ba4994 tests: do not warn about missing translation if the key doesn't exist at all
otherwise code like the following raises an useless warning:

>>> try:
>>>   value = translate(somekey)
>>> except KeyError:
>>>   value = somekey  # use a literal value

as seen in click_tests/common.py _get_action_index
2025-02-20 16:09:14 +01:00
matejcik
0c77c5102a fix(core): update translated strings to fit the button on Delizia 2025-02-20 16:09:14 +01:00
matejcik
61a3382abd fix(core/rust): increase capacity of debug error message
slicing the str like before is wrong because we may just happen to hit
in the middle of an utf8 sequence, which will cause a silent panic.
this way we at least get a visible panic: either "Text too long: <full
text>", or "unwrap failed" if the text doesn't fit into the 128-byte
string instance
2025-02-20 16:09:14 +01:00
matejcik
68d979a513 fix(core): exclude unused strings from firmware
this will prevent Rust code from building if it relies on a removed
string, and raise an AttributeError in python
2025-02-20 16:09:14 +01:00
matejcik
02190b5871 fix(core): do not repeat "cancel backup check" twice on screen 2025-02-20 16:09:14 +01:00
matejcik
0453f8b6df tests: add test for cancel recovery 2025-02-20 16:09:14 +01:00