Martin Milata
fddac0434b
test: add device tests for non-standard paths
2021-06-17 13:53:35 +02:00
matejcik
7b3e0072ac
chore: update mypy to stable 0.901
2021-06-14 12:12:58 +02:00
Martin Milata
bc7fb32db9
docs(core): Fix dates in changelog
2021-06-11 20:22:42 +02:00
Andrew Kozlik
9ebfa936c0
docs(legacy/firmware): Fix dates in changelog.
2021-06-11 20:22:42 +02:00
Martin Milata
362504dfcd
docs(legacy/firmware): changelog for blake256 fix
2021-06-11 20:22:42 +02:00
Andrew Kozlik
ce18f4bc8a
test(crypto): Add progressive tests for hash functions.
2021-06-11 20:22:42 +02:00
Andrew Kozlik
e15406f712
test: Add device test for signing an empty message in Decred which uses the BLAKE hash function.
2021-06-11 20:22:42 +02:00
Andrew Kozlik
b2cc3bcb36
fix(crypto): Fix incorrect handling of empty input in blake256_Update().
2021-06-11 20:22:42 +02:00
matejcik
52c34c7364
fix(core): allow caching empty values ( fixes #1659 )
2021-06-11 12:32:13 +02:00
matejcik
74cf309a93
git subrepo push common
...
subrepo:
subdir: "common"
merged: "a62380e21"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "a62380e21"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2021-06-09 13:17:21 +02:00
matejcik
e4bb3b2f6c
chore(common): enable Syscoin support for Connect
2021-06-09 13:16:45 +02:00
matejcik
f48e2ea89f
git subrepo push common
...
subrepo:
subdir: "common"
merged: "813156c62"
upstream:
origin: "git+ssh://git@github.com/trezor/trezor-common"
branch: "master"
commit: "813156c62"
git-subrepo:
version: "0.4.1"
origin: "https://github.com/ingydotnet/git-subrepo "
commit: "a04d8c2"
2021-06-09 13:13:32 +02:00
vdovhanych
6b3e743373
ci: add duration timestamps on all test jobs
2021-06-09 10:00:24 +02:00
gabrielkerekes
ae831abb75
docs(core): add changelog entries for cardano updates
2021-06-08 15:02:24 +02:00
gabrielkerekes
8a3549dbf8
chore(tests): update ui_tests fixtures
2021-06-08 15:02:24 +02:00
gabrielkerekes
b2de8909d1
fix(core/cardano): reintroduce max tx output size
...
Output size is currently limited to 4000 bytes at protocol level. Given the maximum transaction size Trezor can handle (~9kB), we also want to enforce this size limit here so that when the limit is raised at protocol level again, Trezor would still not be able to produce larger outputs than it could reliably spend. Once Cardano-transaction signing is refactored to be completely streamed and maximum supported transaction size is thus raised, this limit can be lifted.
2021-06-08 15:02:24 +02:00
gabrielkerekes
a92b5fc333
fix(core/cardano): forbid tx outputs with both address and address parameters
2021-06-08 15:02:24 +02:00
gabrielkerekes
597402eab8
refactor(core/cardano): decouple address parameters validation
2021-06-08 15:02:24 +02:00
matejcik
d6776d988e
docs(core): add changelog entry for Rust protobuf
2021-06-08 09:55:19 +02:00
matejcik
aa4227fa84
ci: update coverage exclusion list
2021-06-08 09:55:19 +02:00
matejcik
e952a301d6
fix(tests): properly include tests whose expected hash is missing
2021-06-08 09:55:19 +02:00
matejcik
97f49cf336
fix(legacy): fix protobuf build [no changelog]
2021-06-08 09:55:19 +02:00
matejcik
a6485d76ee
style: ignore yaml files in venv
2021-06-08 09:55:19 +02:00
matejcik
0c5b0fe818
build: use mypy version from git
2021-06-08 09:55:19 +02:00
matejcik
b1ec73e10b
chore(tests): put enum names into UI fixture names (hashes are unchanged)
2021-06-08 09:55:19 +02:00
matejcik
cbe4e0e725
fix(core): properly exclude altcoins from all_modules
2021-06-08 09:55:19 +02:00
matejcik
a58823cc0c
refactor(python): rework trezorlib protobuf codec
...
API-compatibility with the original one is retained.
Now that we don't need to keep code parity with core, we could do some
changes that make life easier.
All generated classes are now in one file. This makes github diffs more
readable, at the cost of somewhat complicating inspecting individual
classes; however, that is something we shouldn't be doing anyway.
Enums are now implemented as enum.IntEnum.
The original class-level FIELDS member was restored.
Each field is now defined via protobuf.Field, which is easier to work
with in the codec, AND we're not stuffing defaults and flags into the
same field.
2021-06-08 09:55:19 +02:00
matejcik
729414e606
fix(core): exclude get/set U2F counter from BITCOIN_ONLY
2021-06-08 09:55:19 +02:00
matejcik
c06a93cba5
feat(core/rust): propagate bitcoin_only flag to Rust build
2021-06-08 09:55:19 +02:00
matejcik
845a66a7de
chore(common/tools): drop outdated and unused CoinDef generator
2021-06-08 09:55:19 +02:00
matejcik
9790a338f8
feat(common/protob): mark values as bitcoin_only in protobuf definitions
2021-06-08 09:55:19 +02:00
matejcik
215d35d870
fix(common/protob): use proper field type for backup type on debuglink
2021-06-08 09:55:19 +02:00
matejcik
1382246977
fix(core/tests): fix equality testing for new message types
2021-06-08 09:55:19 +02:00
Jan Pochyla
e5e3ad21b2
fix(tests): Adjust the expected error message
2021-06-08 09:55:19 +02:00
matejcik
da2ef8ed41
refactor(core): create and use protobuf uvarint writer
2021-06-08 09:55:19 +02:00
Jan Pochyla
a8623c4b59
refactor(core): fix imports and use new protobuf API in apps
2021-06-08 09:55:19 +02:00
Martin Milata
72557614c4
build(core): update build process for new protobuf
...
- properly exclude in the trezor/enums folder
- generate Rust protobuf blobs in scons
Split from "tools: Generate special Protobuf blobs for the Rust codec"
2021-06-08 09:55:19 +02:00
Jan Pochyla
02aa14fc04
refactor(core): Switch to new Protobuf API
2021-06-08 09:55:19 +02:00
matejcik
8a5cb41060
chore(core): regenerate with new templates
2021-06-08 09:55:19 +02:00
matejcik
d42bc8a4c0
refactor(core): prepare new templates for enums and messages
2021-06-08 09:55:19 +02:00
matejcik
266955ba65
refactor: rework pb2py generator
...
This also includes the capability to build Rust protobuf blobs.
2021-06-08 09:55:19 +02:00
Jan Pochyla
8a21e3fc73
feat(core): Add Rust Protobuf codec
2021-06-08 09:55:19 +02:00
Martin Milata
f9d4be268e
ci: increase timeout for hardware T1 regular test
2021-06-04 13:10:51 +02:00
Martin Milata
07c53452f6
ci: improve changelog check
...
- ignore master branch
- treat secfix/ same as release/ branches
- allow skiping check with [no changelog] in commit message
2021-06-04 13:10:51 +02:00
Pavol Rusnak
23aa69caea
fix(core): unify Features.revision reporting with legacy
2021-06-04 12:50:49 +02:00
matejcik
00d4b0a4a9
fix(common/tools): typo in support.py output
2021-06-04 11:38:18 +02:00
matejcik
2fac964a29
chore(common): disable Firo support
2021-06-04 11:38:18 +02:00
Pavol Rusnak
fce3640848
fix(common): remove dead coin Hatch
2021-06-04 10:10:26 +02:00
Martin Milata
767e7b8e8d
fix(core): spaces in Shamir info texts
2021-06-03 16:54:42 +02:00
Adam R
c4bf522b31
feat(crypto): add extra BIP32 test (test vector #4 ) ( #1646 )
2021-06-03 15:37:23 +02:00