No such file or directory on exec
pH142857 opened this issue · 1 comments
pH142857 commented
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
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...?