Skip to content

Mireus1/PasswordManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PasswordManager

A secure, encrypted command-line password manager built with Rust.

Features

  • 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

Install

Prereq: Rust 1.74+.

cargo build --release
# binary: target/release/PasswordManager

Optional global install:

cargo install --path .

Usage

# 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 github

Security Notes

Protects 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.

Development

cargo test
cargo run --example demo
cargo fmt
cargo clippy

Files

  • vault.enc is created on first use and stores the encrypted vault.

License

Educational use; modify as needed.

About

Rust based password manager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages