Andrew Kozlik
a5eecf7a3c
tests/ui: update fixtures to account for changed bgold amounts
2020-05-24 14:36:38 +00:00
Andrew Kozlik
cb32ae2e4b
core/tests: add request_meta queries to unit tests (needed for transaction streaming)
2020-05-24 14:36:38 +00:00
Andrew Kozlik
42eddf8e04
core/sign_tx: validate prevout amount in all cases
2020-05-24 14:36:38 +00:00
Andrew Kozlik
7db3e930d4
core/sign_tx: Add further message sanitization checks.
2020-05-24 14:36:37 +00:00
Andrew Kozlik
7b94cbee54
tests: Fix fake amount attack in test_msg_signtx_segwit to account for segwit transaction streaming.
2020-05-24 14:36:37 +00:00
Andrew Kozlik
e6745bce43
legacy/signing: Don't force nJoinSplit to be 0 for prev_tx in overwintered. This was dead code until we started validating prevout amounts.
2020-05-24 14:36:37 +00:00
Andrew Kozlik
386be6ff09
legacy/signing: Check inputs for amount field only when amount is required.
2020-05-24 14:36:37 +00:00
Andrew Kozlik
d34428eeb3
legacy/signing: add checks for version_group_id and branch_id fields
2020-05-24 14:36:37 +00:00
Andrew Kozlik
5aea566eb5
legacy/signing: validate prevout amount in all cases
2020-05-24 14:36:37 +00:00
matejcik
cbc0ceff06
tests: use valid prev_hash in attack test
2020-05-24 14:36:37 +00:00
matejcik
d4390f78a4
tests: add request_meta queries (needed for transaction streaming)
2020-05-24 14:36:37 +00:00
matejcik
72ef86d79a
all: enable extra_data for komodo
2020-05-24 14:36:37 +00:00
matejcik
4bc0289601
tests: update komodo test with optional message feature
2020-05-24 14:36:37 +00:00
matejcik
396a509725
tests: update bgold test with actual transactions
2020-05-24 14:36:37 +00:00
matejcik
7a3637d5b0
core/sign_tx: add checks for version_group_id and branch_id fields
2020-05-24 14:36:37 +00:00
matejcik
d804680552
tests: simplify code of test_msg_signtx
...
Instead of a function generating the expected_responses, introduce
shortcuts (request_input, request_output...) so that the static
expected_responses are more readable.
Also introduce the possibility to include conditional responses (e.g.,
seen only on trezor-core)
WIP
2020-05-24 14:36:37 +00:00
Andrew Kozlik
3843f917e9
crypto: Check for invalid characters in Monero Base58 decode.
2020-05-24 14:36:37 +00:00
Andrew Kozlik
20dd1ddc60
crypto: Fix buffer overflow in b58tobin.
2020-05-24 14:36:37 +00:00
Tomas Susanka
f34e2382fa
tests: add segwit attack test for mixed inputs
2020-05-24 14:36:37 +00:00
Ondrej Mikle
b01b24f090
core: change startup firmware file from .s to .S which enables preprocessing and fixes TT boot
2020-05-24 12:28:38 +02:00
Tomas Susanka
675ff459db
core, legacy: update changelogs
2020-05-22 11:55:55 +00:00
Tomas Susanka
9dfc08ca61
core/bitcoin: drop decred_script_version
2020-05-21 19:14:39 +02:00
Ondřej Vejpustek
ef9eb7b7a4
legacy/stellar: change price format
2020-05-21 16:21:32 +02:00
matejcik
eeb46eabca
common: refresh token list
2020-05-21 13:29:13 +02:00
matejcik
2f665c8f84
core: add exception to GetPublicKey for PSBT master fingerprint ( fixes #999 )
2020-05-21 13:26:53 +02:00
Pavol Rusnak
6fafe4c9ee
Merge pull request #1004 from trezor/omikle/t1-unofficial-fw
...
T1 core port able to run on T1 bootloader if it has MEMORY_PROTECT=0 or FW is signed
2020-05-21 10:27:18 +02:00
Ondrej Mikle
10f0f107e0
core: Adds T1 core port FW flashing options for for openocd and jlink
2020-05-21 10:05:12 +02:00
Ondrej Mikle
0d65d684f0
core: T1 port can run on T1 bootloader with MEMORY_PROTECT=0
2020-05-21 08:49:59 +02:00
Tomas Susanka
a2f790167d
core/bitcoin: fix step 1 and 2 comments in signing
2020-05-19 12:58:45 +00:00
Tomas Susanka
9a59b99fa9
docs: add few more third-parties
2020-05-19 08:43:07 +00:00
Tomas Susanka
6ec27d09ca
docs: link to master UI report
2020-05-18 12:59:59 +00:00
Tomas Susanka
1ac0f60550
core: update isort config to place relative imports last
2020-05-18 14:31:51 +02:00
Tomas Susanka
3a3965af9b
tests/bitcoin: test segwit/non-segwit input mixing
2020-05-18 14:31:51 +02:00
Tomas Susanka
aa115b6320
core: move decred writers to decred.py
2020-05-18 14:31:51 +02:00
Tomas Susanka
3084ee1eed
core/bitcoin: move write_bitcoin_varint to common writers
2020-05-18 14:31:51 +02:00
Tomas Susanka
445f56d387
core/bitcoin: finalize bitcoin refactor
...
- core/bitcoin: move common files to the app's root
- core/bitcoin: use require_confirm instead of confirm
- core: move bitcoin unrelated functions from 'bitcoin' to a new 'misc' app
- core/bitcoin: use relative imports inside the app
- core: rename wallet app to bitcoin
- core/wallet: replace SigningErrors and the other exception classes with wire.Errors
2020-05-18 14:31:51 +02:00
matejcik
aa52fc3903
core/extmod: drop unused rfc6979 module
2020-05-18 14:31:00 +02:00
matejcik
050936d0d7
core: enable finalizers on extmod classes
2020-05-18 14:31:00 +02:00
matejcik
123b07e3ad
core: drop support for pre-registering keychain namespaces
2020-05-15 16:30:41 +02:00
matejcik
3e06f4779a
core/tests: add new keychain tests
2020-05-15 14:08:29 +02:00
matejcik
d5b4a570ff
tests: regenerate UI fixtures
2020-05-15 14:08:29 +02:00
matejcik
de9e73dcbc
core/tests: update unit tests for new keychain API
2020-05-15 14:08:29 +02:00
matejcik
f3f6e2101a
core/cardano: explanation about seed derivation
2020-05-15 14:08:29 +02:00
matejcik
29db769185
tests: update test vectors to use correct paths
2020-05-15 14:08:29 +02:00
matejcik
17c4d75b40
tests: rename report_test to testreport so that pytest doesn't think it is a testcase
2020-05-15 14:08:29 +02:00
matejcik
aeaa402b75
python: fix PASSPHRASE_TEST_PATH
2020-05-15 14:08:29 +02:00
matejcik
a31b2cd1bc
core/wallet: implement keychain for apps.wallet
2020-05-15 14:08:29 +02:00
matejcik
0dff3853a7
core/ethereum: introduce custom keychain decorators
2020-05-15 14:08:29 +02:00
matejcik
b594248ac2
core: use new keychain decorators where appropriate
2020-05-15 14:08:29 +02:00
matejcik
fd9e945308
core/cardano: use caching decorators and new Keychain API for Cardano as well
2020-05-15 14:08:29 +02:00