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

No such file or directory on exec #77

Open pH142857 opened 6 months ago

pH142857 commented 6 months ago

I installed through Docker then ran : keepass-diff myfileA.kdbx myfileB.kdbx --keyfile-a ~/path/to/keyfile --keyfile-b ~/path/to/keyfile Passwords were prompted even though I used keyfile, documentation is not clear so I guessed I had to simply press Enter: Password for file myfileA.kdbx: Enter Password for file myfileB.kdbx: Enter

But then I got:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }', src/main.rs:150:84
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Narigo commented 5 months ago

How do you run the docker command? Did you add the keyfiles to a volume and made it accessible in there? I suspect them with ~ not being the same as in your docker environment...?