From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eCoFNRhzrl8YfgAA0tVLHw (envelope-from ) for ; Fri, 13 Nov 2020 11:50:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KATuMBhzrl/lWQAAB5/wlQ (envelope-from ) for ; Fri, 13 Nov 2020 11:50:48 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6179494021E for ; Fri, 13 Nov 2020 11:50:46 +0000 (UTC) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 81D5228C38; Fri, 13 Nov 2020 06:50:37 -0500 (EST) Received: from fethera.tethera.net (fethera.tethera.net [IPv6:2607:5300:60:c5::1]) by mail.notmuchmail.org (Postfix) with ESMTP id 9747C28BEC for ; Fri, 13 Nov 2020 06:50:34 -0500 (EST) Received: by fethera.tethera.net (Postfix, from userid 1001) id 844125FB8B; Fri, 13 Nov 2020 06:50:32 -0500 (EST) Received: (nullmailer pid 728173 invoked by uid 1000); Fri, 13 Nov 2020 11:50:30 -0000 From: David Bremner To: Alexander Adolf , notmuch@notmuchmail.org Subject: Re: emacs: error decrypting s/mime In-Reply-To: <87eeky5d1q.fsf@tethera.net> References: <87a6vm1wid.fsf@tethera.net> <87eeky5d1q.fsf@tethera.net> X-List-To: notmuch Date: Fri, 13 Nov 2020 07:50:30 -0400 Message-ID: <878sb55vcp.fsf@tethera.net> MIME-Version: 1.0 Message-ID-Hash: TF4Q7RT2GELVLHNNYGDCJZBU75XG4H5V X-Message-ID-Hash: TF4Q7RT2GELVLHNNYGDCJZBU75XG4H5V X-MailFrom: david@tethera.net X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header CC: Daniel Kahn Gillmor X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Spam-Score: -1.01 X-TUID: J+y31R5XVq1k David Bremner writes: > > It's not perfect (the encryption status for S/MIME needs some new UI > code on the emacs end), but it's better than the status quo, as far as I > can tell. I think this might be a deeper issue. Looking at the structure of test/corpora/protected-headers/smime-sign+enc.eml it looks like there is an application/pkcs-7 part for the outer container with an encstatus, and one inside that (with the same mime type) with a sigstatus. So maybe the right thing is to just ignore missing encstatus?