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
@@ -0,0 +1,39 @@
|
||||
# Changelog
|
||||
|
||||
## [0.0.1] - 2026-10-09
|
||||
|
||||
### Added
|
||||
|
||||
- Mandatory full SHA-256 fingerprint confirmation by both peers before sharing
|
||||
file metadata or contents.
|
||||
- Receiver acceptance and direct-to-disk saving in supported browsers.
|
||||
- Optional TURN relaying, requiring explicit opt-in from both peers. Consent
|
||||
clears after a connection completes, fails, or is reset or cancelled.
|
||||
- Protocol regression tests and Chromium, Brave, and Firefox integration checks.
|
||||
|
||||
### Changed
|
||||
|
||||
- Enforced message validation, exact file sizes, and bounded buffering.
|
||||
- Limited memory downloads to 64 MiB and direct-to-disk transfers to 64 GiB.
|
||||
- Report transfer completion only after receiver acknowledgment.
|
||||
- Updated dependencies, including the fix for the `source-map-js` advisory.
|
||||
- Clarified encryption, hosting trust, connection-code privacy, and deployment
|
||||
requirements.
|
||||
|
||||
### Fixed
|
||||
|
||||
- Reset failing to restore the ready state.
|
||||
- Invalid answers unnecessarily destroying valid connection offers.
|
||||
- Connections and unfinished disk writes surviving cancellation or tab changes.
|
||||
- Completed Firefox downloads disappearing when Brave disconnected.
|
||||
- Excess data, duplicate metadata, and malformed messages corrupting transfers
|
||||
or causing unbounded memory growth.
|
||||
- ICE gathering silently returning incomplete connection information, and
|
||||
stalled transfers waiting indefinitely.
|
||||
|
||||
### Compatibility
|
||||
|
||||
- Introduced signaling and transfer protocol v2. Both peers must use the updated
|
||||
app; connection codes from earlier versions are no longer accepted.
|
||||
- Files larger than 64 MiB require a receiving browser with direct-to-disk
|
||||
saving support.
|
||||
Reference in new issue
Block a user