Re: Debugging Starting Point for S/MIME Signature Verification?

Subject: Re: Debugging Starting Point for S/MIME Signature Verification?

Date: Mon, 24 Jan 2022 13:48:58 -0400

To: Alexander Adolf, notmuch@notmuchmail.org

Cc:

From: David Bremner


Alexander Adolf <alexander.adolf@condition-alpha.com> writes:

> Hello,
>
> I am looking at S/MIME messages that are signed only, i.e. are not
> encrypted. For some, a signature status button is inserted, for others
> not.
>
> I have used edebug to look into some of the notmuch-show-* functions,
> and it seems that for those signed messages that are displayed without
> the signature status button, the :sigstatus property is nil when the
> first notmuch-show-* function is called for the message already.
>
> Where in the elisp code should I look for the :sigstatus property being
> determined and set?
>
>
> Any hints appreciated, and many thanks in advance,
>

I guess you should start with "notmuch show --verify --format=json
$msg | jq"  on the command line. If the information is not there,
nothing in the elisp will create it. You can use sexp output if you
prefer, but it is easier to pretty-print the json.

d
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: