Re: Fails to sign a message after gnupg2/gpgsm upgrade



Hi Jean-Luc:

Am 27.08.09 21:52 schrieb(en) Jean-Luc Coulon (f5ibh):
The first time, I tried the gpg2 --sign -a command with only the gtk version of pinentry on the system. The second time, I had the 3 versions.

(Who chosse the right binary?)

There is an entry "pinentry-program" in ~/.gnupg/gpg-agent.conf, or, if you just want to test, you can extend the command I sent earlier by explicitly telling the agent which pinentry to use:

gpg-agent --daemon --no-detach --debug-level guru --log-file ./gpg-agent.log --pinentry-program /path/to/pinentry

Attached the log files. (suffix -pinetry-gtk for the 1st case and - pinentry-curses with the 3 versions installed).
[snip]
gpg-agent[7202]: can't connect server: `ERR 67109133 can't exec `/usr/bin/pinentry-gtk': Aucun fichier ou dossier de ce type'

Hmm, unfortunately I do not understand French, but this is actually what we're looking for!

------Zitierte Anlage "gpg-agent.log-pinentry-curses"------
2009-08-27 21:44:16 gpg-agent[12256] starting a new PIN Entry
gpg-agent[12256]: can't connect server: `ERR 67109133 can't exec `/usr/bin/pinentry-gtk': No such file or directory'

The agent still uses pinentry-gtk, as the config option wasn't touched, and it cannot find /usr/bin/pinentry-gtk... I guess this is the English translation of the French message above?

So, where is pinentry-gtk installed?  Is is executable?

Cheers, Albrecht.

Attachment: pgpic1hFebuOE.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]