Warning
This repo is a work-in-progress and is not ready for general use. It relies on a unmerged PR in
keepass-rs
, and will not reach version 1.0.0 before that PR is merged.
CLI tool to merge KDBX (keepass) databases
keepass-merge
is based on the keepass-rs
library.
CLI tool to merge KDBX (keepass) databases
Usage: keepass-merge [OPTIONS] <DESTINATION_DB> <SOURCE_DB>
Arguments:
<DESTINATION_DB> The path of the database file to merge to
<SOURCE_DB> The path of the database file to merge from
Options:
-n, --no-password
Do not use a password to decrypt the destination database
-s, --same-credentials
Use the same credentials for both databases
-d, --dry-run
Do not save the resulting database
--slot <SLOT>
The slot number of the yubikey to decrypt the destination database
--serial-number <SERIAL_NUMBER>
The serial number of the yubikey to decrypt the destination database
--slot-from <SLOT_FROM>
The slot number of the yubikey to decrypt the source database
--serial-number-from <SERIAL_NUMBER_FROM>
The serial number of the yubikey to decrypt the source database
--no-password-from
Do not use a password to decrypt the source database
-f, --force
Force saving the database even if warnings were generated
-h, --help
Print help
-V, --version
Print version
Assuming that you have enabled both the flakes
and nix-command
experimental features:
nix profile install github:louib/keepass-merge
cargo install --path .