emacs-orgmode@gnu.org archives
 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


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:

It's a secret to everyone.

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.

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 public inbox


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