This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/env python | |
"""Import keepass 1.x compatible password database into GNU pass | |
http://www.passwordstore.org/. | |
Uses the kppy (https://pypi.python.org/pypi/kppy) library to open and decode | |
the database. Python 2.7+ and Python 3.x compatible. Best results with Python3 | |
for any unicode issues. | |
Usage: keepass2pass.py <keepass db> [--keyfile <key file if necessary>] | |
Based on http://git.zx2c4.com/password-store/tree/contrib/importers/keepassx2pass.py |