notmuch/util
Daniel Kahn Gillmor 8c29a5da09 cli/show: produce "email" element in sigstatus
When the certificate that signs a message is known to be valid, GMime
is capable of reporting on the e-mail address embedded in the
certificate.

We pass this information along to the caller of "notmuch show", as
often only the e-mail address of the certificate has actually been
checked/verified.

Furthermore, signature verification should probably at some point
compare the e-mail address of the caller against the sender address of
the message itself.  Having to parse what gmime thinks is a "userid"
to extract an e-mail address seems clunky and unnecessary if gmime
already thinks it knows what the e-mail address is.

See id:878s41ax6t.fsf@fifthhorseman.net for more motivation and discussion.

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2021-06-26 13:07:47 -03:00
..
crypto.c util: run uncrustify 2021-03-13 08:45:34 -04:00
crypto.h util: run uncrustify 2021-03-13 08:45:34 -04: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 cli/show: produce "email" element in sigstatus 2021-06-26 13:07:47 -03:00
gmime-extra.h cli/show: produce "email" element in sigstatus 2021-06-26 13:07:47 -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 compat: rename {,notmuch_}canonicalize_file_name 2021-04-24 08:07:00 -03:00
path-util.c compat: rename {,notmuch_}canonicalize_file_name 2021-04-24 08:07:00 -03:00
path-util.h compat: rename {,notmuch_}canonicalize_file_name 2021-04-24 08:07:00 -03:00
repair.c util: run uncrustify 2021-03-13 08:45:34 -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 2021-03-13 08:45:34 -04:00
string-util.h util: add strsplit_len: simplified strtok with delimiter escaping 2021-02-06 19:06:49 -04: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 2021-03-13 08:45:34 -04:00
zlib-extra.h util: run uncrustify 2021-03-13 08:45:34 -04:00