From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Philip Chan Subject: Re: Auto-encrypting/decrypting the whole org file with EasyPG Date: Sun, 17 Aug 2014 19:32:24 -0400 Message-ID: <87d2by66bb.fsf@karnak.MagnumOpus.khem> References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42891) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJ9wN-0007ZS-Pf for emacs-orgmode@gnu.org; Sun, 17 Aug 2014 19:32:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XJ9wE-0007Oa-OR for emacs-orgmode@gnu.org; Sun, 17 Aug 2014 19:32:47 -0400 Received: from mail-qg0-x230.google.com ([2607:f8b0:400d:c04::230]:41059) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XJ9wE-0007OU-JB for emacs-orgmode@gnu.org; Sun, 17 Aug 2014 19:32:38 -0400 Received: by mail-qg0-f48.google.com with SMTP id i50so4024097qgf.35 for ; Sun, 17 Aug 2014 16:32:38 -0700 (PDT) Received: from karnak.MagnumOpus.khem (bas10-toronto01-845462812.dsl.bell.ca. [50.100.189.28]) by mx.google.com with ESMTPSA id k8sm26765126qad.6.2014.08.17.16.32.35 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Aug 2014 16:32:36 -0700 (PDT) In-Reply-To: (Marcelo de Moraes Serpa's message of "Sun, 17 Aug 2014 14:15:19 -0500") 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 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On 17 Aug 2014, celoserpa@gmail.com wrote: It works perfectly for me. > # -*- mode: org -*- -*- epa-file-encrypt-to: > # -*- ("my@gpgkeyemail.address") -*- No need to do that. > 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? Make sure the encrypted file extension is: ,---- | .org.gpg `---- Charles =2D-=20 Dijkstra probably hates me (Linus Torvalds, in kernel/sched.c) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlPxO5IACgkQ3epPyyKbwPaWCwCgt7xihWWjpCQZ1Pk1se63WRGi f2cAoM136R3ztd9Krr6qKBe7ORjvxAVK =DVl7 -----END PGP SIGNATURE----- --=-=-=--