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.
[-- Attachment #1.1: Type: text/plain, Size: 322 bytes --] 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 [-- Attachment #1.2: Type: application/pgp-signature, Size: 197 bytes --] [-- Attachment #2: Type: text/plain, Size: 201 bytes --] _______________________________________________ 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
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 <julien@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
>
[-- Attachment #1.1: Type: text/plain, Size: 411 bytes --] 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 [-- Attachment #1.2: Type: application/pgp-signature, Size: 197 bytes --] [-- Attachment #2: Type: text/plain, Size: 201 bytes --] _______________________________________________ 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
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
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)
[-- Attachment #1.1: Type: text/plain, Size: 255 bytes --] 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 [-- Attachment #1.2: Type: application/pgp-signature, Size: 835 bytes --] [-- Attachment #2: Type: text/plain, Size: 201 bytes --] _______________________________________________ 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
Julien Danjou <julien@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)