[PATCH v2 4/4] cli/show: emit new whole-message crypto status output

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri May 24 13:09:38 PDT 2019


On Thu 2019-05-23 07:50:43 -0300, David Bremner wrote:
> Daniel Kahn Gillmor <dkg at fifthhorseman.net> writes:
>
>>      headers:        headers,
>> +    crypto?:        crypto,   # omitted if crypto disabled, or if no part was signed or encrypted.
>>      body?:          [part]    # omitted if --body=false
>>  }
>
> I'm wondering about the "upward compatible" aspect of this. If the
> crypto key is ommitted, a client doesn't know whether to interpret that
> as no part was signed or encrypted, or just an older version of notmuch.

I understand your concern here.  Would making
notmuch_built_with("message_crypto_summary") return true solve the
problem?

        --dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20190524/24d34614/attachment.sig>


More information about the notmuch mailing list