https://github.com/calebe94/pass2csv
Convert passwords stored using the `pass` password manager into a KeePass-compatible format
https://github.com/calebe94/pass2csv
csv keepass keepass2 keepassxc pass password-store posix
Last synced: 9 months ago
JSON representation
Convert passwords stored using the `pass` password manager into a KeePass-compatible format
- Host: GitHub
- URL: https://github.com/calebe94/pass2csv
- Owner: Calebe94
- License: gpl-3.0
- Created: 2024-01-10T01:51:12.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-10T14:14:46.000Z (about 2 years ago)
- Last Synced: 2025-05-31T00:52:09.830Z (10 months ago)
- Topics: csv, keepass, keepass2, keepassxc, pass, password-store, posix
- Language: Shell
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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.
```bash
git clone https://github.com/your-username/pass2keepass.git
```
2. **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:
```bash
export PASS_PATH=/path/to/your/password-store
```
3. **Run the Script**: Execute the `pass2csv` script:
```bash
bash pass2keepass.sh > output.csv
```
This will generate an `output.csv` file containing the converted passwords in a KeePass-compatible format.
4. **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 (Calebe94)](https://github.com/Calebe94) |
# License
All software is covered under [GNU General Public License v3.0](https://www.gnu.org/licenses/gpl-3.0.en.html).