emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Charles Philip Chan <cpchan@bell.net>
To: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Auto-encrypting/decrypting the whole org file with EasyPG
Date: Sun, 17 Aug 2014 19:32:24 -0400	[thread overview]
Message-ID: <87d2by66bb.fsf@karnak.MagnumOpus.khem> (raw)
In-Reply-To: <CACHMzOHNv3eovs-R5-rXM8NszS20T6DmnLRP2NG8Bq9wWY6F9w@mail.gmail.com> (Marcelo de Moraes Serpa's message of "Sun, 17 Aug 2014 14:15:19 -0500")

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

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

-- 
Dijkstra probably hates me
(Linus Torvalds, in kernel/sched.c)

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

      reply	other threads:[~2014-08-17 23:32 UTC|newest]

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

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=87d2by66bb.fsf@karnak.MagnumOpus.khem \
    --to=cpchan@bell.net \
    --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).