WIP IV improve UX [snapshot task 2]
This commit is contained in:
1 parent
28c90d1d71
commit
58c3e2af86
16 files changed
+779
-36
No files matched your search
@@ -22,6 +22,8 @@ explicit opt-in by both people; no relay is configured automatically.
|
||||
Your fingerprint must equal their “Their fingerprint”, and vice versa.
|
||||
Compare every byte. Cancel on any mismatch. Both people must explicitly
|
||||
confirm before the app sends the filename, size, MIME metadata, or contents.
|
||||
On later connections, a remembered device’s fresh proof can replace manual
|
||||
comparison (see Remembered devices below).
|
||||
4. The receiver sees the filename and size and explicitly accepts the file.
|
||||
On the hosted app (HTTPS or localhost), **Receive as download** shows the incoming file size and streams into the browser's download manager using a same-origin service worker.
|
||||
It requires transferable streams and service-worker support; Chromium and
|
||||
@@ -60,7 +62,7 @@ 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. Both peers must use protocol **v3**; older connection codes are
|
||||
fresh codes. File transfers use protocol **v3**; pre-v3 connection codes are
|
||||
rejected before connecting. The local HTML supports the same manual flow.
|
||||
|
||||
If an answer is rejected as invalid, correct the pasted answer and click Connect
|
||||
@@ -93,6 +95,33 @@ ports plus a 20-second answer delay; it is **not a cross-device test**. Add
|
||||
`--normal-candidates` to preserve the real candidate ports. No firewall changes,
|
||||
TURN credentials or public STUN service are required.
|
||||
|
||||
## Remembered devices
|
||||
|
||||
On the hosted app, expand **Remembered devices** and choose **Create device
|
||||
identity** on both browsers. Enable **Use my device identity for this connection**,
|
||||
exchange codes, and compare both full fingerprints for the first pairing. Once
|
||||
connected, give the peer a local nickname and choose **Remember device**.
|
||||
|
||||
For later connections, enable your identity and select the **Expected device**
|
||||
on each side before exchanging fresh codes. HellCon checks fresh signed proofs
|
||||
bound to both device keys and both connection fingerprints. A matching saved key
|
||||
can replace manual fingerprint comparison; file acceptance is still required.
|
||||
A changed or missing identity requires manual comparison and never overwrites a
|
||||
saved contact. Nicknames stay local. Public identities in codes can link sessions.
|
||||
|
||||
Use **Forget** to remove a contact, or explicitly delete your identity and contacts.
|
||||
Encrypted backup/restore includes both, protected by a password of at least 12
|
||||
characters. Keep that password separately. Clearing site data loses saved trust;
|
||||
restoring a backup on another browser gives it the same identity. Browser-stored
|
||||
keys remain accessible to trusted app code and are not protection against a
|
||||
malicious host. Identity use defaults off after reload. Storage failure leaves
|
||||
temporary connections available; downloaded local HTML stays manual.
|
||||
|
||||
Identity-enabled codes use signaling version **4** and require the new build.
|
||||
Temporary codes retain version **3**. If only one peer enables identity, the
|
||||
current build uses manual comparison without remembering that connection.
|
||||
See [the identity protocol and backup format](docs/device-identities.md).
|
||||
|
||||
## Network privacy and optional TURN
|
||||
|
||||
STUN discovers externally reachable addresses. Its operator can see your public
|
||||
|
||||
Reference in new issue
Block a user