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

99 Commits

Author SHA1 Message Date
Saleem Rashid
881015ae5f trezorctl: Ask for input script type in sign_tx 2017-12-27 01:16:46 +01:00
Saleem Rashid
35db3c5efb trezorctl: Add ChoiceType to replace click.Choice 2017-12-27 01:16:46 +01:00
Saleem Rashid
f20fd0d8cf trezorctl: Remove broken default in address_n click.prompt 2017-12-19 15:48:17 +01:00
Saleem Rashid
36c479c2c2 trezorctl: Change InputScriptType to OutputScriptType 2017-12-19 15:48:17 +01:00
Saleem Rashid
d446e56375 trezorctl: Fix sign_tx default BIP-32 path 2017-12-17 22:12:57 +01:00
Saleem Rashid
496bfc74fd trezorctl: Refactor sign_tx to use click.prompt
Fixes UnboundLocalError on Python 3
2017-12-17 22:12:57 +01:00
slush
a27217811b Rework from Google's protobuf to pure-python protobuf implementation 2017-12-17 02:19:16 +01:00
Pavol Rusnak
de95c44ad1
trezorctl: cleanup set_homescreen call 2017-12-16 21:29:52 +01:00
Pavol Rusnak
b42fc6fb1f
trezorctl: set homescreen for T2 2017-12-13 02:37:59 +01:00
Pavol Rusnak
45835733bc
more cleanup 2017-12-02 22:06:44 +01:00
Pavol Rusnak
8b9cba832c
cleanup last commit 2017-12-02 22:02:39 +01:00
slush
f5c1587396 Version moved from version.py to __init__.py 2017-12-02 18:48:44 +01:00
slush
59ef832424 Add 'trezorctl version' to track version of installed package 2017-12-02 18:31:57 +01:00
Pavol Rusnak
116c3c0575
trezorctl: use click.echo instead of stderr.write 2017-12-02 15:34:06 +01:00
Jonathan Cross
ab3d17b3df Better handling of user input for --coin in sign_tx 2017-12-02 15:27:40 +01:00
Pavol Rusnak
a5fc76d8c9
don't use generic Exception, but rather specific subclass 2017-11-06 11:10:23 +01:00
Pavol Rusnak
6a777788ab
trezorctl: use better detection if raw_input replacement is needed 2017-10-25 21:33:33 +02:00
Pavol Rusnak
23d75bfc10
trezorctl: sign_tx command based on tx_sign_tool by mruddy 2017-10-24 00:50:01 +02:00
Pavol Rusnak
a71c33d123
trezorctl+client: add support for CoSi commit/sign 2017-10-03 18:43:28 +02:00
Jan Pochyla
8202971109 rework lazy connecting in client 2017-09-04 13:36:08 +02:00
Saleem Rashid
eb1d66e27f trezorlib: Add nem_get_address 2017-09-03 19:05:29 +02:00
Saleem Rashid
58b56bead6 trezorctl: Add nem_sign_tx 2017-09-03 19:05:29 +02:00
Jan Pochyla
bc42eb68d6 transports: refactor, split protocol code 2017-08-24 14:29:27 +02:00
Jochen Hoenicke
7019438a49 Make -n/--address parameter required.
If you really want to have the master public key, you can still just
give the empty string.
* Changed -address to --address everywhere.
* Added help for this parameter.
* Added required flag.
2017-08-20 16:33:49 +02:00
Pavol Rusnak
a4a7aa8d85
trezorctl: fix hexlify calls on python3 2017-08-17 21:18:49 +02:00
Pavol Rusnak
ff157264a2
trezorctl: print message name to output 2017-08-09 00:52:52 +02:00
Pavol Rusnak
8133317172
add SignMessage.script_type 2017-07-24 16:11:38 +02:00
Pavol Rusnak
de6402e95e
implement set_flags (aka ApplyFlags) 2017-07-17 18:37:15 +02:00
Pavol Rusnak
afdd27c551
trezorctl: fix set_homescreen for python3 2017-07-16 15:03:01 +02:00
Pavol Rusnak
d865c0ea31
trezorctl: load_device -s now loads SLIP-0014 mnemonic, --skip-checksum renamed to --ignore-checksum 2017-07-16 14:54:50 +02:00
Pavol Rusnak
23ab43d612
ethereum: implement EthereumSignMessage/EthereumVerifyMessage 2017-07-12 18:35:54 +02:00
Pavol Rusnak
20aebed394
trezorctl: seems that click.Choice is not friends with ints 2017-07-12 15:45:16 +02:00
Pavol Rusnak
ee5f53d4be
fix ethereum_get_address for python3 2017-07-11 19:37:25 +02:00
Pavol Rusnak
5ffc700f0c
use isinstance to detect whether result is protobuf message 2017-07-10 18:20:32 +02:00
Pavol Rusnak
f73fc33439
drop internal use of protobuf_json, use json_format provided by google.protobuf 2017-07-10 15:36:44 +02:00
Pavol Rusnak
5a89a15935
trezorctl: use more idiomatic approach using resultcallback 2017-07-05 12:55:39 +02:00
Pavol Rusnak
b335d30b8d
use click in trezorctl 2017-07-05 12:55:38 +02:00
Pavol Rusnak
0ee1667c6f
trezorctl: cleanup 2017-07-05 12:55:38 +02:00
Pavol Rusnak
bcf54dbe94
trezorctl/client: add self_test 2017-07-03 18:49:03 +02:00
Pavol Rusnak
71996c1e43
update protobuf, update tox.ini, prepare for BackupDevice 2017-06-23 19:26:35 +02:00
Pavol Rusnak
c51089803d
trezorctl: add newline to failure print 2017-06-23 17:06:22 +02:00
Roman Zeyde
0d76936174 Allow testing recovery with an initialized device 2017-06-23 00:08:59 +02:00
Pavol Rusnak
e435920d6a
support v2 firmware in trezorctl 2017-06-20 17:19:37 +02:00
Pavol Rusnak
609b8d4a4a
fix stderr.write usage 2017-06-20 16:36:40 +02:00
Pavol Rusnak
de2f9e7c14
protob: regenerate, fix using old failure codes 2017-06-18 23:18:23 +02:00
Pavol Rusnak
2363db721a
fix stderr.write to use bytes 2017-05-03 17:50:37 +02:00
Peter Banik
44b51af1d8 -c <coin> CLI argument (#110) 2017-04-24 16:31:18 +02:00
Peter Banik
a99e29a05f
Added coin_name argument to get_public_node and trezorctl (#108) 2017-04-21 19:23:59 +02:00
Pavol Rusnak
127d76a913
enable/disable passphrase protection via trezorctl 2017-02-23 11:56:54 +01:00
mruddy
a2792cda19 load_device_by_mnemonic and recovery_device: expand unique mnemonic word prefix matches (#96) 2017-02-11 20:15:09 +01:00