emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* easypg and multiple prompts
@ 2008-11-18 12:58 Richard Riley
  2008-11-18 21:38 ` Detlef Steuer
  2008-11-20 23:53 ` Daniel Clemente
  0 siblings, 2 replies; 3+ messages in thread
From: Richard Riley @ 2008-11-18 12:58 UTC (permalink / raw)
  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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-11-20 23:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-18 12:58 easypg and multiple prompts Richard Riley
2008-11-18 21:38 ` Detlef Steuer
2008-11-20 23:53 ` Daniel Clemente

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).