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

2010-10-21 Thread Magnus Nilsson
Dear subscribers,

I haven't found much information about org-crypt and org-mobile-crypt.  Will
these topics be expanded in the org-manual?

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.)
2. Encrypt files on the Dropbox server, in a transparent way, so that I do
not need to use passwords to sync between org and Iphone (which I let Emacs
do automatically once each day).

Thanks in advance,
Magnus
___
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] org-crypt and org-mobile-crypt; user info?

2010-10-21 Thread Darlan Cavalcante Moreira

I'm new to org-crypt, but I was able to make it work last week. First, I
created a PGP key using seahorse (not required, but make thinks easier).

Then I put the code below in my .emacs file
--8---cut here---start-8---
(require 'org-crypt)
(org-crypt-use-before-save-magic) ; Encrypts everything with the crypt tag
  ; when the buffer is saved
(setq org-tags-exclude-from-inheritance (quote (crypt)))
(setq org-crypt-key )
--8---cut here---end---8---
where the  is the ID of my PGP key in seahorse. With this all
headings with the tag crypt will be encrypted when the file is saved.

If I want to see the content I run the command org-decrypt-entry (or
org-decrypt-entries to decrypt all headings in the file). When I save the
file again everything will be encrypted.

I'm only asked for the password of my PGP key when I want to decrypt a
heading. If you do don't want to create a PGP key then I think you will
need to set a property in the heading with the crypt key and org will ask
you for a password to encrypt the heading.

--
Darlan

At Thu, 21 Oct 2010 21:43:10 +0200,
Magnus Nilsson magnus.nils...@alumni.chalmers.se wrote:
 
 [1  multipart/alternative (7bit)]
 [1.1  text/plain; ISO-8859-1 (7bit)]
 Dear subscribers,
 
 I haven't found much information about org-crypt and org-mobile-crypt.  Will
 these topics be expanded in the org-manual?
 
 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.)
 2. Encrypt files on the Dropbox server, in a transparent way, so that I do
 not need to use passwords to sync between org and Iphone (which I let Emacs
 do automatically once each day).
 
 Thanks in advance,
 Magnus
 [1.2  text/html; ISO-8859-1 (quoted-printable)]
 
 [2  text/plain; us-ascii (7bit)]
 ___
 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

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

2010-10-21 Thread Greg Troxel

  2. Encrypt files on the Dropbox server, in a transparent way, so that I do
  not need to use passwords to sync between org and Iphone (which I let Emacs
  do automatically once each day).

This is what MobileOrg's encryption is for. You set a password in your
.emacs and then the same one on MobileOrg and the files in
dropbox/webdav are encrypted, and there is no hassle.  Note that
MobileOrg only has encrypttion support in the beta 1.5, not the released
1.4 - I have a beta and am using it/testing it.


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