From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: easypg and multiple prompts Date: Tue, 18 Nov 2008 13:58:59 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L2QB5-0006KM-B6 for emacs-orgmode@gnu.org; Tue, 18 Nov 2008 07:59:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L2QB2-0006Jb-PK for emacs-orgmode@gnu.org; Tue, 18 Nov 2008 07:59:33 -0500 Received: from [199.232.76.173] (port=39066 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L2QB2-0006JW-9u for emacs-orgmode@gnu.org; Tue, 18 Nov 2008 07:59:32 -0500 Received: from ey-out-1920.google.com ([74.125.78.144]:11276) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L2QB1-00072W-UW for emacs-orgmode@gnu.org; Tue, 18 Nov 2008 07:59:32 -0500 Received: by ey-out-1920.google.com with SMTP id 4so1166004eyg.24 for ; Tue, 18 Nov 2008 04:59:30 -0800 (PST) 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: org-mode I am trying to use easypg with org-mode. In emacs 23 its included and I just have: (require 'epa) (epa-file-enable) although I thinks its default is on anyway. Create a "private.gpg" with these as the first lines and save it in your org files directory. ,---- | -*- mode: org -*- -*- epa-file-encrypt-to: ("name@domain.net") -*- | #+AUTHOR: name | #+EMAIL: name@domain.net | #+DATE: <2008-03-23 Sun> | #+LANGUAGE: en | | * Private `---- replace name and domain as appropriate. Here is a template to add for it: ("private" ?p "* %^{Title|%i} %^G\n :PROPERTIES: \n :Entered: %U\n :Link: %a\n :END: \n%x%?" "private.gpg" "Private") Now create a new private item and commit it. One is prompted three times for the passphrase Anyone else using it with org and if so have you managed to cache? opening an "x.gpg" without the local mode prompts only once when you open it and uses the cache when saving it so no password reprompt. I dont know if this multi-pass prompt is emacs or org-mode so post here for completeness. It seems to be org-mode forcing it. easypg with org-mode makes a really powerful, secure note taking environment! -- important and urgent problems of the technology of today are no longer the satisfactions of the primary needs or of archetypal wishes, but the reparation of the evils and damages by the technology of yesterday. ~Dennis Gabor, Innovations: Scientific, Technological and Social, 1970