From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: org-crypt Date: Mon, 20 Dec 2010 13:42:00 -0500 Message-ID: <87hbe8thfr.fsf@norang.ca> References: <87ipyp64yl.fsf@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=47051 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PUkgP-0006wC-3Q for emacs-orgmode@gnu.org; Mon, 20 Dec 2010 13:42:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PUkgO-00019n-4w for emacs-orgmode@gnu.org; Mon, 20 Dec 2010 13:42:04 -0500 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:12140) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PUkgO-00019d-1w for emacs-orgmode@gnu.org; Mon, 20 Dec 2010 13:42:04 -0500 In-Reply-To: <87ipyp64yl.fsf@free.fr> (kelaouchi@gmail.com's message of "Sun, 19 Dec 2010 18:35:30 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: kelaouchi Cc: emacs-orgmode@gnu.org kelaouchi writes: > Hello, > > here are my settings for org-crypt : > > (require 'org-crypt) > (org-crypt-use-before-save-magic) > (setq org-tags-exclude-from-inheritance (quote ("crypt"))) > (setq org-crypt-key "C48ED4D2") > > I create a buffer : > > * heading 1 :crypt: > ** subheading 1 > text 1 > ** subheading 2 > text 2 > * heading 2 :crypt: > ** subheading 1 > text 1 > ** subheading 2 > text 2 > > When saving it, "heading 1" and "heading 2" are encrypted. > When trying to org-decrypt-entries, emacs prompts for passphrase one > time. Only "heading 2" is decrypted. I kill buffer; then reopen it and > run org-decrypt-entries. The same : only "heading 2" is decrypted. > > I remove heading 1; create a new heading 1, but this once, tagging > "subheading 1" as crypt instead of "heading 1" : > > * heading 1 > ** subheading 1 :crypt: > text 1 > ** subheading 2 > text 2 > * heading 2 :crypt: > ** subheading 1 > text 1 > ** subheading 2 > text 2 > > I then save and try to run org-decrypt-entries. Emacs prompts twice for > passphrase and everything is well decrypted. > > I run Org-mode version 7.3 on GNU Emacs 23.2.1 > (x86_64-unknown-linux-gnu, GTK+ Version 2.20.0) of 2010-05-08 on > pidsley.hoetzel.info . > > Is it a bug ? Yes it was. It was fixed in git master this morning. Regards, Bernt