gpg-agent miscoordination on homedir

Tone Kastlunger users.giulietta at gmail.com
Wed Sep 4 07:52:35 CEST 2013


Few more details:
gpgme used to generate symmetric encryption with gpgme_op_encrypt;
version is latest gpg4win.

Best,
tortoisedoc


On Tue, Sep 3, 2013 at 11:53 PM, Tone Kastlunger
<users.giulietta at gmail.com>wrote:

> Hi;
> apparently gpg-agent has indeed some issues with non-standard homedirs
>
> I have been trying to get gpg4win to work over gpgme;
> but passphrase dialog was not showing in my project and bad passphrase was
> always raised.
>
> It kept puzzling me until after alot of googling around I reached this:
>
> http://lists.gnupg.org/pipermail/gnupg-users/2012-April/044138.html
>
> Basically what I did in my project is to set a custom home directory via
> gpgme_ctx_set_engine_info;
>
> pre-starting the gpg-agent with the same argumes as the gpgme would PLUS
> the
>  --homedir set to the same value passed to gpgme_ctx_set_engine_info fixed
> the issue and made the pass entry dialog show correctly.
>
> I think it might have something to do with the gpg-agent not finding the
> socket descriptor.
>
> Best,
> tortoisedoc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20130904/15561e3c/attachment-0001.html>


More information about the Gnupg-devel mailing list