1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-02 04:18:20 +00:00
Commit Graph

7253 Commits

Author SHA1 Message Date
Pavol Rusnak
0ab3eee37d
bootloader: make code smaller by changing the send_msg logic 2019-02-10 13:08:20 +01:00
andrew
5c2765740d Add efficient counter implementation. 2019-02-08 20:24:55 +01:00
andrew
18fa999974 Support entries which are writable even when the storage is locked. Needed for U2F counter on Trezor 1. 2019-02-08 17:50:27 +01:00
James
f9bac5ea30 defs: Add ZClassic (#271) 2019-02-08 11:58:38 +01:00
Pavol Rusnak
610722e913
defs: regenerate coins_details.json 2019-02-07 17:00:44 +01:00
Pavol Rusnak
ad6d3a1cbd
defs/wallets: add Actilectrum 2019-02-07 16:55:57 +01:00
andrew
0497802014 Display more information when handle_fault() is invoked to help diagnose bugs. We might want to remove this in the next release. 2019-02-07 14:03:25 +01:00
mattt21
21c5404299 defs: update NIX (#268) 2019-02-06 23:42:20 +01:00
andrew
4429888b93 Use error_shutdown() to display 'Too many wrong PIN attempts. Storage has been wiped.' 2019-02-06 17:42:10 +01:00
andrew
2862d679ac Do not require storage to be unlocked prior to calling storage_change_pin(). The function checks the old PIN anyway. 2019-02-06 13:47:09 +01:00
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