Pavol Rusnak
b4e34b98fc
trezorlib: add monero getaddress/getwatchkey + tests
2018-11-04 15:27:45 +01:00
Tibor Arpas
e9b540e6b6
altcoin: Capricoin support tests and minor trezorctl addition. ( #325 )
2018-10-24 15:05:59 +02:00
Tibor Arpas
1a239201d8
trezorctl: fix bip115 handling
2018-10-21 01:18:21 +02:00
matejcik
e1efd493fd
trezorctl: updated firmware update flow
...
We can now locally verify firmware signatures and hashes. We also
recognize min_firmware_version, so this resolves #308
This also helps with #273 , as trezorlib is now mostly usable for signing
firmware images.
2018-10-12 15:58:55 +02:00
matejcik
ca7cbad1cf
trezorctl: variable referenced before assignment ( fixes #313 )
2018-10-10 13:15:28 +02:00
matejcik
2b02af1126
trezorctl: bad call to click.echo ( fixes #304 )
2018-10-10 13:15:28 +02:00
matejcik
2d7c74c535
switch to click 7.0
2018-10-10 13:15:28 +02:00
matejcik
ffff11a462
style: isort & autopep
2018-10-10 13:15:28 +02:00
matejcik
06927e003e
trezorlib: get rid of TextUIMixin
...
This also moves DebugLinkMixin to debuglink.py and converts the mixin to
a subclass of TrezorClient (which is finally becoming a
reasonable-looking class). This takes advantage of the new UI protocol
and is ready for further improvements, namely, queuing input for tests
that require swipes.
The ui.py module contains a Click-based implementation of the UI
protocol. Use of callback_* methods has been limited and will probably
be cleaned up further (The contract has changed so we'll try to make
third party code fail noisily. It is unclear whether a backwards
compatible approach will be possible).
Furthermore, device.recovery() now takes a callback as an argument. This
way we can get rid of WordRequest callbacks, which are only used in the
recovery flow.
2018-10-10 13:15:28 +02:00
Pavol Rusnak
c395501d2d
trezorctl: add no-backup option to reset-device
2018-10-08 14:17:07 +02:00
Jonathan Cross
ed633dcbb5
Fixing typo in firmware_update ( #317 )
2018-10-05 13:19:47 +02:00
matejcik
4fb3acb029
style: uppercase hex constants to conform with black 18.9b0 style
2018-10-01 14:01:33 +02:00
Pavol Rusnak
4a0ca873eb
trezorlib+tools: remove usage of binascii
2018-09-27 16:52:28 +02:00
Adrián Matejov
15df848b05
added Tezos support ( #302 )
...
* also added device tests for tezos
Signed-off-by: Adrian Matejov <adrian.matejov@simplestaking.com>
We also pushed signed operations to betanet network and they got accepted.
Here's the list of them
* transaction tz1 http://tzscan.io/ong8MQBX595Ld4dteHCbPqd6uzmEorEft6ZvfiX5vQMX4WHRh7K
* transaction tz2 http://tzscan.io/ooHZ2vbFX1M1fmr9KpLPWQ8r6oZB2RikpGBXsoQSZfbV1hWVjCP
* transaction tz3 http://tzscan.io/op79uLwaFqNB6SgcaAaJtoHFBQk3mL5bC1BQTvYzwX2DVSr8RJG
* origination tz1 http://tzscan.io/ooJg7qXtUjh16AtdSvv5kgaQnxjtAiBysFkG3EaG5qPAuDT1Cym contract http://tzscan.io/KT1VakcExcig27ZAuoLTExgGXtvUsykQSf5R
* origination tz2 http://tzscan.io/opDrUvCGUwKeu86b7GbRLeVzAkyKkdfnV9aSGAzGDLYYS11m6Qr contract http://tzscan.io/KT1LdQeHBSpvvzdRH495qHmtagavZcZ9Z5GW
* origination tz3 http://tzscan.io/opVWtfwvSvHzC6hsSGG31G23Q6nBov8SSvmA2nYXBNc5fWGk3Bg contract http://tzscan.io/KT1VfKfsgKFEfZ5vZUaZNaZyGrQf1gr1MEqr
* delegation tz1 http://tzscan.io/onws37YkYRnUvwYiPqYATZFtBVhBwbS2rdPkQjFGbAfLzt82MGa
* delegation tz2 http://tzscan.io/oocKfbotJwN5Zvmoybhb9LUJ6VhmeS42G2oZHaXQ2mXm98Rzx8r
* delegation tz3 http://tzscan.io/ooFQBcoMzwseJHnFgQ9fEPxAXhtgifuvvEH1CtmyAtnK5R7Drik
* transaction+reveal tz2 http://tzscan.io/ooEyN4FxP8RYh98RJgQxposDUuWHLWT8fUzWawNRCsMGxaNAN9c
* transaction+reveal tz3 http://tzscan.io/ooLaWQzZj1cbkMjZAifV71QCu5bdbMtET5CabrzLWQmnGMMhwmE
2018-09-10 16:40:31 +02:00
Dušan Plavák
bd6bcf7dfa
Add network param to cardano sign tx ( #306 )
2018-09-06 17:25:55 +02:00
Pavol Rusnak
434f279069
use implicit encoding in encode/decode
2018-09-06 16:22:38 +02:00
Matus Zamborsky
21326d3a41
add Ontology support ( #301 )
...
* add Ontology support
Signed-off-by: Matus Zamborsky <zamborsky@gmail.com>
2018-09-06 15:36:44 +02:00
Tomas Susanka
4f572f9e15
cardano: remove sign/verify functions
2018-09-06 14:54:06 +02:00
Pavol Rusnak
555bb62e3f
btc: add script_type to get_public_node
2018-09-05 15:21:11 +02:00
Dušan Plavák
fb22b894ba
Add cardano support to trezorctl and some tests ( #300 )
...
Add cardano support to trezorctl and some tests
2018-09-05 14:56:31 +02:00
Tomas Susanka
88a02822d3
stellar: public key methods removed
2018-09-03 14:57:10 +02:00
matejcik
88b50ac2ff
style: add makefile with style targets, final touchups
2018-08-21 16:30:22 +02:00
matejcik
3d3e9b67b4
style: apply black/isort
2018-08-13 18:22:19 +02:00
matejcik
29f928e4f2
style: bare excepts, left-over bad imports
2018-08-10 16:05:14 +02:00
matejcik
5259146a0b
style: remove unused imports with autoflake
2018-08-10 15:48:39 +02:00
matejcik
ca608d0a98
flake8: fix complaints (for the last time, hopefully)
2018-08-10 15:24:21 +02:00
matejcik
045ad85ecd
trezorctl: use new API
2018-08-10 15:18:26 +02:00
matejcik
2bb7088281
Merge branch 'master' into matejcik/client-split
2018-08-06 16:13:04 +02:00
D.Matskevych
5a677c3782
Added Zencash supporting
2018-07-26 11:34:51 +02:00
Tomas Susanka
61e63c6a02
ripple: ripple prefix dropped in functions
2018-07-12 16:36:33 +02:00
Tomas Susanka
c0f29bf4fd
ripple: proper sign_tx command
2018-07-12 16:36:33 +02:00
Tomas Susanka
37847fb56f
ripple: client functions moved to ripple.py
2018-07-12 16:36:33 +02:00
Tomas Susanka
147e7e21cb
ripple: get address command including tests
2018-07-12 16:36:33 +02:00
matejcik
00617817c3
trezorlib: disable encrypt/decrypt message functionality
...
it is disabled in Trezors and its utility is unclear
2018-07-09 13:56:22 +02:00
matejcik
46307cc4ba
trezorctl: use Stellar default network passphrase
2018-07-09 13:56:22 +02:00
matejcik
1820f529fc
trezorlib: shuffling things from client
2018-07-09 13:50:25 +02:00
Pavol Rusnak
8f46f3d46b
trezorctl: fix grammar in confirm messages
2018-07-05 13:52:09 +02:00
matejcik
cd94fb5ff9
trezorctl: drop list_coins command ( closes #277 )
2018-06-18 18:43:10 +02:00
Pavol Rusnak
7cf46c6833
trezorctl: add hexlify to stellar_get_public_key
2018-06-11 19:14:52 +02:00
Pavol Rusnak
1477c9aa9e
trezorctl/trezorlib: add show_display to StellarGetAddress/StellarGetPublicKey
2018-06-11 18:55:52 +02:00
Pavol Rusnak
b791e805a1
trezorctl: add stellar_get_address/stellar_get_public_key
2018-06-11 18:42:23 +02:00
matejcik
2f02b972d1
trezorctl: make wipe_device bootloader aware
2018-06-07 17:06:31 +02:00
matejcik
73f016c465
trezorctl: update firmware_update to work better with TT ( fix #269 )
...
This removes the --erase option which was fishy before (and is now superseded
by wipe_device in bootloader mode).
Also adds a draft of "local fingerprint check" functionality for T1. This will
be expanded to work with TT in future releases.
2018-06-07 17:06:31 +02:00
Aleksey Popov
922748e348
lisk: restore Lisk sign and verify message functionality
2018-06-07 14:07:26 +02:00
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