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

Latest commit

 

History

History
67 lines (44 loc) · 1.47 KB

README.rst

File metadata and controls

67 lines (44 loc) · 1.47 KB

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 git@github.com: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.