Narigo / keepass-diff

A CLI-tool to diff Keepass (.kdbx) files. Useful, if syncing with Dropbox or NextCloud and getting multiple files due to conflicts.
https://keepass-diff.narigo.dev/
MIT License
306 stars 28 forks source link

Support of ChaCha20 / Argon2 format #21

Closed jeremie-H closed 4 years ago

jeremie-H commented 4 years ago

Hello, Thanks for your utility I miss only thing in your utility, it's the possibility to support ChaCha20 encryption with Argon2 format of the kdbx file.

I'll have to change the format of the two files before to test the diff, or i've got a error like this :

KDBX error: Database integrity error: Encountered an invalid KDF UUID: [xx, xx, xx, xx, xx, xx, xx, xx...]
Narigo commented 4 years ago

Thanks for your interest in this tool!

Could you provide a reproducer / test file for this kind of encryption?

keepass-diff uses keepass-rs under the hood to open .kdbx files, so it's constrained to what is available there. This issue sounds like a feature request for the underlying library to me. Can you check whether keepass-rs is able to open these kind of files?

jeremie-H commented 4 years ago

Yes it's more a feature request i think :) keepass-rs is indeed unable to open these .kdbx :-)

Narigo commented 4 years ago

@jeremie-H could you add a feature request to keepass-rs with a reproducer file? I would like to close this issue here and track it there. When it's done there, we can update the dependency and release a new version of keepass-diff.

jeremie-H commented 4 years ago

Hello i've try again with my original files, and I can't reproduce it with your last version, i close this case ;) Thanks for your tool !