grdddj
e4a6608d1f
chore(tests): divide test BTC transactions between existing and unexisting
2022-04-12 16:22:42 +02:00
Ondřej Vejpustek
8356d0a572
fix(crypto): use zero auxiliary data in BIP340
2022-04-12 16:22:42 +02:00
matejcik
a9b46f0249
fix(core/rust): be more defensive about strings coming in from uPy
2022-04-11 16:49:58 +02:00
matejcik
8dd7a22f8b
refactor(core/rust): disallow creating byte buffers from &str
2022-04-11 16:49:58 +02:00
matejcik
32c3320f07
refactor(core/rust): pass around &str instead of [u8] in most places
2022-04-11 16:49:58 +02:00
matejcik
785dc7f4d7
feat(core/rust): introduce StrBuffer
...
it is a variant of Buffer specifically for accepting python `str`
2022-04-11 16:49:58 +02:00
Ondrej Mikle
2ced50ed16
fix(core): update JLink command line flashing parameters
...
[no changelog]
2022-04-11 12:26:01 +02:00
Martin Milata
c153ffe4b3
ci: ui2 device tests
2022-04-07 17:58:41 +02:00
Martin Milata
1f612580f7
feat(core): enable UI tests for redesigned UI
...
[no changelog]
2022-04-07 17:58:41 +02:00
Martin Milata
2f987c3c5e
refactor(core/ui): remove dependencies on old layouts
...
[no changelog]
2022-04-07 17:58:41 +02:00
Martin Milata
2a3f0c16bd
ci(monero): update test executable, enable more tests
2022-04-07 16:28:12 +02:00
Martin Milata
cae87b9065
ci: fix glob for changed files
2022-04-05 16:55:49 +02:00
Martin Milata
d1978c062d
test(storage): remove timeouts for test_random and test_random_upgrade
2022-04-05 16:55:49 +02:00
Martin Milata
31f4e4f3db
test(storage): increase timeout for test_random
2022-04-05 13:03:23 +02:00
Martin Milata
8965ad68f2
ci: fix core unit test asan
2022-04-05 13:03:23 +02:00
Martin Milata
38f4ab0983
feat(core/rust/ui): return Layout results as singleton objects
...
[no changelog]
2022-04-04 13:32:07 +02:00
Martin Milata
4cf917c7cb
build(core): fix TREZOR_EMULATOR_DEBUGGABLE
...
[no changelog]
2022-04-04 13:32:07 +02:00
Jan Pochyla
36829cfa8f
feat(core/rust): Add obj_module! macro
...
[no changelog]
Co-authored-by: Martin Milata <martin@martinmilata.cz>
2022-04-04 13:32:07 +02:00
Christian Reitter
420a031a32
docs(crypto): document fuzzer dictionary export format
2022-04-01 15:31:38 +02:00
Christian Reitter
49f2c5e7ea
feat(crypto): clear internal BIP32 & BIP39 caches
2022-04-01 15:31:38 +02:00
Christian Reitter
dbc070976e
feat(crypto): adapt to schnorr function removal
2022-04-01 15:31:38 +02:00
Christian Reitter
b9a3a73c27
feat(crypto): improved clang version checks, remove duplicate, adapt to refactor
...
Makefiles do not natively support compiler version checks, so some
shell-based tricks have to be used instead.
The ethereum_address_checksum() function changed, adapt input length.
2022-04-01 15:31:38 +02:00
Christian Reitter
cf3c57d0ae
feat(crypto): improve trezor-crypto fuzzer, add new dictionary extraction program
...
Introduce fuzzing harnesses for zkp* functions and adapt some differential fuzzing
Additional documentation and minor cleanup
Add temporary workaround for clang-14 and more explicit Makefile behavior
2022-04-01 15:31:38 +02:00
Christian Reitter
47a05720aa
docs(crypto): update fuzzer documentation
2022-04-01 15:31:38 +02:00
Christian Reitter
18192e8eb2
feat(crypto): small fuzzer improvements
...
change mnemonic_to_bits() approach, fuzz mnemonic_to_seed(), minor code fixes
2022-04-01 15:31:38 +02:00
Christian Reitter
052a860afc
feat(crypto): fuzz mnemonic_from_data()
2022-04-01 15:31:38 +02:00
Christian Reitter
5564251920
feat(crypto): improve fuzzer secp256k1-zkp integration, add build workaround and sanitizer optimization, minor renaming
2022-04-01 15:31:38 +02:00
Christian Reitter
aee864c7ee
feat(crypto): improve fuzz testing code, documentation
2022-04-01 15:31:38 +02:00
Martin Milata
28cd0d2606
test: mark test_show_multisig_xpubs as flaky
2022-03-31 13:50:29 +02:00
Martin Milata
30ec1802f4
chore(core): bump version to 2.5.1
...
[skip_ci]
2022-03-30 21:57:54 +02:00
Martin Milata
4f95ec25f9
chore(legacy/firmware): bump version to 1.11.1
2022-03-30 21:57:54 +02:00
vdovhanych
5ea3071c86
ci: add issues to a new project
2022-03-30 15:17:16 +02:00
Martin Milata
0407e78e8c
ci: use autoPatchelfHook for emulators from pinned nixpkgs
2022-03-29 12:52:34 +02:00
Pavol Rusnak
9a8e257619
fix(core): fix SDL2 include path
...
[no changelog]
2022-03-29 12:22:11 +02:00
Pavol Rusnak
25bd9ebbbb
fix(legacy): fix SDL2 include path
...
[no changelog]
2022-03-29 12:22:11 +02:00
matejcik
7295d2ee1e
fix(common/tools): coin must be either supported or unsupported
2022-03-25 14:27:30 +01:00
Pavol Rusnak
334f7bbbe6
chore(common): defs cleanup
...
- drop Gamecredits - they became an ERC-20 token in 2020
- drop Nix - dead coin
- drop Polis - coin became a BEP-20 token and later Olympus network in 2021
2022-03-25 14:27:30 +01:00
vdovhanych
7ffa547288
ci: fix upload of index to public storage
2022-03-25 11:02:20 +01:00
matejcik
6af119fcdd
fix(ci): make sure poetry environment is clean of leftovers
2022-03-24 14:30:20 +01:00
grdddj
068e97c258
feat(python): unify option arguments in trezorctl
2022-03-24 14:30:20 +01:00
grdddj
d7d228e716
chore(python): limit click version to be below 8.1
2022-03-24 14:30:20 +01:00
matejcik
e9364ea0ae
style(tools): fix type annotations in pyright tool
2022-03-23 14:55:05 +01:00
matejcik
61718aff49
feat(tools): make pyright_tool more user-friendly
...
[no changelog]
* passed in directory respects absolute and relative paths instead of
working "from repository root"
* we don't require the enableTypeIgnoreComments to be set so both
`pyright` and `pyright_tool` can work with the same config at the same
time
* use click's magic functionality to deal with missing / unreadable /
unwriteable files
* read the error results via a pipe, do not write to filesystem unless
requested
* simplified logic regarding "test mode"/"dev mode"
* renamed `--log` to more typical `--verbose`
* use pathlib more extensively
2022-03-23 14:55:05 +01:00
vdovhanych
b365788d88
ci: fix upload folders path on public storage
2022-03-23 14:35:43 +01:00
Martin Milata
c8dda3242b
ci: build emulator with new fonts before running cargo test
2022-03-23 13:40:45 +01:00
Martin Milata
45276963c0
fix(core): fix timers for rust layouts
...
[no changelog]
2022-03-23 13:40:45 +01:00
Martin Milata
4eefaffac9
fix(core/rust/ui): recovery/passphrase keyboard fixes
...
[no changelog]
2022-03-23 13:40:45 +01:00
Martin Milata
efe25a6ab4
fix(core/rust/ui): pin keyboard tweaks
...
[no changelog]
2022-03-23 13:40:45 +01:00
Martin Milata
d51072b8c1
refactor(core/rust/ui): unhardcode screen size
...
[no changelog]
2022-03-23 13:40:45 +01:00
matejcik
82182ae078
ci: use external servers in CI and scripts
2022-03-23 11:28:56 +01:00