WIP V improve UX [snapshot task 2]

This commit is contained in:
Schluffe committed 2026-10-17 14:51:48 +02:00
1 parent 5f8c6a1916
commit a73b3075b6
16 files changed
+238 -232

No files matched your search

+11 -11
View File
@@ -11,15 +11,15 @@ its setup, transfer controls, and persistent activity timeline. Cached workspace
keep live sessions and file selections intact while navigating between slots.
The sidebar collapses on mobile; network configuration is expandable.
IndexedDB stores slot names, paired-device associations, and up to 50 transfer
IndexedDB stores slot names, paired devices, and up to 50 transfer
results per slot. Each result includes its direction, filename, size, timestamp,
and completion/decline/interruption status. File contents and connection codes
are never stored. Slot mutations are transactional and other tabs refresh their
lists after changes. Storage failures show an explicit warning.
Disconnect and Reset retain history. Reloading ends live sessions and requires
fresh codes; saved identities can authenticate a remembered peer. A slot's device
association only preselects an existing trusted contact and does not grant trust.
fresh codes; a slot's paired device is authenticated by fresh signed proofs, and
setup re-reads it from storage so a device forgotten elsewhere is not trusted.
## 1. Send another file on a verified connection — implemented first
@@ -63,16 +63,16 @@ both directions, real bytes, accessibility, and streaming downloads.
## 3. Remember trusted devices — implemented
The hosted app offers opt-in device identities and up to 100 named contacts in
browser storage. First pairing requires manual fingerprint comparison; contacts
can be saved only after successful mutual verification. Later connections can
select an expected saved public key and verify fresh signed proofs bound to both
keys, both nonces, both DTLS fingerprints, and participant roles. Nicknames and
saved codes never authenticate a peer. Changed or missing identities require
manual comparison and never replace saved contacts automatically.
The hosted app offers an opt-in device identity, and each connection slot can
remember one paired device. First pairing requires manual fingerprint comparison;
a slot is paired only after successful mutual verification. Later sessions on a
paired slot verify fresh signed proofs bound to both keys, both nonces, both DTLS
fingerprints, and participant roles. Slot names and saved codes never
authenticate a peer. Changed or missing identities require manual comparison and
never replace a paired device automatically.
Temporary sessions remain the default, and every file still requires acceptance.
Contact removal, identity deletion, storage failure
Forgetting devices, identity deletion, storage failure
fallback, unreadable-storage recovery, and conflicting-tab write protection are
implemented. Identity-enabled signaling uses v4;
temporary connections retain v3. Browser keys remain accessible to app code.