[Top][All Lists]
[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: |
Wed, 21 Feb 2007 08:11:30 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) |
Richard Stallman <address@hidden> writes:
> > Roughly speaking, when Emacs is run in a console (i.e. as a curses
> > program), it monopolizes terminal input and output. I don't know of
> > any way to call the curses version of pinentry, have it temporarily
> > "take over" the terminal, and return control to Emacs once it's done.
>
> Well, if Emacs just "sleeps" while it waits for gpg to finish, then we
>
> I think the issue is about process groups and job control.
> When pinentry runs, will it be ABLE to write to the tty?
Whatever pinentry writes is garbled when Emacs refreshes the tty
screen. The more serious problem, however, is that pinentry cannot
READ from the tty since Emacs gobbles all tty input.
The only sane way to handle this is to run gpg in a terminal emulator,
but that is a rather big job. Since it's unknown whether such an
approach is secure anyway, I suggest disabling passphrase caching on
the console and leaving the pinentry-on-the-console issue till after
the release.
- Re: Fix needed for communication with gpg-agent, (continued)
- Re: Fix needed for communication with gpg-agent, Miles Bader, 2007/02/24
- Re: Fix needed for communication with gpg-agent, Richard Stallman, 2007/02/23
- Re: Fix needed for communication with gpg-agent, Richard Stallman, 2007/02/20
- Re: Fix needed for communication with gpg-agent, Chong Yidong, 2007/02/20
- Re: Fix needed for communication with gpg-agent, Richard Stallman, 2007/02/21
- Re: Fix needed for communication with gpg-agent, Chong Yidong, 2007/02/21
- Re: Fix needed for communication with gpg-agent, Richard Stallman, 2007/02/22
Re: Fix needed for communication with gpg-agent, Kim F. Storm, 2007/02/20