all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reik Reid <reikred@gmail.com>
To: help-gnu-emacs@gnu.org, tlikonen@iki.fi
Subject: Re: emacs interface with gpg-agent stopped working (or stopped caching passphrase)
Date: Sat, 3 Sep 2016 11:45:19 -0700	[thread overview]
Message-ID: <CAPMA_hkXNy-0bJpYXbCDopYad+h4xHUYwsVV8WAd1M5CW4A2rg@mail.gmail.com> (raw)

Teemu,

Setting epg-gpg-program in ~/.emacs fixed the problem

;;in ~/.emacs

(setq epg-gpg-program "gpg2")

I also found that with the program versions listed in OP, I no longer
need to start gpg-agent in my .Xesession (or equivalent), nor do I
need to set any environment variables. Emacs will in fact start
gpg-agent when needed, and it automagically works, with
gnome-ssh-askpass popping up, and remembering the passphrase for a
while.

Thank much for your insight.

(resend, hopefully this time I addressed the mailing list correctly)


             reply	other threads:[~2016-09-03 18:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-03 18:45 Reik Reid [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-09-03  6:32 emacs interface with gpg-agent stopped working (or stopped caching passphrase) derkire
2016-09-03  6:40 ` derkire
2016-09-03  7:09   ` Eli Zaretskii
2016-09-03 14:52 ` Teemu Likonen
2016-09-03 15:04   ` Teemu Likonen
2016-09-03 18:50   ` Derk Ire
2016-09-03 19:24   ` Derk Ire

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=CAPMA_hkXNy-0bJpYXbCDopYad+h4xHUYwsVV8WAd1M5CW4A2rg@mail.gmail.com \
    --to=reikred@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tlikonen@iki.fi \
    /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.