Built my own password manager in Rust — learned a ton about encryption and ownership 🦀
Hey folks,
I’ve been learning Rust and decided to build something practical _ a command-line password manager that stores credentials locally and securely, no servers or cloud involved.
🔗 Repo: github.com/hrashkan/password_manager
Main features:
- AES-256-GCM encryption
- Key derivation with Argon2 (based on a master password)
add,get,list,deletecommands- Stores everything in an encrypted JSON vault
It started as a learning project but turned into something I actually use. I wanted to understand how encryption, key handling, and file I/O work in Rust — and honestly, it was a fun deep dive into ownership, error handling, and safe crypto usage.
Next steps:
- Add a password generator
- Improve secret handling (memory zeroing, etc.)
- Maybe wrap it in a simple Tauri GUI
I’d love feedback from the community — especially around security practices or cleaner Rust patterns.