From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Timothy J. Miller" Newsgroups: gmane.emacs.bugs Subject: bug#42637: 27.0.91; mm-view-pkcs7 doesn't handle S/MIME signed andd encrypted messages Date: Fri, 31 Jul 2020 09:22:52 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15294"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.4.12; emacs 27.0.91 To: 42637@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 31 18:20:11 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 1k1XlS-0003rj-NA for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 31 Jul 2020 18:20:10 +0200 Original-Received: from localhost ([::1]:41546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k1XlR-00013A-Kq for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 31 Jul 2020 12:20:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34054) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1XlK-00012y-Qz for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2020 12:20:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55199) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k1XlK-0007T0-HO for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2020 12:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k1XlK-00006s-79 for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2020 12:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Timothy J. Miller" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 31 Jul 2020 16:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42637 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1596212361366 (code B ref -1); Fri, 31 Jul 2020 16:20:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 31 Jul 2020 16:19:21 +0000 Original-Received: from localhost ([127.0.0.1]:38512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1Xkf-00005o-B7 for submit@debbugs.gnu.org; Fri, 31 Jul 2020 12:19:21 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:41212) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k1Vw0-0005bY-Ca for submit@debbugs.gnu.org; Fri, 31 Jul 2020 10:22:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1Vw0-0005La-5r for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2020 10:22:56 -0400 Original-Received: from smtpvmsrv1.mitre.org ([192.52.194.136]:57654) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k1Vvy-0006KD-LI for bug-gnu-emacs@gnu.org; Fri, 31 Jul 2020 10:22:55 -0400 Original-Received: from smtpvmsrv1.mitre.org (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id BF15813A62A for ; Fri, 31 Jul 2020 10:22:53 -0400 (EDT) Original-Received: from smtprhmv1.mitre.org (unknown [128.29.154.203]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtpvmsrv1.mitre.org (Postfix) with ESMTPS id B077413A357 for ; Fri, 31 Jul 2020 10:22:53 -0400 (EDT) Original-Received: from localhost (unknown [10.140.19.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtprhmv1.mitre.org (Postfix) with ESMTPS id 6F1FB80E9A3 for ; Fri, 31 Jul 2020 10:22:53 -0400 (EDT) X-MITRE: 8GQsMWxq66rxk57w DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mitre.org; h=from:to:subject:date:message-id:mime-version:content-type; s=selector1; bh=J151vLLsty9xO/6+Hi8uxyD92IVJW8HnFtrwRHkxuN4=; b=vdD86q2dItHvcKWHGTl88TH2IIy14WF//eNBmL388lzksi4qx0z1WYsIFBXa3MRWL5bGGL8HfRghowc49rdVxmP+VgrCCzJcCCskOdTnPB41bDF0SRs/V4Ly33vkQtO/EbmeBNI91cvEclFBblbaVOjPxHn3AzhsViOr5qFQqkQ= Received-SPF: none client-ip=192.52.194.136; envelope-from=tmiller@smtprhmv1.mitre.org; helo=smtpvmsrv1.mitre.org X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/31 10:22:53 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, NO_DNS_FOR_FROM=0.001, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 31 Jul 2020 12:19:20 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:183738 Archived-At: An S/MIME message that is both enveloped (outer) and signed (inner) is not processed correctly. The outer envelop is decrypted, but this inserts the signed message into the buffer as an opaque blob, like so: ``` Content-Type: application/x-pkcs7-mime; name=smime.p7m; smime-type=signed-data Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=smime.p7m MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAaCAJIAEggEOQ29u [...] ``` -- T