1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-28 00:58:09 +00:00
Commit Graph

619 Commits

Author SHA1 Message Date
Jan Pochyla
377fffa5a5
add wipe, wire.write is a generator, add trezor/workflows 2016-09-27 17:25:50 +02:00
Pavol Rusnak
9f40362482
remove homebrew docu generator, use docstring syntax 2016-09-27 17:25:50 +02:00
Pavol Rusnak
c0dfe2d702
fix include in ssss 2016-09-27 17:25:50 +02:00
Pavol Rusnak
0f24eb2e0e
use python implementation for backlight (for now) 2016-09-27 17:25:50 +02:00
Pavol Rusnak
92f95d9521
update submodule 2016-09-27 17:25:50 +02:00
Pavol Rusnak
5041fea837
update build instructions 2016-09-27 17:25:49 +02:00
Pavol Rusnak
0c580761e5
libffi-dev not needed anymore 2016-09-27 17:25:49 +02:00
Pavol Rusnak
c08c4cd386
fix trezor.res 2016-09-27 17:25:49 +02:00
Pavol Rusnak
7e8e0e3439
add fido_u2f app skeleton 2016-09-27 17:25:49 +02:00
Pavol Rusnak
04888a7128
update micropython submodule 2016-09-27 17:25:49 +02:00
Pavol Rusnak
b08010622d
update vendor/micropython 2016-09-27 17:25:48 +02:00
Pavol Rusnak
93f4a97470
fix trezor.crypto.random test 2016-09-27 17:25:48 +02:00
Jan Pochyla
9a30a13aff
fix test_msg, rename to test_wire 2016-09-27 17:25:48 +02:00
Pavol Rusnak
154184e4e2
add unit tests for trezor.crypto.random 2016-09-27 17:25:48 +02:00
Jan Pochyla
9232c77529
PinDialog -> PinMatrix, shuffle digits 2016-09-27 17:25:48 +02:00
Pavol Rusnak
35b26651ba
add trezor.crypto.random 2016-09-27 17:25:47 +02:00
Jan Pochyla
6a647b124d
add management app skeleton and ConfirmDialog
We might rewrite PinDialog as a content for ConfirmDialog in the
future. Also, I'm beginning to hit memory issues on a 64-bit system.
2016-09-27 17:25:47 +02:00
Jan Pochyla
9c34491e20
self.__dict__ does not work properly in uP, workaround 2016-09-27 17:25:47 +02:00
Jan Pochyla
2880be1db6
use == instead of 'is' for scalars, cleanup PinDialog 2016-09-27 17:25:47 +02:00
Jan Pochyla
46f96ddb81
Message can be initialized with kwargs 2016-09-27 17:25:47 +02:00
Pavol Rusnak
67ea7dbd15
add persistance to trezor.config mock 2016-09-27 17:25:46 +02:00
Pavol Rusnak
2cf75d85e7
more ssss work 2016-09-27 17:25:46 +02:00
Pavol Rusnak
6f08f3f6a8
update docu 2016-09-27 17:25:46 +02:00
Pavol Rusnak
ea3bd0b6f8
rename resource collector script and move it to scripts 2016-09-27 17:25:46 +02:00
Jan Pochyla
7195e1d12f
dispatch on wire_type instead of message_type 2016-09-27 17:25:45 +02:00
Pavol Rusnak
852a950d66
fix issue with format string 2016-09-27 17:25:45 +02:00
Pavol Rusnak
9dc4813ec7
add trezor.crypto.ssss skeleton 2016-09-27 17:25:45 +02:00
Jan Pochyla
71b89c748a
adapt rest of code to touch changes, example works 2016-09-27 17:25:45 +02:00
Jan Pochyla
b6caad6b9b
send touch events on iface in modtrezormsg 2016-09-27 17:25:45 +02:00
Jan Pochyla
421f17bfee
rework events around interfaces, split msg.py to wire.py
Touch events are sent on special interface now.
2016-09-27 17:25:44 +02:00
Jan Pochyla
3677b8142b
add touch event rotation, msg dispatcher, wallet app 2016-09-27 17:25:44 +02:00
Pavol Rusnak
b34b8e6959
change license to TREZOR License 2016-09-27 17:25:39 +02:00
Pavol Rusnak
b0a5297aed
fix gitignore filename 2016-09-27 17:24:24 +02:00
Pavol Rusnak
fc528f5733
add collect_res script, load frrom resources.py if provided 2016-09-27 17:24:24 +02:00
Pavol Rusnak
509962abc6
move trezor.gettext.gettext to trezor.res.gettext 2016-09-27 17:24:24 +02:00
Pavol Rusnak
0b54ae9124
introduce trezor.res module 2016-09-27 17:24:24 +02:00
Pavol Rusnak
bf4d1bdea3
add trezor.gettext 2016-09-27 17:24:24 +02:00
Pavol Rusnak
38b66cb6d8
introduce msg.setup proof-of-concept 2016-09-27 17:24:23 +02:00
Pavol Rusnak
bf02fe0ddf
trezor.msg is now iface aware 2016-09-27 17:24:23 +02:00
Pavol Rusnak
c56719ea8c
regenerated messages 2016-09-27 17:24:23 +02:00
Pavol Rusnak
af9d2cf21f
add mock for trezor.config 2016-09-27 17:24:23 +02:00
Pavol Rusnak
2576d9c3a4
trezor.storage -> trezor.config 2016-09-27 17:24:23 +02:00
Pavol Rusnak
0fb6fc05a5
further changes to trezor.storage 2016-09-27 17:24:22 +02:00
Pavol Rusnak
9ed3b24edf
add default value to trezor.storage.get 2016-09-27 17:24:22 +02:00
Pavol Rusnak
ddf6771981
add trezor.storage 2016-09-27 17:24:22 +02:00
Jan Pochyla
53ab1b8a7d
add protobuf example to playground
Use with python-trezor:

./cmdtr.py -t udp get_public_node -n 0
2016-09-27 17:24:22 +02:00
Jan Pochyla
b41c94dee4
update msg tests 2016-09-27 17:24:22 +02:00
Jan Pochyla
8f49a104bf
make msg functions more readable, add pbuf wrappers 2016-09-27 17:24:21 +02:00
Jan Pochyla
362e835807
MessageType.type -> MessageType.wire_type 2016-09-27 17:24:21 +02:00
Jan Pochyla
f5b802d421
add loads, dumps to MessageType and Message 2016-09-27 17:24:21 +02:00