emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Dmitri Minaev" <minaev@gmail.com>
To: Xavier Maillard <xma@gnu.org>
Cc: anupamsg@gmail.com, emacs-orgmode@gnu.org
Subject: Re: Re: Feature request: Selective encryption
Date: Wed, 5 Sep 2007 09:18:38 +0500	[thread overview]
Message-ID: <b6c377310709042118n2b5eacf6p8a9df6978255d4cc@mail.gmail.com> (raw)
In-Reply-To: <200709050100.l85105RE006141@localhost.localdomain>

On 9/5/07, Xavier Maillard <xma@gnu.org> wrote:
>    I use crypt++.el, and I save the encrypted files with double
>    extension: filename.org.gpg. Such files are opened in org-mode after
>    decryption.
>
> Do you have code to automatically decrypt your org file when
> selecting them -i.e. find-file and friends ?

Er, well, nothing special. Just the very basic

(require 'crypt++)
(setq crypt-encryption-type 'gpg)

When I try to find-file or write-file with the extension .gpg, it asks
me for a password, de-/encrypts it and sets the current major mode
depending on the part of the filename immediately preceding .gpg. So,
when I open my pwd.org.gpg list, it's opened in org-mode.

-- 
With best regards,
Dmitri Minaev

Russian history blog: http://minaev.blogspot.com

  reply	other threads:[~2007-09-05  4:18 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
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 [this message]
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=b6c377310709042118n2b5eacf6p8a9df6978255d4cc@mail.gmail.com \
    --to=minaev@gmail.com \
    --cc=anupamsg@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=xma@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).