HumPass is a minimal, secure password manager designed for terminal usage. It focuses on simple workflows, encrypted local storage and fast command execution. A master password protects the entire vault, and onboarding guides first-time setup.
- Go: install a Go version compatible with
go.mod(see thegoline ingo.mod) - macOS:
- Keychain access (optional, used for auto-login key storage)
- Clipboard access (used by
searchto copy the password)
- Create password entries (title, username, password)
- Search entries by keyword
- Edit existing entries
- Delete entries
- Encrypt all stored data locally
- Require a master password to unlock the vault
- Provide CLI commands (
add,search,list,remove) - Display clear error messages for invalid input
- Onboarding on first launch to set up master password
- Copy password to clipboard
- Automatically clear clipboard after 15 seconds
- Generate secure passwords automatically
- Require master password only every 15 minutes (timeout)
- Extra protection against file tampering
HumPass aims to deliver a simple but secure console-based password manager. It focuses on usability, encryption and reliability without relying on external services.
- Language: Go
- Architecture: MVC-style
- Storage: Local encrypted file
From the project root:
chmod +x install.sh
./install.shWhat it does:
- Builds the binary:
go build -o humpass ./cmd/humpass/ - Installs it to:
~/bin/humpass - Data location:
~/.humpass/data.json
If install.sh warns that ~/bin is not in your PATH, add this to your shell config (~/.zshrc or ~/.bash_profile):
export PATH="$HOME/bin:$PATH"Reload your shell:
source ~/.zshrcgo build -o humpass ./cmd/humpass/./humpass --helpOn the first launch, HumPass will guide you through creating your master password and initial configuration.
Tip: run
humpass --helpfor a full list and examples.
humpass add --title Google --username alice --password 'Secret123' --link google.com
humpass create --title GitHub --mail alice@mail.com --password 'Secret123' --link github.comhumpass search Google
humpass search --title Google
humpass search --mail alice@mail.com
humpass search --link github.comhumpass edit Googlehumpass delete Google
humpass remove Google- Encrypted entries are stored in
~/.humpass/data.jsonunderencryptedEntries - Entries are encrypted using AES-GCM
- The app enforces a simple lockout: after 5 failed login attempts you’re locked for 30 minutes
rm -f "$HOME/bin/humpass"rm -rf "$HOME/.humpass"HumPass stores the auto-login key under:
- Service:
humpass-cli - Account:
master-sessions-key
Delete it:
security delete-generic-password -s "humpass-cli" -a "master-sessions-key"