[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Including an active timestamp in encrypted (crypt) org entries
From: |
Nick Dokos |
Subject: |
Re: [O] Including an active timestamp in encrypted (crypt) org entries |
Date: |
Sun, 15 Jan 2012 03:23:04 -0500 |
[2nd attempt: I think the first one went astray]
Marcelo de Moraes Serpa <address@hidden> wrote:
> So I timestamp everything I input into my (org-based) GTD system (except for
> inbox items, that I'm
> sure I will review soon anyway). Here's how I do it:
>
> * Sample entry
> <2012-01-15 Sun 00:52>
>
> I have (org-insert-time-stamp nil t nil) bound to C-x C-y and I just insert
> it below the entry. This
> makes for a nice chronologic history of every data in the system.
>
> However, I have a problem with encrypted entries. Of course, if I add it as
> part of the content to be
> encrypted, it will not appear as plain text, but i tried to do like this:
>
> 1) Create the entry:
>
> * Sample Entry
>
> 2) Write its contents
> 3) Tag with :crypt:
>
> * Sample Entry :crypt:
>
> 3) Save the buffer. The contents are now encrypted:
>
> * Sample Entry :crypt:
> -----BEGIN PGP MESSAGE-----
> Version: GnuPG v1.4.11 (Darwin)
>
> hQEMA7MmqOB5vxnzAQgAy6tE4lj1uLMaAm8+dPL9N2LHxZsH+VWyiig6gY1rE0M0
> Y1wDLDPYTIR+AUoSMGmU4S+9DZ9v4xoTBev4tjhtZIA9Lvw6aqf3Xlb2YGTJCCeq
> ...
> -----END PGP MESSAGE-----
>
> 4) Add the timestamp *before* the --BEGIN PGP MESSAGE-- line:
>
> * Sample Entry :crypt:
> <2012-01-15 Sun 00:52>
> -----BEGIN PGP MESSAGE-----
> ...
>
> 5) Save again.
>
> Expected: Encrypted message and timestamp to stay as is.
> What happens: A new encrypted message is written, with the timestamp + the
> "old" encrypted message as
> part of it.
>
> Any hints appreciated :)
Maybe (untried, untested) put the timestamp on the headline?
* Sample entry <2012-01-15 Sun 00:52> :crypt:
Nick