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
+18
-15
@@ -45,24 +45,27 @@ queues, empty files, separate acceptance, removal, decline, stale IDs/receipts,
|
||||
queue caps, storage cancellation, and verification gates. Browser checks exercise
|
||||
both directions, real bytes, accessibility, streaming downloads, and the local HTML.
|
||||
|
||||
## 3. Remember trusted devices
|
||||
## 3. Remember trusted devices — implemented
|
||||
|
||||
Add opt-in local device identity and a contact list on the hosted app, backed by
|
||||
browser storage. After authenticated first pairing, offer “Remember this device”
|
||||
and a local nickname. Store public identities for contacts and protect the local
|
||||
private identity using available browser cryptographic storage; this does not
|
||||
protect against compromised app JavaScript. Temporary sessions remain available.
|
||||
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.
|
||||
|
||||
Specify and review mutual proof of identity bound to fresh session information,
|
||||
both DTLS fingerprints, participant roles, and replay protection before building
|
||||
automatic verification. Never infer trust from a nickname or saved connection
|
||||
code. Changed identities require explicit re-verification. Continue requiring
|
||||
file acceptance. Add contact removal, identity reset, storage-unavailable behavior,
|
||||
and password-encrypted identity export/import with a reviewed backup format.
|
||||
Temporary sessions remain the default, and every file still requires acceptance.
|
||||
Contact removal, identity deletion, encrypted backup/restore, storage failure
|
||||
fallback, unreadable-storage recovery, and conflicting-tab write protection are
|
||||
implemented. The local HTML remains manual. Identity-enabled signaling uses v4;
|
||||
temporary connections retain v3. Browser keys remain accessible to app code.
|
||||
|
||||
Test impersonation, replay, identity changes, wrong backup passwords, storage
|
||||
loss, and mixed-version peers. Local HTML may remain temporary/manual; do not
|
||||
block delivery on persistent identity support for file URLs.
|
||||
Tests cover proof forgery and replay, altered session bindings, metadata gating,
|
||||
wrong backup passwords and tampering, persistence across reload, changed identities,
|
||||
storage denial/recovery, and protocol-version validation. Design and review notes
|
||||
are in [the device identity protocol](device-identities.md); this is not an
|
||||
independent cryptographic audit.
|
||||
|
||||
## 4. Shareable invitations
|
||||
|
||||
|
||||
Reference in new issue
Block a user