Commit Graph

73 Commits

Author SHA1 Message Date
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
Pavol Rusnak ae3f4823ae
trezorctl: remove unused PinMatrixThread 2016-11-11 19:12:30 +01:00
Pavol Rusnak 897d57803a
add choices to words argument for recovery_device 2016-11-01 13:20:37 +01:00
Pavol Rusnak c6094dc9ad
verify_message now requires coin_name 2016-10-10 11:02:04 +02:00
Pavol Rusnak 92810a287f
import requests only when really needed 2016-10-03 10:42:02 +02:00
Dominik Kozaczko a5f9d86076 Fix trezorctl (#75) 2016-09-28 14:34:50 +02:00
Dominik Kozaczko 300bf5801d
fix exceptions - writeout errors instead of throwing tracebacks 2016-09-28 11:37:15 +02:00
Pavol Rusnak 05c243d29b
add possibility to skip check in firmware_update 2016-09-26 12:28:06 +02:00
Jochen Hoenicke d9df63ad89 Allow leading 0x in data. Handle new contracts.
Specify 0x or "" as destination to create a new contract.
Leading 0x in data is just ignored (data must always be given in hex).
2016-08-23 01:19:22 +02:00
Jochen Hoenicke c85600b9bd
Fix ethereum_sign_tx
- Workaround bug in rlp.utils.int_to_big_endian
- Command line tool now expects data to be a hexlified string
2016-08-19 23:15:38 +02:00
Pavol Rusnak 6a1564ba87
fix firmware_update fetching firmware 2016-08-10 16:51:06 +02:00
Pavol Rusnak e00453661d
remove trezorctl-emu.sh script, trezorctl now uses default pipe path if not provided 2016-07-02 20:50:04 +02:00
Pavol Rusnak ef9eaf4553
rename ethereum_send_tx to ethereum_sign_tx, add --publish option 2016-07-02 20:26:58 +02:00
slush0 39e827a90a Reworked get_transport for hid/bridge. 2016-06-30 16:47:17 +02:00
Pavol Rusnak 3b4f226d48
cleanup transports 2016-06-30 16:23:07 +02:00
Jochen Hoenicke e51fb2078f
new message SetU2FCounter 2016-06-28 00:55:46 +02:00
Pavol Rusnak 6696dcb985 Merge pull request #62 from Arachnid/ethereum_send_tx
Implement ethereum_send_tx
2016-05-27 20:49:21 +02:00