Runniing gpg2 on Linux Servers

Raghu Udupa rudupa at easylink.com
Wed Feb 8 18:44:29 CET 2012


Hi,

I installed gnupg with all related modules as well as pinentry module on a redhat linux server.

Now, when I try to run gpg2, to generate a key using command line  gpg2 --gen-key  I get the following error.

GnuPG needs to construct a user ID to identify your key.

Real name: rudupa
Email address: rudupa at test.com
Comment: test
You selected this USER-ID:
    "rudupa (test) <rudupa at test.com>"

Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? O
You need a Passphrase to protect your secret key.

gpg-agent[12363]: can't connect to the PIN entry module: IPC connect call failed
gpg-agent[12363]: command get_passphrase failed: No pinentry
gpg: problem with the agent: No pinentry
gpg: Key generation canceled.


I am running gpg-agent in the daemon mode with following parameters

gpg-agent --options /u4/udupa/gnupg/gpg-agent.conf --daemon --verbose --log-file /tmp/log --enable-ssh-support --debug-all

I am using the following gpg-agent.conf config file.

-bash-3.00$ cat gpg-agent.conf
no-grab
pinentry-program /usr/bin/pinentry-curses

Thanks,
Raghu Udupa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20120208/2b5fe381/attachment.htm>


More information about the Gnupg-users mailing list