[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: |
Thu, 22 Feb 2007 13:40:23 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux) |
Werner Koch <address@hidden> writes:
>> Admittedly, it is a rather naughty solution: GPG is called through an
>> elisp terminal (as implemented by `make-term' in term.el), with a
>> modified process filter whose purpose is to send GPG the string to be
>
> With all that code running in emacs, I doubt that it makes sense at
> all to use the curses versions of Pinentry.
In that case, I think Emacs should disable use of gpg-agent when
running in a console, except when gpg-agent already has a passphrase
cached. Then all we need is some method for Emacs to determine if the
necessary passphrase is cached. If gpg-agent does not have the
passphrase, Emacs will then prompting for the passphrase and send it
to GPG, without caching it in Elisp (i.e. subsequent calls to GPG will
require entering the passphrase again).
> Is it possible to enhance server-start/emacsclient so that it does not
> edit a file but asks for string and returns that one? Pinentry could
> then use this feature for user interaction.
I'm not sure how this suggestion could work.
- Re: Fix needed for communication with gpg-agent, (continued)
- Re: Fix needed for communication with gpg-agent, Chong Yidong, 2007/02/23
- Re: Fix needed for communication with gpg-agent, Kim F. Storm, 2007/02/23
- Re: Fix needed for communication with gpg-agent, Chong Yidong, 2007/02/23
- Re: Fix needed for communication with gpg-agent, Kim F. Storm, 2007/02/23
- Re: Fix needed for communication with gpg-agent, Sascha Wilde, 2007/02/24
Re: Fix needed for communication with gpg-agent, Miles Bader, 2007/02/19
- Re: Fix needed for communication with gpg-agent, Chong Yidong, 2007/02/19
- Re: Fix needed for communication with gpg-agent, Chong Yidong, 2007/02/22
- Re: Fix needed for communication with gpg-agent, Chong Yidong, 2007/02/22
- Re: Fix needed for communication with gpg-agent, Werner Koch, 2007/02/23
- Re: Fix needed for communication with gpg-agent,
Chong Yidong <=
- Re: Fix needed for communication with gpg-agent, Sascha Wilde, 2007/02/22
- Re: Fix needed for communication with gpg-agent, Chong Yidong, 2007/02/22
- Re: Fix needed for communication with gpg-agent, Sascha Wilde, 2007/02/23
- Re: Fix needed for communication with gpg-agent, Richard Stallman, 2007/02/24
Re: Fix needed for communication with gpg-agent, Richard Stallman, 2007/02/23
Re: Fix needed for communication with gpg-agent, Sascha Wilde, 2007/02/23
Re: Fix needed for communication with gpg-agent, Richard Stallman, 2007/02/24
Re: Fix needed for communication with gpg-agent, Chong Yidong, 2007/02/25
Re: Fix needed for communication with gpg-agent, Andreas Schwab, 2007/02/25
Re: Fix needed for communication with gpg-agent, David Kastrup, 2007/02/25