emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Marcelo de Moraes Serpa <celoserpa@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Encrypting org-mode files
Date: Sat, 29 Jan 2011 21:47:41 +0000	[thread overview]
Message-ID: <87r5bv5qma.fsf@ucl.ac.uk> (raw)
In-Reply-To: <sa34o8wjadl.fsf@cigue.easter-eggs.fr> (Julien Danjou's message of "Wed, 26 Jan 2011 10:13:26 +0100")

Julien Danjou <julien@danjou.info> writes:

> On Wed, Jan 26 2011, Marcelo de Moraes Serpa wrote:
>> Is there a way to use full encryption and still have it integrate
>> seamlessly with the org agenda?
> Create a file named myfile.org.gpg, and EPA should kicks in and store it
> crypted. Then just add this file to the list of org-agenda-files. EPA
> will ask your passphrase to decrypt in on opening.

I've been using org.gpg files for a while for encrypting information
and everything works just fine.  However, trying to add such a file to
my org-agenda-files list means I end up having to type in my passphrase
quite often.  I know that EPA will allow caching of passphrases but this
is discouraged for security reasons.  Instead, one is advised to use

Does anybody have any experience with gnupg-agent?  It's working, in
that I get prompted for my passphrase and the files are decrypted (or
encrypted, as the case may be) but my passphrase is not cached.  I have
configured my ~/.gnupg/gpg-agent.conf file with:

--8<---------------cut here---------------start------------->8---
debug-level advanced
default-cache-ttl 14400
log-file /home/ucecesf/tmp/gpg-agent-log
max-cache-ttl 14400
pinentry-program /usr/bin/pinentry
--8<---------------cut here---------------end--------------->8---

and it does seem to be used (debugging is enabled and so is the log
file).  However, still not caching.

Any suggestions?


: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs
: using Org-mode version 7.4 (release_7.4.259.ge612d.dirty)

  reply	other threads:[~2011-01-29 21:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-17  2:59 Encrypting org-mode files Marcelo de Moraes Serpa
2011-01-17 10:37 ` Julien Danjou
2011-01-26  1:40   ` Marcelo de Moraes Serpa
2011-01-26  9:13     ` Julien Danjou
2011-01-29 21:47       ` Eric S Fraga [this message]
2011-01-31 20:11         ` Julien Danjou
2011-02-01 19:23           ` Eric S Fraga

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:

  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=87r5bv5qma.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=celoserpa@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* 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


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).