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

14109 Commits

Author SHA1 Message Date
naiyoma
9f9354a820 [no changelog] Refactor arithmetic operations in fido2.py to use utime.ticks_add() and utime.ticks_diff() 2024-03-18 11:59:32 +01:00
naiyoma
d76829f817 [no changelog] refactor(core): Use utime.ticks_diff in verify_user_pin 2024-03-18 11:59:32 +01:00
dependabot[bot]
5eca32751f build(deps-dev): bump jinja2 from 3.0.3 to 3.1.3
Bumps [jinja2](https://github.com/pallets/jinja) from 3.0.3 to 3.1.3.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.0.3...3.1.3)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 11:50:16 +01:00
dependabot[bot]
3dc5e9b2db chore(deps): bump shlex from 1.0.0 to 1.3.0 in /core/embed/rust/fuzz
Bumps [shlex](https://github.com/comex/rust-shlex) from 1.0.0 to 1.3.0.
- [Changelog](https://github.com/comex/rust-shlex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/comex/rust-shlex/commits)

---
updated-dependencies:
- dependency-name: shlex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 11:49:06 +01:00
dependabot[bot]
bd3b070942 chore(deps): bump shlex from 1.1.0 to 1.3.0 in /core/embed/rust
Bumps [shlex](https://github.com/comex/rust-shlex) from 1.1.0 to 1.3.0.
- [Changelog](https://github.com/comex/rust-shlex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/comex/rust-shlex/commits)

---
updated-dependencies:
- dependency-name: shlex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-18 10:41:53 +01:00
cepetr
ecd4465ab3 fix(core): fix mouse event processing in the simulator
[no changelog]
2024-03-17 14:04:33 +01:00
Martin Milata
6e1cb9ff8c tests: update fixtures.json 2024-03-15 15:55:06 +00:00
Martin Milata
54199e43ae ci: actions: primitive icons for UI diff comments
[skip_ci]
2024-03-15 15:55:06 +00:00
Martin Milata
bdba40dfe6 ci: actions: fix test artifact name
[no changelog][skip_ci]
2024-03-15 13:58:55 +01:00
Martin Milata
0263b38a26 ci: test translations
[skip_ci]
2024-03-15 13:58:55 +01:00
Martin Milata
9ae587dd26 ci: skip posting comment when ran outside pull_request
[skip_ci]
2024-03-15 13:58:55 +01:00
tychovrahe
e000b526cc refactor(core): extract common layout handling from bootloader ui implementations in rust
[no changelog]
2024-03-15 13:13:40 +01:00
tychovrahe
945382fbaa fix(core): fix flashing f4 firmware via debugger
[no changelog]
2024-03-15 13:13:05 +01:00
matejcik
6bd83aac94 tests(translations): restore test_error_invalid_signature 2024-03-15 13:11:17 +01:00
matejcik
00544312b5 tests(translations): always use client version for language blobs
and ignore what is written in the jsons
2024-03-15 13:11:17 +01:00
matejcik
802958bc05 tests: test that trailing data in translations header will be accepted 2024-03-15 13:11:17 +01:00
matejcik
22beadc1b7 chore: tag generated files for github diffs 2024-03-15 13:11:17 +01:00
matejcik
106793956c tests: add more granular silent language installation tests 2024-03-15 13:11:17 +01:00
tychovrahe
1909d1ebdb feat(core): improve flexibility of combine script, add combine fw make targets
[no changelog]
2024-03-13 22:12:57 +01:00
Martin Milata
e7f2d3f6cc test(core): use internal model names
[no changelog]
2024-03-12 20:55:23 +00:00
Martin Milata
73a7223e7b test(core): add T3T1 support
[no changelog]
2024-03-12 20:55:23 +00:00
Martin Milata
ebb480ef29 fix(core): T3T1 emulator
[no changelog]
2024-03-12 20:55:23 +00:00
obrusvit
a1a0aa5d7a docs: hint usage of trezor-user-env
[no changelog]
2024-03-12 15:51:53 +01:00
Martin Milata
99f2f2bbe9 ci: actions: don't fail for outside contributors 2024-03-09 19:12:04 +00:00
stevenbooke
6a8ce5b5c0 feat(rust/trezor_client): add solana_get_address example 2024-03-09 19:12:04 +00:00
matejcik
48de0cb469 chore: update fixtures for translations 2024-03-08 13:17:12 +01:00
matejcik
1fede16548 fix: update check-bitcoin-only exceptions list 2024-03-08 13:17:12 +01:00
matejcik
b6e8567a49 fix(core): exclude altcoin functions from bitcoinonly build 2024-03-08 13:17:12 +01:00
matejcik
f34ad3daf1 fix: correctly detect all altcoin names in check-bitcoin-only
The -d multi-select picks only coins that are available on _all_ models.
Besides, it's more correct to check even for unsupported altcoins.
2024-03-08 13:17:12 +01:00
matejcik
17678ef38d fix(core/rust): exclude altcoin strings from generated code 2024-03-08 13:17:12 +01:00
matejcik
ccf4b7e9eb fix(core/rust): convert bitcoin_only to an additive feature
universal_fw enables more features, as opposed to bitcoin_only removing features
2024-03-08 13:17:12 +01:00
Martin Milata
a433f8f914 test(core): ignore {0} in bitcoin-only firmware 2024-03-08 11:00:48 +00:00
matejcik
87894ae062 chore(core): add translation signatures 2024-03-07 12:26:58 +01:00
matejcik
fd3919254c refactor(core/ui): rename confirm_payment_request to should_...
Because confirm_* returns None and raises on false.

but this layout is actually a prompt akin to should_show_more
2024-03-07 09:53:00 +01:00
matejcik
34965ca2cb refactor(core/ui): use LayoutObj signatures in layout files
* make sure every confirm_* returns None
* prefer "def -> Awaitable[T]" to "async def -> T" everywhere (avoids one useless allocation per call)
* type-check return values from Rust layouts
2024-03-07 09:53:00 +01:00
matejcik
0304484ca6 docs(core): add method signatures for LayoutObj to mocks (fixes #2672)
feat(core): annotate CONFIRMED/CANCELLED/INFO as fake class UiResult
2024-03-07 09:53:00 +01:00
matejcik
99457bbcb0 refactor(core/ui): make request_number signature the same in TT and TR 2024-03-07 09:53:00 +01:00
matejcik
29863f84ca refactor(core): simplify context.wait() to only accept one task
Nobody was using the multi-task version and this is easier to properly
type-annotate.
2024-03-07 09:53:00 +01:00
tychovrahe
e736d389f2 fix(core): fix backlight reinitialization with maximum value
[no changelog]
2024-03-05 16:51:23 +01:00
tychovrahe
8ccd2cb048 feat(core): add support for T3T1 rev. E HW
[no changelog]
2024-03-05 16:51:23 +01:00
Martin Milata
45e8a842a3 fix(core): add production pubkeys for translations
[no changelog]

(cherry picked from commit bfacd07ed7)
2024-03-04 13:25:03 +01:00
Martin Milata
bfacd07ed7 fix(core): add production pubkeys for translations
[no changelog]
2024-03-04 12:16:20 +00:00
Martin Milata
2b0ce0398c chore(core): bump version to 2.7.1
[no changelog]
2024-03-04 09:56:21 +00:00
Martin Milata
ca5d852250 docs(core): fix version in changelogs 2024-03-01 21:21:04 +01:00
tychovrahe
1f67c1e55c chore(core): bump fw and fix version due to storage migration
[no changelog]

(cherry picked from commit ffabee2e6a)
2024-03-01 16:30:27 +01:00
tychovrahe
ffabee2e6a chore(core): bump fw and fix version due to storage migration
[no changelog]
2024-03-01 15:26:43 +00:00
tychovrahe
d69750fae4 refactor(core): do not use framebuffer dma copy in boardloader to safe flash space
[no changelog]
2024-02-29 23:40:17 +01:00
tychovrahe
f08bed363d refactor(core): extract framebuffer copy to separate bg_copy functionality
[no changelog]
2024-02-29 23:40:17 +01:00
tychovrahe
afefc17478 refactor(core): use internal framebuffer on T3T1 (with ST7789V display controller)
[no changelog]
2024-02-29 23:40:17 +01:00
tychovrahe
416794a463 fix(core): add missing refresh to boardloader startup
[no changelog]
2024-02-29 23:40:17 +01:00