all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Alex Bennée" <kernel-hacker@bennee.com>
To: "help-gnu-emacs\@gnu.org Help" <help-gnu-emacs@gnu.org>
Subject: Controlling gpg-agent from Emacs
Date: Tue, 03 Dec 2013 09:12:53 +0000	[thread overview]
Message-ID: <877gbmi9gq.fsf@linaro.org> (raw)

Hi,

I have a problem when running Emacs in terminal mode when triggering
things which require GPG (like "pass" to fetch a password). The pinentry
program doesn't seem to play well with Emacs causing the terminal to get
very confused.

Reading through the gpg-agent docs seems to imply it should be possible
to feed your passphrase to the agent ahead of time so it's ready to run
the decryption when gnupg is invoked (gpg-preset-passphrase). However I
can't get that to work (gpg-agent seems to think it's an unsupported
command).

I also found a shell script (https://github.com/ecraven/pinentry-emacs)
which seems to use emacsclient to prompt for a passphrase but the page
was loaded with enough caveats I haven't tried it yet.

Has anyone else got a better solution?


Cheers,

--
Alex Bennée
http://www.bennee.com/~alex



             reply	other threads:[~2013-12-03  9:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-03  9:12 Alex Bennée [this message]
     [not found] <mailman.7959.1386061973.10748.help-gnu-emacs@gnu.org>
2013-12-04 16:08 ` Controlling gpg-agent from Emacs Ted Zlatanov
2013-12-06  9:49   ` Alex Bennée
     [not found]   ` <mailman.8343.1386323403.10748.help-gnu-emacs@gnu.org>
2013-12-06 15:46     ` Ted Zlatanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877gbmi9gq.fsf@linaro.org \
    --to=kernel-hacker@bennee.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.