1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 13:38:12 +00:00
trezor-firmware/trezorlib/transport
matejcik f3a13f50e0 transport/hid: check serial number when opening device
This fixes the problem where the user disconnects a device, connects a
different one, and the library doesn't notice because opening the same
HID path worked fine. (see https://github.com/spesmilo/electrum/issues/4806 )
2018-11-26 15:30:42 +01:00
..
__init__.py transport: derive TransportException from TrezorException 2018-11-26 15:30:42 +01:00
bridge.py transport: cleaner Transport list instantiation 2018-11-26 15:30:42 +01:00
hid.py transport/hid: check serial number when opening device 2018-11-26 15:30:42 +01:00
protocol.py trezorlib: reentrant session handling 2018-11-12 12:22:32 +01:00
udp.py transport: cleaner Transport list instantiation 2018-11-26 15:30:42 +01:00
webusb.py transport: cleaner Transport list instantiation 2018-11-26 15:30:42 +01:00