ifosch / keepass-mode

Emacs mode to open KeePass DB
https://github.com/ifosch/keepass-mode
GNU General Public License v3.0
40 stars 7 forks source link

Fail to copy password #8

Closed ykgoon closed 3 years ago

ykgoon commented 3 years ago

Hitting c results in this error:

menu-bar-update-yank-menu: Wrong type argument: stringp, nil
ykgoon commented 3 years ago

This failed when I first installed the package straight from MELPA.

Maybe MELPA has a lagging version, I installed straight from Github and c doesn't throw error.

However it doesn't copy password to kill-ring. Turn out my copy of keepassxc-cli doesn't do show -s, so the output of password retrieval is Unknown option 's'..

My keepassxc-cli version is 2.4.3, looks like it's too old. What version the minimum version this package is designed for?

ykgoon commented 3 years ago

Just upgraded to version 2.6.x, it's now working fine.

Documentation should probably cite the minimum required version.

ifosch commented 3 years ago

Thanks for notifying. I've added the keepassxc-cli minimum required version in the README.