This is a Bash script that generates random passwords and allows the user to store them in a password manager.
- Generate random passwords of any length between 8 and 48 characters.
- Progress bar display during password generation.
- Option to add the generated password to a password manager.
- Option to launch the password manager.
- Menu-driven interface.
- Clone the repository.
- Open a terminal and navigate to the cloned repository directory.
- Run the script using the following command: ./RPG
- Follow the on-screen instructions to generate passwords and/or manage them using the password manager.
- Generate random passwords: Allows the user to generate random passwords of any length between 8 and 48 characters. The generated password can be added to the password manager if desired.
- Launch Password Manager: Allows the user to launch the password manager.
- Exit: Exits the script.
The password manager is a separate Bash script that allows the user to view and manage the passwords they have generated using the password generator script. The password manager provides the following options:
- View passwords: Displays a list of all stored passwords.
- Search passwords: Allows the user to search for a specific password by account name. Delete password: Allows the user to delete a password by account name.
- Exit: Exits the password manager.
The script requires/uses the following dependencies:
OpenSSL
The passwords are stored in plaintext in a file called passwords.txt. For better security, you can encrypt the file using a tool like GPG and ask the user to unlock it using their own key. Additionally, you can modify the script to use a more secure method of generating passwords, such as using the pwgen command or generating passwords using a cryptographically secure random number generator.
Contributions are welcome! If you have any suggestions, please feel free to create an issue or submit a pull request.
This project is licensed under the MIT License.