Commit Graph

89 Commits

Author SHA1 Message Date
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
Jochen Hoenicke 1105490cb3 Ethereum: trezorctl updates
- Allow nonce, gas_limit, gas_price to be explicitly set to 0.
- Updated usage info.
2017-01-22 19:13:21 +01:00
Jochen Hoenicke 607893f9ac Ethereum: EIP-155 replay protection
Added chain_id parameter to sign tx (and updated protobuf).
Added a unit test with chain_id for Ropsten testnet.
trezorctl:
 - Fixed compatibility with new ethjsonrpc
 - added chain_id parameter
2017-01-22 19:13:21 +01:00
Jochen Hoenicke 3e2cccf225 SegWit: Display address on Trezor 2017-01-02 21:43:49 +01:00
Pavol Rusnak 6eee9c7499
old recovery method is default (scrambled) 2016-12-08 15:36:51 +01:00
Pavol Rusnak 3da5b48054
fix double import 2016-12-02 16:23:17 +01:00
Santiago Rodríguez b3c298d87c Added support for signing Ethereum transactions without node connection (#89)
* Added support for signing without node connection

* Removed transaction details output
2016-12-01 15:23:38 +01:00
Pavol Rusnak 0bba092741
add LGPLv3 headers to sources files 2016-11-25 22:53:55 +01:00
Pavol Rusnak 1dd4cd78f5
fix whitespace 2016-11-23 13:55:08 +01:00
Jochen Hoenicke c935b51849
Support for matrix recovery
See issue trezor/trezor-mcu#96
2016-11-23 11:42:20 +01:00
Pavol Rusnak b494b2d3a0
trezorctl: cleanup old stuff 2016-11-11 19:18:52 +01:00