[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Controlling gpg-agent from Emacs
From: |
Ted Zlatanov |
Subject: |
Re: Controlling gpg-agent from Emacs |
Date: |
Wed, 04 Dec 2013 11:08:52 -0500 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
On Tue, 03 Dec 2013 09:12:53 +0000 Alex Bennée <kernel-hacker@bennee.com>
wrote:
AB> I have a problem when running Emacs in terminal mode when triggering
AB> things which require GPG (like "pass" to fetch a password). The pinentry
AB> program doesn't seem to play well with Emacs causing the terminal to get
AB> very confused.
AB> Reading through the gpg-agent docs seems to imply it should be possible
AB> to feed your passphrase to the agent ahead of time so it's ready to run
AB> the decryption when gnupg is invoked (gpg-preset-passphrase). However I
AB> can't get that to work (gpg-agent seems to think it's an unsupported
AB> command).
AB> I also found a shell script (https://github.com/ecraven/pinentry-emacs)
AB> which seems to use emacsclient to prompt for a passphrase but the page
AB> was loaded with enough caveats I haven't tried it yet.
AB> Has anyone else got a better solution?
What version of GPG?
Ted