A secure, encrypted command-line password manager built with Rust.
- AES-256-GCM encryption with Argon2 key derivation
- Random salt and nonce per vault
- Master password never stored on disk
- CLI commands: add, get, list, delete
- Hidden password input and optional reveal
Prereq: Rust 1.74+.
cargo build --release
# binary: target/release/PasswordManagerOptional global install:
cargo install --path .# add (prompt for password)
cargo run -- add github --username user@example.com
# list
cargo run -- list
# get (hidden by default)
cargo run -- get github
# reveal password
cargo run -- get github --show
# delete
cargo run -- delete githubProtects against encrypted file theft, tampering, and offline brute-force attempts. Does not protect against malware/keyloggers, weak master passwords, or a machine that is already unlocked.
cargo test
cargo run --example demo
cargo fmt
cargo clippyvault.encis created on first use and stores the encrypted vault.
Educational use; modify as needed.