From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6OJpIwftW1+QUQAA0tVLHw (envelope-from ) for ; Fri, 11 Sep 2020 21:32:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GMgqHQftW183OgAAbx9fmQ (envelope-from ) for ; Fri, 11 Sep 2020 21:32:55 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (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 1AA5F94051F for ; Fri, 11 Sep 2020 21:32:53 +0000 (UTC) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id E3CE529C4F; Fri, 11 Sep 2020 17:32:42 -0400 (EDT) X-Greylist: delayed 162948 seconds by postgrey-1.36 at nmbug; Fri, 11 Sep 2020 17:32:40 EDT Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.18.14]) by mail.notmuchmail.org (Postfix) with ESMTPS id 5FEEB29C29 for ; Fri, 11 Sep 2020 17:32:40 -0400 (EDT) Received: from [46.244.221.97] (helo=condition-alpha.com) by smtprelay02.ispgateway.de with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.3) (envelope-from ) id 1kGqdR-0007Ru-MD for notmuch@notmuchmail.org; Fri, 11 Sep 2020 23:31:09 +0200 Message-Id: From: Alexander Adolf To: notmuch@notmuchmail.org Subject: Re: emacs: error decrypting s/mime In-Reply-To: References: Date: Fri, 11 Sep 2020 23:32:34 +0200 MIME-Version: 1.0 X-Df-Sender: YWxleGFuZGVyLmFkb2xmQGNvbmRpdGlvbi1hbHBoYS5jb20= Message-ID-Hash: VJTKJAD5RXFREAOI3BHFDWENZMYLTWIH X-Message-ID-Hash: VJTKJAD5RXFREAOI3BHFDWENZMYLTWIH X-MailFrom: alexander.adolf@condition-alpha.com 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 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: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Spam-Score: 0.53 X-TUID: 21Gti+1D+CCK Hello again, for what it's worth, and hoping that it helps track down the problem, here is the elisp debugger backtrace for the situation I described (hitting "$" twice): ---------------------------- Begin Quote ----------------------------- Debugger entered--Lisp error: (wrong-type-argument char-or-string-p ((:id 2 :sigstatus ((:status "good" :fingerprint "142AFE91C66D710592AF9D90A1385D251FEC65B7" :created 1599693325 :expires 1631218144 :userid "1.2.840.113549.1.9.1=#616C6578616E6465722E61646F6C...")) :content-type "multipart/signed" :content ((:id 3 :content-type "multipart/mixed" :content ((:id 4 :content-type "text/plain" :content-disposition "inline" :content "Earlier patches have moved the handling of wash fa..."))) (:id 5 :content-type "application/pkcs7-signature" :content-disposition "attachment" :filename "smime.p7s" :content-transfer-encoding "base64" :content-length 4478))))) notmuch-mm-display-part-inline((:id "a4c9fd548b26cdcd20ec8b05bc4507da@condition-alpha.c..." :match t :excluded nil :filename ("/Users/alexanderadolf/Library/Mail/Maildir/imap-ac..." "/Users/alexanderadolf/Library/Mail/Maildir/archive...") :timestamp 1599693324 :date_relative "Yest. 01:15" :tags ("encrypted" "inbox") :body ((:id 1 :encstatus ((:status "good")) :content-type "application/pkcs7-mime" :content-disposition "attachment" :filename "smime.p7m" :content ((:id 2 :sigstatus ((:status "good" :fingerprint "142AFE91C66D710592AF9D90A1385D251FEC65B7" :created 1599693325 :expires 1631218144 :userid "1.2.840.113549.1.9.1=#616C6578616E6465722E61646F6C...")) :content-type "multipart/signed" :content ((:id 3 :content-type "multipart/mixed" :content ...) (:id 5 :content-type "application/pkcs7-signature" :content-disposition "attachment" :filename "smime.p7s" :content-transfer-encoding "base64" :content-length 4478)))) :computed-type "application/pkcs7-mime")) :crypto (:signed (:status ((:status "good" :fingerprint "142AFE91C66D710592AF9D90A1385D251FEC65B7" :created 1599693325 :expires 1631218144 :userid "1.2.840.113549.1.9.1=#616C6578616E6465722E61646F6C...")) :encrypted t) :decrypted (:status "full")) :headers (:Subject "s/mime 2" :From "Alexander Adolf ) notmuch-show-insert-bodypart-internal((:id "a4c9fd548b26cdcd20ec8b05bc4507da@condition-alpha.c..." :match t :excluded nil :filename ("/Users/alexanderadolf/Library/Mail/Maildir/imap-ac..." "/Users/alexanderadolf/Library/Mail/Maildir/archive...") :timestamp 1599693324 :date_relative "Yest. 01:15" :tags ("encrypted" "inbox") :body ((:id 1 :encstatus ((:status "good")) :content-type "application/pkcs7-mime" :content-disposition "attachment" :filename "smime.p7m" :content ((:id 2 :sigstatus ((:status "good" :fingerprint "142AFE91C66D710592AF9D90A1385D251FEC65B7" :created 1599693325 :expires 1631218144 :userid "1.2.840.113549.1.9.1=#616C6578616E6465722E61646F6C...")) :content-type "multipart/signed" :content ((:id 3 :content-type "multipart/mixed" :content ...) (:id 5 :content-type "application/pkcs7-signature" :content-disposition "attachment" :filename "smime.p7s" :content-transfer-encoding "base64" :content-length 4478)))) :computed-type "application/pkcs7-mime")) :crypto (:signed (: status ((:status "good" :fingerprint "142AFE91C66D710592AF9D90A1385D251FEC65B7" :created 1599693325 :expires 1631218144 :userid "1.2.840.113549.1.9.1=#616C6578616E6465722E61646F6C...")) :encrypted t) :decrypted (:status "full")) :headers (:Subject "s/mime 2" :From "Alexander Adolf ) notmuch-show-insert-bodypart((:id "a4c9fd548b26cdcd20ec8b05bc4507da@condition-alpha.c..." :match t :excluded nil :filename ("/Users/alexanderadolf/Library/Mail/Maildir/imap-ac..." "/Users/alexanderadolf/Library/Mail/Maildir/archive...") :timestamp 1599693324 :date_relative "Yest. 01:15" :tags ("encrypted" "inbox") :body ((:id 1 :encstatus ((:status "good")) :content-type "application/pkcs7-mime" :content-disposition "attachment" :filename "smime.p7m" :content ((:id 2 :sigstatus ((:status "good" :fingerprint "142AFE91C66D710592AF9D90A1385D251FEC65B7" :created 1599693325 :expires 1631218144 :userid "1.2.840.113549.1.9.1=#616C6578616E6465722E61646F6C...")) :content-type "multipart/signed" :content ((:id 3 :content-type "multipart/mixed" :content ...) (:id 5 :content-type "application/pkcs7-signature" :content-disposition "attachment" :filename "smime.p7s" :content-transfer-encoding "base64" :content-length 4478)))) :computed-type "application/pkcs7-mime")) :crypto (:signed (:status (( :status "good" :fingerprint "142AFE91C66D710592AF9D90A1385D251FEC65B7" :created 1599693325 :expires 1631218144 :userid "1.2.840.113549.1.9.1=#616C6578616E6465722E61646F6C...")) :encrypted t) :decrypted (:status "full")) :headers (:Subject "s/mime 2" :From "Alexander Adolf )((:id 1 :encstatus ((:status "good")) :content-type "application/pkcs7-mime" :content-disposition "attachment" :filename "smime.p7m" :content ((:id 2 :sigstatus ((:status "good" :fingerprint "142AFE91C66D710592AF9D90A1385D251FEC65B7" :created 1599693325 :expires 1631218144 :userid "1.2.840.113549.1.9.1=#616C6578616E6465722E61646F6C...")) :content-type "multipart/signed" :content ((:id 3 :content-type "multipart/mixed" :content ((:id 4 :content-type "text/plain" :content-disposition "inline" :content "Earlier patches have moved the handling of wash fa..."))) (:id 5 :content-type "application/pkcs7-signature" :content-disposition "attachment" :filename "smime.p7s" :content-transfer-encoding "base64" :content-length 4478)))) :computed-type "application/pkcs7-mime")) mapc(#f(compiled-function (part) #) ((:id 1 :encstatus ((:status "good")) :content-type "application/pkcs7-mime" :content-disposition "attachment" :filename "smime.p7m" :content ((:id 2 :sigstatus ((:status "good" :fingerprint "142AFE91C66D710592AF9D90A1385D251FEC65B7" :created 1599693325 :expires 1631218144 :userid "1.2.840.113549.1.9.1=#616C6578616E6465722E61646F6C...")) :content-type "multipart/signed" :content ((:id 3 :content-type "multipart/mixed" :content (...)) (:id 5 :content-type "application/pkcs7-signature" :content-disposition "attachment" :filename "smime.p7s" :content-transfer-encoding "base64" :content-length 4478)))) :computed-type "application/pkcs7-mime"))) notmuch-show-insert-body((:id "a4c9fd548b26cdcd20ec8b05bc4507da@condition-alpha.c..." :match t :excluded nil :filename ("/Users/alexanderadolf/Library/Mail/Maildir/imap-ac..." "/Users/alexanderadolf/Library/Mail/Maildir/archive...") :timestamp 1599693324 :date_relative "Yest. 01:15" :tags ("encrypted" "inbox") :body ((:id 1 :encstatus ((:status "good")) :content-type "application/pkcs7-mime" :content-disposition "attachment" :filename "smime.p7m" :content ((:id 2 :sigstatus ((:status "good" :fingerprint "142AFE91C66D710592AF9D90A1385D251FEC65B7" :created 1599693325 :expires 1631218144 :userid "1.2.840.113549.1.9.1=#616C6578616E6465722E61646F6C...")) :content-type "multipart/signed" :content ((:id 3 :content-type "multipart/mixed" :content ...) (:id 5 :content-type "application/pkcs7-signature" :content-disposition "attachment" :filename "smime.p7s" :content-transfer-encoding "base64" :content-length 4478)))) :computed-type "application/pkcs7-mime")) :crypto (:signed (:status ((:sta tus "good" :fingerprint "142AFE91C66D710592AF9D90A1385D251FEC65B7" :created 1599693325 :expires 1631218144 :userid "1.2.840.113549.1.9.1=#616C6578616E6465722E61646F6C...")) :encrypted t) :decrypted (:status "full")) :headers (:Subject "s/mime 2" :From "Alexander Adolf )(((:id "a4c9fd548b26cdcd20ec8b05bc4507da@condition-alpha.c..." :match t :excluded nil :filename ("/Users/alexanderadolf/Library/Mail/Maildir/imap-ac..." "/Users/alexanderadolf/Library/Mail/Maildir/archive...") :timestamp 1599693324 :date_relative "Yest. 01:15" :tags ("encrypted" "inbox") :body ((:id 1 :encstatus ((:status "good")) :content-type "application/pkcs7-mime" :content-disposition "attachment" :filename "smime.p7m" :content ((:id 2 :sigstatus (...) :content-type "multipart/signed" :content (... ...))) :computed-type "application/pkcs7-mime")) :crypto (:signed (:status ((:status "good" :fingerprint "142AFE91C66D710592AF9D90A1385D251FEC65B7" :created 1599693325 :expires 1631218144 :userid "1.2.840.113549.1.9.1=#616C6578616E6465722E61646F6C...")) :encrypted t) :decrypted (:status "full")) :headers (:Subject "s/mime 2" :From "Alexander Adolf ) (((:id "a4c9fd548b26cdcd20ec8b05bc4507da@condition-alpha.c..." :match t :excluded nil :filename ("/Users/alexanderadolf/Library/Mail/Maildir/imap-ac..." "/Users/alexanderadolf/Library/Mail/Maildir/archive...") :timestamp 1599693324 :date_relative "Yest. 01:15" :tags ("encrypted" "inbox") :body ((:id 1 :encstatus ((:status "good")) :content-type "application/pkcs7-mime" :content-disposition "attachment" :filename "smime.p7m" :content ((:id 2 :sigstatus ... :content-type "multipart/signed" :content ...)) :computed-type "application/pkcs7-mime")) :crypto (:signed (:status ((:status "good" :fingerprint "142AFE91C66D710592AF9D90A1385D251FEC65B7" :created 1599693325 :expires 1631218144 :userid "1.2.840.113549.1.9.1=#616C6578616E6465722E61646F6C...")) :encrypted t) :decrypted (:status "full")) :headers (:Subject "s/mime 2" :From "Alexander Adolf )((((:id "a4c9fd548b26cdcd20ec8b05bc4507da@condition-alpha.c..." :match t :excluded nil :filename ("/Users/alexanderadolf/Library/Mail/Maildir/imap-ac..." "/Users/alexanderadolf/Library/Mail/Maildir/archive...") :timestamp 1599693324 :date_relative "Yest. 01:15" :tags ("encrypted" "inbox") :body ((:id 1 :encstatus ((:status "good")) :content-type "application/pkcs7-mime" :content-disposition "attachment" :filename "smime.p7m" :content ((:id 2 :sigstatus ... :content-type "multipart/signed" :content ...)) :computed-type "application/pkcs7-mime")) :crypto (:signed (:status ((:status "good" :fingerprint "142AFE91C66D710592AF9D90A1385D251FEC65B7" :created 1599693325 :expires 1631218144 :userid "1.2.840.113549.1.9.1=#616C6578616E6465722E61646F6C...")) :encrypted t) :decrypted (:status "full")) :headers (:Subject "s/mime 2" :From "Alexander Adolf ) ((((:id "a4c9fd548b26cdcd20ec8b05bc4507da@condition-alpha.c..." :match t :excluded nil :filename ("/Users/alexanderadolf/Library/Mail/Maildir/imap-ac..." "/Users/alexanderadolf/Library/Mail/Maildir/archive...") :timestamp 1599693324 :date_relative "Yest. 01:15" :tags ("encrypted" "inbox") :body ((:id 1 :encstatus (...) :content-type "application/pkcs7-mime" :content-disposition "attachment" :filename "smime.p7m" :content (...) :computed-type "application/pkcs7-mime")) :crypto (:signed (:status (...) :encrypted t) :decrypted (:status "full")) :headers (:Subject "s/mime 2" :From "Alexander Adolf "id:a4c9fd548b26cdcd20ec8b05bc4507da@condition-alph...")) ("id:a4c9fd548b26cdcd20ec8b05bc4507da@condition-alph..."))) notmuch-show-refresh-view() notmuch-show-toggle-process-crypto() funcall-interactively(notmuch-show-toggle-process-crypto) call-interactively(notmuch-show-toggle-process-crypto nil nil) command-execute(notmuch-show-toggle-process-crypto) ----------------------------- End Quote ------------------------------