From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darlan Cavalcante Moreira Subject: Re: org-crypt and org-mobile-crypt; user info? Date: Thu, 21 Oct 2010 17:05:01 -0300 Message-ID: <4cc09cf5.0d11640a.13b1.6134@mx.google.com> References: Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Return-path: Received: from [140.186.70.92] (port=48405 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P91Nz-0000Pr-DF for emacs-orgmode@gnu.org; Thu, 21 Oct 2010 16:05:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P91Nw-0008GF-Vw for emacs-orgmode@gnu.org; Thu, 21 Oct 2010 16:05:14 -0400 Received: from mail-yw0-f41.google.com ([209.85.213.41]:62018) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P91Nw-0008G7-TP for emacs-orgmode@gnu.org; Thu, 21 Oct 2010 16:05:12 -0400 Received: by ywp4 with SMTP id 4so61116ywp.0 for ; Thu, 21 Oct 2010 13:05:11 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Magnus Nilsson Cc: emacs-orgmode@gnu.org 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 "XXXXXXXX") --8<---------------cut here---------------end--------------->8--- where the XXXXXXXX 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 wrote: > > [1 ] > [1.1 ] > 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 ] > > [2 ] > _______________________________________________ > 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