emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <ucecesf@ucl.ac.uk>
To: Richard Riley <rileyrgdev@googlemail.com>
Cc: org-mode <emacs-orgmode@gnu.org>
Subject: Re: Org-mode and GPG (EasyPG)
Date: Thu, 23 Jul 2009 23:56:35 +0100	[thread overview]
Message-ID: <87hbx3t3do.wl%ucecesf@ucl.ac.uk> (raw)
In-Reply-To: <4a68e68c.0c58560a.7f9e.14d2@mx.google.com>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-8, Size: 1957 bytes --]

At Fri, 24 Jul 2009 00:39:07 +0200, Richard Riley wrote:
> Eric S Fraga <ucecesf@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: ("rgr@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("Ä\b	\"‰\x12ƒ\r\0\nÅ¡ˆÆÇÈ\vAB\"‡" [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	other threads:[~2009-07-23 22:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-23 19:09 Org-mode and GPG (EasyPG) Kyle Sexton
2009-07-23 22:24 ` Eric S Fraga
2009-07-23 22:39   ` Richard Riley
2009-07-23 22:56     ` Eric S Fraga [this message]
2009-07-24  9:05       ` Maurice
2009-07-24  9:42         ` Eric S Fraga
2009-07-31 14:23           ` Kyle Sexton
2009-08-01 18:43             ` Eric S Fraga, Eric S Fraga
2009-08-02 10:58             ` Maurice Boucher
2009-08-02 11:10               ` Benjamin Andresen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hbx3t3do.wl%ucecesf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    --cc=rileyrgdev@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).