From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: org-crypt symmetric encryption patch Date: Sat, 8 May 2010 07:12:47 +0200 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OAcLQ-0002VV-BI for emacs-orgmode@gnu.org; Sat, 08 May 2010 01:12:56 -0400 Received: from [140.186.70.92] (port=34047 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OAcLN-0002VN-7j for emacs-orgmode@gnu.org; Sat, 08 May 2010 01:12:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OAcLL-00079r-Uu for emacs-orgmode@gnu.org; Sat, 08 May 2010 01:12:53 -0400 Received: from ey-out-1920.google.com ([74.125.78.146]:40587) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAcLL-00079k-QN for emacs-orgmode@gnu.org; Sat, 08 May 2010 01:12:51 -0400 Received: by ey-out-1920.google.com with SMTP id 13so72904eye.2 for ; Fri, 07 May 2010 22:12:51 -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: Peter Jones , Rick Moynihan Cc: org-mode Mode On May 7, 2010, at 5:17 PM, Peter Jones wrote: > Rick Moynihan writes: >> I've patched org-crypt to use symmetric encryption. If org-crypt-key >> is nil a symmetric cipher is used. > > That seems like a pretty simple change. The documentation for > epg-encrypt-string says: > > ,---- > | If RECIPIENTS is nil, it performs symmetric encryption. > `---- > > So, I guess this is right. OK, I have applied this patch. > We should probably update the documentation > for org-crypt to say that if you don't set a crypt key it will default > to symmetric encryption. I have changed this i the file header of org-crypt.el. However, this reminded me hat encryption is no documented in the manual. Would one of you like to identify location in a manual where this would fit in and write a short addition to fix this? Thanks. - Carsten