From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: Re: org-reveal (gpg crypt) and auto saving Date: Fri, 10 Sep 2010 15:48:58 +0200 Message-ID: References: <8739thapht.fsf@ericabrahamsen.net> <87bp85936o.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=37595 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ou3ya-0006bR-Qa for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 09:49:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ou3yY-0007Gh-Ga for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 09:49:11 -0400 Received: from lo.gmane.org ([80.91.229.12]:57530) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ou3yY-0007GL-5z for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 09:49:10 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ou3yW-0006iA-NO for emacs-orgmode@gnu.org; Fri, 10 Sep 2010 15:49:08 +0200 Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Sep 2010 15:49:08 +0200 Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 10 Sep 2010 15:49:08 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Eric Abrahamsen writes: > On Fri, Sep 10 2010, Richard Riley wrote: > >> Richard Riley writes: >>> >>> It is. It shouldnt have to ask you at all in fact. >>> >>> gpg-agent. >>> >> >> I forgot to add : org-crypt-key. > > Yeah, I've got this much set up, but something is borken with the agent > and I've never bothered fixing it (still get a minibuffer prompt). If > that would solve this problem, then that's motivation! > The following *might* help http://www.emacswiki.org/emacs/keychain-environment.el The emacs Keychain package correctly read the running agent "token" or "cookie" and doesnt rely on env values. Other things to consider are the contents of ~/.gnupg/gpg-agent.conf. For me:- ,---- | pinentry-program /usr/bin/pinentry-gtk-2 | no-grab | default-cache-ttl 3942000 | max-cache-ttl 3942000 `---- Now, an interesting thing .. I am pretty damn sure I had a line "use-agent" in my gpg.conf. Its not there now. Instead is a comment from seahorse. Gah. Debian gpg key handling remains a mystery ... There seems about a gazillion packages or approaches to dealing with this.