[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Org-mode and GPG (EasyPG)
From: |
Richard Riley |
Subject: |
Re: [Orgmode] Org-mode and GPG (EasyPG) |
Date: |
Fri, 24 Jul 2009 00:39:07 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) |
Eric S Fraga <address@hidden> writes:
> At Thu, 23 Jul 2009 14:09:23 -0500,
> Kyle Sexton wrote:
>>
>> Currently I'm using org-mode with EasyPG and it works great. Files
>
> Kyle,
>
> can you tell me exactly how you are doing this? I used to do this
> just fine but something broke about 6 months ago and I'm no longer
> able to encrypt the file automatically when saving. That is, it
> decrypts just fine and I can edit the file but I get an error when
> trying to save it:
>
> ,----
> | byte-code: Opening output file: integer-or-marker-p, nil
> `----
>
> What settings do you have for EasyPG? All I have are:
>
> ,----
> | ;; ------------------------------------------ EASYPG
> | (require 'epa)
> | (epa-file-enable)
> | (setq epa-file-cache-passphrase-for-symmetric-encryption t)
> `----
I have the cache setting above plus
,----
| (setenv "GPG_AGENT_INFO" nil)
`----
Which means emacs prompts you for the pass. I also have the following at
the top of the org (gpg extension) file fwiw:
,----
| -*- mode: org -*- -*- epa-file-encrypt-to: ("address@hidden") -*-
`----
and I dont call epa-file.
Works fine for me with emacs-snapshot on Debian Lenny.