matejcik
ae0cb0478e
build: use trezor-common from submodule
2018-04-10 15:58:34 +02:00
matejcik
a4306a00fa
tools: add deserialize_tx.py to decode contents of hex-encoded signed BTC transaction.
...
This code will probably come in handy if/when we implement a microwallet.
2018-04-03 19:24:31 +02:00
Saleem Rashid
4ec8b38d4a
pb2py: Use logging module instead of print
2018-03-19 13:48:55 +01:00
Saleem Rashid
d32cbe3466
pb2py: Use generators instead of lists
2018-03-19 13:48:55 +01:00
matejcik
61a2ab4303
pb2py: keep imports sorted
2018-03-15 19:55:26 +01:00
matejcik
e7a01b827b
build_protobuf: fix paths for protoc
2018-03-15 19:55:06 +01:00
matejcik
2375a8f516
fix merge conflicts with updated python-trezor
2018-03-15 19:28:34 +01:00
matejcik
f75b90d260
Merge branch 'upstream' into refactor-transport-nicediff
2018-03-05 19:56:47 +01:00
matejcik
967d479a19
update tools to use the new transport API
...
also drop some python2 compatibility things
2018-03-05 17:30:44 +01:00
matejcik
55641dd8b5
make flake8 happy ( #225 )
2018-03-02 16:47:29 +01:00
Pavol Rusnak
cb47dbd284
chmod +x tools/mem_flashblock.py
2018-02-21 16:48:40 +01:00
Pavol Rusnak
a0c85bed12
tools: add pwd_reader from SLIP-0016
2018-02-21 16:46:18 +01:00
slush
562a19c812
Make examples working for all available transports.
2018-02-02 18:29:52 +01:00
Pavol Rusnak
7b844f0379
add Sint64 to protobuf
2018-01-30 15:04:24 +01:00
Pavol Rusnak
c78c548752
protobuf: delete old messages first
2018-01-12 13:10:36 +01:00
Pavol Rusnak
694bc7ac11
protobuf: don't generate storage protobuf
2018-01-12 13:06:43 +01:00
Pavol Rusnak
8f6b2449be
sort imports in pb2py
2018-01-12 12:58:39 +01:00
Pavol Rusnak
78d2c07d34
regenerate pb messages
2018-01-12 12:54:06 +01:00
Saleem Rashid
bbed79f658
build_protobuf: Refactor
...
* Use `set -e` to fail on error
* Change into script directory automatically
2017-12-24 12:16:24 +00:00
Saleem Rashid
ff5999162a
pb2py: Add pb2/ to sys.path
...
This removes the need for sed (which was problematic on OS X as it ships
with BSD Sed instead of GNU Sed)
2017-12-24 12:04:36 +00:00
Saleem Rashid
fd5f232fdd
pb2py: Refactor
2017-12-24 11:51:13 +00:00
Saleem Rashid
6e81c91443
pb2py: Clean up argparse usage
2017-12-24 11:51:13 +00:00
slush
a27217811b
Rework from Google's protobuf to pure-python protobuf implementation
2017-12-17 02:19:16 +01:00
Jochen Hoenicke
6186822f14
Added tool to flash a sector
...
... and fixed some python3 stuff.
2017-12-12 21:44:30 +01:00
Pavol Rusnak
a5fc76d8c9
don't use generic Exception, but rather specific subclass
2017-11-06 11:10:23 +01:00
Pavol Rusnak
23d75bfc10
trezorctl: sign_tx command based on tx_sign_tool by mruddy
2017-10-24 00:50:01 +02:00
Jan Pochyla
259a61878b
tools: update to new transport api
2017-09-04 13:36:31 +02:00
Pavol Rusnak
0ee1667c6f
trezorctl: cleanup
2017-07-05 12:55:38 +02:00
Pavol Rusnak
7f0f73d1c6
tests: fix style in tools/signtest.py
2017-06-25 18:10:05 +02:00
Pavol Rusnak
33f274d145
style: use flake8
2017-06-23 21:52:53 +02:00
mruddy
3ccc412de4
add tool to aid in rng testing and evaluation ( #104 )
2017-02-28 19:11:28 +01:00
Pavol Rusnak
5e1526d286
refactor tx_sign_tool.py
2017-02-26 17:11:31 +01:00
mruddy
72ab93bd87
add a tx signing tool that handles bitcoin, testnet, and litecoin
2017-02-26 16:44:49 +01:00
mruddy
71d0c483f8
add tools support for reading bootloader from debug link enabled device ( #99 )
2017-02-20 14:36:00 +01:00
Pavol Rusnak
2e1da5f337
-> trezor.io
2017-01-10 15:25:13 +01:00
Pavol Rusnak
d1bfc76d91
tools: fix signtest.py
2016-11-09 12:39:25 +01:00
Jochen Hoenicke
08511d3f81
tools/signtest: Added P2SH segwit inputs
2016-11-05 21:56:48 +01:00
Pavol Rusnak
16b6289c50
unclutter root dir by moving scripts into tools subdirectory
2016-07-02 20:47:18 +02:00
Pavol Rusnak
b497cffb1d
whitespace
2016-06-22 14:51:46 +02:00
Pavol Rusnak
f2c35e9d13
show usage if run outside of extfs context
2016-06-01 14:07:48 +02:00
Pavol Rusnak
3a108ee8a5
fix pylint warnings
2016-05-26 17:20:44 +02:00
Pavol Rusnak
54c8bfd1d4
import print function from future
2016-05-20 22:27:20 +02:00
Pavol Rusnak
de9b10fd90
more python3 stuff
2016-05-20 13:46:51 +02:00
Pavol Rusnak
f3449fcbd7
fix spelling of TREZOR
2016-02-10 16:48:13 +01:00
Pavol Rusnak
fc1b12d80d
fix whitespace
2016-01-13 00:17:38 +01:00
Michael Dance
dae4424fca
Update hashbang to use /usr/bin/env python
...
Please use the /usr/bin/env python hashbang in order to properly detect alternative python installations (like those installed through homebrew on a mac).
2015-05-13 02:35:48 +12:00
slush0
fc64a40769
Refactored password.dat format, backward incompatible change.
2014-06-12 21:45:33 +02:00
slush0
f48646ac83
Refactored decrypting of password, now uses the same path for both create and mount
2014-06-12 19:19:56 +02:00
slush0
430362bd31
Refactored choosing of devices
2014-06-12 19:16:30 +02:00
slush0
461380e9d2
typo
2014-06-12 19:13:46 +02:00