Re: [PATCH 09/20] util/crypto: add information about the payload part

2018-06-30 Thread Daniel Kahn Gillmor
On Sun 2018-06-24 22:15:46 -0300, David Bremner wrote: > Daniel Kahn Gillmor writes: > >> @@ -270,7 +274,7 @@ _notmuch_message_crypto_potential_payload >> (_notmuch_message_crypto_t *msg_crypto >> if (parent && GMIME_IS_MULTIPART_ENCRYPTED (parent) && childnum == >>

Re: [PATCH 09/20] util/crypto: add information about the payload part

2018-06-24 Thread David Bremner
Daniel Kahn Gillmor writes: > @@ -270,7 +274,7 @@ _notmuch_message_crypto_potential_payload > (_notmuch_message_crypto_t *msg_crypto > if (parent && GMIME_IS_MULTIPART_ENCRYPTED (parent) && childnum == > GMIME_MULTIPART_ENCRYPTED_VERSION) { > const char *enc_type =

[PATCH 09/20] util/crypto: add information about the payload part

2018-05-10 Thread Daniel Kahn Gillmor
When walking the MIME tree, if we discover that we are at the cryptographic payload, then we would like to record at least the Subject header. In the future, we might want to record many other headers as well, but for now we will stick with just the Subject. See