From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Gijs Hillenius Newsgroups: gmane.emacs.bugs Subject: bug#24718: emacs25.1 + gnus, opening message gives: epg-error "no usable configuration" CMS Date: Tue, 18 Oct 2016 15:59:05 +0200 Organization: Using Emacs' Org Mode Message-ID: <87d1ixyd06.fsf@hillenius.net> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1476799926 32499 195.159.176.226 (18 Oct 2016 14:12:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2016 14:12:06 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) To: 24718@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 18 16:12:02 2016 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 1bwV75-0004ih-03 for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Oct 2016 16:11:31 +0200 Original-Received: from localhost ([::1]:41768 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwV77-0000HR-3Q for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Oct 2016 10:11:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bwUw4-0006yO-B5 for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2016 10:00:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bwUvz-0007ag-HM for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2016 10:00:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60247) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bwUvz-0007aS-8H for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2016 10:00:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bwUvz-0001E7-0W for bug-gnu-emacs@gnu.org; Tue, 18 Oct 2016 10:00:03 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Gijs Hillenius Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Oct 2016 14:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24718 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24718-submit@debbugs.gnu.org id=B24718.14767991574638 (code B ref 24718); Tue, 18 Oct 2016 14:00:02 +0000 Original-Received: (at 24718) by debbugs.gnu.org; 18 Oct 2016 13:59:17 +0000 Original-Received: from localhost ([127.0.0.1]:38204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwUvE-0001Cj-Tq for submit@debbugs.gnu.org; Tue, 18 Oct 2016 09:59:17 -0400 Original-Received: from hillenius.net ([144.76.204.189]:51036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bwUvC-0001CV-MP for 24718@debbugs.gnu.org; Tue, 18 Oct 2016 09:59:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hillenius.net; s=hillenius; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=PHW3kJmB8eb0bRRwVIwwxrOrxWGikepy8/hEhC5rcCk=; b=rdGDZ8DSrGEyn0SgEjY9qi7RouVePw0HublfjIqqbbbKoWl/vYJiGB/py8WyjAWKOyG7Y9atVAtOacKk2i6FQoFIiW7Vlelz0ouXGoxTzTIpwStc8XR4+jFxhvNbs/kNZKKPfq+KeAAjB+VAWWiSHM4eM/S2wgH7dKhVzjFMxCU=; Original-Received: from [2a01:4f8:200:546b:0:9e15:9e15:1000] (helo=bufocogita) by hillenius.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bwUv4-0002Dz-Si for 24718@debbugs.gnu.org; Tue, 18 Oct 2016 15:59:09 +0200 X-Operating-System: Debian GNU/Linux Sid X-Homepage: http://www.hillenius.net/ X-GPG-Fingerprint: 340F F9A4 8F6C 18FD D032 0C33 ABA1 CB30 E997 A3AF 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:124627 Archived-At: Ted asked me to follow up here, so reposting and edited version of my question on gnu.emacs.help. I just started using Debian Emacs 25.1 + Gnus to get to my email. There is one message that gives an epg-error that I've not seen before, and eh, it seems neither has Google (except for pointing me to the source code).. Following the error, the message is displayed as raw. The message is displayed normally under Gnus in emacs24: there the message warns: [[S/MIME Signed Part:Failed]] The error suggests that I need to change/add settings to my Emacs init.el or .gnus file? But what? It Looks like a misconfiguration or bug for handling Apple Mail s/mime multipart messages >From my .gnus, s/mime relate settings: mm-verify-option 'always mm-decrypt-option 'always gnus-buttonized-mime-types '("multipart/alternative" "multipart/encrypted" "mul2tipart/signed") Here is the Backtrace. Debugger entered--Lisp error: (epg-error "no usable configuration" CMS) signal(epg-error ("no usable configuration" CMS)) epg-context--make(CMS nil nil nil nil nil nil) epg-make-context(CMS) mml-smime-epg-verify(((#("multipart/alternative" 0 21 (boundary "Apple-Mail=athirdrandomnumber" buffer # from "name@invalid" start nil)) (# ("text/plain" (charset . "utf-8")) quoted-printable nil ("inline") nil nil nil) (#("multipart/mixed" 0 15 (boundary "Apple-Mail=_somerandomnumberB" buffer # from "name@invalid" start nil)) (# ("text/html" (charset . "utf-8")) quoted-printable nil nil nil nil nil) (# ("application/vnd.oasis.opendocument.text" (name . "attachmentname") (x-unix-mode . "0644")) base64 nil ("attachment" (filename . "attachmentname")) nil nil nil) (# ("text/html" (charset . "us-ascii")) 7bit nil nil nil nil nil))) (# ("application/pkcs7-signature" (name . "smime.p7s")) base64 nil ("attachment" (filename . "smime.p7s")) nil nil nil)) (#("multipart/signed" 0 16 (micalg "sha1" protocol "application/pkcs7-signature" boundary "Apple-Mail=anotherrandomnumber" buffer # from "name@invalid" start nil)) (micalg . "sha1") (protocol . "application/pkcs7-signature") (boundary . "Apple-Mail=anotherrandomnumber"))) mml-smime-verify(((#("multipart/alternative" 0 21 (boundary "Apple-Mail=athirdrandomnumber" buffer # from "name@invalid" start nil)) (# ("text/plain" (charset . "utf-8")) quoted-printable nil ("inline") nil nil nil) (#("multipart/mixed" 0 15 (boundary "Apple-Mail=_somerandomnumberB" buffer # from "name@invalid" start nil)) (# ("text/html" (charset . "utf-8")) quoted-printable nil nil nil nil nil) (# ("application/vnd.oasis.opendocument.text" (name . "attachmentname") (x-unix-mode . "0644")) base64 nil ("attachment" (filename . "attachmentname")) nil nil nil) (# ("text/html" (charset . "us-ascii")) 7bit nil nil nil nil nil))) (# ("application/pkcs7-signature" (name . "smime.p7s")) base64 nil ("attachment" (filename . "smime.p7s")) nil nil nil)) (#("multipart/signed" 0 16 (micalg "sha1" protocol "application/pkcs7-signature" boundary "Apple-Mail=anotherrandomnumber" buffer # from "name@invalid" start nil)) (micalg . "sha1") (protocol . "application/pkcs7-signature") (boundary . "Apple-Mail=anotherrandomnumber"))) mm-possibly-verify-or-decrypt(((#("multipart/alternative" 0 21 (boundary "Apple-Mail=athirdrandomnumber" buffer # from "name@invalid" start nil)) (# ("text/plain" (charset . "utf-8")) quoted-printable nil ("inline") nil nil nil) (#("multipart/mixed" 0 15 (boundary "Apple-Mail=_somerandomnumberB" buffer # from "name@invalid" start nil)) (# ("text/html" (charset . "utf-8")) quoted-printable nil nil nil nil nil) (# ("application/vnd.oasis.opendocument.text" (name . "attachmentname") (x-unix-mode . "0644")) base64 nil ("attachment" (filename . "attachmentname")) nil nil nil) (# ("text/html" (charset . "us-ascii")) 7bit nil nil nil nil nil))) (# ("application/pkcs7-signature" (name . "smime.p7s")) base64 nil ("attachment" (filename . "smime.p7s")) nil nil nil)) (#("multipart/signed" 0 16 (micalg "sha1" protocol "application/pkcs7-signature" boundary "Apple-Mail=anotherrandomnumber" buffer # from "name@invalid" start nil)) (micalg . "sha1") (protocol . "application/pkcs7-signature") (boundary . "Apple-Mail=anotherrandomnumber")) "name@invalid") mm-dissect-multipart((#("multipart/signed" 0 16 (micalg "sha1" protocol "application/pkcs7-signature" boundary "Apple-Mail=anotherrandomnumber" buffer # from "name@invalid" start nil)) (micalg . "sha1") (protocol . "application/pkcs7-signature") (boundary . "Apple-Mail=anotherrandomnumber")) "name@invalid") mm-dissect-buffer(nil t) gnus-display-mime() gnus-article-prepare-display() gnus-article-prepare(1242 nil) gnus-summary-display-article(1242 nil) gnus-summary-select-article(nil nil pseudo) gnus-summary-scroll-up(1) funcall-interactively(gnus-summary-scroll-up 1) call-interactively(gnus-summary-scroll-up nil nil) command-execute(gnus-summary-scroll-up)