I can't decrypt my passwords with pass
neither with
gpg
directly.
gpg: encrypted with rsa4096 key, ID id, created creation_date
"name <email>"
gpg: public key decryption failed: No pinentry
gpg: decryption failed: No pinentry
It does not show a prompt dialog asking for the master password.
It says "no pinentry" but the program is installed:
$ ls /usr/bin/pinentry*
/usr/bin/pinentry
/usr/bin/pinentry-curses
/usr/bin/pinentry-emacs
/usr/bin/pinentry-gnome3
/usr/bin/pinentry-gtk-2
/usr/bin/pinentry-qt
/usr/bin/pinentry-tty
Please, I need help asap because I can't login into nothing without my passwords, which are all encrypted with GPG.
gpg-agent
. You may be able to work around it withgpg ... --pinentry-mode=loopback ...
. A complete answer will likely require more information about your system: which OS are you using? Which version of gnupg? Is there any reference topinentry
in yourgpg.conf
orgpg-agent.conf
? How isgpg-agent
activated?pkill gpg-agent
followed bygpg-agent --pinentry-program=/usr/bin/pinentry-gtk-2 --daemon
and it worked. I don't know id hadn't worked before, but glad I was able to solve it...no pinentry
message when using pinentry-dmenu, withpinentry-program /usr/bin/pinentry-dmenu
in$HOME/.gnupg/gpg-agent.conf
and while having no pinentry-dmenu.conf file. Using>$HOME/.gnupg/pinentry-dmenu.conf
to create empty pinentry-dmenu.conf solved the problem for me. It seems that if, for whatever reason the pinentry program errors out, it causes this error.