notmuch/util
Daniel Kahn Gillmor 29648a137c crypto: actually stash session keys when decrypt=true
If you're going to store the cleartext index of an encrypted message,
in most situations you might just as well store the session key.
Doing this storage has efficiency and recoverability advantages.

Combined with a schedule of regular OpenPGP subkey rotation and
destruction, this can also offer security benefits, like "deletable
e-mail", which is the store-and-forward analog to "forward secrecy".

But wait, i hear you saying, i have a special need to store cleartext
indexes but it's really bad for me to store session keys!  Maybe
(let's imagine) i get lots of e-mails with incriminating photos
attached, and i want to be able to search for them by the text in the
e-mail, but i don't want someone with access to the index to be
actually able to see the photos themselves.

Fret not, the next patch in this series will support your wacky
uncommon use case.
2017-12-08 08:08:47 -04:00
..
crypto.c crypto: actually stash session keys when decrypt=true 2017-12-08 08:08:47 -04:00
crypto.h crypto: record whether an actual decryption attempt happened 2017-12-08 08:08:46 -04:00
error_util.c cppcheck: call va_end in _internal_error 2017-08-30 07:12:13 -03:00
error_util.h Use https instead of http where possible 2016-06-05 08:32:17 -03:00
gmime-extra.c util: make g_mime_utils_header_decode_date_unix match prototype 2017-07-17 08:47:18 -03:00
gmime-extra.h gmime-extra: drop compat layer for g_mime_multipart_encrypted_decrypt 2017-10-14 10:57:06 -03:00
hex-escape.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
hex-escape.h hex-escape: (en|de)code strings to/from restricted character set 2012-12-02 09:14:59 -04: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 crypto: move into libnotmuch_util 2017-10-20 07:58:10 -03:00
string-util.c database: move striping of trailing '/' into helper function 2017-08-22 18:47:51 -03:00
string-util.h database: move striping of trailing '/' into helper function 2017-08-22 18:47:51 -03:00
talloc-extra.c util: add talloc-extra.[ch] 2012-12-30 21:12:11 -04:00
talloc-extra.h util: add talloc-extra.[ch] 2012-12-30 21:12:11 -04:00
util.c util: add gz_readline 2014-04-12 07:59:44 -03:00
util.h util: add gz_readline 2014-04-12 07:59:44 -03:00
xutil.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
xutil.h Use https instead of http where possible 2016-06-05 08:32:17 -03:00
zlib-extra.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
zlib-extra.h util: add gz_readline 2014-04-12 07:59:44 -03:00