Mailing List Archive

gpg-agent runs but no graphical interface
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@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?

__________________________________
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
Re: gpg-agent runs but no graphical interface [ In reply to ]
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@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
Re: gpg-agent runs but no graphical interface [ In reply to ]
On Tue, Feb 24, 2004 at 02:05:45PM -0800, k b wrote:
> 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

Which version of gpg?

> 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.

What is the output of
gpg-agent --daemon
?
Maybe it is an old daemon?

Check the content of the GPG_AGENT_INFO variable:
echo $GPG_AGENT_INFO
before

> 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@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?