emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Org-mode and GPG (EasyPG)


From: Eric S Fraga
Subject: Re: [Orgmode] Org-mode and GPG (EasyPG)
Date: Thu, 23 Jul 2009 23:56:35 +0100
User-agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.7 Emacs/23.0.96 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

At Fri, 24 Jul 2009 00:39:07 +0200, Richard Riley wrote:
> Eric S Fraga <address@hidden> 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: ("address@hidden") -*-
> `----
> 
> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]