From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Toon Claes Newsgroups: gmane.emacs.bugs Subject: bug#26298: 26.0.50; Gnus fails to sign mail with PGP Date: Mon, 14 Aug 2017 23:19:26 +0200 (CEST) Message-ID: References: <87h92cp9dh.fsf@wilson.bronger.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1502745620 19832 195.159.176.226 (14 Aug 2017 21:20:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 14 Aug 2017 21:20:20 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (darwin) Cc: 26298@debbugs.gnu.org To: Torsten Bronger Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 14 23:20:16 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhMmQ-0004Si-C9 for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Aug 2017 23:20:10 +0200 Original-Received: from localhost ([::1]:55422 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhMmV-0007qq-7F for geb-bug-gnu-emacs@m.gmane.org; Mon, 14 Aug 2017 17:20:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34861) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dhMmO-0007mF-Ew for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2017 17:20:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dhMmI-0006DP-PN for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2017 17:20:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:56654) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dhMmI-0006D5-Km for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2017 17:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dhMmI-0000hO-7C for bug-gnu-emacs@gnu.org; Mon, 14 Aug 2017 17:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Toon Claes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 14 Aug 2017 21:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 26298 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 26298-submit@debbugs.gnu.org id=B26298.15027455772676 (code B ref 26298); Mon, 14 Aug 2017 21:20:02 +0000 Original-Received: (at 26298) by debbugs.gnu.org; 14 Aug 2017 21:19:37 +0000 Original-Received: from localhost ([127.0.0.1]:37101 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhMls-0000h6-N2 for submit@debbugs.gnu.org; Mon, 14 Aug 2017 17:19:36 -0400 Original-Received: from mailout-l3b-97.contactoffice.com ([212.3.242.97]:59610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhMlr-0000gy-9Z for 26298@debbugs.gnu.org; Mon, 14 Aug 2017 17:19:35 -0400 Original-Received: from smtpauth2.co-bxl (smtpauth2.co-bxl [10.2.0.24]) by mailout-l3b-97.contactoffice.com (Postfix) with ESMTP id 1C2AF418; Mon, 14 Aug 2017 23:19:28 +0200 (CEST) Original-Received: from T-437 ([81.83.195.177]) by smtp.contactoffice.com (envelope-from ) with ESMTPA ; Mon, 14 Aug 2017 23:19:26 +0200 (CEST) In-Reply-To: (Toon Claes's message of "Mon, 14 Aug 2017 22:33:27 +0200") X-ContactOffice-Account: com:91601486 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" Xref: news.gmane.org gmane.emacs.bugs:135758 Archived-At: --=-=-= Content-Type: text/plain I have found what is happening. If I add the following line to `mml-secure-epg-sign', I can successfully sign my email: #+begin_src emacs-lisp :tangle yes (setf (epg-context-pinentry-mode context) 'loopback) #+end_src Now I also understand why `epa-sign-file' works, I have set `(setq epa-pinentry-mode 'loopback)' in my init.el. But, I could use some advice on building a proper fix that would work for everyone. We could do something similar like as epa.el does, and add yet another defcustom, but doesn't feel very DRY. So I hope someone can chime in to give some advice. -- Toon --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEqpqkV/lEuXKD1KF3MRQ6gtMrOJcFAlmSE9cACgkQMRQ6gtMr OJcjVxAAiItmz4jGoS2gd5oTrrH4MWjWwD+xXoan8wQwV2DQjmi4yFl/gBg+juZl ITj5Avc4WcCj+AHnjKovGhD2cDiedJbB/BndLQ+zIG7YaBSitvgApEujNFeZUWA6 sx5hDIPXs5ni31HR5xlpT5YZe58GM+0U7nzf15LIH5UtM0VdXkRYurgfhYhOh1Ra H69FcSGVjnN6anEOLsyD7BCkWzcGevyABw+TljxUcFf+BMU1C6y1aG8LZWnlYUAd 87A2U//dZMnmP3wMMD6SJeYOEaP8xCleUQkFbw4AkhcgN+FH3vmrzHI0iPAeh3XA wRMWlsotAE8/sDKCe0MRtiof25ZzV2ARon95SF7/dIARWN3v/lcmGI0PNFk1SM/q a/xRT8nAWG7JcAzCHjwsVE6cgvccxCP5bu0r+kRYb+RQ8HrnnQyHfGk9e0LFRZaN Hkf+r2JeD7RhrGoRXp6bAWTgeFuag5aK3MY1x76zhyGcpRypPC18XD20Pzbb5R50 xlUHFYqK5rEGfskEhG86n/1SLn3oZfr9i/9djK24reu+lfKkWYTyZ3uYQ7hOHxAx a08bPfSnQWv2t98ij2FFUhzm493pKKHUATPM8snyG8epcHD2nXWr7cWMMVsnpfuG 88rgCrqrxb7rEuLPre2Rb0ujbRfBG66xXvA34ZEpWShAXXWs7p8= =Evxs -----END PGP SIGNATURE----- --=-=-=--