Make unexpected data leak harder via reply.

Authored by knauss on Apr 25 2019, 12:10 PM.

Description

Make unexpected data leak harder via reply.

ObjectTreeParser.htmlContent/plainTextContent may concats different encrypted parts
without the user noticing it. That would lead to a Decryption oracle. We have already
a logic to find the topleveltextNode in MimeTreeParser, this does not take HTML nodes
into account nor that TEXT nodes may have several PGP Inline blocks.

That plaintextContent for HtmlMessagePart is not return QString(), that bubbled up by
testing the stuff.

BUG: 404698

Details

Committed
knaussMay 12 2019, 8:37 PM
Parents
R94:676893d23d56: Rename convertedHtmlContent-> convertedHtmlContent for reply_Plain
Branches
Unknown
Tags
Unknown