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: Stefan Monnier
Subject: Re: Fix needed for communication with gpg-agent
Date: Fri, 23 Feb 2007 13:07:58 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

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

  emacsclient --eval '(read-passwd "gpg passwd: ")'

This looks like a very clean solution.  Except that you have to make sure
that Emacs is running a server, and if the user is running several Emacsen at
the same time you may not be able to get to that server.


        Stefan


PS: Also in case gpg is run on a different machine than Emacs, you may bump
into difficulties, although maybe this is sufficiently unlikely/impossible.




reply via email to

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