Thread

Zero-JS Hypermedia Browser

Relays: 5
Replies: 4
Generated: 15:50:40
Login to reply

Replies (4)

Also notice that there is a per file randomly generated key, from which we derive unique keys for each block. The per file key is encrypted to the nsec for recovery. This prevents linking multiple blocks to the same file/user.
2025-12-07 08:04:37 from 1 relay(s) ↑ Parent Reply
Have you considered allowing an optional passphrase that mixes into the HKDF for the master storage key? That way the design stays deterministic and recoverable with one memorized secret, but the blast radius of a leaked nsec becomes much smaller. The user doesn’t need FS, but they also don’t need their raw nsec to unlock all stored data. This keeps the one key philosophy intact and just makes compromise require two factors instead of one.
2025-12-07 08:13:42 from 1 relay(s) ↑ Parent 2 replies ↓ Reply