AlessioDP / kpmenu

Dmenu/rofi interface for KeePass
MIT License
28 stars 5 forks source link

kpmenu can't open database #1

Closed jm355 closed 5 years ago

jm355 commented 5 years ago

I have database called passwords.kbdx with a Passwords.key file and password that I use with keepassxc (which does work to open it), but kpmenu can't open it no matter how I specify the three necessary parameters (config file, argument, inputting when asked, etc). It always outputs this:

2019/03/25 09:12:17 failed to open database: Wrong password? Database integrity check failed
2019/03/25 09:12:17 waiting for goroutines to end

but I know my password is correct because I've tried it several times. Any ideas about what could be the issue? Thanks!

AlessioDP commented 5 years ago

Do you have the same problem even if you insert your credentials into kpmenu config file?

jm355 commented 5 years ago

Yeah

AlessioDP commented 5 years ago

You should open an issue on http://github.com/tobischo/gokeepasslib :wink: Give some info about your keepassx and database version!

I will close this issue because its not directly related to kpmenu.

AlessioDP commented 5 years ago

Anyway, to be really sure that its not related to kpmenu I will test my other databases as soon as I get home.

jm355 commented 5 years ago

Thanks! I played around a bit with their example and it looks like the issue is the keyfile. It works fine with keepassxc, but I'll see about making an issue on their project

AlessioDP commented 5 years ago

I tested a new database generated with KeePass, it works without problems. Both pw and pw+keyfile.

Just one tip for you, if you set up the config file with a keyfile option, remember to disable it if you are trying to open another database, for example: kpmenu -d database.kdbx -k ""