emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: emacs-orgmode@gnu.org
Subject: Re: Automatically encrypt on save, decrypt on open?
Date: Fri, 14 Aug 2015 21:11:19 +0200	[thread overview]
Message-ID: <87fv3lznvs.fsf@mbork.pl> (raw)
In-Reply-To: <878u9dhi18.fsf@yale.edu>


On 2015-08-14, at 19:54, Jorge A. Alfaro-Murillo <jorge.alfaro-murillo@yale.edu> wrote:

> 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?
>
> You could save the file as .gpg, and put as its first line
>
> # -*- mode: org-mode -*-

In my setup (and I didn't do anything special, just installed gpg from
Ubuntu repos), it is enough to name the file foo.org.gpg (of course,
I have this: (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))).
 
> Best,

Hth,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

      reply	other threads:[~2015-08-14 19:11 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
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 [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=87fv3lznvs.fsf@mbork.pl \
    --to=mbork@mbork.pl \
    --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).