Commit Graph

18 Commits

Author SHA1 Message Date
Foivos S. Zakkak 8456c1c2dc Fix #280
Since `parent` is not really used as a parent, I use it as the last
visited encrypted part while going down the parts-tree.

At the decryption of a part (`mu_msg_crypto_decrypt_part`) I check,
through the GMimeDecryptResult, for signatures (`check_decrypt_result`)
and add them to the part (`tag_with_sig_status`).  Any nested parts hold
that encrypted part as their parent.  Finally at `handle_part`, for each
part I check if it a descendent of an encrypted part.  If so, I proceed
checking for signatures and adding them to the `msgpart`.
2015-02-16 01:19:32 +02:00
djcb b7324d5af6 * cleanup: drop gmime-2.4 support 2013-07-21 14:44:44 +03:00
djcb 855e81db99 * update copyright years 2013-03-30 11:32:07 +02:00
djcb 61ade73332 * lib: add support for asking user for password from console 2012-09-13 22:57:04 +03:00
djcb 1e4f94f9ae * mu-msg-priv.h: use G_GNUC_MALLOC G_GNUC_WARN_UNUSED_RESULT for some funcs 2012-09-12 12:11:47 +03:00
djcb 9d6ef76f5f * crypto: improve signature checking code 2012-09-01 20:03:48 +03:00
djcb 14661a6d7b * restore mu-verify (WIP) 2012-08-30 20:26:35 +03:00
djcb adc23614a1 * enable signature verification (WIP) 2012-08-30 12:53:52 +03:00
djcb 51fe7fcae8 * lib: refactor attachment checking 2012-08-09 11:45:04 +03:00
djcb c3391b3929 * lib: cleanups: remove mu-msg-cache (WIP) 2012-08-08 19:13:59 +03:00
djcb a91fa644d5 * lib: correctly handle embedded text parts 2012-08-07 11:43:54 +03:00
djcb 6a7562422f * MuMsgPart refactoring / cleanups 2012-08-01 10:45:03 +03:00
djcb 8432156765 * crypto: implement automagic decryption when so requested
(mainly by adding some smartness to various part_foreach functions, adding
  mu_msg_(get|set)_auto_decrypt to mark a message for auto-decryption)
2012-07-27 18:04:17 +03:00
djcb 5a92c8b58a * crypto: decryption support (WIP) 2012-07-22 19:39:17 +03:00
djcb acfabfdf4b * refactor: MU_MSG_PART_OPTION -> MU_MSG_OPTION and related changes 2012-07-18 16:22:10 +03:00
djcb c7cf0c6655 * crypto: hook up crypto support with mu-msg-part and friends 2012-07-17 19:16:42 +03:00
djcb d4abc249c2 * refactor mu_msg_(un)load_msg_file from various versions 2012-07-16 12:55:54 +03:00
djcb 46f10cfde9 * refactoring: split src/ into mu/ and lib/ 2012-05-21 09:25:53 +03:00