At Fri, 24 Jul 2009 00:39:07 +0200, Richard Riley wrote:
> Eric S Fraga <ucec...@ucl.ac.uk> writes:
> > 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: ("r...@richardriley.net") -*-
> `----
> 
> and I dont call epa-file.
> 
> Works fine for me with emacs-snapshot on Debian Lenny.

Very strange.  I did also have the file settings you have (obviously
with my pgp ident, not yours ;-).  I've removed the epa-file-enable
and have included the setenv line you have but I still get the same
error as before.  The backtrace on error doesn't tell me anything
interesting, unfortunately:

,----
| Debugger entered--Lisp error: (file-error "Opening output file" 
integer-or-marker-p nil)
|   signal(file-error ("Opening output file" integer-or-marker-p nil))
|   byte-code("�       \"��
\nš����AB\"�" [file epa-file-passphrase-alist entry error assoc nil signal 
file-error "Opening output file"] 4)
|   epa-file-write-region(nil nil "/home/ucecesf/s/personal/private.org.gpg" 
nil t)
|   apply(epa-file-write-region (nil nil 
"/home/ucecesf/s/personal/private.org.gpg" nil t))
|   epa-file-handler(write-region nil nil 
"/home/ucecesf/s/personal/private.org.gpg" nil t)
|   write-region(nil nil "/home/ucecesf/s/personal/private.org.gpg" nil t 
"~/synced/personal/private.org.gpg")
|   basic-save-buffer-2()
|   basic-save-buffer-1()
|   basic-save-buffer()
|   save-buffer(1)
|   call-interactively(save-buffer nil nil)
`----

Thanks,
eric


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to