decrypted S/MIME messages not shown in Emacs

Subject: decrypted S/MIME messages not shown in Emacs

Date: Tue, 7 Jul 2026 15:09:11 +0200

To: notmuch@notmuchmail.org

Cc:

From: Robert Jäschke


Hello,

using Emacs (30.1) and notmuch-emacs (0.39-1) I can find S/MIME
encrypted mails by searching for their contents (here:
"Pantherforelle"):

> Robert Jäschke <robert.jaeschke@hu-berlin.de> (7 mins. ago) (encrypted inbox signed)1/2
> Subject: TEST
> To: robert.jaeschke@hu-berlin.de
> Date: Tue, 07 Jul 2026 14:43:02 +0200
> 
> [ smime.p7m: application/pkcs7-mime ]

Unfortunately, the content of the message is not shown, although I have
set notmuch-crypto-process-mime to t. Thus, I added some debug output to
notmuch-call-notmuch-sexp and saw that it calls

> notmuch show --format=sexp --format-version=5 --decrypt=true --exclude=false ' thread:0000000000015963 and ( Pantherforelle ) '

when I try to show the above message. Running this in a terminal, I
can successfully show the message contents:

> ...
> :content ((:id 3 :content-type "text/plain" :content-disposition "inline" :content "Pantherforelle\n")
> ...

I can also decrypt it using openssl (openssl smime -decrypt -in
$PATHTOMSG -inkey $PATHTOKEY -noverify).

So I wonder why I cannot see it in notmuch-emacs? Might this be a
configuration issue?


Best,
Robert
smime.p7s (application/pkcs7-signature)
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: