1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-30 03:18:20 +00:00
Commit Graph

799 Commits

Author SHA1 Message Date
Jan Pochyla
b60ab51f9b transport_hid: more strict interface detection 2017-09-04 17:30:07 +02:00
Pavol Rusnak
2a3f613242
hid: fix product_ids for v2 2017-09-04 14:31:15 +02:00
Jan Pochyla
52f96b3792 transport_hid: raise on missing debuglink 2017-09-04 13:44:19 +02:00
Jan Pochyla
259a61878b tools: update to new transport api 2017-09-04 13:36:31 +02:00
Jan Pochyla
8202971109 rework lazy connecting in client 2017-09-04 13:36:08 +02:00
Jan Pochyla
051f8e961b protocol: 2/3 compat fixes 2017-09-04 11:44:33 +02:00
Jan Pochyla
3d3c2a29d0 client: add missing close method
close() is implemented in some of the mixins to dispose of any resources.
2017-09-04 11:30:34 +02:00
Jan Pochyla
c805284a86 tests: fix client init 2017-09-04 11:22:41 +02:00
mruddy
02437d166a fix v1 protocol 2017-09-03 19:34:01 +02:00
Pavol Rusnak
c20cea6389
setup: add missing files 2017-09-03 19:15:34 +02:00
Saleem Rashid
29a145154f device_tests: Add test_msg_nem_getaddress 2017-09-03 19:05:29 +02:00
Saleem Rashid
eb1d66e27f trezorlib: Add nem_get_address 2017-09-03 19:05:29 +02:00
Saleem Rashid
4f5d9c4323 device_tests: Add test_msg_nem_signtx 2017-09-03 19:05:29 +02:00
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