From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo de Moraes Serpa Subject: Auto-encrypting/decrypting the whole org file with EasyPG Date: Sun, 17 Aug 2014 14:15:19 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0149406041e7bd0500d813d9 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJ5vG-0004yR-Mt for emacs-orgmode@gnu.org; Sun, 17 Aug 2014 15:15:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJ5vF-0002sv-53 for emacs-orgmode@gnu.org; Sun, 17 Aug 2014 15:15:22 -0400 Received: from mail-lb0-x231.google.com ([2a00:1450:4010:c04::231]:58903) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJ5vE-0002so-Rz for emacs-orgmode@gnu.org; Sun, 17 Aug 2014 15:15:21 -0400 Received: by mail-lb0-f177.google.com with SMTP id s7so3355091lbd.8 for ; Sun, 17 Aug 2014 12:15:19 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode --089e0149406041e7bd0500d813d9 Content-Type: text/plain; charset=UTF-8 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 --089e0149406041e7bd0500d813d9 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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 foll= owed the instructions here:=C2=A0http://orgmode.org/worg/org-tutorials/encrypt= ing-files.html, but could not get it to work.

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

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

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

(require 'epa-file)
(epa-file-en= able)

And I made sure it was loaded by evalu= ating epa-file-enable. However, when I save the file, it doesn't encryp= t it. I've cat'ed the file after saving it and it still shows the o= riginal unencrypted content. Am I missing something? Do I need to use a .gp= g 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



--089e0149406041e7bd0500d813d9--