I’m building Haven Vault: an open source home for private files
说明与用途
Haven Vault 是一个开源个人存储,客户端加密并在用户自己的 Firebase 项目中运行,分离身份验证与解密,并支持自动锁定。
问题
Users need a secure, private file storage solution that encrypts data client‑side and can be self‑hosted.
结果
Haven Vault provides a single‑owner, client‑side encrypted storage solution that separates authentication from decryption, supports automatic locking, and runs in a user’s own Firebase project.
工作流
- 1. Clone the repo and install dependencies with pnpm.
- 2. Run the local demo with
pnpm devand access http://127.0.0.1:5173/?demo=1. - 3. For real encrypted storage, set up a Firebase project (Blaze billing) and follow the Firebase setup guide.
- 4. Use passkey sign‑in to authenticate; enter vault passphrase to unlock and decrypt data in the browser.
- 5. Automatic locking clears local secrets after a configurable grace period or inactivity timeout.
证据
Haven Vault is an open source personal vault that encrypts your content in the browser and runs in your own Firebase project.
One design decision worth sharing is the separation between signing in and unlocking the vault.
Haven uses React, TypeScript, Vite, Firebase, SimpleWebAuthn, and the Web Crypto API.
Haven is still evolving and has not received an independent security audit.
- 记录日期: 2026-10-22T17:11:04.119Z