all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Revert "Fix encrypt/decrypt in presence of arbitrary drawers"
@ 2020-09-13  8:44 Nicolas Goaziou
  2020-09-13 16:44 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2020-09-13  8:44 UTC (permalink / raw)
  To: Org Mode List

Hello,

I suggest to revert commit c93983613dc9bba88f39f81b06a9813060a4599a from
maint and master branch.

By using (org-end-of-meta-data t), _any_ drawer at the beginning of the
entry is left in clear text. This includes personal drawers you would
like to hide. E.g.,

--8<---------------cut here---------------start------------->8---
* Test                                                                     :crypt:

:SECRET:
It's a secret to everyone.
:END:

This is hidden.

# Local Variables:
# org-crypt-key: nil
# End:
--8<---------------cut here---------------end--------------->8---

Since such data is never needed for encryption, I suggest to stay on the
safe side and encrypt anything below the properties drawer.

Regards,
-- 
Nicolas Goaziou


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

end of thread, other threads:[~2020-09-13 19:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-13  8:44 Revert "Fix encrypt/decrypt in presence of arbitrary drawers" Nicolas Goaziou
2020-09-13 16:44 ` Bastien
2020-09-13 19:25   ` Nicolas Goaziou

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.