Commit Graph

453 Commits

Author SHA1 Message Date
Jan Pochyla e73ff1f3c2 apps: improve language getters/setters 2016-12-15 12:48:33 +01:00
Jan Pochyla 3f657775e9 main: boot debug app earlier 2016-12-15 12:36:55 +01:00
Jan Pochyla 8811814867 apps.management: add change_pin workflow 2016-12-15 12:36:07 +01:00
Jan Pochyla 64dad27abe apps.homescreen: handle Ping.pin_protection 2016-12-15 12:35:18 +01:00
Jan Pochyla b45fd349f5 apps.management: protect by pin earlier 2016-12-15 12:34:46 +01:00
Jan Pochyla c03924c05f apps.common.request_pin: fix client cancel 2016-12-15 12:34:18 +01:00
Jan Pochyla 2a58ca986f apps.common.storage: fix device_id init 2016-12-15 12:33:39 +01:00
Jan Pochyla e111f6338c apps.homescreen: display device label 2016-12-14 11:10:01 +01:00
Jan Pochyla 2cff58f4f0 boot: comment out, usb init will be in C for now 2016-12-13 16:03:57 +01:00
Jan Pochyla 58612f14d2 trezor.config: fix for stmhal 2016-12-13 16:03:00 +01:00
Jan Pochyla b8968e7387 minor perf changes 2016-12-12 15:26:49 +01:00
Jan Pochyla 53c73b3b5c apps: accomodate latest seed changes 2016-12-12 15:26:49 +01:00
Jan Pochyla d2e31e24ee apps.common.seed: simplify, remove root caching 2016-12-12 15:26:49 +01:00
Jan Pochyla 146410856d apps.wallet: move sign_tx workflow to __init__ 2016-12-08 18:51:39 +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
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 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 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
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 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
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