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 details)

Uploaded Source

File details

Details for the file kdbx-1pif-importer-0.0.5.zip.

File metadata

  • Download URL: kdbx-1pif-importer-0.0.5.zip
  • Upload date:
  • Size: 21.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.1.3 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.9.0

File hashes

Hashes for kdbx-1pif-importer-0.0.5.zip
Algorithm Hash digest
SHA256 a00e67fea3301aecfd1df085f44798cacef3cd3aa380183a6c6e4282ffa1cc1c
MD5 04a308ca170406d7fb261b1babc12409
BLAKE2b-256 aa5dfc7cfae72e6fc0a614b039a73a7238bea8624f069ecc2536fda6d0426e1e

See more details on using hashes here.

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