SentryVault
A secure, terminal-based password manager built with Go.
Table of Contents
Features
- Secure Encryption: AES-GCM and AES-SIV encryption with Argon2 key derivation
- Multi-User Support: Create and manage multiple password vaults
- TUI Interface: Beautiful terminal UI using Bubble Tea
- Cross-Platform: Builds for Windows, Linux, and macOS
- Local Storage: All data stored locally using BoltDB embedded database
- No Cloud Dependency: Your passwords never leave your machine
Installation
From Source
# Clone the repository
git clone https://github.com/AdityaKK0407/sentryvault.git
cd sentryvault
# Build for your platform
make build
# Or build specifically for your OS
make build-win # Windows
make build-linux # Linux
make build-mac # macOS
The binary will be created in the bin/ directory.
From Installer
Pre-built installers are available on the GitHub Releases page.
Windows
- Download
sentryvault-installer-windows.exe from the latest release
- Run the installer
- The installer will:
- Place the executable in
%APPDATA%\SentryVault\bin
- Create the user config directory at
%APPDATA%\SentryVault
- Automatically add the install directory to your PATH (restart terminal required)
Linux
- Download
sentryvault-installer-linux from the latest release
- Make it executable
chmod +x sentryvault-installer-linux
- Run it
./sentryvault-installer-linux
- The installer will:
- Place the executable in
~/.local/bin
- Create the config directory at
~/.config/sentryvault
- Prompt you to add
~/.local/bin to your PATH if needed
MacOS
- Download
sentryvault-installer-darwin from the latest release
- Make it executable
chmod +x sentryvault-installer-darwin
- Run it
./sentryvault-installer-darwin
- The installer will:
- Place the executable in
~/.local/bin
- Create the config directory at
~/Library/Application Support/SentryVault
- Prompt you to add
~/.local/bin to your PATH if needed
Security
- Encryption: Uses AES-256-GCM for values and AES-SIV for keys
- Key Derivation: Argon2id with secure parameters (memory: 64MB, iterations: 1, parallelism: 4)
- Salt: Each vault gets a unique 16-byte random salt
- Password Verification: The vault title is encrypted and verified on unlock to confirm password correctness
Data Storage
Data is stored in your system's user config directory:
- Windows:
%APPDATA%\SentryVault\users\
- Linux/macOS:
~/.config/SentryVault/users/
Each user gets their own .db file.
Tech Stack
- Language: Go
- TUI Framework: Bubble Tea
- Forms: huh
- Database: bbolt
- Encryption: AES-GCM, AES-SIV, Argon2
License
MIT License - see LICENSE for details.