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.12.tar.gz (6.1 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.12-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: keepassdiff-0.1.12.tar.gz
  • Upload date:
  • Size: 6.1 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.12.tar.gz
Algorithm Hash digest
SHA256 8a333f352859191af65f53f7f07ef2445ff8d642eab7020edf160d73e3e34885
MD5 faff300ef25ef8120113b6815cabf6a4
BLAKE2b-256 07290ec890ad55752b17b0007b472f4f8cd58f9238c3938e1e7a8afd72477203

See more details on using hashes here.

File details

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

File metadata

  • Download URL: keepassdiff-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 7.8 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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 6550feb1a9d80f9bbf67606cd4a53910a15d6f79d4bae00643df00a41e21d646
MD5 c19dcec4085523dd77aa518717ad6555
BLAKE2b-256 22d6015dfbd7f30dec435e25436520de89342996bb5913e5d2e6935358f62b40

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