[Gpg4win-users-en] pinentry asks the same password three times (Psi 0.13, three accounts with the same private key)
???????? ????????
kiav1976 at mail.ru
Wed Aug 19 15:36:43 CEST 2009
Hm, I found an old key in registry
[HKEY_CURRENT_USER\Software\GNU\GnuPG]
"gpgProgram"="C:\\Program Files\\GNU\\GnuPG\\gpg.exe"
I manually removed it. Psi now finds gpg in the PATH. Thanks.
Werner, I have ONE key, and tree accounts in Psi using this key. pinentry
asks the same password three times.
Anatoly
-----Original Message-----
From: Werner Koch [mailto:wk at gnupg.org]
Sent: Wednesday, August 19, 2009 3:02 PM
To: ???????? ????????
Cc: gpg4win-users-en at wald.intevation.org
Subject: Re: [Gpg4win-users-en] pinentry asks the same password three times
(Psi 0.13, three accounts with the same private key)
On Wed, 19 Aug 2009 10:59, kiav1976 at mail.ru said:
> I had to manually edit gpg.conf (I uncommented line with use-agent)
> and
That is a dummy. gpg2.exe always uses --use-agent; you can't change that.
> saved GPG-Agent settings in Kleopatra (it creates gpg-agent.conf if I
> change settings). So in gpg-agent.conf is one line with
> default-cache-ttl 600
I am not sure whether I unserstand your problem. If you have different
keys, the agent caches the passphrases for each key separate. Different
subkeys are also viewed as different keys.
> By the way. Psi needs C:\Program Files\GNU\GnuPG\gpg.exe but gpg4win
> 2.0.0 has no such file. I had to create a sylink to C:\Program
> Files\GNU\GnuPG\gpg2.exe
> (http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html can
> do it on NTFS)
Please don't do that. A gpg.exe is installed in the path and Psi should use
that one instead of a hard coded fill filename. If you really need a full
filename, use
C:\Program Files\GNU\GnuPG\pub\gpg.exe
This pub directory is the one published in %PATH%. The gpg.exe there is a
kind of symlink. (Run "gpg --version --version" to see what I mean).
Salam-Shalom,
Werner
--
Die Gedanken sind frei. Auschnahme regelt ein Bundeschgesetz.
More information about the Gpg4win-users-en
mailing list