1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-12 17:38:13 +00:00
Commit Graph

14124 Commits

Author SHA1 Message Date
M1nd3r
86fb7dfbe8 fixup! build(ci): add thp builds and tests 2024-12-06 09:24:25 +01:00
M1nd3r
93253c9b60 wip 2024-12-06 09:24:25 +01:00
M1nd3r
41cdbf7bc4 refactor(core): move handling of ThpCreateNewSession message into base.py
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
ece943d3a6 refactor(core): move wire buffer handling completely to memory_manager
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
d19b58c1ab refactor(common): remove pairing_in/out and channel_in/out proto options
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
c03037f56a fix(tests): change xfail to skip when using protocol_marker
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
6482b236b7 refactor(python,tests): add is_invalidated flag to client, do not set the emulator.client outside from emulator
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
263ed97584 fixup! build(ci): add thp builds and tests 2024-12-06 09:24:25 +01:00
M1nd3r
0f1c3d9fdf refactor(core): move exclude list from wipe to wipe_cache
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
c226f4242c refactor(core): clean channel and received_message_handler
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
ffd9b16e2a refactor(core): improve readability and logging in channel.py
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
663bfa3d6e refactor(core): improve readability of channel_manager
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
0c11e23239 chore(vendor): update fido2-tests
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
cc8ecbe99e test: update test framework
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
3a48c901f5 test: update device tests
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
048a8c455e test: update ui tests
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
de11d399eb test: update upgrade tests
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
7b1921eebf test: update persistence tests
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
9c98b154ef test: update click tests
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
a0cfa9fedd chore(python): update python tools
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
75eff0e2a4 chore(python): add python requirements
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
c87de26630 feat(python): implement session based trezorlib
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
ec83ff18c3 feat(legacy): adapt legacy to THP changes
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
4f7ac82fd3 feat(core): implement THP 2024-12-06 09:24:25 +01:00
M1nd3r
a280b17133 chore(core): adapt SConscripts to THP needs 2024-12-06 09:24:25 +01:00
M1nd3r
c9a4008f77 chore: add build_unix_frozen_debug to core Makefile
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
fd48a705ed chore(core): adapt emu.py to new trezorlib
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
3f94693304 feat(common): add thp protobuf definitions and modify pb2py
[no changelog]
2024-12-06 09:24:25 +01:00
M1nd3r
4d03d61e8b build(ci): add thp builds and tests 2024-12-06 09:24:25 +01:00
tychovrahe
b4ba056a39 fix(core): fix translation area access from coreapp applet
[no changelog]
2024-12-05 17:17:08 +01:00
matejcik
81adeb247d build(build-docker): use QUIET_MODE for core builds 2024-12-04 16:36:19 +01:00
matejcik
7d4cd8ffb7 build(build-docker): perform a reproducible shallow clone of the repository in build-docker.sh 2024-12-04 16:36:19 +01:00
Martin Milata
2635e4c7fd build(core): use deterministic git rev-parse
The output may differ in shallow vs. full repo.

[no changelog]
2024-12-04 16:36:19 +01:00
obrusvit
61ebb19515 refactor(core): mercury confirm_summary
- old confirm_total removed
- flow_confirm_summary refactored to confirm_summary

[no changelog]
2024-12-04 14:47:53 +01:00
obrusvit
af6240b52c refactor(core): model_r confirm_summary
- altcoin_tx_summary removed and replaced with confirm_summary

[no changelog]
2024-12-04 14:47:53 +01:00
obrusvit
6e94748e92 refactor(core): model_t confirm_summary
- model_t confirm_total refactored to confirm_summary
- parameter set changed to pave the way for unification across models

[no changelog]
2024-12-04 14:47:53 +01:00
matejcik
ef02c4de5d feat(core): introduce storage insecure mode
reduces the number of PIN iterations and avoids erasing the other
storage bank -- if a test ever overruns, it will probably RSOD out, but
that's unlikely to happen
2024-12-03 11:02:17 +01:00
matejcik
835f7087c6 build(core): correctly propagate DISABLE_OPTIGA to kernel 2024-12-03 11:02:17 +01:00
matejcik
331e07b1e0 feat(core): disable animations in debug firmware by default
This makes it possible to run HW tests on the T3T1 where animations mess
things up. It also speeds up HW tests on other models slightly.

export TREZOR_DISABLE_ANIMATION=0 to build a debug firmware with
animations enabled
2024-12-03 11:02:17 +01:00
Ioan Bizău
13df961317 refactor(core/ui): introduce show_danger
This is a unified interface for flow_warning_hi_prio,
which was available only on Mercury before.

[no changelog]
2024-12-02 22:28:00 +01:00
Martin Milata
92a0e9d6c7 ci: work around rate limit, no UI comment for legacy 2024-12-02 21:41:13 +01:00
Ioan Bizău
aa58ea7158 fix(core/ui): make cancel the last menu item
[no changelog]
2024-12-02 19:52:56 +01:00
Ioan Bizău
5c8ee873c6 chore(core/ui): remove new_confirm_address on Mercury
[no changelog]
2024-12-02 19:52:56 +01:00
obrusvit
deb5ce3f48 refactor(core): remove flow confirm_with_info
- usage of `flow::confirm_with_info` is replaced with
`flow::confirm_action` which is parameterized accordingly

[no changelog]
2024-12-02 19:52:56 +01:00
obrusvit
b915753aa3 chore: update fixtures for other langs
[no changelog]
2024-12-02 17:56:46 +01:00
tychovrahe
ef5ed2ee72 fix(core): fix haptic driver with reset pin initialization
[no changelog]
2024-12-02 17:18:59 +01:00
tychovrahe
8f4268229a feat(core): use SMPS on T3W1
[no changelog]
2024-12-02 15:06:32 +01:00
tychovrahe
2c87d43b51 fix(core): fix option bytes settings for U5G models
[no changelog]
2024-12-02 15:06:09 +01:00
tychovrahe
46eebd23a4 fix(core/prodtest): fix BOOTLOADER VERSION command 2024-12-02 15:05:55 +01:00
M1nd3r
01cf58f2a1 docs(core): add and modify docs to context and cache
[no changelog]
2024-12-02 12:39:15 +01:00