From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Giannandrea Castaldi Newsgroups: gmane.emacs.help Subject: file encryption Date: Sun, 07 Nov 2004 12:13:35 +0100 Organization: Tiscali Spa Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1099826279 1832 80.91.229.6 (7 Nov 2004 11:17:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 Nov 2004 11:17:59 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 07 12:17:53 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CQl3R-00055F-00 for ; Sun, 07 Nov 2004 12:17:53 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQlBj-00083J-4c for geh-help-gnu-emacs@m.gmane.org; Sun, 07 Nov 2004 06:26:27 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!draco.tiscalinet.it!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Original-NNTP-Posting-Host: ppp-217-133-141-179.cust-adsl.tiscali.it Original-X-Trace: lacerta.tiscalinet.it 1099826109 27499 217.133.141.179 (7 Nov 2004 11:15:09 GMT) Original-X-Complaints-To: abuse@tiscali.it Original-NNTP-Posting-Date: 7 Nov 2004 11:15:09 GMT User-Agent: Mozilla Thunderbird 0.8 (X11/20040926) X-Accept-Language: en-us, en X-Enigmail-Version: 0.86.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Original-Xref: shelby.stanford.edu gnu.emacs.help:126412 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21801 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21801 Hi, I'd like to manage encrypted text files with emacs so that I don't need to use gpg to encrypt/decrypt them. I've found mc-auto-encrypt.el and to use it I have: * generated a keypair for my user with gpg and try it to encrypt/decrypt a text file * added (require 'mc-auto-encrypt) in my .emacs * installed mailcrypt * added at the end of my file the following line: Local Variables: eval:(mc-auto-encrypt) End: When I open my file emacs ask me: Process `eval' or hook local variables in file myusers.txt (y or no) and I answer yes (by now I prefer no enable it in .emacs). Then emacs said: File local-variables error: (error "Found no encrypted message in this buffer.") I suppose because now the file isn't encrypted. Then I try to save the file and emacs ask me for recipient (I suppose that is mailcrypt) and I press return now emacs ask me to sign the message (really I'd like to encrypt it) and I said yes but emacs said that my user doesn't have a GPG secret key (I've used it with the command gpg). Why emacs doesn't see my secret key in ~/.gnupg? I'm working in linux debian even if I need to use emacs + mc-auto-encrypt.el also on Windows. Thansk a lot. Giannandrea