Commit Graph

33 Commits

Author SHA1 Message Date
Roman Zeyde d1397c779c transport_hid: return sorted list of devices (#77)
This should be deterministic, since dict.values() order is unpredictable.
2016-10-14 19:55:06 +02:00
Pavol Rusnak bac91afca7
use usage_page to detect interfaces 2016-10-03 10:39:58 +02:00
Pavol Rusnak 25672288cf
use hid_version=2 for HidTransportV2 2016-09-26 20:52:33 +02:00
slush0 6aaa5928e2 Fixed _write_chunk for hid_version==2 2016-06-28 09:51:57 +02:00
slush0 58fd1bb512 Reworked handling of DEVICE_IDS 2016-06-28 09:51:57 +02:00
slush0 e8f76ebd03 WIP 2016-06-28 09:51:57 +02:00
Jochen Hoenicke eac9c99e32
Bug fixes
- Ignore u2f interface instead of failing.
- Fix set_mnenomic in debug client
- Don't encode utf-8 mnenomics to byte arrays.
2016-06-28 00:56:03 +02:00
Pavol Rusnak 73864e2979
determine hid version 2016-06-23 18:38:34 +02:00
Pavol Rusnak 3a108ee8a5
fix pylint warnings 2016-05-26 17:20:44 +02:00
Pavol Rusnak de9b10fd90
more python3 stuff 2016-05-20 13:46:51 +02:00
Roman Zeyde c567ceec94
transport_hid: fix buffer handling for Python 3 2016-05-20 13:46:51 +02:00
slush0 6ec2ff3eac
Preparation for python3 support (WIP) 2016-05-20 13:46:51 +02:00
slush0 0341e6f724 Removed unused imports 2016-04-30 02:37:46 +02:00
Pavol Rusnak 8b7e6058ed
Revert "Added code to make trezor-agent work with keepkey."
This reverts commit 53e361b70b.

As requested by @dstanchfield here: https://github.com/trezor/python-trezor/pull/49#issuecomment-183486838
2016-02-12 23:11:57 +01:00
Pavol Rusnak f3449fcbd7
fix spelling of TREZOR 2016-02-10 16:48:13 +01:00
Pavol Rusnak f1868b72cd Merge pull request #49 from keepkey/master
Added code to make trezor-agent work with keepkey.
2016-02-10 15:37:39 +01:00
Pavol Rusnak 915cf0099e
fix interface number handling 2016-01-17 00:37:39 +01:00
Pavol Rusnak a8a68ca5fc
fix typo 2016-01-13 00:15:30 +01:00
Pavol Rusnak 62e8b57ccf
cleanup old stuff 2016-01-12 20:13:17 +01:00
Kenneth Heutmaker 53e361b70b Added code to make trezor-agent work with keepkey. 2016-01-07 12:21:58 -08:00
Jochen Hoenicke 6cedf149d2 Don't spam the usb.
The connected logic was flawed.  After 10 s it would continuously
check if the device is still connected.  Now, we reset the timer
after every check.
2015-04-29 19:31:48 +02:00
Pavol Rusnak 45d9955bc2 speed up communication 2015-02-25 17:54:27 +01:00
Timothy e7cb1d474a Document transport_hid class 2014-08-26 14:06:19 +00:00
Pavol Rusnak a527456db5 add transport for bridge 2014-07-26 16:40:51 +02:00
slush0 aec4908fd7 HidTransport raises ConnectionException when disconnected during HID session 2014-07-10 00:44:46 +02:00
slush0 f48cf157c7 Fixes HID detection on Mac 2014-02-13 19:04:51 +01:00
slush0 a56700a03b Reworked HID path handling (to fix Windows issues) 2014-02-03 21:49:07 +01:00
slush0 12afba8385 Support for HID debug_link 2013-11-15 01:43:05 +01:00
Pavol Rusnak 817cd6ea86 use same product id for bootloader mode as well 2013-10-22 16:22:04 +02:00
Pavol Rusnak 2587eff8fd use new hidapi api 2013-10-19 14:19:09 +02:00
Pavol Rusnak 57151ce1b3 fix usb ids 2013-10-19 14:00:58 +02:00
slush0 ae9444a83b Fixes bug with aligning the magic 2013-09-25 01:14:54 +02:00
slush0 98bb17299b Module renamed to trezorlib 2013-09-13 05:37:23 +02:00