1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-10-13 19:39:05 +00:00
Commit Graph

141 Commits

Author SHA1 Message Date
matejcik
031404f822 trezorctl: fix pylint warnings 2018-06-07 14:01:52 +02:00
matejcik
c10c3f7fd9 stellar: better way to handle default path
(maybe do this for other currencies too?)
2018-05-28 15:47:40 +02:00
matejcik
9982ef98f9 Merge branch 'master' into matejcik/refactor 2018-05-24 19:18:26 +02:00
matejcik
7e83eb11e5 trezorctl: drop remaining stellar_sign_message command 2018-05-23 14:27:10 +02:00
matejcik
4b7926268e drop Lisk and Stellar sign/verify message functionality 2018-05-23 14:20:54 +02:00
Tomas Susanka
e656bbf072 stellar: xdr parse move to trezorctl; client works with messages 2018-05-17 17:17:09 +02:00
matejcik
ca8ebacab9 logging: convenience function to set up protobuf logging 2018-05-11 15:29:38 +02:00
matejcik
eed91db880 protocol: python logging to supersede VerboseWire 2018-05-11 15:29:38 +02:00
matejcik
325312d11c protobuf: move formatter function to protobuf where it belongs better 2018-05-11 15:29:38 +02:00
matejcik
d106869061 trezorlib: deprecate client.expand_path and move the staticmethod
to an ordinary function tools.parse_path

Also remove PRIME_DERIVATION_FLAG and move it to tools.HARDENED_FLAG
2018-05-11 15:29:37 +02:00
ZuluCrypto
5fccc4381b
fix style to match flake8 2018-04-28 12:59:08 -06:00
ZuluCrypto
200b5a71df
Merge remote-tracking branch 'upstream/master' into stellar 2018-04-28 12:54:32 -06:00
ZuluCrypto
76241dca5c
trezorctl - clean up imports 2018-04-19 13:28:31 -06:00
Aleksey Popov
45cca15e5f lisk: Add lisk_sign_tx 2018-04-18 12:09:09 +02:00
Aleksey Popov
5e1168c48d lisk: Add lisk_get_publickey 2018-04-18 12:09:09 +02:00
Aleksey Popov
514e808b56 lisk: Add lisk_verify_message 2018-04-18 12:09:09 +02:00
Aleksey Popov
d3685639f9 lisk: Add lisk_sign_message 2018-04-18 12:09:09 +02:00
Aleksey Popov
3e742177d2 lisk: Add lisk_get_address method 2018-04-18 12:09:09 +02:00
Pavol Rusnak
ff8dafc182
trezorctl: reorder parameters in ethereum_sign_tx 2018-04-11 12:26:53 +02:00
Peter van Mourik
497f0467cf Added Wanchain support (#230) 2018-04-11 12:24:13 +02:00
Roman Zeyde
0a10b53e3a client: allow setting auto-lock delay 2018-04-11 11:17:17 +02:00
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
ZuluCrypto
1d722f838a
add Stellar support 2018-04-03 19:50:22 -06: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