Ubuntu users: Enigmail/Thunderbird invalid password error fix
I use Thunderbird and the Enigmail extension a lot at work. I like to sign all my emails. After installing the latest release of Ubuntu, I had some trouble. Seahorse (the new default key manager) was not recognizing a passphrase caching agent (either gpg-agent or seahorse-agent). Both were running....
when trying to sign an email, I would get an error like
gpg command line and output:
/usr/bin/gpg --charset utf8 --batch --no-tty --status-fd 2 -d --use-agent
gpg: problem with the agent - disabling agent use
gpg: can't query passphrase in batch mode
gpg: Invalid passphrase; please try again ...
gpg: can't query passphrase in batch mode
gpg: Invalid passphrase; please try again ...
gpg: can't query passphrase in batch mode
Turns out the fix is easy, and numerous bugs have been filed.
All you have to do is delete the file /etc/X11/Xsession.d/90gpg-agent and restart X (CTRL+ALT+Backspace).
when trying to sign an email, I would get an error like
gpg command line and output:
/usr/bin/gpg --charset utf8 --batch --no-tty --status-fd 2 -d --use-agent
gpg: problem with the agent - disabling agent use
gpg: can't query passphrase in batch mode
gpg: Invalid passphrase; please try again ...
gpg: can't query passphrase in batch mode
gpg: Invalid passphrase; please try again ...
gpg: can't query passphrase in batch mode
Turns out the fix is easy, and numerous bugs have been filed.
All you have to do is delete the file /etc/X11/Xsession.d/90gpg-agent and restart X (CTRL+ALT+Backspace).
