Commit Graph

23 Commits

Author SHA1 Message Date
Pavol Rusnak 5b3e992521
transport: update to new bridge API 2018-01-29 17:48:08 +01:00
slush c71f234a8b Added deprecation warning for Python2
Removed dependency to google's protobuf in bridge transport
Fixed PinRequest handling
2017-12-29 19:19:18 +01:00
Roman Zeyde f8a277dfba transport_bridge: fix messages' module import 2017-12-23 13:43:51 +01:00
Jan Pochyla 66ba2c20c0 transport: add TransportException
Fixes #134
2017-09-05 17:16:04 +02:00
Jan Pochyla bc42eb68d6 transports: refactor, split protocol code 2017-08-24 14:29:27 +02:00
Pavol Rusnak f73fc33439
drop internal use of protobuf_json, use json_format provided by google.protobuf 2017-07-10 15:36:44 +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
Tomas Rojas 637d45b196 Configure Bridge only once per process (#107)
This saves a lot of time on requests retrieving config_signed.bin and
reconfiguring the bridge for every device enumeration or transport
instantiation.
2017-04-20 13:16:15 +02:00
Pavol Rusnak 0bba092741
add LGPLv3 headers to sources files 2016-11-25 22:53:55 +01:00
slush0 39e827a90a Reworked get_transport for hid/bridge. 2016-06-30 16:47:17 +02:00
Pavol Rusnak 3b4f226d48
cleanup transports 2016-06-30 16:23:07 +02:00
slush0 9b409ae6a4 Refactored Bridge transport, WIP 2016-06-28 09:51:57 +02:00
slush0 514a7643f5 Bridge uses wallet.trezor.io for config file. 2016-06-28 09:51:57 +02:00
Pavol Rusnak 3a108ee8a5
fix pylint warnings 2016-05-26 17:20:44 +02:00
slush0 6ec2ff3eac
Preparation for python3 support (WIP) 2016-05-20 13:46:51 +02:00
Pavol Rusnak f3449fcbd7
fix spelling of TREZOR 2016-02-10 16:48:13 +01:00
Karel Bilek f149e705f4 fixing bridge transport enumerate + init 2015-12-21 18:23:44 +01:00
Jochen Hoenicke 6f59de799a Verify the localback.net certificate 2015-03-05 11:15:53 +01:00
Jochen Hoenicke 9107aab76a Use right URL for bridge and keep-alive connection
The bridge is using https with a certificate signed for localback.net.

Use a session object (self.conn) to keep connection alive and
prevent costly ssl handshakes for every call.
2015-03-05 11:00:18 +01:00
Pavol Rusnak 608025419b config will stay in hex form (IE) 2014-07-27 16:22:24 +02:00
Pavol Rusnak 70dd320c1f fix protobuf_json while handling enums
use error field from trezord
2014-07-26 17:15:12 +02:00
Pavol Rusnak a527456db5 add transport for bridge 2014-07-26 16:40:51 +02:00