1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Neal H. Walfield 875ac9216f g10: Record and show statistics for encrypted messages when using TOFU
* g10/tofu.c: Include "sqrtu32.h".
(struct tofu_dbs_s.s): Rename get_trust_gather_other_keys to
get_trust_gather_signature_stats.  Add new field
get_trust_gather_encryption_stats.
(initdb): Create the encryptions table.
(ask_about_binding): Show the encryption statistics too.
(tofu_register): Rename from this...
(tofu_register_signature): ... to this and update callers.
(tofu_register_encryption): New function.
(write_stats_status): Add parameters encryption_count,
encryption_first_done and encryption_most_recent.  Update callers.
Compute the trust using the euclidean distance of the signature and
signature count.  Compare with twice the threshold.  Include
encryption count information in the TFS and TOFU_STATS lines.
(show_statistics): Also get information about the encrypted messages.
* g10/trustdb.c (tdb_get_validity_core): Use it.

--
Signed-off-by: Neal H. Walfield <neal@g10code.com>
2016-09-06 21:37:48 +02:00
..
2008-06-25 11:14:48 +00:00
2014-12-14 12:15:21 +01:00
sm/
2006-11-14 10:23:21 +00:00
2016-08-03 17:00:40 +02:00
2010-06-10 10:39:44 +00:00
DCO
2013-04-17 11:26:27 +02:00
2003-01-09 13:24:01 +00:00
2009-07-22 13:33:46 +00:00
2010-06-10 10:39:44 +00:00
2007-07-04 19:49:40 +00:00
2007-03-08 18:31:56 +00:00
2014-07-03 11:03:22 +02:00
2016-09-05 09:52:04 +02:00
2013-04-19 12:01:22 +02:00
2013-02-12 14:15:21 +09:00
2016-04-06 18:45:09 +02:00
2007-05-08 13:59:41 +00:00
2006-08-21 20:20:23 +00:00
2008-06-25 11:14:48 +00:00
2012-11-30 12:47:49 -05:00
2011-08-12 14:40:47 +02:00
2016-08-03 16:55:33 +02:00
2006-12-06 16:38:34 +00:00
2016-07-02 16:17:25 +02:00