A secure password manager written in Rust.
SecTool is a comprehensive password management application built with Rust, designed to securely store, generate, and manage passwords. The application provides an interactive command-line interface for managing password entries with robust security features.
- Secure Storage: Passwords are stored in an encrypted vault with master password protection
- Password Generation: Generate strong, random passwords with customizable parameters
- Entry Management: Add, edit, delete, and search password entries
- Rich Metadata: Store usernames, URLs, notes, tags, and timestamps with each entry
- Search Functionality: Quickly find entries by title, description, username, or tags
- Interactive CLI: User-friendly command-line interface with intuitive menus
- Clone the repository
- Install Rust (if not already installed)
- Build the project:
cargo build --release
Run the application:
cargo runThe application will start an interactive session where you can:
- Set up a master password
- Add new password entries
- Generate secure passwords
- Search and manage existing entries
- Export/import password data
- SHA-512 hashing for master password
- Local storage of encrypted password vault
- Secure password generation using cryptographically secure random number generation
- Memory-safe operations using Rust's ownership system
serde- JSON serialization/deserializationsha2- Cryptographic hashingrand- Secure random number generationrpassword- Secure password inputdialoguer- Interactive CLI promptsclap- Command line argument parsing
src/
├── main.rs # Application entry point
├── password_manager.rs # Core password vault logic
├── password_generator.rs # Password generation utilities
├── hasher.rs # Cryptographic hashing
├── file_mng.rs # File management operations
├── client.rs # Interactive client interface
├── scanner.rs # Input scanning utilities
└── cli.rs # Command line interface
This project is open source and available under the MIT License.