notmuch/util
Daniel Kahn Gillmor 67666538b3 util/repair: identify and repair "Mixed Up" mangled messages
Implement a functional identification and repair process for "Mixed
Up" MIME messages as described in
https://tools.ietf.org/html/draft-dkg-openpgp-pgpmime-message-mangling-00#section-4.1

The detection test is not entirely complete, in that it does not
verify the contents of the latter two message subparts, but this is
probably safe to skip, because those two parts are unlikely to be
readable anyway, and the only part we are effectively omitting (the
first subpart) is guaranteed to be empty anyway, so its removal can be
reversed if you want to do so.  I've left FIXMEs in the code so that
anyone excited about adding these additional checks can see where to
put them in.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2019-09-15 19:06:31 -04:00
..
crypto.c util/crypto: _n_m_crypto_potential_payload returns whether part is the payload 2019-09-01 08:38:11 -03:00
crypto.h util/crypto: _n_m_crypto_potential_payload returns whether part is the payload 2019-09-01 08:38:11 -03:00
error_util.c cppcheck: call va_end in _internal_error 2017-08-30 07:12:13 -03:00
error_util.h util: run uncrustify 2019-06-14 07:41:27 -03:00
gmime-extra.c util: run uncrustify 2019-06-14 07:41:27 -03:00
gmime-extra.h util: run uncrustify 2019-06-14 07:41:27 -03:00
hex-escape.c util: run uncrustify 2019-06-14 07:41:27 -03:00
hex-escape.h util: run uncrustify 2019-06-14 07:41:27 -03:00
Makefile xutil.c: remove duplicate copies, create new library libutil.a to contain xutil. 2011-10-30 23:09:49 -03:00
Makefile.local repair: set up codebase for repair functionality 2019-09-01 08:20:25 -03:00
repair.c util/repair: identify and repair "Mixed Up" mangled messages 2019-09-15 19:06:31 -04:00
repair.h util/repair: identify and repair "Mixed Up" mangled messages 2019-09-15 19:06:31 -04:00
string-util.c util: run uncrustify 2019-06-14 07:41:27 -03:00
string-util.h util: run uncrustify 2019-06-14 07:41:27 -03:00
talloc-extra.c util: add talloc-extra.[ch] 2012-12-30 21:12:11 -04:00
talloc-extra.h util: make remaining headers includable from C++ 2019-03-11 22:26:50 -03:00
unicode-util.c util: run uncrustify 2019-06-14 07:41:27 -03:00
unicode-util.h util: add unicode_word_utf8 2019-05-25 06:51:12 -03:00
util.c util: run uncrustify 2019-06-14 07:41:27 -03:00
util.h fix typos 2018-01-04 20:35:58 -04:00
xutil.c util: run uncrustify 2019-06-14 07:41:27 -03:00
xutil.h util: make remaining headers includable from C++ 2019-03-11 22:26:50 -03:00
zlib-extra.c util: run uncrustify 2019-06-14 07:41:27 -03:00
zlib-extra.h util: make remaining headers includable from C++ 2019-03-11 22:26:50 -03:00