Pavol Rusnak
67c07902a3
src/apps/wallet/sign_tx: fix typo
2019-02-04 13:57:31 +01:00
Pavol Rusnak
19c7c8bc3b
signing: implemented simplified API for MultisigRedeemScriptType
...
If address_n is the same for all nodes in the multisig, provide it just once
and supply nodes directly (not in the HDNodePathType structure)
2019-02-04 13:53:30 +01:00
Pavol Rusnak
f9ba64ea94
messages: introduce messages_map_limits
2019-02-04 13:53:05 +01:00
Pavol Rusnak
f60e689a4e
src/apps/wallet/sign_tx: fix style
2019-02-04 01:51:56 +01:00
Pavol Rusnak
d5c2636f0d
style: reformat decred test
2019-02-04 01:29:08 +01:00
Pavol Rusnak
4225fe7fa8
src/apps/wallet/sign_tx: implemented simplified API for MultisigRedeemScriptType
...
If address_n is the same for all nodes in the multisig, provide it just once
and supply nodes directly (not in the HDNodePathType structure)
2019-02-04 01:15:13 +01:00
Pavol Rusnak
333af87ce2
tests: use simplified API for MultisigRedeemScriptType where possible
...
This is possible when address_n is the same for all involved nodes
2019-02-04 01:14:14 +01:00
Pavol Rusnak
0735c7d6f5
protob: rename common_address_n to address_n in MultisigRedeemScriptType
2019-02-04 01:11:44 +01:00
Pavol Rusnak
44085a9d1a
protob: add simplified fields for MultisigRedeemScriptType
2019-02-03 23:20:20 +01:00
andrew
8fc03a5a95
Fix bug in auth_get() when storing the authentication_sum. Remove the superfluous auth_get() call in unlock().
2019-02-01 20:46:16 +01:00
Pavol Rusnak
a7c32248bd
reset: commit to storage unconditionally at the end of backup procedure
2019-02-01 15:17:06 +01:00
matejcik
f7aa6ae22e
burn_tests: add pin cycling
2019-02-01 14:34:40 +01:00
matejcik
526f729420
client: add get_default_client convenience function
2019-02-01 14:34:00 +01:00
matejcik
42583eaceb
debuglink: allow clearing input_flow function
2019-02-01 14:27:52 +01:00
matejcik
6bda1e351f
cointool: fix filtering on non-string fields
2019-02-01 12:58:20 +01:00
Pavol Rusnak
50b302dfec
format: black uppercase of hex constant
2019-01-31 21:22:51 +01:00
Pavol Rusnak
8a4e8013f1
firmware: process tx.branch_id (zcash)
2019-01-31 21:17:00 +01:00
Pavol Rusnak
1f7a405cb2
tests: pass branch_id in zcash tests
2019-01-31 21:08:43 +01:00
Pavol Rusnak
6974d037a9
src/apps/wallet/sign_tx: implement tx.branch_id field
2019-01-31 21:03:58 +01:00
Pavol Rusnak
4b41d2e638
protob: add branch_id to SignTx and TransactionType (zcash)
2019-01-31 20:52:38 +01:00
Pavol Rusnak
484c35bb6a
defs: fix permissions on png files
2019-01-31 20:47:45 +01:00
Pavol Rusnak
a37e80905e
defs: add KMD to T1 and T2
2019-01-31 20:43:28 +01:00
Pavol Rusnak
7e3d0a0a77
signing: use the new hasher_InitParam API
2019-01-31 19:20:29 +01:00
Pavol Rusnak
21391dc5be
hasher: add param_size to hasher_InitParam
2019-01-31 19:18:06 +01:00
Pavol Rusnak
8c2bac9594
hasher: don't hardcore zcash stuff into hasher
2019-01-31 19:05:53 +01:00
andrew
2888c11095
Bugfix: Unlock flash when copying sector header.
2019-01-31 17:52:51 +01:00
matejcik
f236eb9cf2
flake8: add typing imports where missing
...
also remove autoflake workarounds from some files, apparently newer
autoflake can recognize them properly
2019-01-31 15:41:25 +01:00
matejcik
68da6881b5
debuglink: add null debuglink, allow running tests interactively
...
run with:
INTERACT=1 pytest <your options here>
2019-01-31 15:30:05 +01:00
andrew
840f7461ee
Add storage_is_unlocked().
2019-01-30 17:36:02 +01:00
andrew
ebe884ab4d
Make storage_pin_fails_increase() public.
2019-01-30 17:33:48 +01:00
andrew
7e8c4e783d
Revert "Add storage_wipe_ex() which allows to specify the new PIN and the PIN fail count."
...
This reverts commit d49e3c9f3c
.
2019-01-30 17:31:51 +01:00
Petr Kracík
178d4fe598
docker: fix broken environment ( #472 )
2019-01-30 17:28:00 +01:00
andrew
7228b299b3
Add storage_lock().
2019-01-30 16:34:57 +01:00
andrew
d49e3c9f3c
Add storage_wipe_ex() which allows to specify the new PIN and the PIN fail count.
2019-01-30 16:22:50 +01:00
matejcik
3db07338ed
burn_tests: ensure burntest does not block pytest
...
pytest discovers test_*.py and *_test.py, so it should be hidden now
in addition, the code should only run when the script is run explicitly,
not when imported
2019-01-29 17:42:54 +01:00
Pavol Rusnak
49b71e8081
tests: rename test_burntest.py to burn_test.py
2019-01-29 17:29:55 +01:00
Pavol Rusnak
ddc762575d
tests: fix flake8 errors in burntest
2019-01-29 17:26:59 +01:00
Tomas Susanka
38b3e44ac9
cardano: send ButtonRequest.Address in get_address
2019-01-29 17:24:25 +01:00
Tomas Susanka
4e9ef09798
eth: modify sign_tx to accept strings as well
2019-01-29 17:19:10 +01:00
Tomas Susanka
1946a9f93e
eth: modify sign/verify functions to accept addresses as strings
2019-01-29 17:19:10 +01:00
Tomas Susanka
3387b157a7
eth: EthereumGetAddress returns address as a string
2019-01-29 17:19:10 +01:00
Tomas Susanka
02abf11798
protobuf: rebuild
2019-01-29 17:19:10 +01:00
Tomas Susanka
b5f6ae52d8
vendor: update trezor-common
2019-01-29 17:19:10 +01:00
Tomas Susanka
f81bc61316
ethereum: update tests to new message format (addresses are strings)
2019-01-29 17:17:05 +01:00
Pavol Rusnak
77a6718f76
ethereum: address in messages is now string
2019-01-29 17:16:14 +01:00
Pavol Rusnak
a19f35747d
tests: add first burntest
2019-01-29 16:52:58 +01:00
Tomas Susanka
015664cc9d
Merge pull request #342 from vacuumlabs/cardano-generalize-network
...
Change network to protocol magic in cardano
2019-01-29 16:47:34 +01:00
Tomas Susanka
20c97e85ad
Merge pull request #417 from vacuumlabs/cardano-improvements
...
Cardano improvements
2019-01-29 16:47:25 +01:00
Jan Pochyla
2c2930c663
utils: fix unimporting partially-imported modules
...
Previously, delattr from the parent package might throw KeyError.
2019-01-29 13:57:24 +01:00
Pavol Rusnak
75e65bbb2d
nix: use python3, not python36
2019-01-29 02:14:34 +01:00