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:
Schluffe committed 2026-10-09 12:11:14 +02:00
1 parent d198332c92
commit 752d0cf3af
16 files changed
+1352 -603

No files matched your search

+8 -5
View File
@@ -1,19 +1,22 @@
{
"name": "hellcon",
"private": true,
"version": "0.0.0",
"version": "0.0.1",
"license": "MIT",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview"
"preview": "vite preview",
"test": "node --test",
"test:browser": "node scripts/browser-check.mjs",
"test:cross-browser": "node scripts/cross-browser-check.mjs"
},
"dependencies": {
"vue": "^3.5.0"
"vue": "^3.5.43"
},
"devDependencies": {
"@vitejs/plugin-vue": "^6.0.0",
"vite": "^7.0.0"
"@vitejs/plugin-vue": "^6.0.9",
"vite": "^7.3.7"
}
}