From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Sebastian Fieber Newsgroups: gmane.emacs.bugs Subject: bug#40397: 28.0.50; epg decrypt does not verify signed content in smime Date: Sun, 05 Apr 2020 02:37:42 +0200 Message-ID: <87lfna22eh.fsf@web.de> References: <87imih5am2.fsf@web.de> <87r1x4dujl.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="68719"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: 40397@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 05 02:38:37 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jKtJ7-000HmJ-B5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Apr 2020 02:38:37 +0200 Original-Received: from localhost ([::1]:43414 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKtJ5-0007Ab-Tc for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Apr 2020 20:38:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51701) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKtIa-0007AS-Mu for bug-gnu-emacs@gnu.org; Sat, 04 Apr 2020 20:38:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jKtIY-000268-Qt for bug-gnu-emacs@gnu.org; Sat, 04 Apr 2020 20:38:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33448) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jKtIY-00025W-2T for bug-gnu-emacs@gnu.org; Sat, 04 Apr 2020 20:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jKtIX-0003YN-Si; Sat, 04 Apr 2020 20:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sebastian Fieber Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sun, 05 Apr 2020 00:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40397 X-GNU-PR-Package: emacs,gnus Original-Received: via spool by 40397-submit@debbugs.gnu.org id=B40397.158604707113624 (code B ref 40397); Sun, 05 Apr 2020 00:38:01 +0000 Original-Received: (at 40397) by debbugs.gnu.org; 5 Apr 2020 00:37:51 +0000 Original-Received: from localhost ([127.0.0.1]:44994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKtIN-0003Xe-3t for submit@debbugs.gnu.org; Sat, 04 Apr 2020 20:37:51 -0400 Original-Received: from mout.web.de ([212.227.17.12]:60197) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKtIL-0003XC-KH for 40397@debbugs.gnu.org; Sat, 04 Apr 2020 20:37:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1586047063; bh=234XrRTNhixHwgu3+61FAo6WLtbbnPtFBiPExxQeMd8=; h=X-UI-Sender-Class:From:To:Subject:References:Date:In-Reply-To; b=Sk31qHCyjoFKgK1WXCajlB6/sAcfm/FZTvASXdDLHbxoiYwjPk9xwnOgEw/B1fsz4 6zBst3eGrj1fK0yme+aTDtngKNRuM0KKecAmei08YisLtntQZVRpyJQbOdVdAfM4YD xpeZCjMQN0BPlO4uo7SrDaA43zMcATuCQrbSMjTA= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from comedian ([79.202.68.80]) by smtp.web.de (mrweb103 [213.165.67.124]) with ESMTPSA (Nemesis) id 0LgHPM-1j07L10S9M-00niQe for <40397@debbugs.gnu.org>; Sun, 05 Apr 2020 02:37:43 +0200 In-Reply-To: <87r1x4dujl.fsf@web.de> (Sebastian Fieber's message of "Sat, 04 Apr 2020 01:22:06 +0200") X-Provags-ID: V03:K1:A7o9SpDrSHY+IpI62jRwVarGsNE1LRxD6LtRwkx7dPl4IhDrVjg 2MF0wb6j5HWuX5FCLBWIDFI4BT1pvg/CMxitVxpTVDJHsug6kZNqZj48OOlUOofSnjbQBgy wkhZyigGAToCTGbILzP56v2O/vRD7nccT8vAW0w5Xaikkn6KFf2kFy/NEx7KU2RmhIPAAs2 KQ0iyth+LXWJH1UA328EQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:1mPOxmclUdI=:IOTdfiHnHCeMLeJkICggsc 5URjvA+PTtMSjSpJH7nAh5mOeCkDyBQT74rjZ9XgE6K1V/ZpQsnzU5dpPlc+Tr98zonGZkz4B UobQpyIXhMY4AyLGzT/pBDcCRAGHou8sF+ae41lq2sfYiBqod8Zv5bDeRTqVsIkS1khUQioF6 7tdOM0Spxw5AWrupGLuJc2CccQrGdMlmC7ClVEa4/dgJ/5C6mQUuRvtUYzNV0p3wdAIB0hQrR JnM6n9w6cTZCFIqGf6JSpX0XARovN+5Hm0N+/jfIAbZ2WKlP0fu/BdBcpNUaM07qkBSvxjVFj 6JO25NA1wjmNtUhFv7fF8RWAtegaCn9lSXKzOi+l/XdnZ5M1UjGvOWdW/m78vISvIk6SpND0z Npqp183BPMaUflrnBeNAuXiTtW9YH2j8+juFTS++2HOgIdsI57xKdCIjgLklRyNLp/o7Hq5r8 2zZoFdD742ZiichedSHqohcBnCyOtzZ4NwCsBl1QJf++rvnyz80YoNjsPMiPW2CnvsO2osmTX o4pvS7qR19tKNXmpEctPeGGeZI/ejgCRLnHEjIgQCnNj6JlLuTpM0kDrpigB87k/sMTQz5IIe n4OhTojx6F2PnJubUYkC1wzYa7AtxlihSESB1ldC0resS8OnwPyPESXb+87ehUdLlK0u8I+tE FfeSyi0T7eVu1ytbKT2OGtvoJZE2i4dy0hjwiQ3Gmd7Nw5A7/HCNp/ZpY0+PoZBuROhnTxrRJ UBGjACNLXoa7B/Jk+2K3+uzXOWGkkuJ+OULT7Oa27lEhwSbs6gV4QjABrU8fhfgkDCMMmmMA 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: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:178045 Archived-At: On Sa, Apr 04 2020, Sebastian Fieber wrote: > In such a case the "Decrypt (S/MIME) part?" is asked too times. But hey > that isn't too bad I think. I just had some time to look into this even further and I noticed that the mm-sec buttons for signatures/encryption are not displayed for the whole application/pkcs7-mime stuff, too. I am working on a patch to fix this. I think most of the code would look like the one in mml-smime.el (the calls to mm-sec-* and getting error/success messages from epg). The hard part is to get the mm-security-handle or better the information added about the pkcs7-mime signature by the mm-sec-* calls to some function that will add these (which is gnus-mime-display-security ?). The problem here is that the part is lost when the signature is verified as the actual signed content parts will have replace it. Best regards Sebastian