This Python script merges password files from different platforms (e.g., LastPass, Samsung Pass) into a single encrypted CSV file. It supports CSV, JSON, and TXT formats and removes duplicate entries.
- Supports multiple file formats: CSV, JSON, and TXT.
- Removes duplicate accounts based on email, username, or account name.
- Encrypts the merged file using
cryptographyfor added security. - User-friendly interface: Uses
Tkinterfor easy file selection. - Handles missing data by filling empty fields with "N/A".
- Python 3.x
- Required libraries:
csv,json,tkinter,cryptography - Install dependencies using:
pip install cryptography
- Run the script:
python merge_passwords.py
- A file selection window will appear. Choose the password files to merge.
- Select the output file location.
- The merged and encrypted CSV file will be saved.
The script generates an encryption key stored in encryption.key. Use the same key to decrypt data when needed.
- Add support for XML format.
- Implement a CLI version with arguments for automation.
- Include an option for exporting data in JSON format.
This script is for personal use only. Ensure you store your encryption key securely, as losing it will make decryption impossible.