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
matejcik
87b7eccb6a
fix(core): do not use local import for RecoveryAborted
...
This side-steps a double-import problem that is triggered when we
perform an unimport in a particularly unfortunate order. (don't ask)
The root cause of the problem still exists: we can get into a situation
where a live recovery_homescreen is running from an unimported module,
meaning that any new import of anything from the recovery_device
namespace will _also_ be a double-import. We don't have a fix for that
situation yet, so instead we avoid this particular local import, which
would cause homescreen_dialog to have its own copy of the `recover`
module.
2025-02-20 16:09:14 +01:00
matejcik
2ee0f7028c
fix(core): update exception name in layout shutdown reporting
...
also return after the exception branch, so that the "value" is not
reported twice, once as an exception and a second time as a "non-none
return"
2025-02-20 16:09:14 +01:00
Martin Milata
bd342b3ab7
build: build-docker.sh: drop --skip-legacy and --skip-core options
2025-02-19 22:05:32 +01:00
obrusvit
18b88a12f0
fix(legacy): add build to .gitignore
...
- "build" serves to ignore symlink to "build/" directory in the legacy
docker reproducible build
- otherwise, the symlink is considered a local change and the resulting
binary contains "-dirty" in the name
2025-02-19 22:05:32 +01:00
Martin Milata
ae00e74717
ci: also build non-debuglink legacy firmware
2025-02-19 22:05:32 +01:00
Martin Milata
d375db9fc2
fix(tools): changelog.py: stricter model list format
2025-02-19 22:05:32 +01:00
Martin Milata
df61895d07
fix(tools): also bump language JSONs for core
2025-02-19 22:05:32 +01:00
matejcik
ca78c01e28
build(core/rust): fix cargo build
without envvars
...
...restoring functionality of rust-analyzer
2025-02-19 19:21:38 +01:00
matejcik
a4220c4b78
ci: check that cargo build
can succeed without envvars
...
this ensures that rust-analyzer continues to work
2025-02-19 19:21:38 +01:00
Ioan Bizău
609e14264f
fix(core/ui): back button
...
[no changelog]
2025-02-19 16:14:08 +01:00
obrusvit
45adcd963a
refactor(core): remove unused delizia component
...
[no changelog]
2025-02-18 13:04:44 +01:00
Roman Zeyde
ae3b6434fc
feat(core): allow more paragraphs in ShowInfoParams
...
Otherwise, it fails when showing 4 items.
Note that each item results in 2 paragraphs (key and value).
Also, items are separated by an empty paragraph.
So 3 items use 8 (2*3+2) paragraphs and 4 items use 11 (2*4+3) paragraphs.
[no changelog]
2025-02-18 12:32:35 +01:00