Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

Import passwords into a KeePass `.kdbx` database from a 1Password `.1pif` file.

License

Notifications You must be signed in to change notification settings

bheesham/kdbx-1pif-importer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kdbx-1pif-importer

The kdbx-1pif-importer command reads two files:

  • .1pif file generated from exporting a Vault from 1Password; and
  • .kdbx file generated by creating a new database in KeePass.

Pros:

  • Imports most things.
  • Will carry over OTP tokens.
  • Supports multiple URLs.

Cons:

  • Doesn't import Identities or Credit Cards because I didn't need to import those.

Installation

pip install kdbx-1pif-importer

Usage

kdbx-1pif-importer --dry-run path/to/onepassword.1pif path/to/tax-returns.kdbx

# Once you've verified all the output looks sane-ish, try running:
kdbx-1pif-importer path/to/onepassword.1pif path/to/tax-returns.kdbx

Hacking

# Checkout a copy of the source code.
git clone [email protected]:bheesham/kdbx-1pif-importer.git
cd kdbx-1pif-importer

# Install the package locally.
pip install -e .
pip install mypy pylint black twine

# Run the various quality checks.
mypy kdbx_1pif_importer             # Type check
pylint kdbx_1pif_importer           # Lint
black kdbx_1pif_importer            # Format
python -m unittest discover tests   # Unit tests

# Upload it to pypi.
python3 setup.py sdist
python3 -m twine upload dist/*

Note: I am no longer maintaining this. It worked once and that was all I needed.


Licensed under the GPLv3. See the COPYING.gplv3 file for more information.

About

Import passwords into a KeePass `.kdbx` database from a 1Password `.1pif` file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages