Skip to main content

Import 1Password exported .1pif into KeePass.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kdbx-1pif-importer-0.0.5.zip (21.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page