emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Wiegley <johnw@newartisans.com>
To: emacs-orgmode@gnu.org
Subject: Re: Feature request: Selective encryption
Date: Fri, 31 Aug 2007 15:28:12 -0400	[thread overview]
Message-ID: <m2bqcna4hf.fsf@newartisans.com> (raw)
In-Reply-To: <f1d16773688c3f70ccb93211e8d0051a@science.uva.nl> (Carsten Dominik's message of "Fri\, 31 Aug 2007 16\:04\:59 +0200")

Carsten Dominik <dominik@science.uva.nl> writes:

> I do think this would be a useful feature.  Some properties I'd find useful:
>
> - Use symmetric encryption
>
> - Be able to recognize if an entry is encrypted
>
> - Leave the headline of the entry alone and only encrypt the text below it
> and the subtree, if present
>
> - Support something like a CRYPT tag, leading to automatic encryption when
> the file is saved, to make sure encrypted entries are never saved in clear
> text.
>
> - Use only a single password per file, so once one entry is decrypted,
>   others will open without an additional password prompt.
>
> Something like this.

Yes, this is just what I'm thinking too, though I'd like the option of binding
different CRYPT tags to different keys or passwords.  So, I could have
WORK_CRYPT, HOME_CRYPT, etc., and each would have its own separate protection.
This would allow multiple people to have their own private regions within the
same org-mode file.

allout.el goes a long way toward providing all of the above, I just wasn't
fond of the mechanism (I tried porting it straight to org-mode one day, then
stopped).  For one thing, I want to use my GnuPG public key for encryption,
not a symmetric cipher.  That needs to be configurable.

I should be able to create an external module for this that does not affect
org.el at all, but just adds keybindings to org-mode-map and after-save-hook.

John

  parent reply	other threads:[~2007-08-31 19:28 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-31  3:10 Feature request: Selective encryption John Wiegley
2007-08-31 13:34 ` John Rakestraw
2007-08-31 14:04 ` Carsten Dominik
2007-08-31 15:26   ` John Rakestraw
2007-08-31 19:28   ` John Wiegley [this message]
2007-09-01 10:29     ` Carsten Dominik
2007-09-02  8:20     ` Xavier Maillard
2007-09-02 20:14       ` John Wiegley
2007-09-03  1:00         ` Xavier Maillard
2007-08-31 21:11   ` Austin Frank
2007-09-01  5:10     ` Anupam Sengupta
2007-09-01  6:54       ` Austin Frank
2007-09-03  1:00         ` Xavier Maillard
2007-09-04  4:49       ` Dmitri Minaev
2007-09-05  1:00         ` Xavier Maillard
2007-09-05  4:18           ` Dmitri Minaev
2007-09-10  1:00             ` Xavier Maillard
2007-09-03  1:00     ` Xavier Maillard
2007-09-02  8:20   ` Xavier Maillard
2007-08-31 15:00 ` Bastien
2007-09-02  8:20   ` Xavier Maillard
2007-08-31 15:23 ` Scott Jaderholm
2007-09-02  8:21   ` Xavier Maillard

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=m2bqcna4hf.fsf@newartisans.com \
    --to=johnw@newartisans.com \
    --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).