Commit Graph

976 Commits

Author SHA1 Message Date
Pavol Rusnak 13533d9156
makefile: fix build_stmhal_debug target 2016-11-23 10:48:12 +01:00
Pavol Rusnak 728db8b04c
extmod: remove unused includes 2016-11-21 21:26:49 +01:00
Pavol Rusnak 7c89f61f55
trezor.config: check for errors from norcow 2016-11-21 21:20:05 +01:00
Pavol Rusnak a66d0b2e40
trezor.config: fix config_mock syntax 2016-11-21 20:57:16 +01:00
Pavol Rusnak 6575b8059e
trezor.config: use mock implementation on stmhal again 2016-11-21 20:50:41 +01:00
Pavol Rusnak c6ea71901d
trezor.config: use norcow 2016-11-21 19:56:23 +01:00
Jan Pochyla 08484d8806 travis: add another hook 2016-11-21 16:11:26 +01:00
Pavol Rusnak 41cd3d71d5
trezor.utils.halt: print error message passed as argument 2016-11-19 15:30:46 +01:00
Pavol Rusnak 533aebdf6d
trezor.utils: add halt function 2016-11-19 15:23:58 +01:00
Pavol Rusnak f615e5f97f
trezor.crypto: more type annotations 2016-11-19 15:00:18 +01:00
Pavol Rusnak 88e46ca66f
trezor.crypto.rlp: add type annotations 2016-11-18 19:05:40 +01:00
Pavol Rusnak ddd46f6f53
trezor.crypto: add RLP 2016-11-18 18:13:24 +01:00
Pavol Rusnak e120faa227
apps.ethereum: implement EthereumGetAddress 2016-11-18 15:23:56 +01:00
Pavol Rusnak 6e79da8df1
apps.wallet: add CipherKeyValue 2016-11-18 14:59:36 +01:00
Pavol Rusnak 8618248504
apps.wallet: add partial support for SignIdentity (secp256k1 curve only) 2016-11-18 14:19:03 +01:00
Pavol Rusnak 084f1205f1
apps.wallet: cleanup sign/verify message 2016-11-17 13:40:05 +01:00
Pavol Rusnak 5be6a82682
emu: add -r option to restart (and reload sources) when sources are changed 2016-11-17 13:08:49 +01:00
Pavol Rusnak 93ad93ff94
emu: extract options to (ignored) emu.config 2016-11-16 23:45:56 +01:00
Pavol Rusnak ecac1d79f2
apps.wallet: refactor message digest method into shared module
naming would need some further thoughts, though
2016-11-16 23:13:04 +01:00
Pavol Rusnak 620ed74aa7
apps.wallet: implement VerifyMessage 2016-11-16 22:55:11 +01:00
Pavol Rusnak 388e2dc305
apps.wallet: implement SignMessage 2016-11-16 21:28:27 +01:00
Pavol Rusnak f367d91cb7
vendor: update micropython 2016-11-16 15:47:07 +01:00
Jan Pochyla 87dbf8442e apps.management: explain LoadDevice.node 2016-11-16 14:28:56 +01:00
Jan Pochyla 7378d763f0 apps.debug: support DebugLinkState.matrix 2016-11-16 14:28:56 +01:00
Jan Pochyla 722cc2d63b apps.common: add client-side pin input method 2016-11-16 14:28:56 +01:00
Jan Pochyla d00a6723c0 apps.common.signtx: code style 2016-11-16 14:28:56 +01:00
Jan Pochyla c1aa7010ed apps.wallet: fix GetPublicKey.address_n 2016-11-16 14:24:08 +01:00
Jan Pochyla 384bde3efc apps.wallet: support GetAddress.coin_name 2016-11-16 14:24:08 +01:00
Pavol Rusnak 315440fc18
apps.common: refactor address_type functions 2016-11-16 12:42:11 +01:00
Pavol Rusnak cfdd517bf4
apps.common.signtx: fix outputs for multibyte address prefixes 2016-11-16 01:45:18 +01:00
Pavol Rusnak ea12087de7
apps.common: add op_return to signtx 2016-11-16 01:39:31 +01:00
Pavol Rusnak 357a081b53
apps.wallet: add FeeOverThreshold handling 2016-11-16 01:21:25 +01:00
Jan Pochyla 02d615ff06 wire: convert to bytearray every time 2016-11-15 18:55:38 +01:00
Pavol Rusnak 90c4480bf6
apps.fido_u2f: add yubico u2f demo to known apps 2016-11-15 18:40:19 +01:00
Pavol Rusnak e6d38b8b71
apps.wallet: handle EstimateTxSize message 2016-11-15 18:29:46 +01:00
Pavol Rusnak e10e20d550
apps.common.signtx: fix p2sh output 2016-11-15 18:19:32 +01:00
Pavol Rusnak ceb4ed8c59
apps.common.signtx: rework check_address_type function 2016-11-15 18:12:10 +01:00
Jan Pochyla e556aea42b wire: fix when the footer is too short 2016-11-15 18:09:45 +01:00
Jan Pochyla ecd8bd3b2a wallet: remove unimport for now
Importing a module again causes new classes to get created and breaks references between an object and its class.

TODO: revise how imports/unimports are used in signing
2016-11-15 18:09:25 +01:00
Jan Pochyla 72be5cf2f2 signtx: fix typo 2016-11-15 18:07:49 +01:00
Pavol Rusnak 8d496d456b
apps.common.signtx: add paytoscripthash support, fix multibyte 2016-11-15 18:02:05 +01:00
Jan Pochyla 3373ecf128 apps.debug: implement DebugLinkDecision 2016-11-15 13:48:52 +01:00
Jan Pochyla 39b3ecb224 confirm: allow to resolve the dialogs from outside 2016-11-15 13:48:31 +01:00
Jan Pochyla 5d7c2ac4e2 loop: make it possible to re-use Future instances 2016-11-15 13:47:36 +01:00
Jan Pochyla abb6f284ca wallet: use hold to confirm the tx summary 2016-11-15 11:59:27 +01:00
Jan Pochyla a798a07220 signtx: confirm output before hashing 2016-11-15 11:59:27 +01:00
Jan Pochyla 90d9687678 apps.homescreen: cleanup 2016-11-15 11:59:27 +01:00
Jan Pochyla b89666fb87 apps.debug: cleanup 2016-11-15 11:59:27 +01:00
Jan Pochyla ed8973e86d signtx: unify input script derivation 2016-11-15 11:59:27 +01:00
Jan Pochyla 5889d0c932 loop: use ticks_add, ticks_diff 2016-11-15 11:59:27 +01:00