# Network Security

#### Peer-to-Peer Tunneling

Communication between your mobile device (the signer) and your desktop dashboard (the interface) occurs over a secure tunnel.

* **WebRTC:** We utilize WebRTC to establish a direct peer-to-peer connection.
* **No Central Intermediary:** Once the connection is established, data flows directly between your devices. EtheLock servers do not sit in the middle of the data stream and cannot intercept the payload.

#### Ephemeral Session Keys

Every time you scan the QR code to connect your phone:

1. A fresh pair of ephemeral session keys is generated.
2. These keys are used to encrypt the tunnel.
3. When the session ends, the keys are discarded.
4. **Forward Secrecy:** Even if an attacker records your encrypted traffic today and steals your keys tomorrow, they cannot decrypt the past session.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ethelock.xyz/4-security-architecture/network-security.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
