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

intrigeri intrigeri at debian.org
Sat Jul 23 11:21:11 BST 2022


Hi,

NIIBE Yutaka (2017-09-27):

> 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.

Thanks! I noticed, a few years later, that this patch had not been
proposed upstream, so I added it to
https://gitlab.gnome.org/GNOME/gcr/-/issues/80.

Cheers,
-- 
intrigeri



More information about the pkg-gnome-maintainers mailing list