all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Davis <pfd@pfdstudio.com>
To: John Kitchin <jkitchin@andrew.cmu.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: Automatically encrypt on save, decrypt on open?
Date: Thu, 13 Aug 2015 10:53:11 -0400	[thread overview]
Message-ID: <6sw6c7oaibxmso.fsf@dhcp-6-148.hmco.com> (raw)
In-Reply-To: m237znp7oh.fsf@andrew.cmu.edu


Thanks, John! I'll give it a try.

-pd

John Kitchin <jkitchin@andrew.cmu.edu> writes:

> see org-crypt http://orgmode.org/worg/org-tutorials/encrypting-files.html
>
> 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))
>
> (require 'org-crypt)
> (org-crypt-use-before-save-magic)
> (setq org-tags-exclude-from-inheritance (quote ("crypt")))
> ;; GPG key to use for encryption
> ;; Either the Key ID or set to nil to use symmetric encryption.
> (setq org-crypt-key "some-key")
>
>
>
> Peter Davis writes:
>
>> I'd like to store information in an org page that gets automatically encrypted when I save it, and decrypted when I open it. Is
>> there some built-in functionality or hooks for this?
>>
>> Thank you,
>> -pd
>
> --
> 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

  reply	other threads:[~2015-08-13 14:53 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 [this message]
2015-08-14  8:01   ` Sebastien Vauban
2015-08-14 10:48     ` John Kitchin
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=6sw6c7oaibxmso.fsf@dhcp-6-148.hmco.com \
    --to=pfd@pfdstudio.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jkitchin@andrew.cmu.edu \
    /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.