Commit Graph

36 Commits (302f2589a0f5b6297a9e636881ab8936ec4a718f)

Author SHA1 Message Date
matejcik 408c6712c1 transport/webusb: reset USB device when connecting
5 years ago
Tomas Susanka 1105ba2039 Revert "style"
5 years ago
Tomas Susanka e52ec86846 style
5 years ago
matejcik f236eb9cf2 flake8: add typing imports where missing
6 years ago
matejcik 6fa8ccfeed transport: report proper exception when no device found
6 years ago
matejcik 4ab8bec901 transport/webusb: change type annotations to strings
6 years ago
matejcik 40eaa1fa36 transport/hid: reload serial when closing
6 years ago
matejcik f3a13f50e0 transport/hid: check serial number when opening device
6 years ago
matejcik 082adfd15d transport: derive TransportException from TrezorException
6 years ago
matejcik 69ef1f0acd transport: cleaner Transport list instantiation
6 years ago
matejcik 5bb7dc39b8 transport: consolidate USB-based transports
6 years ago
matejcik d3534a15c9 transport: fix typing after autoflake treatment
6 years ago
matejcik bfb56451e8 bridge: support bridge 2.0.25+
6 years ago
matejcik 93d84539bd transport: fit log messages to lines
6 years ago
matejcik 85b85c67b3 trezorlib: reentrant session handling
6 years ago
matejcik daf97afb37 bridge: refactor after merging old changes
6 years ago
matejcik aac7726824 trezorlib: transport/protocol reshuffle
6 years ago
matejcik 88988172b9 bridge: perform HTTP request in `read`, not `write`
6 years ago
matejcik 4fb3acb029 style: uppercase hex constants to conform with black 18.9b0 style
6 years ago
Pavol Rusnak 4a0ca873eb trezorlib+tools: remove usage of binascii
6 years ago
matejcik 3d3e9b67b4 style: apply black/isort
6 years ago
matejcik 29f928e4f2 style: bare excepts, left-over bad imports
6 years ago
matejcik 5259146a0b style: remove unused imports with autoflake
6 years ago
matejcik 54f1599a5a regenerate license headers
6 years ago
matejcik e779a251fb transport: better ways to handle errors when enumerating devices
6 years ago
matejcik 97fa4670ac transport: add message logging to bridge
6 years ago
matejcik 40ff849228 flake8: make flake8 better and more strict
6 years ago
Pavol Rusnak 12c58ce3cc transport: inject info about udev rules into io/os exception
6 years ago
matejcik 5edcea9ba6
transport: fix all_transports when required modules are missing (#232)
6 years ago
matejcik 9f2583f893 webusb: check if a device is functional when enumerating
6 years ago
matejcik dc8eec1656 trezorlib/transport: for get_transport(None), raise exception from None if no trezor is found,
6 years ago
matejcik 2f1c15b588 trezorlib/transport: make flake8 happy
6 years ago
matejcik 6519657808 trezorlib/transport: smarter handling of prefix search
6 years ago
matejcik d2913c20bd trezorlib/transport: move TrezorDevice functionality to transport and make it better ^_^
6 years ago
matejcik bc8120230a trezorlib/transport: make changes to support being a separate submodule, move common functions to superclass
6 years ago
matejcik 473ea19570 trezorlib/transport: rename files as separate step (to make diffs nicer)
6 years ago