Hello, "Daniel E. Doherty" <d...@ddoherty.net> writes:
> I am trying to use org-crypt to encrypt certain headings, but when I invoke > org-crypt-entry on an entry with properties, it encrypts the properties as > well. From the manual, "Org-crypt will encrypt the text of an entry, but not > the headline, or properties" it would appear that its not supposed to do that. > > It causes a problem if the file is synced with org-caldav, which adds an UID > property if one does not exist. To it, an encrypted entry always looks like > the property does not exist, so it always adds a new one, resulting in a > series of nested encryptions. I can recover the original only by decrypting, > deleting the PROPERTIES drawer, and repeating until the clear text appears. > > For example, with this entry: > > ========================================================================= > * Test this with Crypt > :PROPERTIES: > :JUNK: Nothing > :END: > > Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod > tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, > quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo > consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse > cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non > proident, sunt in culpa qui officia deserunt mollit anim id est laborum. > > ========================================================================= > > After I run org-encrypt-entry on the headline, I get this: > > ========================================================================= > * Test this with Crypt > > > ========================================================================= > > Notice that the property drawer got encrypted. Am I reading the manual right, > that this should not happen? Fixed. Thank you. Regards, -- Nicolas Goaziou