Skip to content

IncorrectKey Error when using Keyfile generated by KeePassXC Windows #78

Description

@opensource25

I tried to diff to databases because of a syncing conflict. I now use Linux but generated the key files under windows with KeePassXC. When I run RUSTBACKTRACE=1 keepass-diff db1.kdbx db1.sync-conflict.kdbx --same-password --keyfiles keyfile.keyx this error occurs.

thread 'main' panicked at ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/keepass-diff-1.2.0/src/main.rs:122:18:
Error opening database A: Key(IncorrectKey)
stack backtrace:
   0: rust_begin_unwind
             at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/std/src/panicking.rs:645:5
   1: core::panicking::panic_fmt
             at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/panicking.rs:72:14
   2: core::result::unwrap_failed
             at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/result.rs:1653:5
   3: keepass_diff::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

The password is not the problem trying on a database without keyfile it works and I typed correct. What can I do?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions