notmuch/lib
Daniel Kahn Gillmor 4dfcc8c9b2 crypto: index encrypted parts when indexopts try_decrypt is set.
If we see index options that ask us to decrypt when indexing a
message, and we encounter an encrypted part, we'll try to descend into
it.

If we can decrypt, we add the property index.decryption=success.

If we can't decrypt (or recognize the encrypted type of mail), we add
the property index.decryption=failure.

Note that a single message may have both values of the
"index.decryption" property: "success" and "failure".  For example,
consider a message that includes multiple layers of encryption.  If we
manage to decrypt the outer layer ("index.decryption=success"), but
fail on the inner layer ("index.decryption=failure").

Because of the property name, this will be automatically cleared (and
possibly re-set) during re-indexing.  This means it will subsequently
correspond to the actual semantics of the stored index.
2017-10-21 19:53:19 -03:00
..
add-message.cc crypto: index encrypted parts when indexopts try_decrypt is set. 2017-10-21 19:53:19 -03:00
built-with.c lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
config.cc lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
database-private.h lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
database.cc crypto: make shared crypto code behave library-like 2017-10-20 07:58:20 -03:00
directory.cc lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
filenames.c lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
index.cc crypto: index encrypted parts when indexopts try_decrypt is set. 2017-10-21 19:53:19 -03:00
indexopts.c index: implement notmuch_indexopts_t with try_decrypt 2017-10-21 19:52:47 -03:00
Makefile fix sum moar typos [build scripts, Makefiles] 2011-06-23 15:44:59 -07:00
Makefile.local build: fix out-of-tree builds, again 2017-09-13 08:48:17 -03:00
message-file.c lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
message-id.c lib: factor out message-id parsing to separate file. 2017-08-01 21:17:47 -04:00
message-private.h lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
message-property.cc properties: add notmuch_message_remove_all_properties_with_prefix() 2017-10-20 07:58:43 -03:00
message.cc crypto: index encrypted parts when indexopts try_decrypt is set. 2017-10-21 19:53:19 -03:00
messages.c lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
notmuch-private.h crypto: index encrypted parts when indexopts try_decrypt is set. 2017-10-21 19:53:19 -03:00
notmuch.h reindex: drop all properties named with prefix "index." 2017-10-21 19:53:08 -03:00
notmuch.sym build: switch to hiding libnotmuch symbols by default 2017-05-12 07:17:18 -03:00
parse-time-vrp.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00
parse-time-vrp.h Use https instead of http where possible 2016-06-05 08:32:17 -03:00
query-fp.cc Use https instead of http where possible 2016-06-05 08:32:17 -03:00
query-fp.h Use https instead of http where possible 2016-06-05 08:32:17 -03:00
query.cc lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
regexp-fields.cc lib: Add regexp expansion for for tags and paths 2017-05-09 07:44:29 -03:00
regexp-fields.h lib: Add regexp searching for mid: prefix 2017-05-09 07:44:15 -03:00
sha1.c lib: use glib for sha1 digests instead of embedding libsha1 2017-01-08 10:50:38 -04:00
string-list.c lib: add notmuch_message_count_files 2017-08-01 21:17:47 -04:00
string-map.c lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00
tags.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
thread.cc lib: convert notmuch_bool_t to stdbool internally 2017-10-09 22:27:16 -03:00