Hash all fingerprints into the manual security check
The manual check used to show the first 8 bytes of the first fingerprint each SDP named, so an interposer could add its own certificate beside the claimed one and the codes still matched. Now each code is the first 16 bytes of a SHA-256 over every fingerprint the SDP names, also ones hidden in other lines, so whatever the browser uses changes the code. Without a fingerprint on either side the connection ends. End-to-end tests try a claimed certificate in several hiding places. The README says that a working connection isn't necessarily direct and what the meeting tracker sees, TODO.md lists hardening from a security review. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ae871a2647
commit
ae1e3bef9b
5 files changed
+205
-38
No files matched your search
@@ -32,15 +32,15 @@ to the encryption keys of this very connection. Someone in between, or anyone el
|
||||
know the code, can't do that, and HellCon drops the connection and waits for the right one.
|
||||
|
||||
The manual exchange has no code, so there you compare yourselves. Once connected, both sides see two
|
||||
short codes: **You** and **Peer**. Compare them with the other person over a channel you already
|
||||
trust, ideally a call or in person:
|
||||
codes: **You** and **Peer**. Compare them with the other person over a channel you already trust,
|
||||
ideally a call or in person:
|
||||
|
||||
- your **You** must be their **Peer**, and
|
||||
- your **Peer** must be their **You**.
|
||||
|
||||
If both match, you are connected directly to each other. If they don't, someone has placed
|
||||
themselves in between: click **Codes don't match** and nothing is sent. Nothing is transferred before
|
||||
both sides confirmed, so take the few seconds to really compare them.
|
||||
both sides confirmed, so take the time to compare every character, not just the start and end.
|
||||
|
||||
The codes are taken from the encryption keys of the connection. Someone in between would need their
|
||||
own keys, which show up as different codes.
|
||||
@@ -63,8 +63,11 @@ On the receiving side, HellCon hands the incoming data to the browser's own down
|
||||
it arrives. That's why files larger than your memory work too, and why the download shows up in
|
||||
your browser's download list.
|
||||
|
||||
There is no relay server. If both sides are behind very strict networks, e.g. some company or mobile
|
||||
networks, a direct connection may not be possible.
|
||||
HellCon uses no relay server. If both sides are behind very strict networks, e.g. some company or
|
||||
mobile networks, a direct connection may not be possible. And a connection that works isn't
|
||||
necessarily direct: the other side may name a relay of its own, and a STUN server that reports a
|
||||
wrong address can put itself in between. Either only passes on encrypted data. The security check
|
||||
makes sure the connection ends at the two of you.
|
||||
|
||||
## Privacy
|
||||
|
||||
@@ -73,7 +76,9 @@ networks, a direct connection may not be possible.
|
||||
few trackers see it too, from the request itself. HellCon tries the STUN servers in order and
|
||||
sticks with the first that answers. The sender stays on the first tracker that accepts it. The
|
||||
receiver goes down the list until it finds the sender, and the trackers it passes keep its
|
||||
encrypted offer. Nobody without the code learns your address through a tracker.
|
||||
encrypted offer. Nobody without the code learns your address through a tracker. The tracker the
|
||||
two of you meet on does see which addresses share with each other, and when. If that matters,
|
||||
use your own tracker and STUN server, or the manual exchange.
|
||||
- Nothing is kept: every reload starts with the default settings.
|
||||
- Whoever hosts HellCon serves the code that runs in your browser. If you'd rather not trust that,
|
||||
host your own (below).
|
||||
|
||||
Reference in new issue
Block a user