Commit Graph

698 Commits

Author SHA1 Message Date
Jan Pochyla 146410856d apps.wallet: move sign_tx workflow to __init__ 2016-12-08 18:51:39 +01:00
Jan Pochyla b297083e5d tests: fix python-trezor tests 2016-12-08 16:31:25 +01:00
Jan Pochyla 3e1b821b3c minor fixes 2016-12-08 16:31:10 +01:00
Jan Pochyla a4f103755b minor api changes 2016-12-08 16:19:09 +01:00
Jan Pochyla e0dfc2ef03 apps: reflect the wire api changes 2016-12-08 16:19:09 +01:00
Jan Pochyla d56dc88861 wire: refactoring
- prefer importing modules instead of module members
- session_id is always first argument
- prefer much shorter names, don't expect users to import module members
- shuffle around session-specific code
- reduce allocations
2016-12-08 16:19:09 +01:00
Jan Pochyla 0b7874ad43 loop: rename Future to Signal
Future semantics were changed to allow multiple deliveries to avoid allocating more future objects than neccessary, and Signal describes this behaviour more accurately.
2016-12-08 16:19:09 +01:00
Jan Pochyla 1b27bb480d trezor.wire: rename modules 2016-12-08 16:19:09 +01:00
Jan Pochyla b145f8f309 apps.common.signtx: add example sanitization 2016-12-08 16:19:09 +01:00
slush0 d6ae782dfc pb2py moved to trezor-common 2016-12-04 19:24:48 +01:00
slush0 0ea856589f Added non-micropython compatibility.
Optional generation of wiretype index file.
2016-12-04 19:12:01 +01:00
Pavol Rusnak 918150a3f1
tests: make testpy tries running selected tests from python-trezor
apps.ethereum: fix get address call
2016-11-24 17:16:40 +01:00
Jan Pochyla 1cd0609ac2 apps.common.signtx: fix test 2016-11-23 15:06:39 +01:00
Jan Pochyla 33f833f40a config: fix test 2016-11-23 15:06:39 +01:00
Jan Pochyla 6edaa68ab3 apps.common: remove sign.pseudo 2016-11-23 15:06:39 +01:00
Jan Pochyla 2e34fc05a6 apps.management: handle ApplySettings 2016-11-23 15:06:39 +01:00
Jan Pochyla e8da59ced0 apps.common: add protect_with_pin, adjust seed.py 2016-11-23 15:06:39 +01:00
Jan Pochyla b400448b97 apps: adjust to last commit 2016-11-23 15:06:39 +01:00
Jan Pochyla 065cbdbc3b protobuf: set missing fields to None 2016-11-23 15:06:39 +01:00
Jan Pochyla a8b519d127 signtx: prealloc the bytearrays 2016-11-23 15:06:39 +01:00
Jan Pochyla 05f832cae7 storage: remove pbuf, add pin lock 2016-11-23 15:06:39 +01:00
Jan Pochyla be7ee61ddd config: always use bytes() for default value 2016-11-23 15:06:39 +01:00
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