Saleem Rashid
58b56bead6
trezorctl: Add nem_sign_tx
2017-09-03 19:05:29 +02:00
Saleem Rashid
991d367416
trezorlib: Update Protocol Buffers
2017-09-03 19:05:29 +02:00
Jan Pochyla
888a1edafa
fix style
2017-08-24 14:41:31 +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
Jan Pochyla
e3c7146a80
tests: add multisig marker
2017-08-15 17:33:11 +02:00
Jochen Hoenicke
5cfa973a78
Fixed white-spaces
2017-08-13 20:49:23 +02:00
Jochen Hoenicke
600bcba69c
Updated unit tests for BitcoinCash
2017-08-13 20:49:23 +02:00
Jochen Hoenicke
29f29626fc
Added multisig test
2017-08-13 20:49:23 +02:00
Pavol Rusnak
ff157264a2
trezorctl: print message name to output
2017-08-09 00:52:52 +02:00
Pavol Rusnak
8a663f7ec3
tests: rename BCC to BCH, Bitcoin Cash to Bcash
2017-07-31 15:29:11 +02:00
Pavol Rusnak
32fa08f38b
tests: remove estimate_tx_size
2017-07-31 14:00:26 +02:00
Pavol Rusnak
b6dc73ce9c
tests: fix bytes/str problem in test_msg_ethereum_signtx
2017-07-31 13:56:25 +02:00
Saleem Rashid
b469519e26
client: fix matrix recovery, use named enums, use isdigit(), ignore broken E721 test
2017-07-31 13:35:31 +02:00
Pavol Rusnak
81d5170c10
tests: start rewriting device tests to pytest
2017-07-28 18:07:20 +02:00
Pavol Rusnak
8a1d211ee9
tests: fix flake8 errors
2017-07-28 16:08:33 +02:00
Jan Pochyla
6df01fbfa3
TransportV2: adapt to recent changes
...
- remove checksum
- add sequence numbers
2017-07-28 15:58:20 +02:00
Pavol Rusnak
5309baf48e
tests: reduce unhexlify reuse
2017-07-28 15:24:18 +02:00
Pavol Rusnak
11bfacc9b3
tests: bytes are not necessary in unhexlify
2017-07-28 15:17:19 +02:00
Jochen Hoenicke
9917d9ebfc
New unit tests for signing (bitcoin cash)
2017-07-27 21:51:00 +02:00
Pavol Rusnak
efe36b3a2f
unit_tests: rewrite from unittest to pytest
2017-07-26 14:48:20 +02:00
Pavol Rusnak
11b686a9f2
tests: add tests for Segwit SignMessage/VerifyMessage
2017-07-25 19:29:28 +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
36985519b5
tests: add test for ethereum sign/verify message
2017-07-17 14:40:35 +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
c7a2c72a75
simplify SelfTest.payload
2017-07-10 19:08:16 +02:00
Pavol Rusnak
5ffc700f0c
use isinstance to detect whether result is protobuf message
2017-07-10 18:20:32 +02:00
Pavol Rusnak
1727b9a9b6
add SelfTest.payload
2017-07-10 17:40:13 +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
2d643031ac
change dependency to protobuf>=3.0.0
2017-07-10 14:41:56 +02:00
Pavol Rusnak
e6acf90f2b
tests: add test for broken BackupDevice workflow
2017-07-05 13:03:06 +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
d33e9a178b
bump version to 0.8.0a0
2017-07-05 12:55:37 +02:00
Pavol Rusnak
f18ec19aeb
bump version
2017-07-05 12:52:56 +02:00
Pavol Rusnak
bcf54dbe94
trezorctl/client: add self_test
2017-07-03 18:49:03 +02:00
Pavol Rusnak
b9293d6bcb
regenerate protobuf
2017-07-03 18:42:21 +02:00
Pavol Rusnak
9a709832a9
tests: unit test for ResetDevice_skipbackup (and subsequent BackupDevice)
2017-06-28 18:04:19 +02:00
Pavol Rusnak
cbce29163b
tests: add test for RecoveryDevice.dry_run
2017-06-28 16:39:51 +02:00
Pavol Rusnak
e9dbfc757c
add usage; add newlines to some tests
2017-06-28 13:42:44 +02:00
Pavol Rusnak
7f0f73d1c6
tests: fix style in tools/signtest.py
2017-06-25 18:10:05 +02:00
Pavol Rusnak
33f274d145
style: use flake8
2017-06-23 21:52:53 +02:00
Pavol Rusnak
71996c1e43
update protobuf, update tox.ini, prepare for BackupDevice
2017-06-23 19:26:35 +02:00