Gpg: Problem with the agent: No pinentry
From FVue
Contents
Problem
When trying to use gpg, I receive this error:
gpg: problem with the agent: No pinentry
Solution
The problem is caused because I have specified use-agent in my ~/.gnupg/gpg.conf. This will startup a gpg-agent daemon when I enter my X session and this gpg-agent will store gpg passphrases. Gpg-agent uses a separate 'pinentry' program for safe entering of passphrases. Apparently this pinentry program isn't installed.
Search for available pinentry programs:
sudo apt-cache search pinentry
Choose pinentry-gtk2 for Ubuntu (Gnome), pinentry-qt for Kubuntu (KDE) or pinentry-curses for console. Install the pinentry program:
sudo apt-get install pinentry-gtk2
Environment
- Ubuntu-7.10 (Gutsy Gibbon)
Advertisement