Skip to content

Commit

Permalink
Update faq to explain the websocket proxy (#93)
Browse files Browse the repository at this point in the history
* Update faq to explain the websocket proxy

* Update src/faq.md

Co-authored-by: sinu.eth <[email protected]>

---------

Co-authored-by: sinu.eth <[email protected]>
  • Loading branch information
maceip and sinui0 authored Aug 15, 2024
1 parent 2d6b6ab commit 06d771f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- [Is the Notary an essential part of the TLSNotary protocol?](#faq5)
- [Which TLS versions are supported?](#faq6)
- [What is the overhead of using the TLSNotary protocol?](#faq7)
- [Does TLSNotary use a proxy?](#faq8)


### Doesn't TLS allow a third party to verify data authenticity? { #faq1 }
Expand Down Expand Up @@ -48,8 +49,14 @@ Due to the nature of the underlying MPC, the protocol is bandwidth-bound. We are

With the upcoming protocol upgrade planned for 2025, we expect the `Prover's` **upload** data overhead to be:


~25MB (a fixed cost per one TLSNotary session) + ~10 MB per every 1KB of outgoing data + ~40KB per every 1 KB of incoming data.

In a concrete scenario of sending a 1KB HTTP request followed by a 100KB response, the `Prover's` overhead will be:

25 + 10 + 4 = ~39 MB of **upload** data.

### Does TLSNotary use a proxy? { #faq8 }

A proxy is required only for the browser extension because browsers do not allow extensions to open TCP connections. Instead, our extension opens a websocket connection to a proxy (local or remote) which opens a TCP connection with the server. Our custom TLS client is then attached to this connection and the proxy only sees encrypted data.

0 comments on commit 06d771f

Please sign in to comment.