1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-30 03:18:20 +00:00
Commit Graph

7343 Commits

Author SHA1 Message Date
andrew
47cd563c81 Interrupt the PIN wait dialog if the PIN_UI_WAIT_CALLBACK function returns sectrue. 2019-02-06 13:43:15 +01:00
ca333
9d887f0388 kmd update addr length (#269) 2019-02-05 15:19:07 +01:00
matejcik
6fb0c34fab coins_details: round market cap numbers for tokens 2019-02-05 14:40:44 +01:00
matejcik
6a7a08f83f coins_details: clean out some overrides, regenerate data 2019-02-05 14:31:44 +01:00
matejcik
ac0061740f tokens: update from upstream, refresh support data 2019-02-05 14:21:37 +01:00
matejcik
1ecd56f33b coins_details: fetch CMC metadata, match tokens by contract address 2019-02-05 14:18:39 +01:00
matejcik
8f5026e71e defs: fix MonetaryUnit label 2019-02-05 14:16:30 +01:00
Jan Pochyla
ce972a7a32 fix code style 2019-02-05 12:52:34 +01:00
Jan Pochyla
2704cc73b8 vendor: remove forgotten directory 2019-02-05 11:23:07 +01:00
Jan Pochyla
8cebcaba01 nem: fix mosaic properties list 2019-02-05 11:05:43 +01:00
andrew
6d9a4962a4 Check the 'initialized' flag in storage_*() functions before doing anything. 2019-02-04 17:32:58 +01:00
Pavol Rusnak
063d8f7b8e
nix: add protobuf to shell.nix 2019-02-04 16:48:54 +01:00
Pavol Rusnak
11311da48a
fsm: input messages are no longer confidential 2019-02-04 14:25:13 +01:00
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