Aric Gregson <aorc...@mac.com> writes:

> Hello,
>
> I have a gpg encrypted org file in my org directory that I have tracked
> time on. I would like this to show up in the Agenda view when I create
> it and have logging on, but it seems that logged time from the gpg file
> is not included in the agenda. I have loaded the module org-crypt, but
> that does not seem to do anything different. I should note that I
> encrypted it outside of org-mode, I used just the emacs 'Encrypt-file'
> function. 
>
> Must the file be encrypted from within org mode? Or is this just
> something you cannot do? 
>
> Thanks, Aric

I don't think that's how org-crypt works: IIUC it only provides for
encrypting individual entries in an otherwise non-encrypted file. But both
whole-file encryption and per-tree encryption are going to have the same
problem regarding the agenda: there's nothing in the agenda generation
code which says "decrypt all agenda files and everything in them".
Without that, org can't extract agenda data from them.

I could see an argument for automatic decryption, but you'd want to be
pretty careful about it -- org-crypt goes to some lengths help you keep
decrypted data from being saved to disk.

E


Reply via email to