Ihor Radchenko <[email protected]> writes: > David Masterson <[email protected]> writes: > >> Anyone using org-crypt? >> >> If you have some things encrypted in your Org file with org-crypt, >> how do you export the file to (say) ASCII text with everything >> unencrypted? Exporting would save the file first which would cause >> the file to be re-encrypted during the save. Use case: you want to >> print out a copy of your unencrypted file to someone you trust. > > 1. org-export-before-parsing-functions 2. org-decrypt-entries
I think I get it. #1 is called on the export buffer, so the org buffer has already been encrypted and saved. Calling #2 in #1 will then decrypt the export buffer. The export buffer is temporary, so, will not compromise security. I'll have to test that to see if the interface works as I think #2 will ask for a decrypt password for each entry that needs decrypting. Thanks
