Bug#869416: [pkg-gnupg-maint] Bug#869416: pinentry-gtk2: fails to request passphrase when importing OpenPGP secret key with Seahorse

NIIBE Yutaka gniibe at fsij.org
Wed Sep 27 01:51:41 UTC 2017


intrigeri <intrigeri at debian.org> wrote:
> Can you please take a look, and maybe attach an updated patch?

OK.

Attached is updated patch for gcr to fix this issue, by simply supplying
parent's environ untouched, intended to be put under debian/patches/.
While this patch fixes the particular issue, I think that more clean up
will be needed, perhaps.

The function g_spawn_async_with_pipes let inherit child process parent's
environ when envp=NULL.  By the change, _gcr_gnupg_process_run_async
does so for its envp, when GCR_GNUPG_PROCESS_RESPECT_LOCALE is
specified.

I put the patch in public domain, or it may be distributed
under the licence of LGPL-2.1+.

It is tested by seahorse and pinentry-gtk-2.
-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gpg-supply-environ.patch
Type: text/x-diff
Size: 1671 bytes
Desc: gcr fix for gnupg invocation
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20170927/f4f035d8/attachment.patch>


More information about the pkg-gnome-maintainers mailing list