pass2csv
is a Shell script designed to parse and convert passwords stored using the pass
password manager into a format compatible with KeePass, a popular password manager. It converts passwords into a CSV-like format that can be imported into KeePass or KeePassXC.
The script performs the following actions:
- Processes each entry in the
pass
password store. - Excludes
.git
folders and hidden files. - Converts the passwords into a CSV-like format compatible with KeePass.
pass
password manager installed- Shell shell
- Clone the Repository: Clone the
pass2csv
repository to your local machine.
git clone https://github.com/your-username/pass2keepass.git
- Set Environment Variables (Optional): If your
pass
password store is located in a directory other than the default (~/.password-store
), set thePASS_PATH
variable to the appropriate directory:
export PASS_PATH=/path/to/your/password-store
- Run the Script: Execute the
pass2csv
script:
bash pass2keepass.sh > output.csv
This will generate an output.csv
file containing the converted passwords in a KeePass-compatible format.
- Import into KeePass: Open KeePass or KeePassXC, and import the generated
output.csv
file using the appropriate import functionality.
🚨 Make sure to review the output CSV file before importing it into KeePass to ensure all passwords are correctly formatted.
Edimar Calebe Castanho (Calebe94) |
All software is covered under GNU General Public License v3.0.