1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-17 11:58:13 +00:00
Commit Graph

53 Commits

Author SHA1 Message Date
Pavol Rusnak
4cfcd93d48
transport: force V1 protocol for T2 for now 2018-02-27 18:30:09 +01:00
slush
e141a6f5d1 Added get_path() to transports 2018-02-06 21:10:30 +01:00
slush
6a22cf481c Fix handling of find_by_path in transports. 2018-02-06 18:40:07 +01:00
slush
9ebe1b5204 Remove debug print 2018-02-02 20:18:30 +01:00
slush
81db1da68f Fix handling of bytes/str in transport paths 2018-02-02 20:17:10 +01:00
slush
ac09c8d7de Make all transport prefixes lowercase. 2018-02-02 19:20:03 +01:00
slush
a4cdae39af Introducing TrezorDevice, removing concept of transports from trezorctl 2018-02-02 18:29:20 +01:00
Jan Pochyla
fcd793e6e4 transport_hid: force V1 transport with env var 2017-10-31 13:51:13 +01:00
Pavol Rusnak
54426761c6
fix transport_hid for python2 2017-10-23 17:28:24 +02:00
Jan Pochyla
66ba2c20c0 transport: add TransportException
Fixes #134
2017-09-05 17:16:04 +02:00
Jan Pochyla
ac0184413d transport_hid: refcount for hid handle 2017-09-05 17:15:19 +02:00
Pavol Rusnak
dffa93bee3
fix last commit (newline eof) 2017-09-04 17:40:15 +02:00
Jan Pochyla
b60ab51f9b transport_hid: more strict interface detection 2017-09-04 17:30:07 +02:00
Pavol Rusnak
2a3f613242
hid: fix product_ids for v2 2017-09-04 14:31:15 +02:00
Jan Pochyla
52f96b3792 transport_hid: raise on missing debuglink 2017-09-04 13:44:19 +02:00
Jan Pochyla
bc42eb68d6 transports: refactor, split protocol code 2017-08-24 14:29:27 +02:00
Pavol Rusnak
0ee1667c6f
trezorctl: cleanup 2017-07-05 12:55:38 +02:00
Pavol Rusnak
33f274d145
style: use flake8 2017-06-23 21:52:53 +02:00
Pavol Rusnak
bee9af1f90
use v1 transport for T2 bootloader (for now) 2017-04-12 17:54:34 +02:00
Pavol Rusnak
0bba092741
add LGPLv3 headers to sources files 2016-11-25 22:53:55 +01:00
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