emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-crypt
@ 2010-12-19 17:35 kelaouchi
  2010-12-20 18:42 ` org-crypt Bernt Hansen
  0 siblings, 1 reply; 2+ messages in thread
From: kelaouchi @ 2010-12-19 17:35 UTC (permalink / raw)
  To: emacs-orgmode

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 ?

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: org-crypt
  2010-12-19 17:35 org-crypt kelaouchi
@ 2010-12-20 18:42 ` Bernt Hansen
  0 siblings, 0 replies; 2+ messages in thread
From: Bernt Hansen @ 2010-12-20 18:42 UTC (permalink / raw)
  To: kelaouchi; +Cc: emacs-orgmode

kelaouchi <kelaouchi@gmail.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-20 18:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-19 17:35 org-crypt kelaouchi
2010-12-20 18:42 ` org-crypt Bernt Hansen

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).