From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ian Barton Newsgroups: gmane.emacs.help Subject: Problem with EasyPG and gpg.conf Date: Mon, 31 Jan 2011 09:42:57 +0000 Message-ID: <4D468421.3060301@manor-farm.org> Reply-To: lists@manor-farm.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1296491409 631 80.91.229.12 (31 Jan 2011 16:30:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 31 Jan 2011 16:30:09 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 31 17:30:04 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pjwdf-0002EM-Rg for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Jan 2011 17:30:04 +0100 Original-Received: from localhost ([127.0.0.1]:35656 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pjwde-0002BM-UM for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Jan 2011 11:30:03 -0500 Original-Received: from [140.186.70.92] (port=59136 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PjqIe-0003a2-QV for help-gnu-emacs@gnu.org; Mon, 31 Jan 2011 04:43:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PjqI7-00063b-Ti for help-gnu-emacs@gnu.org; Mon, 31 Jan 2011 04:43:24 -0500 Original-Received: from mail.ian-barton.com ([109.74.196.44]:41124 helo=li40-130.members.linode.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PjqI7-00061Z-PK for help-gnu-emacs@gnu.org; Mon, 31 Jan 2011 04:43:23 -0500 Original-Received: from localhost (mail.wilkesley.org [127.0.0.1]) by li40-130.members.linode.com (Postfix) with ESMTP id B1E98A07F for ; Mon, 31 Jan 2011 09:42:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at li40-130.members.linode.com Original-Received: from li40-130.members.linode.com ([127.0.0.1]) by localhost (mail.manor-farm.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HS+IJfD361NV for ; Mon, 31 Jan 2011 09:42:58 +0000 (UTC) Original-Received: from [192.168.0.133] (unknown [217.146.125.41]) (Authenticated sender: ian@manor-farm.org) by li40-130.members.linode.com (Postfix) with ESMTPSA id 81C30A07E for ; Mon, 31 Jan 2011 09:42:58 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 109.74.196.44 X-Mailman-Approved-At: Mon, 31 Jan 2011 11:25:47 -0500 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: news.gmane.org gmane.emacs.help:78871 Archived-At: I would like to be able to use gnupg-agent with EasyPG. However, I am having some problems. First I am using GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.21.6) of 2010-09-01 on americium, modified by Debian. In my .emacs I have: (require 'epa) (epa-file-enable) (setq epg-gpg-program "/usr/bin/gpg")) I am using EasyPG to encrypt/decrypt an org mode file. This works as expected. However, as soon as I change any of the options in my gpg.conf file (the default has everything commented out) I get a "File exists, but cannot be read" error. When this happens and I do M-x epa-list-keys, no keys are listed. If I comment out everything in gpg.conf M-x epa-list-keys shows my list of keys. Ian.