[Orgmode] Re: org-crypt and org-mobile-crypt; user info?

2010-10-21 Thread Chris Thompson
Magnus Nilsson magnus.nilsson at alumni.chalmers.se writes:

 I would be delighted if anyone could teach me (informatively) how to succeed
with the following two tasks:
  
 1. Encrypt a password-table I keep in an org-file when saved to disk, while
text would be plain in the buffer. (Best if it can be transparent without
passwords, but that is not a must.)

I don't have experience with org-mobile, but the following blog posting answers
your first question:
http://emacs.wordpress.com/2008/07/18/keeping-your-secrets-secret/

Note that you don't have to use org-crypt if the entire buffer is to be
encrypted. Org-crypt is only necessary if you want to mix and match encrypted
and non-encrypted org-mode items in the same file, for example if you want some
items to show up in the agenda.

Also, on Windows and Mac machines, you have to install GNUPG first. It's a
separate download from the mainstream emacs distributions on both platforms.

-- Chris



___
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] Re: org-crypt and org-mobile-crypt; user info?

2010-10-21 Thread Łukasz Stelmach
Magnus Nilsson magnus.nils...@alumni.chalmers.se writes:

 1. Encrypt a password-table I keep in an org-file when saved to disk,
 while text would be plain in the buffer. (Best if it can be transparent
 without passwords, but that is not a must.)

With Emacs the best way IMHO to do it is use GnuPG/epg directly. You do it by
simply naming a new file with an additional .gpg extension after the
real one (.org in our case). So simply

C-x C-f password-table.org.gpg RET

and choose yourself as the recipient of the ciphertext

There are two main advantage of this solution

1. you can access the table without running emacs (with an ssh client on
your mobile?) by simply runnig

gpg  password-table.org

on the command line.

2. Emacs runs gnupg completely seamlessly (if you run gpg-agent which
caches the passphrases)

-- 
Miłego dnia,
Łukasz Stelmach


___
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