emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marcelo de Moraes Serpa <celoserpa@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Subject: Auto-encrypting/decrypting the whole org file with EasyPG
Date: Sun, 17 Aug 2014 14:15:19 -0500	[thread overview]
Message-ID: <CACHMzOHNv3eovs-R5-rXM8NszS20T6DmnLRP2NG8Bq9wWY6F9w@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1092 bytes --]

Hi everyone,

I currently use org-crypt successfully to encrypt the contents of an
org-mode entries. For some files though, it's more practical to just
encrypt the whole file, and I followed the instructions here:
http://orgmode.org/worg/org-tutorials/encrypting-files.html, but could not
get it to work.

I've placed the org meta-data in a comment as the first line of the org
file, like this

# -*- mode: org -*- -*- epa-file-encrypt-to: ("my@gpgkeyemail.address") -*-

I'm loading org-epa and enabling like this:

(require 'epa-file)
(epa-file-enable)

And I made sure it was loaded by evaluating epa-file-enable. However, when
I save the file, it doesn't encrypt it. I've cat'ed the file after saving
it and it still shows the original unencrypted content. Am I missing
something? Do I need to use a .gpg extension?

Version information:
* GNU Emacs 24.3.1 (x86_64-apple-darwin11.4.2, Carbon Version 1.6.0 AppKit
1138.51) of 2014-04-03 on Yukikaze.local
* Org-mode version 8.2.5 (release_8.2.5 @
/Users/user/.emacs.d/vendor/org-mode/lisp/)
* OSX Mavericks

Thanks in advance,

--
Marcelo

[-- Attachment #2: Type: text/html, Size: 1579 bytes --]

             reply	other threads:[~2014-08-17 19:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-17 19:15 Marcelo de Moraes Serpa [this message]
2014-08-17 23:32 ` Auto-encrypting/decrypting the whole org file with EasyPG Charles Philip Chan

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=CACHMzOHNv3eovs-R5-rXM8NszS20T6DmnLRP2NG8Bq9wWY6F9w@mail.gmail.com \
    --to=celoserpa@gmail.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).