gpg-agent runs but no graphical interface

Ingo Klöcker kloecker at kde.org
Fri Feb 27 23:39:28 CET 2004


On Tuesday 24 February 2004 23:05, k b wrote:
> hi
> using KDE 3.2 on fedora core 1, i have earlier used
> OpenPGP (or rather GPG) whith kmail.
> i have got it all working after following:
> http://kmail.kde.org/kmail-pgpmime-howto.html
>
> it has worked until some time ago (probably when i
> updated KDE 3.1.95 to 3.2).
>
> since it did not work, i tried to reinstall all parts
> needed following the configure && make && make install
> procedures described, i ran ldconfig after each make
> install. i also double checked that i have proper
> versions of the source codes.
>    1. libgcrypt (>= 1.1.10), i have 1.1.44
>    2. libksba (>= 0.4.7), i have 0.4.7
>    3. newpg (>= 0.9.4),  i have 0.9.4
>    4. gpgme 0.3.x (>= 0.3.15; < 0.4.0), i have 0.3.16
>    5. cryptplug 0.3.x (>= 0.3.15), i have 0.3.16
>    6. pinentry (>= 0.6.8), i have 0.6.9
>
> the gpg.conf and gpg-agent.conf files follow has got
> the changes described in the howto.
>
> eval "$(gpg-agent --daemon)"
> returns nothing but the gpg-agent runs.
>
> echo "test" | gpg -ase -r 0xDEADBEEF | gpg
> (with an existing key), does not bring the graphical
> passphrase box up. instead it writes the following to
> the terminal:
>
> You need a passphrase to unlock the secret key for
> user: "Some Other <some at other.nonexisting.com>"
> 1024-bit DSA key, ID DEADBEEF, created 2003-04-24
>
> gpg-agent[19059]: command get_passphrase failed: ec=-1
> gpg: problem with the agent - disabling agent use
> Enter passphrase:
>
> any suggestions?

Try pinentry-gtk instead of pinentry-qt.

In order to test whether pinentry-qt is causing the problems run 
pinentry-qt and then enter "getpin". If you get a window then try 
typing a few random characters.

Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/attachments/20040227/335e638d/attachment.bin


More information about the Gpa-dev mailing list