Skip to content

Convert passwords stored using the `pass` password manager into a KeePass-compatible format

License

Notifications You must be signed in to change notification settings

Calebe94/pass2csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

pass2csv 🔑

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.

Details ℹ️

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.

Dependencies 🛠️

  • pass password manager installed
  • Shell shell

Usage 🚀

  1. Clone the Repository: Clone the pass2csv repository to your local machine.
git clone https://github.com/your-username/pass2keepass.git
  1. Set Environment Variables (Optional): If your pass password store is located in a directory other than the default (~/.password-store), set the PASS_PATH variable to the appropriate directory:
export PASS_PATH=/path/to/your/password-store
  1. 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.

  1. 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.

Developer

Edimar Calebe Castanho
Edimar Calebe Castanho (Calebe94)

License

All software is covered under GNU General Public License v3.0.

About

Convert passwords stored using the `pass` password manager into a KeePass-compatible format

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages