1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-30 18:10:56 +00:00
Commit Graph

13178 Commits

Author SHA1 Message Date
tychovrahe
576ed7e04e chore(core): use SD hal driver from submodule
[no changelog]
2024-04-03 13:08:16 +02:00
tychovrahe
69ed626ca0 fix(core): slowdown i2c on u5 to 200kHz
[no changelog]
2024-04-03 11:01:35 +02:00
Andrew Kozlik
1e53a84cfc chore(crypto): Zero-initialize stack variables in AES code. 2024-04-03 10:26:46 +02:00
Andrew Kozlik
15e02be4e4 fix(core): Clean up when constructor fails to reduce memory fragmentation.
[no changelog]
2024-04-03 10:26:46 +02:00
Andrew Kozlik
49a64cb3a1 test(core): Add AES-GCM unit tests.
[no changelog]
2024-04-03 10:26:46 +02:00
Andrew Kozlik
703ea32ceb feat(core): Add aesgcm class to trezor.crypto Python module.
[no changelog]
2024-04-03 10:26:46 +02:00
Andrew Kozlik
f1b5617652 test(crypto): Add AES-GCM tests. 2024-04-03 10:26:46 +02:00
Andrew Kozlik
a3adf98e47 feat(crypto): Integrate AES GCM into trezor-crypto. 2024-04-03 10:26:46 +02:00
Andrew Kozlik
6e207215e3 feat(crypto): Add Brian Gladman's implementation of GCM. 2024-04-03 10:26:46 +02:00
tychovrahe
89147ef493 refactor(core): improve flash api by introducing flash_area_write_data function
[no changelog]
2024-04-03 10:18:40 +02:00
tychovrahe
39cfa7087a fix(core): set proper GPIO speeds for T3T1
[no changelog]
2024-04-03 10:18:16 +02:00
Martin Milata
3c7cbdc47b ci: actions: build T3T1 firmware
[skip_ci]
2024-04-02 20:39:18 +00:00
grdddj
0e6b3299af chore(python): include the model names in Unsupported model error
[no changelog]
2024-04-02 14:31:59 +02:00
grdddj
605692e5ce chore(python): remove redundant variable assignment for T3T1 TrezorModel
[no changelog]
2024-04-02 14:31:59 +02:00
matejcik
45a4a1da99 fix(core/translations): correctly rename previous symbol
[no changelog]
2024-04-02 11:10:24 +02:00
matejcik
67c0cb0bd4 chore(common): drop wallets.json
the wallet info is not used by firmware or consumers of trezor-common
and so it moves to the definitions repo
at https://github.com/trezor/definitions
2024-04-02 10:43:06 +02:00
grdddj
adc86a7878 chore(ci): add T3T1 build into Gitlab
[no changelog]
2024-04-02 10:01:00 +02:00
matejcik
1c36c0927c style(core): fix (hopefully) the weird clippy warning about HOMESCREEN_TOIF_X_OFFSET
[no changelog]
2024-03-30 12:10:59 +01:00
matejcik
379737a9a5 chore(core): translate storage strings into supported languages 2024-03-30 12:10:59 +01:00
matejcik
de2fe3d6d6 feat(core/ui): unify progress.py code between models, implement storage translations
fixes #3520
2024-03-30 12:10:59 +01:00
matejcik
0553a2d4b4 fix(legacy): convert storage ui enum to text
[no changelog]
2024-03-30 12:10:59 +01:00
matejcik
ed89215a79 feat(core): expose StorageMessage to micropython
[no changelog]
2024-03-30 12:10:59 +01:00
matejcik
f60cc75c7c feat(storage): return enum values instead of strings, so that they are translatable 2024-03-30 12:10:59 +01:00
matejcik
0fa9860cf5 chore(core): sign translations for 2.7.0, including Czech blob 2024-03-28 22:10:15 +01:00
matejcik
b2649b0085 refactor(core): introduce Simplified trait
to abstract over some common operations between models

[no changelog]
2024-03-28 13:04:21 +01:00
tychovrahe
047c8a881b fix(core): fix order of loading BHK into SAES key register
[no changelog]
2024-03-28 13:02:17 +01:00
cepetr
1e3e7f808b fix(core): fix build on disc2 model 2024-03-27 10:44:56 +01:00
matejcik
b263dbc109 fix(all): improve Solana template generation 2024-03-26 15:22:32 +01:00
matejcik
6918b16313 feat(core/translations): add support for explicitly specifying blob version
so that it's possible to re-sign translation blobs on a specific commit
for older firmware version
2024-03-26 15:22:32 +01:00
matejcik
229a06d3a2 fix(core): store translation signatures directly into history section
without messing with the "current" entry at all
2024-03-26 15:22:32 +01:00
matejcik
63d1311509 fix(core): properly move old translation signature to history 2024-03-26 15:22:32 +01:00
matejcik
64e507e853 chore(core): add translation signatures 2024-03-26 15:22:32 +01:00
matejcik
9569968459 build(core): rebuild appropriate parts when translation data changes
fixes #3535
2024-03-26 15:22:32 +01:00
gabrielkerekes
b61ed7c02a fix(solana): round up transaction fee
If `unit_price * unit_limit / 1000000` didn't result in an integer `int()` would round the number down. However on the blockchain the resulting fee was be rounded up.
2024-03-25 16:31:01 +01:00
gabrielkerekes
9b84ecf833 fix(solana): accept compute budget instructions at any position 2024-03-25 16:31:01 +01:00
RostarMarek
8b485de173 feat(solana): Hidden flag functionality for instructions 2024-03-25 16:31:01 +01:00
Martin Milata
866853e856 tests: update fixtures.json 2024-03-25 11:12:20 +00:00
Martin Milata
60e01ce0e8 feat(tests): update_fixtures.py: github actions support 2024-03-25 11:12:20 +00:00
Martin Milata
4e5cf5e795 ci: actions: language awareness in ui reports
[skip_ci]
2024-03-25 11:12:20 +00:00
Martin Milata
78889c77aa ci: address github yaml lint
[skip_ci]
2024-03-25 11:12:20 +00:00
Martin Milata
10ba51c242 ci: actions: fix translations label trigger
[skip_ci]
2024-03-25 11:12:20 +00:00
tychovrahe
a80959e50f feat(core): allow T3T1 to start without touch during testing
[no changelog]
2024-03-25 09:16:07 +01:00
tychovrahe
5e827e09c4 fix(core): fix haptic driver initialization
[no changelog]
2024-03-25 08:35:02 +01:00
Wink Saville
58c480f1a6 feat: Remove pyblake2
Pyblake2 is archived and read-only, https://github.com/dchest/pyblake2
Also, according to python/CHANGELOG.md is no longer needed:

  $ rg pyblake2
  python/CHANGELOG.md
  394:- `pyblake2` is no longer required on Python 3.6 and up

fixes #3613
2024-03-22 10:50:11 +01:00
obrusvit
54468abd89 feat(core/emu): handle arrow buttons as swipes
[no changelog]
2024-03-21 12:37:18 +01:00
dependabot[bot]
58187625f1 build(deps): bump black from 24.2.0 to 24.3.0
Bumps [black](https://github.com/psf/black) from 24.2.0 to 24.3.0.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](https://github.com/psf/black/compare/24.2.0...24.3.0)

---
updated-dependencies:
- dependency-name: black
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-21 10:57:34 +01:00
Martin Milata
8a45a22ed7 tests: update fixtures.json 2024-03-21 00:44:04 +01:00
Martin Milata
68ff90ccbd Merge branch 'release/24.03' 2024-03-20 23:51:47 +01:00
cepetr
a1165d9326 feat(core): introduce skip function for UzlibContext
[no changelog]
2024-03-20 17:14:58 +01:00
cepetr
9575c81bd3 feat(core): introduce new color functions
[no changelog]
2024-03-20 17:14:58 +01:00