This is a simple Python script that generates random passwords and securely stores them using the simplecrypt
and pycryptodome
library. The script allows you to generate strong passwords of customizable length and complexity and stores them in an encrypted file for later use.
- Generates random passwords with customizable length and complexity.
- Utilizes the
simplecrypt
andpycryptodome
libraries for secure encryption and decryption. - Stores encrypted passwords in a file for easy retrieval.
- Retrieves encrypted passwords into clipboard for immediate use. (
pbcopy
for mac,xclip
for linux) - Provides a simple command-line interface for password generation and retrieval.
Make sure you have the following installed before running the script:
- Python 3.9
simplecrypt
library (install usingpip install simple-crypt
)pycryptodome
(install usingpip install pycryptodome
)
- Clone the repository:
git clone https://github.com/ademz/my-password-storage.git
- Change into the project directory:
cd my-password-storage
- Run the script:
python passwdstorage.py set new_password
This script was inspired by the need for a secure and convenient way to generate and store passwords. It utilizes the simplecrypt and pycryptodome library, which provides a straightforward encryption solution.
This script is provided as-is without any warranty. Use it at your own risk.
Contributions are welcome! If you have any suggestions or improvements, please submit a pull request.
If you find any issues or bugs, please open an issue on the GitHub repository.
If you have any questions or suggestions, feel free to contact me at [email protected].