matejcik
bd43363b1c
coins: refactor, use data from coins.json instead of hardcoded lists
2018-04-10 15:58:34 +02:00
matejcik
40ff849228
flake8: make flake8 better and more strict
...
this removes some unused variables and also catches a couple bugs
2018-04-10 15:58:34 +02:00
Roman Zeyde
bd3d014dd4
Allow specifying 'state' at ProtocolMixin c-tor
2018-03-28 14:31:20 +02:00
Jochen Hoenicke
88b789e8ae
trezorctl: fix bug in sign_tx. ( #237 )
...
Set address to None, if user didn't specify address. Otherwise trezorctl
would send an empty string as address instead of not including it.
2018-03-16 07:00:00 +01:00
Pavol Rusnak
a0dd3ee502
trezorctl: add passphrase_source handling to apply_settings
2018-03-12 15:25:52 +01:00
matejcik
f75b90d260
Merge branch 'upstream' into refactor-transport-nicediff
2018-03-05 19:56:47 +01:00
matejcik
07ceb9aacc
pretty printing protobufs
2018-03-05 18:57:40 +01:00
Jochen Hoenicke
8a62d12217
Update ethereum_sign_tx to python3 ( #227 )
2018-03-05 13:09:57 +01:00
matejcik
2a706a751a
update trezorctl to use prefix search correctly
...
first, try exact path
second, try prefix search
last, fail :) with reporting used path (for people like me who forget to unset TREZOR_PATH
2018-03-02 18:24:05 +01:00
Pavol Rusnak
fd41db8a59
trezorctl: don't always require internal entropy in reset_device
2018-03-01 05:07:27 +01:00
matejcik
8404bef6e3
support TREZOR_PATH environment variable for selecting default path ( #221 )
2018-02-28 18:04:33 +01:00
slush
a4cdae39af
Introducing TrezorDevice, removing concept of transports from trezorctl
2018-02-02 18:29:20 +01:00
Pavol Rusnak
646338c414
small nits of last commit
2018-02-01 10:31:47 +01:00
Karel Bilek
759316e96f
Add webusb to transports
...
V2 protocol with debug link is not tested.
2018-02-01 10:25:01 +01:00
slush
87cd375b35
Fixing string conversion in encrypt_keyvalue/decrypt_keyvalue.
2018-01-26 05:09:08 +01:00
Anton Kolesnyk
a8cd90c3ad
Add varying url to broadcast tx, depending on the api
2018-01-15 00:25:05 +01:00
Pavol Rusnak
e618402429
trezorctl: firmware_update -e erases firmware (first 32K; rendering it unusable)
2018-01-09 12:12:32 +01:00
slush
c71f234a8b
Added deprecation warning for Python2
...
Removed dependency to google's protobuf in bridge transport
Fixed PinRequest handling
2017-12-29 19:19:18 +01:00
mcudev
4962207703
sign_tx: add rbf opt-in enable, add locktime, add tx version
2017-12-27 01:28:59 +01:00
Saleem Rashid
79da872316
trezorctl: Guess script type from BIP-32 in sign_tx
...
Also add change output to sign_tx
2017-12-27 01:16:46 +01:00
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