Use compressed connection codes in the transfer panel
Offers and answers now go through the HC1 codec: the sender creates a ref per session and the answer must echo it, so pasting an offer as the answer or an answer for another code is rejected with a specific message while the live offer stays usable. Pasted input may be a full link. webrtc.ts drops its Base64 JSON signaling and exchanges validated SDP only; identity hellos travel in the code envelope. Tests, the browser check, compare-ice and the docs follow the new format. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
da2999ed5d
commit
8bd37ac8b1
10 files changed
+68
-89
No files matched your search
@@ -92,8 +92,9 @@ Keep both tabs open. Switching browser tabs or apps does not explicitly cancel
|
||||
the session, although browsers and mobile operating systems can suspend pages.
|
||||
Pending verification/acceptance expires after five minutes; stalled transfers
|
||||
expire after one minute. Idle verified sessions stay open. Lost connections need
|
||||
fresh codes. File transfers use protocol **v3**; pre-v3 connection codes are
|
||||
rejected before connecting.
|
||||
fresh codes. File transfers use protocol **v3**; codes from older builds are
|
||||
rejected before connecting. Pasting the wrong kind of code (an offer as answer,
|
||||
or an answer for a different code) is reported without discarding a live offer.
|
||||
|
||||
If an answer is rejected as invalid, correct the pasted answer and click Connect
|
||||
again; the sender keeps its existing offer while it is still awaiting an answer.
|
||||
@@ -160,9 +161,9 @@ avoids contacting a configured STUN provider; direct connectivity depends on
|
||||
addresses, routing, browser policy and firewalls, not simply whether peers share
|
||||
one network. A VPN is not automatically a guarantee against address disclosure.
|
||||
|
||||
Connection codes are **Base64-encoded, not encrypted**. They contain SDP,
|
||||
including candidate addresses, temporary ICE credentials and certificate
|
||||
fingerprints. Peers and anyone who sees these codes (including the messaging
|
||||
Connection codes are **compressed and Base64url-encoded, not encrypted**
|
||||
(`HC1.` followed by deflated JSON). They contain SDP, including candidate
|
||||
addresses, temporary ICE credentials and certificate fingerprints. Peers and anyone who sees these codes (including the messaging
|
||||
service used to exchange them) may learn connection details. Local addresses may
|
||||
be obscured by the browser, but this app does not provide anonymity. Treat codes
|
||||
as private session information; do not publish them.
|
||||
|
||||
Reference in new issue
Block a user