Rust Password Vault is a secure command-line password management tool built with Rust. It offers a simple yet effective way to store and manage your passwords for various services. Utilizing JSON files for storage, it ensures the safety of your sensitive information.
- Secure Storage: Safely store your passwords in a JSON file.
- Add Entries: Easily add new password entries with service name, username, and password.
- List Entries: View all stored password entries in a formatted manner.
- Search Functionality: Quickly search for specific entries by service name.
Make sure you have Rust and Cargo installed on your system to build and run the project.
To run the program, follow these steps:
- Clone the project from GitHub.
- Navigate to the project directory in your terminal.
- Run
cargo build --release
to compile the project. - Execute the compiled binary using
./target/release/RustPassword
.
- Add Entry: Add a new password entry.
- List Entries: View all stored password entries.
- Search: Search for entries by service name.
- Quit: Exit the program.
main.rs
: Contains the main program logic and the main loop.pentry.rs
: Defines theServiceInfo
struct and its methods for handling password entries.
Contributions are welcome! Feel free to submit pull requests or open issues on the project's repository.