How vivekbansod/secure-vault works
SecureVault is a zero-knowledge password manager: the browser derives keys and encrypts credentials, while FastAPI stores only ciphertext and metadata in MongoDB. The main workflow runs from browser-side account and vault interactions through the API to persistent storage; retrieval returns encrypted items for browser-side decryption. The README also documents local password-health analysis, secure password generation, session-key clearing, and an administrative dashboard. The app excerpt is partial, so some UI-to-feature relationships are documented rather than verified in source.
Main entry points: app.js Vault UI and workflow · api.js API client · main.py Account endpoints · index.html SPA layout
Components 12
Browser application
- Vault UI and workflow
public/js/app.js - SPA layout
public/index.html
Client security
- Crypto engine
public/js/crypto.js - Password health
public/js/app.js - Password generator
public/js/crypto.js
API service
- API client
public/js/api.js - Account endpoints
main.py - Vault endpoints
main.py - MongoDB
Administration
- Admin dashboard UI
public/js/app.js - Admin endpoints
main.py
Other components
- Vault user
Connections 13
- Vault user → Vault UI and workflow: uses
README.md - SPA layout → Vault UI and workflow: hosts
- Vault UI and workflow → Crypto engine: derives and encrypts
public/js/app.js - Vault UI and workflow → API client: requests
public/js/app.js - API client → Account endpoints: calls auth routes
public/js/api.js - API client → Vault endpoints: calls vault routes
public/js/api.js - Account endpoints → MongoDB: reads and writes
main.py - Vault endpoints → MongoDB: reads and writes
main.py - Vault UI and workflow → Password health: analyzes passwords
public/js/app.js - Vault UI and workflow → Password generator: generates passwords
public/js/app.js - Vault user → Admin dashboard UI: uses
- Admin dashboard UI → Admin endpoints: requests dashboard data
- Admin endpoints → MongoDB: queries and deletes
main.py