[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnupg-users
Subject:    pinentry doesn't work with gpg-agent
From:       Katsumi Yamaoka <yamaoka () jpl ! org>
Date:       2006-11-17 5:56:41
Message-ID: b4md57mobty.fsf () jpl ! org
[Download RAW message or body]

Hi,

I started using GnuPG 2.0.0.  That works great except one thing.

echo test.|gpg2 --clearsign|gpg2 --verify

This test passes if I don't run gpg-agent or I unset GPG_AGENT_INFO
as follows:

GPG_AGENT_INFO='' echo test.|gpg2 --clearsign|gpg2 --verify

At that time pinentry prompts me for a passphrase, and echoes an
asterisk in the window every time I enter a letter.  However, if
I run gpg-agent, pinentry appears but I cannot enter a passphrase.
It echoes no asterisk in the window whatever I type a letter, and
then signing fails.  Does anyone know what I overlooked?

I installed the following packages by performing ``./configure;
make; make install'' in the Fedora Core 6 Linux system, which
runs the metacity window manager.

ftp://ftp.gnu.org/gnu/pth/pth-2.0.7.tar.gz
ftp://ftp.gnupg.org/gcrypt/libassuan/libassuan-1.0.0.tar.bz2
ftp://ftp.gnupg.org/gcrypt/libksba/libksba-1.0.0.tar.bz2
ftp://ftp.gnupg.org/gcrypt/pinentry/pinentry-0.7.2.tar.gz
ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-2.0.0.tar.bz2

pinentry is a symlink to pinentry-gtk-2.

The way to run gpg-agent is to put the following snipet in the
~/.Xclients file.

--8<---------------cut here---------------start------------->8---
if test -z `ps x | grep gpg-agent|grep -v grep`; then
  gpg-agent --daemon --write-env-file
fi
. $HOME/.gpg-agent-info; export GPG_AGENT_INFO
--8<---------------cut here---------------end--------------->8---

Thanks in advance.


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic