Tomas Susanka
47a40fb290
trezorctl: add set_display_rotation command
2019-04-05 13:39:31 +02:00
Tomas Susanka
c4f144ae0a
vendor: update trezor-common
2019-04-05 13:39:31 +02:00
Yura Pakhuchiy
351dadbfbc
Add Groestlcoin device tests ( #368 )
2019-03-15 14:44:06 +01:00
Tomas Susanka
87e6e481fd
tests: debug mnemonic is bytes
2019-03-12 13:22:47 +01:00
Tomas Susanka
688d1ac03b
vendor: update trezor-common
2019-03-12 10:32:59 +01:00
Tomas Susanka
18ab357e2e
debug: accept bytes in mnemonic field
2019-03-11 13:53:40 +01:00
matejcik
1e9edf0cc5
trezorctl: support sending ERC20 tokens in ethereum-sign-tx
2019-03-07 19:10:11 +01:00
matejcik
3997b402b4
trezorctl: update ethereum-sign-tx to use web3 instead of ethjsonrpc
...
fixes #366
2019-03-07 17:49:17 +01:00
matejcik
c24a8770c5
build: change ethereum requirements
2019-03-07 17:45:50 +01:00
matejcik
a8b88bcb58
trezorlib: bump required firmware version
...
mainly because of ethereum-get-address changes
2019-03-07 17:44:28 +01:00
matejcik
c414e8abfa
style: update isort and new relative-import sorting rules
2019-03-07 14:16:48 +01:00
matejcik
22376bede4
protobuf: drop legacy CopyFrom method
2019-03-07 13:49:11 +01:00
matejcik
97171a85f2
tools: simplify helloworld.py
2019-03-07 13:49:11 +01:00
brianddk
302b9d99e6
Fix trezorctl for protobuf changes in 0.11.2 ( #365 )
...
ethereum-sign-message Leave `address` as text instead of encoding.
ethereum-verify-message Leave `address` as text instead of encoding.
ethereum-sign-tx Leave `to` as text instead of encoding.
2019-03-07 13:47:08 +01:00
Pavol Rusnak
a30586647a
tools: add trezor-otp.py
2019-03-01 12:39:35 +01:00
Pavol Rusnak
61f403c421
tests: update test_msg_ethereum_getpublickey to test node field
2019-02-28 16:38:33 +01:00
Pavol Rusnak
79664a4d08
burntest: add test for T1/T2
2019-02-28 16:29:06 +01:00
matejcik
3e294cc339
changelog: update release date and tag
2019-02-27 13:25:56 +01:00
matejcik
b441ea7c3b
build: properly clean generated files from setup.py prebuild
2019-02-27 13:22:48 +01:00
matejcik
12c0e78e3d
trezorctl: ALLOWED_FIRMWARE_FORMATS should be lists (well tuples)
2019-02-27 13:12:18 +01:00
matejcik
a2f1dad3d4
docs: python -> python3 in readme
2019-02-27 13:09:47 +01:00
brianddk
96ce34b276
Fix incompatibilities with v0.11 movement of methods to misc
library.
...
- pwd_reader.py
- Moved encrypt/decrypt calls to misc module from client.
- Corrected key to encode in binstr for Py3.7 hmac functions.
- Added ui to client.
- pwd_reader.py
- Moved entropy calls to misc module from client.
- Added ui to client.
2019-02-27 13:07:51 +01:00
matejcik
972b47c8e1
docs: update README with more installation instructions
2019-02-26 18:29:22 +01:00
matejcik
697f86210f
revert usb reset related commits
...
As it stands, they cause more harm than good for a point release.
This code will be returned later, when it is more mature
2019-02-26 18:01:19 +01:00
matejcik
0a8b5a08c2
trezorlib: workaround for a problem with Trezor One webusb
...
when webusb version of T1 is wiped, the usb device changes serial
immediately (unlike TT, which changes it after reconnect).
That confuses libusb on linux, and next time the device is reset, it
will insist on re-enumeration.
To solve this, we leave some explanatory comments, and trigger the
device reset through opening the device right after a wipe.
The client instance is unusable after that, but not much we can do about
it, and on next run trezorctl will behave as if nothing bad happened.
2019-02-26 17:35:25 +01:00
matejcik
18eab21932
changelog: update changes for v0.11.2
2019-02-26 15:22:57 +01:00
matejcik
fa5734a2a8
trezorctl: firmware tweaks, add dry_run mode
2019-02-26 14:46:12 +01:00
matejcik
302f2589a0
firmware: fix digest for OneV1, disallow unsigned by default
2019-02-26 14:06:56 +01:00
matejcik
cfb19dfb15
firmware: recognize, verify and handle firmware v1.8.0 and up
...
Also reorganize firmware validation code somewhat, so that trezorctl
consumes a unified interface.
2019-02-25 19:40:26 +01:00
matejcik
408c6712c1
transport/webusb: reset USB device when connecting
...
bridge does the same thing
fixes #361
2019-02-21 17:11:13 +01:00
matejcik
92cc7665dd
trezorlib: bump version
...
This should probably happen right after tagging a release.
This way, we can set a valid minimum version requirement that makes it
clear that the released version is not good enough.
(microwallet will need this)
2019-02-20 13:58:32 +01:00
matejcik
11f399230f
trezorctl: support signing JSON-encoded transaction data in sign-tx
2019-02-19 17:52:36 +01:00
matejcik
832053e85d
protobuf: improve to_dict function
2019-02-19 17:14:12 +01:00
Pavol Rusnak
17f6c33c3f
trezorlib/tx_api: use tx-specific endpoint for blockbook
2019-02-19 12:57:59 +00:00
Tomas Susanka
1105ba2039
Revert "style"
...
This reverts commit e52ec86846
.
2019-02-18 20:43:08 +01:00
Tomas Susanka
e52ec86846
style
2019-02-18 17:27:10 +01:00
Tomas Susanka
1eb364c26c
vendor: trezor-common update
2019-02-18 17:22:46 +01:00
Pavol Rusnak
dbb4512484
tests: set xfail to komodo device test for now
2019-02-15 01:42:41 +01:00
Pavol Rusnak
4f252c6820
tests: update KMD device test
2019-02-15 00:23:37 +01:00
ca333
f874a76702
tests: add tests for KMD
2019-02-14 23:02:23 +01:00
Andrew Kozlik
1e89f7923d
tests: Don't lock storage after setup if the mnemonic needs to be checked.
2019-02-14 21:07:30 +01:00
Andrew Kozlik
9a1e14d974
tests: Check PIN properly in test_msg_changepin.
2019-02-14 19:16:43 +01:00
Pavol Rusnak
d5c2636f0d
style: reformat decred test
2019-02-04 01:29:08 +01:00
Pavol Rusnak
333af87ce2
tests: use simplified API for MultisigRedeemScriptType where possible
...
This is possible when address_n is the same for all involved nodes
2019-02-04 01:14:14 +01:00
matejcik
f7aa6ae22e
burn_tests: add pin cycling
2019-02-01 14:34:40 +01:00
matejcik
526f729420
client: add get_default_client convenience function
2019-02-01 14:34:00 +01:00
matejcik
42583eaceb
debuglink: allow clearing input_flow function
2019-02-01 14:27:52 +01:00
Pavol Rusnak
50b302dfec
format: black uppercase of hex constant
2019-01-31 21:22:51 +01:00
Pavol Rusnak
1f7a405cb2
tests: pass branch_id in zcash tests
2019-01-31 21:08:43 +01:00
matejcik
f236eb9cf2
flake8: add typing imports where missing
...
also remove autoflake workarounds from some files, apparently newer
autoflake can recognize them properly
2019-01-31 15:41:25 +01:00