1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2025-01-03 20:11:00 +00:00
trezor-firmware/trezorlib
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
..
messages build: remove prebuilt protobuf files 2018-07-09 13:46:18 +02:00
qt qt: don't import PyQt5.Qt 2018-12-28 12:48:31 +01:00
tests tests: set xfail to komodo device test for now 2019-02-15 01:42:41 +01:00
transport trezorlib: workaround for a problem with Trezor One webusb 2019-02-26 17:35:25 +01:00
__init__.py trezorlib: bump version 2019-02-20 13:58:32 +01:00
_ed25519.py Revert "style" 2019-02-18 20:43:08 +01:00
btc.py Don't require prevtx for coins with BIP-143 fork id (#352) 2019-01-07 12:57:12 +01:00
cardano.py change network to protocol magic in cardano 2019-01-21 10:23:55 +01:00
ckd_public.py style: apply black/isort 2018-08-13 18:22:19 +02:00
client.py client: add get_default_client convenience function 2019-02-01 14:34:00 +01:00
coins.py tx_api: rework API, separate caching functionality to test support 2018-11-06 13:36:25 +01:00
cosi.py cosi: tests for new verify_m_of_n method 2018-10-12 12:58:49 +02:00
debuglink.py debuglink: allow clearing input_flow function 2019-02-01 14:27:52 +01:00
device.py trezorlib: workaround for a problem with Trezor One webusb 2019-02-26 17:35:25 +01:00
ethereum.py eth: add get public key 2019-01-15 12:46:20 +01:00
exceptions.py client: refuse to work with outdated firmware 2018-12-04 17:42:54 +01:00
firmware.py firmware: fix digest for OneV1, disallow unsigned by default 2019-02-26 14:06:56 +01:00
lisk.py trezorlib: add licence headers where missing 2018-11-12 12:22:32 +01:00
log.py Revert "style" 2019-02-18 20:43:08 +01:00
mapping.py style: apply black/isort 2018-08-13 18:22:19 +02:00
misc.py trezorlib: add licence headers where missing 2018-11-12 12:22:32 +01:00
monero.py trezorlib: add licence headers where missing 2018-11-12 12:22:32 +01:00
nem.py trezorlib+tools: remove usage of binascii 2018-09-27 16:52:28 +02:00
ontology.py trezorlib: add licence headers where missing 2018-11-12 12:22:32 +01:00
protobuf.py protobuf: improve to_dict function 2019-02-19 17:14:12 +01:00
ripple.py trezorlib: add licence headers where missing 2018-11-12 12:22:32 +01:00
stellar.py style: uppercase hex constants to conform with black 18.9b0 style 2018-10-01 14:01:33 +02:00
tezos.py added Tezos support (#302) 2018-09-10 16:40:31 +02:00
tools.py tools: make sure that passed Base58 string uses valid alphabet 2019-01-23 11:34:41 +01:00
tx_api.py trezorlib/tx_api: use tx-specific endpoint for blockbook 2019-02-19 12:57:59 +00:00
ui.py ui: allow empty passphrase in ClickUI 2018-12-06 15:05:41 +01:00