[Nottingham] Thunderbird Enigmail (OpenPGP) add-on "bad passphrase" error/problem (solution)

Martin martin at ml1.co.uk
Wed Mar 14 12:35:44 UTC 2012


On 14/03/12 12:24, Jason Irwin wrote:
> On 13/03/12 23:11, Martin wrote:
>> gpg2
>> gpg-agent
> I have gnupg2 and gnupg-agent, check.
> 
>> pinentry
>> pinentry-gtk2
> I only appear to have pinentry-gtk2, other related packages I have are:
>   enigmail (well, duh!)
>   gpgsm
>   gpgv
>   libgpg-error0
>   libgpgme11
>   python-gnupginterface
> 
> Maybe the names differ between distros?  Dunno.

OK, so a quick look gives:

$ pinentry --help
Usage: pinentry-gtk2 [OPTION]...
Ask securely for a secret and print it to stdout.

      --display DISPLAY Set the X display
      --ttyname PATH    Set the tty terminal node name
      --ttytype NAME    Set the tty terminal type
      --lc-ctype        Set the tty LC_CTYPE value
      --lc-messages     Set the tty LC_MESSAGES value
  -g, --no-global-grab  Grab keyboard only while window is focused
      --parent-wid       Parent window ID (for positioning)
  -d, --debug           Turn on debugging output
  -h, --help            Display this help and exit
      --version         Output version information and exit

...and pinentry itself is a shell script that selects preferentially
pinentry-qt4 or pinentry-qt if a KDE display is found, otherwise
pinentry-gtk2 is used.


I must already have a lot of gtk2 stuff loaded as the pinentry-gtk2 only
added a few more kBytes of install. (No pinentry-qt(4) is installed.)

All depends on what name enigmail expects to finds the pinentry (you can
set that in the Enigmail options).

Looks like I have indeed found a dependency bug...


Cheers,
Martin



-- 
----------------
Martin Lomas
martin at ml1.co.uk
----------------



More information about the Nottingham mailing list