1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-21 05:48:23 +00:00
Commit Graph

13242 Commits

Author SHA1 Message Date
grdddj
171c615dfa chore(tests): remove unused imports and variables
[no changelog]
2024-02-22 12:10:12 +01:00
grdddj
4bca28bac0 chore(tests): run isort and put "from common import *" at the beginning
[no changelog]
2024-02-22 12:10:12 +01:00
grdddj
4bd7cf4b04 chore(tests): run black
[no changelog]
2024-02-22 12:10:12 +01:00
obrusvit
e2b7244383 Rename trezorctl self-test to prodtest-t1.
It was confusing for trezorctl users. The new name clearly signals that
it's meant to work only for Model One.
2024-02-22 11:47:26 +01:00
dependabot[bot]
0309e41c9d build(deps): bump cryptography from 42.0.0 to 42.0.4
Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.0 to 42.0.4.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.0...42.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-22 11:10:07 +01:00
grdddj
4204ba1404 chore(tests): regenerate fixtures
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
5aec7bf414 chore(core): generate signatures.json
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
d2167fdd27 chore(tools): add rules for buttons and new strings
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
a6b02e0311 fix(core): replace spanish number symbol with nro. shortcut
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
8f4c956bdc fix(core): shorten long translations
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
2c06c4a75c feat(core): add newly translated strings from agency
[no changelog]
2024-02-21 12:44:40 +01:00
Martin Milata
f80e6ab642 docs(core): document translations blob format
[skip_ci]
2024-02-21 12:44:40 +01:00
grdddj
f4538b9426 feat(tests): fix and extend translations tests
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
294b6e6666 feat(tests): create test for silent language updates
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
5ce5d47171 chore(core): catch possible EOFError when parsing translations header
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
f234d19992 docs(core): add documentation for translations
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
1ab2d843ab chore(core): add missing template to the variable name
[no changelog]
2024-02-21 12:44:40 +01:00
grdddj
8d1e002dfb chore(python): include error when wanting to upload a JSON file as a translation payload
[no changelog]
2024-02-21 12:44:40 +01:00
vdovhanych
a8beb03428 ci: update action upload-artifact to latest version
[skip_ci]
2024-02-20 19:49:41 +01:00
Martin Milata
1ff789101b ci: move hardware tests over to github actions
[skip_ci]
2024-02-20 19:49:41 +01:00
tychovrahe
cd8a0ea690 test(storage): add upgrade test from version 3
[no changelog]
2024-02-20 09:37:28 +01:00
tychovrahe
434ed04b7f feat(storage): implemented more effective pin logs for blockwise storage
[no changelog]
2024-02-20 09:37:28 +01:00
tychovrahe
919d752598 docs(storage): update storage readme to reflect bitwise/blockwise division
[no changelog]
2024-02-20 09:37:28 +01:00
tychovrahe
abcbf88e9b fix(storage): ensure little endian is always used in python implementation
[no changelog]
2024-02-20 09:37:28 +01:00
tychovrahe
e0594c9c62 fix(storage): fix app protected check in python implementation
[no changelog]
2024-02-20 09:37:28 +01:00
tychovrahe
8147b11345 fix(core): fix quadword-only storage
[no changelog]
2024-02-20 09:37:28 +01:00
Andrew Kozlik
440b1304c0 refactor(storage): Split implementations based on FLASH_BIT_ACCESS.
[no changelog]
2024-02-20 09:37:28 +01:00
Andrew Kozlik
0c6c1b31ff refactor(storage): Clean up norcow.c.
[no changelog]
2024-02-20 09:37:28 +01:00
Andrew Kozlik
b2f05f187f feat(storage): Work with generic flash blocks instead of quadwords.
[no changelog]
2024-02-20 09:37:28 +01:00
tychovrahe
743ed413f6 feat(core): add support for quad-word only storage
[no changelog]
2024-02-20 09:37:28 +01:00
tychovrahe
f8eae3f023 fix(storage/tests): fix norcow active offset initialization, add missing assert in test_set_locked
[no changelog]
2024-02-20 09:37:28 +01:00
grdddj
0579ba54fc feat(core): allow for going back to previous word in recovery process 2024-02-19 22:05:04 +01:00
obrusvit
1cddc4cdb2 docs: renew links for TOIF tool
[no changelog]
2024-02-13 16:51:54 +01:00
obrusvit
d2ee3c18ed docs: impl tool to list .md missing in SUMMARY.md
[no changelog]
2024-02-13 16:51:54 +01:00
obrusvit
8c5f73c413 docs: improve documentation for core
[no changelog]
2024-02-13 16:51:54 +01:00
grdddj
6142a39f20 fix(core): add debug feature to Rust in hardware build when PYOPT=0
[no changelog]
2024-02-12 17:07:28 +01:00
grdddj
941408246c chore(core): add changelog entry for translations 2024-02-12 14:49:32 +01:00
matejcik
65178a6a36 refactor(core/rust): reuse the same component for "waiting for host" screen 2024-02-12 14:49:32 +01:00
matejcik
8471e0c455 refactor(core/rust): decouple Connect screen from bootloader theme 2024-02-12 14:49:32 +01:00
matejcik
02557ad6c0 feat(core/rust): expose attrtuple to Rust 2024-02-12 14:49:32 +01:00
matejcik
6af7b4a4b7 fix(core/rust): convert Qstr type to representation that matches C code 2024-02-12 14:49:32 +01:00
matejcik
ab3c62ae71 feat(core/rust): introduce SimpleTypeObj 2024-02-12 14:49:32 +01:00
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