emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Riley <rileyrgdev@googlemail.com>
To: org-mode <emacs-orgmode@gnu.org>
Subject: easypg and multiple prompts
Date: Tue, 18 Nov 2008 13:58:59 +0100	[thread overview]
Message-ID: <e37i71i418.fsf@development.richardriley.net> (raw)


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

             reply	other threads:[~2008-11-18 12:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-18 12:58 Richard Riley [this message]
2008-11-18 21:38 ` easypg and multiple prompts Detlef Steuer
2008-11-20 23:53 ` Daniel Clemente

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=e37i71i418.fsf@development.richardriley.net \
    --to=rileyrgdev@googlemail.com \
    --cc=emacs-orgmode@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).