]> git.notmuchmail.org Git - notmuch/commit
Render all parts of multipart/encrypted when decrypting.
authorJameson Graef Rollins <jrollins@finestructure.net>
Fri, 27 May 2011 10:27:37 +0000 (03:27 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 27 May 2011 23:22:00 +0000 (16:22 -0700)
commit82daf29187f84076d55df9ea35da692d200128ec
treeace549215d0068807c1adb2d5aa1f36469413225
parent54045197498f540b4ba96344073994bac13a3039
Render all parts of multipart/encrypted when decrypting.

The primary goal here is to keep the decrypted output as similarly
structured as undecrypted output as possible.  Now, when decrypting
parts, only the original encrypted part is replaced by the it's
decrypted content.  If this part isn't itself a multipart, then all
part numbering should remain consistent during decryption.

The only draw back here is that the useless application/pgp-encrypted
sub-part of the multipart/encrypted part is also emitted.  But this
part can be easily ignored by clients.
show-message.c
test/crypto