passvault

Crates.iopassvault
lib.rspassvault
version0.1.0
created_at2025-08-17 08:26:37.814452+00
updated_at2025-08-17 08:26:37.814452+00
descriptionA minimal and secure password manager written in Rust
homepage
repositoryhttps://github.com/anmhrk/passvault
max_upload_size
id1799235
size62,988
anmol (anmhrk)

documentation

README

Passvault

Passvault is a minimal and secure CLI based password manager written in Rust. All passwords are securely encrypted and stored locally in a SQLite database.

Key libraries

  • Argon2 for password hashing and verification
  • AES-GCM for password encryption and decryption using master password as key
  • rpassword for secure password input
  • clap for the CLI
  • rusqlite to interact with the SQLite database

Usage

Pre-requisites

Make sure you have Cargo installed.

Installation

cargo install passvault

Local development

  1. Clone the repository
git clone https://github.com/anmhrk/passvault.git
cd passvault
  1. Install dependencies
cargo install --path .
  1. Run the application
cargo run

Commands available

passvault init                                  # Initialize the password vault
passvault list                                  # List all stored passwords
passvault get <name>                            # Get a specific password entry (optional -c flag to copy to clipboard)
passvault add <name> <username> <password>      # Add a new password entry
passvault update <name> <username> <password>   # Update an existing password entry
passvault delete <name>                         # Delete a password entry
passvault export <output> <format>              # Export passwords to a file
passvault change-master-password                # Change the master password
passvault reset                                 # Reset the database
Commit count: 0

cargo fmt