[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Revert "Fix encrypt/decrypt in presence of arbitrary drawers"
From: |
Nicolas Goaziou |
Subject: |
Revert "Fix encrypt/decrypt in presence of arbitrary drawers" |
Date: |
Sun, 13 Sep 2020 10:44:09 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
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
- Revert "Fix encrypt/decrypt in presence of arbitrary drawers",
Nicolas Goaziou <=