You could just mount an encrypted drive.
Requires no special handlig.
(I know, not for all occasions, but it works well in many cases instead of
encrypting your file individually.)



On Wed, Aug 20, 2014 at 1:18 PM, dastagg <[email protected]> wrote:

> Well...
> 1) I forgot that 3.0 doesn't like the -*- directives so by just commenting
> that out allows most of the commands to work correctly.
>
> However
> 2) When you run a report (i.e. C-c C-o C-r bal) it will not run correctly
> because it is being run at the shell and since the file is only being
> decrypted within Emacs, the Ledger command will attempt to read the
> encrypted file and will fail.
>
> So
> 3) I would have to add the gpg decrypt command to the "run the report"
> command in order for that to work.
>
>
>
> On Wednesday, August 20, 2014 11:56:09 AM UTC-4, dastagg wrote:
>>
>> I have gnupg setup and easyPG is working (it prompts me for the passcode).
>>
>> I open the file with the following at the top:
>> -*- mode: ledger -*- -*- epa-file-encrypt-to: ("[email protected]") -*-
>>          <-- I have the correct email key there
>>
>> It pulls in the file, I get the "Good Ledger File" message in the
>> modeline.
>>
>> BUT...
>> When I when I put the point on an account and run C-c C-p it gives the
>> error:
>> "Buffer is read only: #<buffer *Ledger Error*>
>>
>> If I comment out that top line, everything works fine.
>>
>> I have a feeling it is a problem with the epa-file-encrypt part as I have
>> seen some error messages making a reference to the quotes but not sure what
>> the proper format is.
>>
>> Thanks
>>
>>  --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Ledger" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Ledger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to