emacs-devel
[Top][All Lists]
Advanced

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

Re: Fix needed for communication with gpg-agent


From: Chong Yidong
Subject: Re: Fix needed for communication with gpg-agent
Date: Fri, 23 Feb 2007 11:40:57 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

Werner Koch <address@hidden> writes:

>> However, enabling pinentry to read from the tty probably requires
>> setting the tty's process group to the one that pinentry is in.  That
>> will probably have the effect that Emacs can't read from the tty
>> during that time.  If so, that is ok.
>
> The problem is that I have found no way to set pinentry as the
> foreground process.  tcsetpgrp() won't work because pinentry runs in a
> different session (is is being called by gpg-agent which has used
> setsid).

...and since processes are not allowed to migrate between sessions,
this approach is pretty much sunk.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]