From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maurice Boucher Subject: Re: Org-mode and GPG (EasyPG) Date: Sun, 02 Aug 2009 12:58:44 +0200 Message-ID: <871vnu7a8r.fsf@lonovo.maison.ici> References: <878wifjjx8.wl%ks@mocker.org> <87bpnb2g20.wl%ucecesf@ucl.ac.uk> <4a68e68c.0c58560a.7f9e.14d2@mx.google.com> <87hbx3t3do.wl%ucecesf@ucl.ac.uk> <87skgma1sv.fsf@lonovo.maison.ici> <87fxcm2z9j.wl%ucecesf@ucl.ac.uk> <87ab2lnd6r.wl%ks@mocker.org> Reply-To: maurice.boucher@wanadoo.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXYlm-0007FF-4o for emacs-orgmode@gnu.org; Sun, 02 Aug 2009 06:58:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXYlh-0007AC-Al for emacs-orgmode@gnu.org; Sun, 02 Aug 2009 06:58:25 -0400 Received: from [199.232.76.173] (port=53623 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXYlh-0007A9-4c for emacs-orgmode@gnu.org; Sun, 02 Aug 2009 06:58:21 -0400 Received: from main.gmane.org ([80.91.229.2]:38911 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MXYlg-0008PS-Ji for emacs-orgmode@gnu.org; Sun, 02 Aug 2009 06:58:20 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MXYlZ-0000E3-HJ for emacs-orgmode@gnu.org; Sun, 02 Aug 2009 10:58:13 +0000 Received: from acaen-252-1-190-106.w90-62.abo.wanadoo.fr ([90.62.238.106]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Aug 2009 10:58:13 +0000 Received: from maurice.boucher by acaen-252-1-190-106.w90-62.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Aug 2009 10:58:13 +0000 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: emacs-orgmode@gnu.org Hello, Kyle Sexton disait le 31/07/2009 que : > Does this mean you were able to get the agenda view working with > EasyPG as well? In my .emacs, I have : ,---- | (require 'epa) | (epa-file-enable) | (setq epa-file-cache-passphrase-for-symmetric-encryption t) `---- I run the command : M-x epa-encrypt-file in mini-buffer, I enter the name of my file : secret_filel.org In the dialog buffer, ,---- | Select recipients for encryption. | If no one is selected, symmetric encryption will be performed. | - `m' to mark a key on the line | - `u' to unmark a key on the line | [Cancel][OK] `---- I hit ok for symetric encryption, emacs asks me to type twice my passphrase. I get a new file : secret_file.org.gpg, I load it and add it ( C-c [ ) to my agenda files. Next time, if I want to see my agenda view, I have to give my passphrases that are required for every encrypted files. I run emacs23 like server in screen (the screen manager) at startup, this last action (typing passphrases) does not need to be repeated everytime because I run my agenda views in emacsclients. Maurice