From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.bugs Subject: bug#22405: 25.1.50; Recent changes break epg's ability to read from the gpg card Date: Mon, 08 Feb 2016 11:04:11 +0900 Message-ID: References: <87oacidona.fsf@glaurung.internal.golden-gryphon.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1454897124 19683 80.91.229.3 (8 Feb 2016 02:05:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Feb 2016 02:05:24 +0000 (UTC) To: 22405@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 08 03:05:14 2016 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 1aSbCQ-00061k-16 for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Feb 2016 03:05:10 +0100 Original-Received: from localhost ([::1]:40130 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSbCP-0001QQ-3j for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Feb 2016 21:05:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSbCL-0001Ou-O0 for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 21:05:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSbCI-0004lF-Ih for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 21:05:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSbCI-0004l9-Em for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 21:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aSbCI-00029x-90 for bug-gnu-emacs@gnu.org; Sun, 07 Feb 2016 21:05:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Daiki Ueno Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Feb 2016 02:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22405 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22405-submit@debbugs.gnu.org id=B22405.14548970708245 (code B ref 22405); Mon, 08 Feb 2016 02:05:02 +0000 Original-Received: (at 22405) by debbugs.gnu.org; 8 Feb 2016 02:04:30 +0000 Original-Received: from localhost ([127.0.0.1]:37788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSbBl-00028t-MY for submit@debbugs.gnu.org; Sun, 07 Feb 2016 21:04:29 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:33863) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aSbBk-00028c-EO for 22405@debbugs.gnu.org; Sun, 07 Feb 2016 21:04:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aSbBc-0004bh-AK for 22405@debbugs.gnu.org; Sun, 07 Feb 2016 21:04:23 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aSbBc-0004bc-7S for 22405@debbugs.gnu.org; Sun, 07 Feb 2016 21:04:20 -0500 Original-Received: from du-a.org ([219.94.251.20]:57642 helo=dhcp-217-92.nrt.redhat.com) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aSbBb-0001PO-EU for 22405@debbugs.gnu.org; Sun, 07 Feb 2016 21:04:19 -0500 In-Reply-To: <87oacidona.fsf@glaurung.internal.golden-gryphon.com> (Manoj Srivastava's message of "Mon, 18 Jan 2016 23:17:13 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:112680 Archived-At: Manoj Srivastava writes: > I have a gpg card which I use to store my signing sub keys > on. Sometime between December 15 and January 15th, I can no longer send > gpg signed emails using mml2016 and epg when I use a secring.gpg that > refers to keys on the card. > > I can: > 1. Read mail in Gnus and decrypt encrypted emails sent to me > 2. Load gpg encrypted .el files during startup. > 3. Verify signatures in emails. > > If I try to send a gpg signed message, I get the error with the > back trace appended below. Based on trying to step through the > mml2015-sign function, epg-sign-string returns nil, which leads to the > error. epg does seem to talk to the card: I am prompted for a PIN (not > a passphrase), and the card signature count does get incremented. > > When I replace the secring.pgp with one that contains my mey > itself, I can successfully sign emails. I can consistently reproduce > this failure. I don't see any significant change in epg during that period, but there are potentially several factors (e.g. new GnuPG versions, mml2015 rework) that could cause the problem. Could you try `M-x epa-sign-region' to isolate the problem? Also I would like to ask you to gather more information with the steps described in: http://www.gnu.org/software/emacs/manual/html_node/epa/Bug-Reports.html#Bug-Reports Thanks, -- Daiki Ueno