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
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