Re: [Orgmode] Encrypting org-mode files

2011-02-01 Thread Eric S Fraga
Julien Danjou jul...@danjou.info writes:

 On Sat, Jan 29 2011, Eric S Fraga wrote:

 Any suggestions?

 % head -1 .gnupg/gpg.conf
 use-agent

 % cat .gnupg/gpg-agent.conf
 default-cache-ttl 28800
 max-cache-ttl 43200

 That's all I got.

and I had all of these (well, with slightly different values) and it
didn't work.  However, it works now, without changing anything in the
config files.  I think the problem was that I had more than one instance
of the agent invoked which was confusing things (although it shouldn't
have because the environment variables were pointing to only one
instance).

anyway, it's working.  thanks to all that responded!

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.289.ge236d)

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


Re: [Orgmode] Encrypting org-mode files

2011-01-31 Thread Julien Danjou
On Sat, Jan 29 2011, Eric S Fraga wrote:

 Any suggestions?

% head -1 .gnupg/gpg.conf
use-agent

% cat .gnupg/gpg-agent.conf
default-cache-ttl 28800
max-cache-ttl 43200

That's all I got.

-- 
Julien Danjou
❱ http://julien.danjou.info


pgpjZRbaHbeWa.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Encrypting org-mode files

2011-01-29 Thread Eric S Fraga
Julien Danjou jul...@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
gnupg-agent.  

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?

Thanks,
eric

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

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


Re: [Orgmode] Encrypting org-mode files

2011-01-26 Thread Julien Danjou
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.

-- 
Julien Danjou
❱ http://julien.danjou.info


pgplAgcEMTNFk.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Encrypting org-mode files

2011-01-25 Thread Marcelo de Moraes Serpa
Is there a way to use full encryption and still have it integrate
seamlessly with the org agenda?

Thanks,

Marcelo.

On Mon, Jan 17, 2011 at 4:37 AM, Julien Danjou jul...@danjou.info wrote:
 On Mon, Jan 17 2011, Marcelo de Moraes Serpa wrote:

 What is the de-facto way to encrypt using org? I now I can use GnuPG,
 but I'd prefer something that integrates better and auto-decrypts when
 the agenda is triggered.

 Take a look at `org-crypt' package.

 --
 Julien Danjou
 ❱ http://julien.danjou.info


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


Re: [Orgmode] Encrypting org-mode files

2011-01-17 Thread Julien Danjou
On Mon, Jan 17 2011, Marcelo de Moraes Serpa wrote:

 What is the de-facto way to encrypt using org? I now I can use GnuPG,
 but I'd prefer something that integrates better and auto-decrypts when
 the agenda is triggered.

Take a look at `org-crypt' package.

-- 
Julien Danjou
❱ http://julien.danjou.info


pgpWD7BYIz7Et.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Encrypting org-mode files

2011-01-16 Thread Marcelo de Moraes Serpa
What is the de-facto way to encrypt using org? I now I can use GnuPG,
but I'd prefer something that integrates better and auto-decrypts when
the agenda is triggered.

Thanks!

Marcelo.

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