Re: emacs: error decrypting s/mime

Subject: Re: emacs: error decrypting s/mime

Date: Thu, 12 Nov 2020 20:13:37 -0400

To: Alexander Adolf, notmuch@notmuchmail.org

Cc:

From: David Bremner


David Bremner <david@tethera.net> writes:

> Alexander Adolf <alexander.adolf@condition-alpha.com> writes:
>
>>
>> The actual message content seems to have been decrypted ok (it shows up
>> as the text/plain part in the dumped function arguments). Also, I can
>> open the message without problems in the Apple Mail.app that ships with
>> macOS (shows the same decrypted content, and a good signature).
>>
>
> I think I managed to duplicate this problem; it does not seem to be
> macOS specific. I'm not yet sure if there are multiple problems, or if the
> error message and the need to toggle crypto processing are related.

As a workaround, try adding

(defalias 'notmuch-show-insert-part-application/pkcs7-mime
  #'notmuch-show-insert-part-multipart/encrypted)

To your notmuch-config.el (or init.el)

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.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: