I don't dmenu, I just use pass from command line with pass somepass | xclip -i && sleep 5; printf "" | xclip -i
. But I've heard from many people that they are really nice combination.
Maybe I should just add that to the dmenu scripts and start using it with dmenu.
Another nice thing about pass is that it let's you encrypt different subdirectories with different keys or multiple keys so sharing a password database with coworkers is pretty easy.
I store all my passwords in a GPG encrypted file, ~/.psswds.gpg
, and manage it using Vim and the Vim-GPG plugin. Vim-GPG uses gpg-agent by default. So if you've set up gpg-agent, you'll have to type the master password just once.
I've also heard good things about pass which has all the features you want.