Robert Jäschke <[email protected]> writes:

> 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 <[email protected]> (7 mins. ago) (encrypted inbox 
>> signed)1/2
>> Subject: TEST
>> To: [email protected]
>> 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:

In my (limited) experience, these kind of issues are usually related to
the environment, particularly to pinentry.  This could depend on the way
you start emacs. Do you still have the same behaviour for emacs started
from the same shell where notmuch works? If so, I guess try inspecting
the output of M-x shell-command <return> env <return>. Other possibly
relevant questions are what kind of pinentry tool do you use, and is
emacs running a GUI frame or in a terminal.

d
_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to