Confirmed users
177
edits
(Created page with "== Overview == === Remote Debugging Today === Connecting to the Dev Tools debugging server on a remote device (like B2G) via USB (which requires ADB) is too complex to setup ...") |
No edit summary |
||
| Line 10: | Line 10: | ||
=== Security === | === Security === | ||
TLS is used to provide encryption of the data in transit. Both parties use self-signed certs to identify themselves. There is a one-time setup process to authenticate a new device. This is explained in many more details later on in this document. | |||
== Definitions == | == Definitions == | ||
| Line 20: | Line 17: | ||
== Proposal == | == Proposal == | ||
This proposal uses | This proposal uses TLS with self-signed certs to allow Clients to connect to Servers through an encrypted, authenticate channel. After first connection from a new Client, the Client is saved on the Server (if the user wants to always allow) and can connect freely in the future (assuming Wi-Fi debugging is still enabled). | ||
=== Default State === | === Default State === | ||
| Line 27: | Line 24: | ||
=== Enabling Wi-Fi Debugging === | === Enabling Wi-Fi Debugging === | ||
# User goes to Developer menu on Device | # User goes to Developer menu on Device | ||
# User checks " | # User checks "DevTools over Wi-Fi" to enable the feature | ||
#* Persistent notification displayed in notification bar reminding user that this is enabled | #* Persistent notification displayed in notification bar reminding user that this is enabled | ||
# Device begins listening on random TCP socket via Wi-Fi only | # Device begins listening on random TCP socket via Wi-Fi only | ||