aboutsummaryrefslogtreecommitdiffstats
path: root/doc/DETAILS
diff options
context:
space:
mode:
authorNeal H. Walfield <[email protected]>2016-12-16 13:32:27 +0000
committerNeal H. Walfield <[email protected]>2016-12-16 13:32:39 +0000
commit94f6b9010d2e80a75ccbb21426faf0b30195f1ab (patch)
tree37d81077ccacd3375df3a0b612a0b1b5993651b0 /doc/DETAILS
parentdoc: Improve section on unattended key generation. (diff)
downloadgnupg-94f6b9010d2e80a75ccbb21426faf0b30195f1ab.tar.gz
gnupg-94f6b9010d2e80a75ccbb21426faf0b30195f1ab.zip
g10: Extend TOFU_STATS to emit <sign-days> and <encyrption-days>
* doc/DETAILS: Add SIGN-DAYS and ENCRYPT-DAYS to the TOFU_STATS status line. * g10/tofu.c (write_stats_status): Take additional parameters signature_days and encryption_days. Update callers. Include them in the tfs record and TOFU status lines. (show_statistics): Compute the number of days on which we saw a message signed by FINGERPRINT, and the number of days on which we encrypted a message to it. Signed-off-by: Neal H. Walfield <[email protected]>
Diffstat (limited to '')
-rw-r--r--doc/DETAILS12
1 files changed, 10 insertions, 2 deletions
diff --git a/doc/DETAILS b/doc/DETAILS
index 534c48c0b..ab7096009 100644
--- a/doc/DETAILS
+++ b/doc/DETAILS
@@ -722,7 +722,7 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB:
userid encoded in UTF-8 and percent escaped. The fingerprint is
identical for all TOFU_USER lines up to a NEWSIG line.
-*** TOFU_STATS <summary> <sign-count> <encryption-count> [<policy> [<tm1> <tm2> <tm3> <tm4> [<validity>]]]
+*** TOFU_STATS <summary> <sign-count> <encryption-count> [<policy> [<tm1> <tm2> <tm3> <tm4> [<validity> [<sign-days> <encrypt-days>]]]]
Statistics for the current user id.
@@ -742,7 +742,7 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB:
- unknown :: Policy is "unknown" (TOFU information does not
contribute to the key's validity)
- TM1 ist the time the first message was verified. TM2 is the time
+ TM1 is the time the first message was verified. TM2 is the time
the most recent message was verified. TM3 is the time the first
message was encrypted. TM4 is the most recent encryption. All may
either be seconds since Epoch or an ISO time string
@@ -753,6 +753,14 @@ pkd:0:1024:B665B1435F4C2 .... FF26ABB:
takes on value 0. Instead, if there is a conflict, VALIDITY still
reflects the key's validity (values: 1-4).
+ SIGN-COUNT and ENCRYPTION-COUNT are the number of messages that we
+ have seen that have been signed by this key / encryption to this
+ key.
+
+ SIGN-DAYS and ENCRYPTION-DAYS are similar, but the number of days
+ (in UTC) on which we have seen messages signed by this key /
+ encrypted to this key.
+
*** TOFU_STATS_SHORT <long_string>
Information about the TOFU binding for the signature.