1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-26 17:38:39 +00:00
Commit Graph

1075 Commits

Author SHA1 Message Date
Jan Pochyla
930668223b update micropython submodule 2017-01-03 10:34:27 +01:00
Jan Pochyla
5173a87f3e trezor.loop: rewrite for utimeq, document
- faster, consumes less memory
- untangle loop and ui.refresh

TODO: msg.select could fill a pre-allocated list/bytearray just like utimeq.pop does
TOOD: we could move to a readyness-based async model and let the consumers readinto() the messages right into the target buffers, to avoid allocating tuples inside msg.select()
2017-01-02 15:45:56 +01:00
Jan Pochyla
7fa2cad0d4 update micropython submodule 2017-01-02 15:39:49 +01:00
Pavol Rusnak
451ad60427
update vendor/micropython submodule 2016-12-28 18:58:06 +01:00
Pavol Rusnak
44742da0d1
update vendor/micropython submodule 2016-12-24 16:22:24 +01:00
Jan Pochyla
666018ec57 apps.management.change_pin: ask event if unlocked 2016-12-19 11:32:39 +01:00
Jan Pochyla
59feeed3cb apps.common.request_pin: add at_least_once 2016-12-19 11:32:08 +01:00
Jan Pochyla
96ead03e03 apps: fix for change_pin and debug 2016-12-17 13:20:57 +01:00
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
ad7356b67c update micropython submodule 2016-12-14 11:57:35 +01:00
Jan Pochyla
e111f6338c apps.homescreen: display device label 2016-12-14 11:10:01 +01:00
Jan Pochyla
cdc2c9ee08 update micropython submodule 2016-12-13 16:18:38 +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
47994e35f4 modtrezorcrypto: use cached bip32 path derivation 2016-12-12 15:26:49 +01:00
Jan Pochyla
1de4cf4a18 update trezor-crypto submodule 2016-12-12 15:26:49 +01:00
Pavol Rusnak
0beb7b19e7
tests: add second vector to trezor.crypto.bip32 tests 2016-12-12 14:59:30 +01:00
Pavol Rusnak
403889f8dd
tests: add test for trezor.crypto.bip32.derive_path 2016-12-12 13:38:28 +01:00
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