Skip to main content

A diff/merge tool for KeePassXC databases

Project description

KeePassDiff

I started using KeePass back in 2021 and I have been using it since then to store my passwords. But I didn't set up a proper way to sync the database between my devices. So I ended up with multiple databases with different passwords and entries. I wanted to sort of diff the databases and merge them into one, like git diff -- resolving conflicts, reverting, etc. Well, KeePass doesn't provide a way to diff two databases. Hence this project.

Usage

  1. Open two KeePass databases in diff.
  2. See the differences and conflicting entries between the two databases.
  3. Then using merge left, merge right options decide which entries or groups to keep and which to discard.
  4. Finally, export the merged database.

Installation

pip install keepassdiff

Run kpd or kpdiff to run the tool.

image

Features

  • Support for KeePassXC databases
  • Uploading and unlocking two KeePass databases
  • Supports both password and keyfile authentication
  • Visual diff of entries and groups
  • Support for entry groups
  • Hierarchical view of database contents
  • Merging individual entries and groups between databases
  • Exporting the final merged database
  • Resolving conflicting entries with preferred ones
  • Command-line interface for batch processing
  • Copying passwords to clipboard, clearing clipboard after timeout

Security

All database handling is done locally and no data is stored or transmitted. Temporary files are securely deleted after use, passwords are not stored.

Development

git clone https://github.com/tomlin7/KeePassDiff.git
cd KeePassDiff
pip install -e .
kpd

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

keepassdiff-0.1.10.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

keepassdiff-0.1.10-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file keepassdiff-0.1.10.tar.gz.

File metadata

  • Download URL: keepassdiff-0.1.10.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Windows/11

File hashes

Hashes for keepassdiff-0.1.10.tar.gz
Algorithm Hash digest
SHA256 b1adda1b0c4eafd1f29dab91c2718c3b80db89a60d3c3f8b26a3e356152d3c7b
MD5 842427b45fe9576efa8d181d692b2d8d
BLAKE2b-256 45d864727104493250ff73510b2cf3e819078467aa32e4a764b6b0f0f8132fae

See more details on using hashes here.

File details

Details for the file keepassdiff-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: keepassdiff-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.12.5 Windows/11

File hashes

Hashes for keepassdiff-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 a97709fb6e06e216505835e763416d66ae45508073913fa5c1d9abfa1046a0f4
MD5 85f6679c0b17945ff6c7166d0ec52da4
BLAKE2b-256 2ec2b8f549f0597e6fa90febb2a977afdfe067fbd64a6f94340f21958ad11f7c

See more details on using hashes here.

Supported by

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