From: John Kitchin <jkitchin@andrew.cmu.edu>
To: Sebastien Vauban <sva-news@mygooglest.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Automatically encrypt on save, decrypt on open?
Date: Fri, 14 Aug 2015 06:48:59 -0400 [thread overview]
Message-ID: <CAJ51ETqNtZfwP_La4L582J-+vQjFnAtoe-5Y-OgMZN1V5cdwWw@mail.gmail.com> (raw)
In-Reply-To: <867foyz4ay.fsf@example.com>
[-- Attachment #1: Type: text/plain, Size: 1157 bytes --]
They are basically copied from thetop of
http://orgmode.org/worg/org-tutorials/encrypting-files.html
The first line loads epa-file (epa-file.el --- the EasyPG Assistant,
transparent file encryption )
The second line looks like a way to call epa-file-enable if it hasn't been
enabled. You can just call epa-file-enable, and it does the check too, but
this probably avoids a minibuffer message when it is already loaded. I
think this function provides a handler for files ending in .gpg which need
to be en/decrypted by gpg.
John
-----------------------------------
Professor John Kitchin
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu
On Fri, Aug 14, 2015 at 4:01 AM, Sebastien Vauban <sva-news@mygooglest.com>
wrote:
> Hello John,
>
> > Here is the setup I have that worked when I tried it last ;)
> >
> > ;; encryption
> > (require 'epa-file)
> > (unless (memq epa-file-handler file-name-handler-alist)
> > (epa-file-enable))
>
> Do you remember what are those 2 lines for?
>
> Best regards,
> Seb
>
> --
> Sebastien Vauban
>
>
>
[-- Attachment #2: Type: text/html, Size: 1979 bytes --]
next prev parent reply other threads:[~2015-08-14 10:49 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-13 14:28 Automatically encrypt on save, decrypt on open? Peter Davis
2015-08-13 14:46 ` John Kitchin
2015-08-13 14:53 ` Peter Davis
2015-08-14 8:01 ` Sebastien Vauban
2015-08-14 10:48 ` John Kitchin [this message]
2015-08-14 12:45 ` Sebastien Vauban
2015-08-13 14:53 ` Michael Strey
2015-08-13 15:34 ` Eric S Fraga
2015-08-13 15:47 ` Peter Davis
2015-08-13 16:09 ` Eric S Fraga
2015-08-14 17:54 ` Jorge A. Alfaro-Murillo
2015-08-14 19:11 ` Marcin Borkowski
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJ51ETqNtZfwP_La4L582J-+vQjFnAtoe-5Y-OgMZN1V5cdwWw@mail.gmail.com \
--to=jkitchin@andrew.cmu.edu \
--cc=emacs-orgmode@gnu.org \
--cc=sva-news@mygooglest.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.