Skip to main content

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

Metadata

Release files for keepassdiff 0.1.12

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for keepassdiff 0.1.12
File Size Uploaded
keepassdiff-0.1.12.tar.gz 6.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for keepassdiff 0.1.12
File Interpreter ABI Platform
keepassdiff-0.1.12-py3-none-any.whl Python 3 none any Details

Total release size: 13.8 kB

Release files / keepassdiff-0.1.12.tar.gz

Download URL keepassdiff-0.1.12.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8a333f352859191af65f53f7f07ef2445ff8d642eab7020edf160d73e3e34885
BLAKE2b-256 checksum
How to use checksums
07290ec890ad55752b17b0007b472f4f8cd58f9238c3938e1e7a8afd72477203
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.5 Windows/11

Release files / keepassdiff-0.1.12-py3-none-any.whl

Download URL keepassdiff-0.1.12-py3-none-any.whl
Size 7.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6550feb1a9d80f9bbf67606cd4a53910a15d6f79d4bae00643df00a41e21d646
BLAKE2b-256 checksum
How to use checksums
22d6015dfbd7f30dec435e25436520de89342996bb5913e5d2e6935358f62b40
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.5 Windows/11

Release history Release notifications | RSS feed

This release

0.1.12 This release

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page