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

Eric S Fraga <ucecesf@ucl.ac.uk> 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: ("rgr@richardriley.net") -*-
`----

and I dont call epa-file.

Works fine for me with emacs-snapshot on Debian Lenny.

  reply	other threads:[~2009-07-23 22:39 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 [this message]
2009-07-23 22:56     ` Eric S Fraga
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=4a68e68c.0c58560a.7f9e.14d2@mx.google.com \
    --to=rileyrgdev@googlemail.com \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /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).