From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#12696: 24.2.50; epa bug with gpg-agent Date: Sun, 21 Oct 2012 12:40:24 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1350837685 4249 80.91.229.3 (21 Oct 2012 16:41:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Oct 2012 16:41:25 +0000 (UTC) To: 12696@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 21 18:41:33 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TPyaj-0004k2-0f for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Oct 2012 18:41:33 +0200 Original-Received: from localhost ([::1]:40411 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPyab-0007CC-Mo for geb-bug-gnu-emacs@m.gmane.org; Sun, 21 Oct 2012 12:41:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPyaY-0007AO-9z for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2012 12:41:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TPyaW-0004lb-Om for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2012 12:41:22 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPyaW-0004lW-Lx for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2012 12:41:20 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TPycA-0007lQ-4z for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2012 12:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Oct 2012 16:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12696 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.135083774629797 (code B ref -1); Sun, 21 Oct 2012 16:43:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Oct 2012 16:42:26 +0000 Original-Received: from localhost ([127.0.0.1]:54580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TPybZ-0007kY-Sy for submit@debbugs.gnu.org; Sun, 21 Oct 2012 12:42:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39828) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TPybV-0007kI-NN for submit@debbugs.gnu.org; Sun, 21 Oct 2012 12:42:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TPyZl-0004Pg-8o for submit@debbugs.gnu.org; Sun, 21 Oct 2012 12:40:34 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:49914) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPyZl-0004Pc-6A for submit@debbugs.gnu.org; Sun, 21 Oct 2012 12:40:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38124) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPyZj-00074r-33 for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2012 12:40:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TPyZc-0004Ns-R4 for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2012 12:40:30 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:50423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TPyZc-0004No-NF for bug-gnu-emacs@gnu.org; Sun, 21 Oct 2012 12:40:24 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TPyZc-0003K9-2i; Sun, 21 Oct 2012 12:40:24 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65815 Archived-At: This bug report will be sent to the Bug-GNU-Emacs mailing list and the GNU bug tracker at debbugs.gnu.org. Please check that the From: line contains a valid email address. After a delay of up to one day, you should receive an acknowledgment at that address. Please write in English if possible, as the Emacs maintainers usually do not have translators for other languages. Please describe exactly what actions triggered the bug, and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': EPA fails when trying to use gpg-agent. gpg-agent works when I run gpg from a shell specifying --use-agent. I tested this in a situation where gpg-agent already had my passphrase. I did emacs -Q; C-x m; inserted `rms' in To field, `Test' as Subject, and `Testing' as body. I did M-x epa-mail-encrypt, which encrypted. Then I did M-x epa-mail-decrypt, and it gave me the error epg--check-error-for-decrypt: peculiar error: "Decryption failed", "" The same test, conducted without the GPG agent, successfully decrypts (after asking me for my passphrase). If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. For information about debugging Emacs, please read the file /home/rms/emacs-bzr/trunk/etc/DEBUG. In GNU Emacs 24.2.50.1 (mips64el-unknown-linux-gnu, GTK+ Version 2.12.12) of 2012-10-20 on chiefs-gnewsense Bzr revision: 110610 rgm@gnu.org-20121021013546-97l6862aw3mmsbd4 System Description: gNewSense mipsel-l Configured using: `configure 'CFLAGS=-O0 -g' '--with-gif=no' '--with-tiff=no'' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: gpm-mouse-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: C-x m r m s C-n C-n C-n C-n T e s t i n g . RET ESC x e p a SPC m a i l SPC e n c TAB RET y ESC x e p d DEL a d RET C-x C-f . e m a c s RET C-s e p a d C-n C-n C-n C-n C-n C-n C-h f RET C-x o TAB RET C-x 1 C-u C-n C-n C-n TAB RET C-_ ESC f C-h f RET C-x o TAB RET C-x 1 C-v C-n C-p ESC f C-h f RET C-x o TAB RET x 1 C-_ C-x 1 C-v C-u C-n C-n C-n C-n C-n C-n C-n ESC f ESC f ESC f ESC f C-h f RET C-x o TAB RET C-x 1 C-u C-n C-u C-n C-n ESC f C-h f RET C-x o TAB RET C-x 1 C-u C-n C-u C-u C-n C-u C-p C-p C-p C-p ESC f C-h f RET C-x o TAB RET C-x 1 C-x C-g ESC : ( g e t e v f DEL v DEL DEL n v SPC " G P G _ A G E N T _ I N F O " ) RET C-v ESC < ESC x r e p o r t SPC e m a s SPC DEL c s SPC u g DEL DEL b u g RET Recent messages: Undo! Type C-x 1 to delete the help window. mouse-2, RET: find function's definition Type C-x 1 to delete the help window. mouse-2, RET: find function's definition Type C-x 1 to delete the help window. mouse-2, RET: find function's definition "/tmp/gpg-hfrLmv/S.gpg-agent:14570:1" Auto-saving...done Mark set Load-path shadows: None found. Features: (shadow emacsbug vc-bzr find-func help-mode help-fns misearch multi-isearch epa-mail epa derived epg epg-config mailalias rmailmm message sendmail format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader mail-parse rfc2231 dired t-mouse time-date rmailedit rmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils paren cus-start cus-load tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call