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.9.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.9-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: keepassdiff-0.1.9.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.9.tar.gz
Algorithm Hash digest
SHA256 014caf0f11b72115d7aa0233d9ff225e806af53bdd54c94cfcfc1244e6809007
MD5 7eb987dc7219a4fdba3d368d5d880934
BLAKE2b-256 1474e6241d6b09eef99e23451ec42a8606edb8735a7af8bb899ea1577456e57f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: keepassdiff-0.1.9-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.9-py3-none-any.whl
Algorithm Hash digest
SHA256 0b5dddd6766676f284833e05814f335dc7df52220e0c52365ba9b69be1869e2f
MD5 495c79077a338e3c39dd4294146abb0e
BLAKE2b-256 f61be1212add9f4659e39f45a6508b669dd5a0f31f68e2a246f11de01b4a2770

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