1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-05 14:08:39 +00:00
Commit Graph

1521 Commits

Author SHA1 Message Date
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
Pavol Rusnak
c51089803d
trezorctl: add newline to failure print 2017-06-23 17:06:22 +02:00
Roman Zeyde
0d76936174 Allow testing recovery with an initialized device 2017-06-23 00:08:59 +02:00
Pavol Rusnak
f50d547ce4
regenerate protobuf, added RecoveryDevice.dry_run 2017-06-22 12:38:57 +02:00
Pavol Rusnak
f880a09ae7
add protoc version and trezor-common revision to autogenerated files 2017-06-21 13:44:26 +02:00
Pavol Rusnak
e435920d6a
support v2 firmware in trezorctl 2017-06-20 17:19:37 +02:00
Pavol Rusnak
609b8d4a4a
fix stderr.write usage 2017-06-20 16:36:40 +02:00
Pavol Rusnak
564e6590c2
use FirmwareErase.length field 2017-06-20 16:32:54 +02:00
Pavol Rusnak
c1fae7d19f
bump version 2017-06-19 00:00:50 +02:00
Pavol Rusnak
e7a56899c6
more python3 compatibility 2017-06-19 00:00:26 +02:00
Pavol Rusnak
bf1c580d85
bump version 2017-06-18 23:41:15 +02:00
Pavol Rusnak
65985b30f3
bump requirements for protobuf to 3.1.0 2017-06-18 23:19:15 +02:00
Pavol Rusnak
de2f9e7c14
protob: regenerate, fix using old failure codes 2017-06-18 23:18:23 +02:00
Roman Zeyde
e33f4d7612 Add 'requests' dependency 2017-06-15 16:51:28 +02:00
Pavol Rusnak
348db51775
add trezorctl to readme 2017-06-14 18:23:14 +02:00
Pavol Rusnak
4874f117f5
use travis-tox 2017-06-13 15:43:14 +02:00