1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-19 06:19:27 +00:00
Commit Graph

12053 Commits

Author SHA1 Message Date
matejcik
09de7ce4f2 feat(python/trezorctl): support prompt configuration for encrypt/decrypt keyvalue
fixes #2608
2023-04-27 13:37:16 +02:00
matejcik
cc2314d89d fix(python/trezorctl): do not prompt twice when enabling force-on-device
fixes #2833
2023-04-27 13:37:16 +02:00
tychovrahe
0c5db05357 feat(core): support 16bit i8080 display bus
[no changelog]
2023-04-27 12:36:12 +02:00
Martin Milata
f403b4c511 ci(nix): update to llvmPackages_14 2023-04-26 16:41:50 +02:00
tychovrahe
09349c308a feat(core): support hw revision 6 of T2B1
[no changelog]
2023-04-26 14:15:00 +02:00
tychovrahe
6fe25eb305 chore(vendor): optimize uzlib (via micropython)
relevant commit:
a973bbca756ca0c9219deefea2873d3cc774839d Uzlib: partially optimize decompression for speed

[no changelog]
2023-04-26 14:14:48 +02:00
tychovrahe
0a8981d643 refactor(core): rewrite display_image into rust
[no changelog]
2023-04-25 10:28:33 +02:00
tychovrahe
e578f7f0f8 refactor(core): remove unused C display_icon and display_loader functions
[no changelog]
2023-04-25 10:28:33 +02:00
tychovrahe
69be9b1edf refactor(core): improve safety of buffer handling
[no changelog]
2023-04-25 10:28:33 +02:00
matejcik
640685a41f chore(core/tools): add decomobine snippet, add readme 2023-04-24 12:21:24 +02:00
matejcik
9f597a6072 feat(core/tools): make combine_firmware script a bit smarter and more opinionated 2023-04-24 12:21:24 +02:00
Martin Milata
3fb3f108cc chore(vendor): bump micropython to 1.19.1
Relevant micropython commits:
  01374d941f9d7398e35990b574769b20c6779457 py/mpconfig.h: Define initial templates for "feature levels".
  7b89ad8dbf432ab51eea6d138e179bf51394c786 py/vm: Add a fast path for LOAD_ATTR on instance types.
  68219a295c75457c096ac42dbe8411b84e1e1a51 stm32: Enable LOAD_ATTR fast path, and map lookup caching on >M0.
  e0bf4611c3a8b23b3c52e6a7804aac341ac3a87d py: Only search frozen modules when '.frozen' is found in sys.path.
  f2040bfc7ee033e48acef9f289790f3b4e6b74e5 py: Rework bytecode and .mpy file format to be mostly static data.
  926b554dafffa1e9bd80aa12fea5c621221c9d79 extmod/moduos: Create general uos module to be used by all ports.
  2b409ef8a46015f8f3bd20bc44e644637dbe9bd3 unix/moduos: Convert module to use extmod version.
  47f634300c5572571816817f16836113c98814ae py: Change makemoduledefs process so it uses output of qstr extraction.
  0e7bfc88c6ac6b5d64240f91183a3cfe2ab67ade all: Use mp_obj_malloc everywhere it's applicable.
  2a6ba47110be88ff1e1f5abd1bd76c353447884c py/obj: Add static safety checks to mp_obj_is_type().
2023-04-21 13:14:07 +02:00
tychovrahe
eea52174ac fix(tests): set homescreen test uses colorful image, to better test homescreen rednering
[no changelog]
2023-04-21 09:07:18 +02:00
tychovrahe
dd5468fe88 fix(core): fix homescreen shade positioning
[no changelog]
2023-04-21 09:07:18 +02:00
dependabot[bot]
2727a23d57 chore(deps): bump cryptography from 36.0.1 to 39.0.1
Bumps [cryptography](https://github.com/pyca/cryptography) from 36.0.1 to 39.0.1.
- [Release notes](https://github.com/pyca/cryptography/releases)
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/36.0.1...39.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-20 10:57:35 +02:00
tychovrahe
33fb590f44 refactor(core): decouple i2c driver and touch driver
[no changelog]
2023-04-19 21:36:51 +02:00
tychovrahe
83500487b8 refactor(core): improve conditional compilations based on model
[no changelog]
2023-04-19 21:36:51 +02:00
tychovrahe
eb72fb4241 refactor(core): remove unused functions
[no changelog]
2023-04-19 21:36:51 +02:00
tychovrahe
6ea68baf34 refactor(core): move files out of extmod
[no changelog]
2023-04-19 21:36:51 +02:00
Martin Milata
7a3ab389f8 style(core/rust): fix indent
[no changelog]
2023-04-19 19:53:33 +02:00
Martin Milata
3dccc09201 Merge branch 'release/23.04' 2023-04-19 15:26:30 +02:00
Martin Milata
58be59529d style(core): fix clippy lints
[no changelog]
2023-04-19 13:05:03 +02:00
Martin Milata
56491a0530 test(crypto): use newer OpenSSL API
[no changelog]
2023-04-19 13:05:03 +02:00
matejcik
c9ae02442e chore(tools): improve check-bitcoin-only exception list 2023-04-19 13:05:03 +02:00
Pavol Rusnak
955c129bed chore: poetry lock --no-update
[no changelog]
2023-04-19 13:05:03 +02:00
Pavol Rusnak
a0aa414aa0 ci: bump nixpkgs to latest nixpkgs-unstable
[no changelog]
2023-04-19 13:05:03 +02:00
matejcik
37d0d91a84 chore: add production-signed prodtest header 2023-04-17 14:27:50 +02:00
matejcik
066729bf2b chore: build prodtest with prodtest_unsigned vendor header 2023-04-17 11:57:46 +02:00
matejcik
3d73ca957c build: add support for prodtest into build-docker 2023-04-17 11:57:46 +02:00
matejcik
fa1925a9d8 chore(core/vendorheaders): generate vendor header for prodtest 2023-04-17 11:57:46 +02:00
matejcik
366d1cb125 chore(core/vendorheaders): bump versions of vendor headers after recent changes 2023-04-14 16:29:25 +02:00
matejcik
01b7cfd86f fix(core/prodtest): ensure the prodtest image is at least one chunk big 2023-04-14 16:20:49 +02:00
matejcik
dd4d020a76 fix(core/bootloader): correctly handle images smaller than one chunk 2023-04-14 16:20:49 +02:00
Pavol Rusnak
056ac9d70a chore(vendor): update secp256k1-zkp to v0.3.1 2023-04-14 13:34:14 +02:00
grdddj
e8f32755ba feat(core/tools): improve alloc.py for seeing allocations
[no changelog]
2023-04-14 11:22:36 +02:00
tychovrahe
44178514f3 feat(core): support differently sized homescreen
[no changelog]
2023-04-12 14:03:12 +02:00
grdddj
2b71a44fd3 feat(tests): master diff creating different_screens.html report 2023-04-12 13:38:48 +02:00
Martin Milata
aa9f848b70 fix(core/ui): button text and warning style update
[no changelog]
2023-04-12 13:10:45 +02:00
Martin Milata
33e3da8ed3 tests: tweak wait time for test_autolock_ignores_getaddress
[no changelog]
2023-04-11 19:58:20 +02:00
grdddj
abeb34454c feat(python): use DebugLinkRecordScreen.refresh_index when restarting emulator
During each restart, Emulator will transfer the original screen-recording directory
to the new emulator/client and will change the refresh_index so that older screenshots
are not being overwritten by new ones.

[no changelog]
2023-04-11 15:15:44 +02:00
grdddj
0381faffb1 feat(core): support DebugLinkRecordScreen.refresh_index
Clients can set their own REFRESH_INDEX: int that will we part of the
screenshot name - e.g. refresh01-...
It is up to the client to keep increasing this number with each
emulator restart.

[no changelog]
2023-04-11 15:15:44 +02:00
grdddj
9804926682 feat(common/protob): add optional uint32 refresh_index into DebugLinkRecordScreen message
Allows for screenshots from multiple emulator restarts being recorded in the same
directory without being overwritten by each other.
(As core/embed/unix/display-unix.c::display_save() starts with zero index after each restart.)

[no changelog]
2023-04-11 15:15:44 +02:00
grdddj
f0223c7266 feat(ci): run persistence tests in UI testing mode
[no changelog]
2023-04-11 15:15:44 +02:00
grdddj
d4304dc38b chore(tests): record persistence tests fixtures
[no changelog]
2023-04-11 15:15:44 +02:00
grdddj
b6ce90dc73 feat(tests): support UI testing for persistence tests
Added new global `emulator_core` fixture that supports UI recording.

[no changelog]
2023-04-11 15:15:44 +02:00
tychovrahe
923b1c42b0 fix(cli): don't try to initialize device after wipe in bootloader 2023-04-11 13:57:12 +02:00
Martin Milata
2456219d52 fix(core/ui): hold to confirm when finializing replacement transaction
[no changelog]
2023-04-10 18:42:38 +02:00
Martin Milata
46940521d8 chore(core/bootloader): bump version to 2.1.1
[skip_ci]
2023-04-09 12:37:18 +02:00
Martin Milata
81e5dbf301 chore(core): bump version to 2.6.1
[skip_ci]
2023-04-09 12:37:18 +02:00
Martin Milata
88e1f8c7a5 docs(core): changelog for 2.6.0 2023-04-07 20:22:17 +02:00