On Thu, 27 Apr 2017, Stephan Platz wrote:
Am Donnerstag, 27. April 2017 09:30:36 schrieb Pali Rohár:
So solution (if somebody want to implement it) should be simple: after
downloading text part, check if contain some BEGIN PGP header and if
yes, decode it. There is no need to pre-download every part of every
message (which slowdown email program).
It get's a bit more complicated with the way the message model works and is
used by Trojitá (e.g. replacing parts in the mime tree is more complicated
than adding new parts as children of a multipart/encrypted).
so what I'm getting out of this is that the plain text viewer object would need
to be modified to look for the PGP header and decode if it's there.
David Lang