1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-16 04:29:08 +00:00
Commit Graph

12750 Commits

Author SHA1 Message Date
matejcik
0bb57173db chore(common): remove useless proto imports 2024-02-12 14:49:32 +01:00
matejcik
6a280a279a feat(python): add cosi.sign_with_privkeys
we've had multiple copies of this function all over the codebase, it's time to move it where it belongs
2024-02-12 14:49:32 +01:00
matejcik
bdd8b1b426 build: fix top-level make gen 2024-02-12 14:49:32 +01:00
matejcik
185cf04063 chore(python): drop source support for Python 3.6 and 3.7 2024-02-12 14:49:32 +01:00
matejcik
fd7b94a6e9 fix(python): fix model enum aliases
the previous spelling of "aliases" created completely new enum entries

per Enum documentation:

> However, an enum member can have other names associated with it.
> Given two entries A and B with the same value (and A defined first),
> B is an alias for the member A. By-value lookup of the value of A will
> return the member A. By-name lookup of A will return the member A.
> By-name lookup of B will also return the member A.
2024-02-12 14:49:32 +01:00
matejcik
3e14937c8a feat(core/rust): add const Obj::small_int 2024-02-12 14:49:32 +01:00
matejcik
ff26113083 fix(crypto): add missing header for size_t 2024-02-12 14:49:32 +01:00
matejcik
63360a7417 feat(core/rust): add Map::is_empty() 2024-02-12 14:49:32 +01:00
matejcik
9c72c7c99d feat(common): provide some useful paths for the mako templates 2024-02-12 14:49:32 +01:00
matejcik
03298ca80f docs(core/rust): improve safety comments in buffer.rs 2024-02-12 14:49:32 +01:00
matejcik
0c793084f8 chore(core/rust): move illustration outside src/ tree 2024-02-12 14:49:32 +01:00
matejcik
8bf5a72843 refactor(core/rust): move iter_into_array to micropython::utils 2024-02-12 14:49:32 +01:00
matejcik
3b88116bba feat(core/rust): add trezorcrypto bindings
for now, we use sha256 and a little of ed25519 for CoSi purposes

also add the Merkle root algorithm
2024-02-12 14:49:32 +01:00
matejcik
76296ad417 refactor(core/rust): move InputStream to its own module 2024-02-12 14:49:32 +01:00
matejcik
519e591d91 chore(python): deprecate language setting in apply_settings / reset / recover 2024-02-12 14:49:32 +01:00
matejcik
055662ea27 chore(common): deprecate language fields in ApplySettings, ResetDevice, RecoveryDevice 2024-02-12 14:49:32 +01:00
grdddj
b8ea21d24a feat(all): implement translations into Trezor
Co-authored-by matejcik <ja@matejcik.cz>
2024-02-12 14:49:32 +01:00
Pavol Rusnak
b5c86a45ed
feat(rust/trezor-client): bump dependencies in Cargo.lock 2024-02-10 18:53:49 -03:00
Pavol Rusnak
d5eb68d1bc
feat(rust/trezor-client): bump version to 0.1.3 2024-02-10 18:52:31 -03:00
Martin Milata
bb29c1e5f8 fix(core/bitcoin): display descriptors for taproot XPUBs 2024-02-07 16:30:10 +01:00
dependabot[bot]
1a9bb11806 build(deps): bump cryptography from 41.0.3 to 42.0.0
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.3 to 42.0.0.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.3...42.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-06 11:19:11 +01:00
Martin Milata
3c7a6dd68a fix(core): handle uncaught exceptions from main.py
[no changelog]
2024-02-05 16:53:49 +01:00
grdddj
5dc193a552 chore(tests): regenerate fixtures
[no changelog]
2024-02-05 14:46:40 +01:00
grdddj
dba4bf9e38 feat(core): improve the design of TT locking loader on homescreen
[no changelog]
2024-02-05 14:46:40 +01:00
grdddj
76c547bb91 feat(core): add loader to homescreen when locking the device for TS3 2024-02-05 14:46:40 +01:00
cepetr
5d8e56ac2a refactor(core): shrink size of Paragraphs struct
[no changelog]
2024-02-05 14:10:54 +01:00
Ondrej Mikle
269d98d43e chore(core): make jlink flashing work together with FW integrity, but avoid erasing sectors unnecessarily
[no changelog]
2024-02-05 12:26:36 +01:00
stevenbooke
ed1785a985 fix(core): fix sed script syntax 2024-02-02 13:01:12 +01:00
matejcik
7958061705 build(core): optimize qstr and module collection
Run the preprocessor on each file separately.
This allows parallelization and doesn't need to re-run for all files if just a small number is changed.

Replace simple extractors with one-liners which are generally going to be faster.
2024-02-01 15:50:07 +01:00
matejcik
1d6fafa0ff build(core): use the right number of jobs 2024-02-01 15:50:07 +01:00
matejcik
66213823ea build(core): SCons "go fast" button
some pretty safe & reasonable defaults to speed up SCons:

- look at timestamps to figure out whether a file has changed
- but only if the timestamp is older than 10 secs (which should avoid any problems with 1s precision of mtime, as well as clock drifts etc)
- implicit cache is something to do with parsing C files for dependencies

see https://github.com/SCons/scons/wiki/GoFastButton
2024-02-01 15:50:07 +01:00
matejcik
1c244648c5 fix(common): set consistent timestamps on template-generated files
this helps the build system keep track of whether anything has actually changed
2024-02-01 15:50:07 +01:00
cepetr
6331076444 refactor(core/embed): move TOIF format definition to rust
[no changelog]
2024-01-26 11:30:40 +01:00
cepetr
8eb1f9b309 refactor(core/embed): delete unused utf8 functions
[no changelog]
2024-01-26 11:30:40 +01:00
cepetr
3b9dd55788 refactor(core/embed): introduce display_utils.c
[no changelog]
2024-01-26 11:30:40 +01:00
cepetr
cc6ed93b32 refactor(core/embed): move toif image routines
[no changelog]
2024-01-26 11:30:40 +01:00
cepetr
446c3b77b4 refactor(core/embed): move&rename display terminal functions
[no changelog]
2024-01-26 11:30:40 +01:00
cepetr
139701fb1a refactor(core/embed): move&rename display_font_xxx routines
[no changelog]
2024-01-26 11:30:40 +01:00
cepetr
3031ec5d87 refactor(core/embed): move&rename display_utf8_substr()
[no changelog]
2024-01-26 11:30:40 +01:00
DaniPopes
74c1129445 feat(rust/ethereum): remove primitive-types dependency, make chain ID optional 2024-01-25 16:00:40 +01:00
dependabot[bot]
37fde954b4 build(deps): bump pillow from 10.0.1 to 10.2.0
Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.0.1 to 10.2.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/10.0.1...10.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-23 09:57:46 +01:00
Roman Zeyde
071e1fa903 fixup! feat(rust/trezor-client): add get_ecdh_session_key method 2024-01-15 13:58:10 +01:00
Roman Zeyde
6d371be724 feat(rust/trezor-client): add get_ecdh_session_key method 2024-01-15 13:58:10 +01:00
Martin Milata
4374485805 ci: more ui report links 2024-01-12 22:03:15 +01:00
tychovrahe
63ee6f2ad2 perf(core): change 4bpp font format to allow dma2d rendering
[no changelog]
2024-01-11 12:22:08 +01:00
gabrielkerekes
1f4f1263aa chore: add changelog 2024-01-10 13:45:24 +01:00
gabrielkerekes
6691cb17b8 chore(solana): regenerate ui fixtures 2024-01-10 13:45:24 +01:00
gabrielkerekes
0de1768dc0 fix(solana): fix Memo, multisig and polish instructions UI 2024-01-10 13:45:24 +01:00
Martin Milata
e9c18d69ec ci: HTML UI reports for github actions
Co-authored-by: vdovhanych <dovhanych@me.com>
2024-01-10 11:10:31 +01:00
Martin Milata
cd7899dbcc feat(tests): generate master diff for subset of models 2024-01-10 11:10:31 +01:00