[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Automatically encrypt on save, decrypt on open?
From: |
Peter Davis |
Subject: |
Re: [O] Automatically encrypt on save, decrypt on open? |
Date: |
Thu, 13 Aug 2015 11:47:51 -0400 |
Thanks! This might be the best solution, since it's really just one file I want
to encrypt/decrypt.
-pd
Eric S Fraga <address@hidden> writes:
> On Thursday, 13 Aug 2015 at 10:28, Peter Davis wrote:
>> 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?
>
> An alternative to using org's own encryption facility, as others have
> suggested, is to encrypt the file as a whole and let emacs worry about
> it.
>
> If you create an encrypted file (say using gnupg on the command line)
> with the following first line:
>
> # -*- mode: org; epa-file-encrypt-to: ("your key name/email");
> version-control: nil; -*-
>
> then opening the file will start it up in org mode and will encrypt on
> saving.
>
> I prefer this in some cases although I do also use org's capabilities
> for some sections in a file.
- [O] Automatically encrypt on save, decrypt on open?, Peter Davis, 2015/08/13
- Re: [O] Automatically encrypt on save, decrypt on open?, John Kitchin, 2015/08/13
- Re: [O] Automatically encrypt on save, decrypt on open?, Michael Strey, 2015/08/13
- Re: [O] Automatically encrypt on save, decrypt on open?, Eric S Fraga, 2015/08/13
- Re: [O] Automatically encrypt on save, decrypt on open?,
Peter Davis <=
- Re: [O] Automatically encrypt on save, decrypt on open?, Jorge A. Alfaro-Murillo, 2015/08/14