fix: harden WebRTC transfers for v0.0.1
Require mutual fingerprint confirmation before sharing metadata or files. Validate incoming messages, bound buffering, and confirm receipt before reporting success. Add direct-to-disk saving and explicit TURN opt-in. Fix reset and retry handling, clean up cancelled connections, and preserve completed Firefox downloads when the sender disconnects. Update dependencies, clarify security assumptions, and add protocol and cross-browser regression tests. Set version 0.0.1 and document the release in CHANGELOG.md, linked from the README. BREAKING CHANGE: both peers must use signaling and transfer protocol v2; older connection codes are no longer accepted.
This commit is contained in:
1 parent
d198332c92
commit
752d0cf3af
16 files changed
+1352
-603
No files matched your search
+8
-6
@@ -9,8 +9,8 @@ const mode = ref('send');
|
||||
<template>
|
||||
<h1>HellCon</h1>
|
||||
<p class="subtitle">
|
||||
Peer-to-peer file sharing. No server, no account — files go straight from
|
||||
browser to browser over WebRTC.
|
||||
Browser-to-browser file sharing. No account or file-hosting backend.
|
||||
Direct WebRTC connections, with an optional relay you explicitly enable.
|
||||
</p>
|
||||
|
||||
<div class="tabs" style="width: 100%; max-width: 680px">
|
||||
@@ -23,10 +23,12 @@ const mode = ref('send');
|
||||
|
||||
<footer>
|
||||
<p>
|
||||
All transfers are end-to-end encrypted (WebRTC/DTLS) and never pass
|
||||
through this server — it only delivers this page. Verify the security
|
||||
check codes with your peer to exclude interception. You are responsible
|
||||
for what you send, and for whom you send it to.
|
||||
Files travel over encrypted WebRTC data channels (SCTP over DTLS).
|
||||
Verify both full fingerprints before sharing. This requires trusted
|
||||
browsers, a trusted copy of this app, and an authenticated comparison
|
||||
channel. The website host supplies JavaScript that can read your selected
|
||||
file; HTTPS protects delivery but cannot protect you from a malicious host.
|
||||
A TURN relay is used only after opt-in and carries encrypted traffic.
|
||||
</p>
|
||||
</footer>
|
||||
</template>
|
||||
Reference in new issue
Block a user