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

15040 Commits

Author SHA1 Message Date
Roman Zeyde
1bdc48a73f feat(core): add success screen to transactions' signature flow 2025-05-22 16:22:04 +03:00
Roman Zeyde
946fc89449 feat(core): send address & public key response before showing StatusScreen
Co-authored-by: matejcik <ja@matejcik.cz>
2025-05-21 16:37:38 +03:00
grdddj
3f520b4ce2 chore(python): remove inner parenthesis from type: ignore to silence mypy syntax errors 2025-05-21 14:29:22 +02:00
Ioan Bizău
5a684cd5e3 fix(core): address later comments on ETH approve flow
[no changelog]
2025-05-21 14:13:10 +02:00
Ioan Bizău
807b2eccc4 chore(core): update fixtures
[no changelog]
2025-05-21 11:54:21 +02:00
Ioan Bizău
508248bcb7 fix(delizia): make chunkified text have the same color
[no changelog]
2025-05-21 11:54:21 +02:00
Ioan Bizău
eb395000dc fix(delizia): use "tap" instruction on warnings
[no changelog]
2025-05-21 11:54:21 +02:00
Ioan Bizău
0ba8173424 feat(core): introduce a flow for ethereum approve 2025-05-21 11:54:21 +02:00
Ioan Bizău
c275b5d995 feat(tests/ui_tests): collapse unchanged screenshots in UI diff
[no changelog]
2025-05-20 15:32:37 +02:00
Roman Zeyde
e8653c5009 test(core): deflake passphrase-related tests
Currently, `PassphraseKeyboard` is shown after `request_passphrase_on_host()`
layout, so in in order to avoid a race condition[^1][^2], an explicit
synchronization was added.

[no changelog]

[^1]: https://github.com/trezor/trezor-firmware/actions/runs/14999904818/job/42144246518?pr=5037
[^2]: https://github.com/trezor/trezor-firmware/actions/runs/15067093253/job/42354594590?pr=5041
2025-05-20 14:16:43 +03:00
dependabot[bot]
6879d5afb4 build(deps): bump setuptools from 70.0.0 to 78.1.1
Bumps [setuptools](https://github.com/pypa/setuptools) from 70.0.0 to 78.1.1.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v70.0.0...v78.1.1)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-version: 78.1.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-05-20 10:10:08 +02:00
Roman Zeyde
e98ea83230 chore(core): rename "via-host" and "via-device" repeated backup tests
[no changelog]
2025-05-19 14:46:13 +03:00
Roman Zeyde
c7d1104793 test(core): explicitly confirm backup success
[no backup]
2025-05-19 14:46:13 +03:00
Roman Zeyde
05f951784e fix(core): fix tutorial-related translations 2025-05-19 14:45:30 +03:00
M1nd3r
df28c84e0b chore(storage): rename DEVICE_SECRET and CRED_AUTH_KEY_COUNTER
[no changelog]
2025-05-19 13:33:17 +02:00
M1nd3r
f190830fb7 chore(storage): make device secret and credential key counter persist reset
[no changelog]
2025-05-19 13:33:17 +02:00
tychovrahe
6bdac7614f feat(core): support handling of tropic keys in secret sector
[no changelog]
2025-05-19 11:41:36 +02:00
tychovrahe
9708d329e1 chore(core): introduce basic logical operations on secbool
[no changelog]
2025-05-19 11:41:36 +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
matejcik
9fc0c5d82b docs: improve external definition documentation
and introduce the new URL scheme

[no changelog]
2025-05-19 11:14:20 +02:00
tychovrahe
e4a31ab0e3 feat(core/prodtest): report build version in prodtest intro and version 2025-05-19 09:34:26 +02:00
tychovrahe
13a576c556 feat(core): add bin to hex conversion to Makefile
[no changelog]
2025-05-17 07:03:26 +02:00
tychovrahe
0b7e53e72d fix(core/bootloader): increase c_laoyout_t buffer size
[no changelog]
2025-05-16 14:56:23 +02:00
tychovrahe
048970d059 fix(core/bootloader): fix reboot trezor when called from waiting for host
[no changelog]
2025-05-16 14:56:23 +02:00
Roman Zeyde
2a7f79e023 ci(core): increase minimal coverage threshold to 85% 2025-05-16 13:25:31 +03: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
Roman Zeyde
717429bedb ci(core): enable coverage report for T3B1
[no changelog]
2025-05-15 19:52:33 +03:00
Roman Zeyde
d91822938a feat(core): annotate Python code with execution stats
[no changelog]
2025-05-15 19:52:33 +03:00
Roman Zeyde
846e890327 feat(core): count per-line execution when profiling
[no changelog]
2025-05-15 19:52:33 +03:00
Roman Zeyde
556e29b068 perf(core): enable MICROPY_ROM_TEXT_COMPRESSION
Also, use `__builtin_strcmp` instead of `strcmp`.

[no changelog]
2025-05-15 09:55:40 +03:00
Roman Zeyde
1010be428a chore(core): use MP_ERROR_TEXT() macro for exception messages
[no changelog]
2025-05-15 09:55:40 +03:00
Roman Zeyde
3df107c087 fix(vendor): use MP_ERROR_TEXT for mp_map_presize error message
[no changelog]
2025-05-15 09:55:40 +03:00
Martin Milata
2f622df974 chore: update fixtures
[no changelog]
2025-05-14 23:57:03 +02:00
Martin Milata
5ac2660003 refactor(core): don't close tasks when changing language
Since global layout this should no longer be required.
2025-05-14 23:57:03 +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
Roman Zeyde
bd87ebd4b0 chore(core): use -ffreestanding for SOURCE_MOD_CRYPTO and SOURCE_MOD_SECP256K1_ZKP
[no changelog]
2025-05-13 20:17:41 +03:00
Roman Zeyde
ca943aeb8b chore(core): don't use main() in core/embed/projects/firmware/main.c
It would allow compile it without `-ffreestanding`.

[no changelog]
2025-05-13 20:17:41 +03:00
Roman Zeyde
7cdb0cf244 feat(vendor): update MicroPython to allow excluding line numbers from bytecode
Setting `MICROPY_ENABLE_SOURCE_LINE=0` helps reducing the debug firmware size by ~2%:
```
$ TREZOR_MODEL=T3T1 MICROPY_ENABLE_SOURCE_LINE=0 PYOPT=0 make -C core build_firmware
<snip>
           FLASH:     1,629,456 B      1664 KB     95.63%
```

Before this PR:
```
           FLASH:     1,662,224 B      1664 KB     97.55%
```

[no changelog]
2025-05-13 17:07:37 +03:00
Tomas Susanka
f2cf5d8fa1 chore(docs): update SECURITY.md 2025-05-13 13:57:43 +02:00
Roman Zeyde
78227ed20f perf(core): remove more local imports from Bitcoin signing flow
[no changelog]
2025-05-13 11:58:36 +03:00
Roman Zeyde
c73e098380 ci(core): upload ui-report results concurrently
Also, use `aws s3 cp --recursive` instead of `aws s3 sync` for UI tests'
reports, which are using unique S3 paths (to avoid existence checking).

[no changelog]
2025-05-13 11:57:06 +03:00
Roman Zeyde
c1b0852b90 ci(core): increase S3 upload concurrency for ui-report action
[no changelog]
2025-05-13 11:57:06 +03:00
Roman Zeyde
65c34774a1 ci(core): run click tests in parallel
[no changelog]
2025-05-13 11:57:06 +03: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
55b1c840fb chore(legacy): remove Binance from protob/Makefile
[no changelog]
2025-05-13 09:20:59 +03:00
Roman Zeyde
3a7850f6a0 chore: remove BNB Beacon Chain support 2025-05-13 09:04:48 +03:00
Ioan Bizău
e5f38baf4e release: sign translations 2025-05-12 09:38:11 +02:00