chiark / gitweb /
doc: Document summary values of TOFU_STATS dgit/sid
authorAndre Heinecke <aheinecke@intevation.de>
Fri, 6 Jan 2017 11:26:01 +0000 (12:26 +0100)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Tue, 3 Jan 2017 20:39:52 +0000 (20:39 +0000)
--

Signed-off-by: Andre Heinecke <aheinecke@intevation.de>
(cherry picked from commit e1f68337b979fe4b7c3bd095a83ea832e14efb74)

Gbp-Pq: Name 0025-doc-Document-summary-values-of-TOFU_STATS.patch

doc/DETAILS

index 568500e5110b7c8da1023060a21cd4795d8704a2..ac599fc623473b3bacd055b2aa1747004b6d42a8 100644 (file)
@@ -761,6 +761,19 @@ 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).
 
     takes on value 0.  Instead, if there is a conflict, VALIDITY still
     reflects the key's validity (values: 1-4).
 
+    SUMMARY values use the euclidean distance (m = sqrt(a² + b²)) rather
+    then the sum of the magnitudes (m = a + b) to ensure a balance between
+    verified signatures and encrypted messages.
+
+    Values are calculated based on the number of days where a key was used
+    for verifying a signature or to encrypt to it.
+    The ranges for the values are:
+
+    - 1 :: signature_days + encryption_days == 0
+    - 2 :: 1 <= sqrt(signature_days² + encryption_days²) < 8
+    - 3 :: 8 <= sqrt(signature_days² + encryption_days²) < 42
+    - 4 :: sqrt(signature_days² + encryption_days²) >= 42
+
     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-COUNT and ENCRYPTION-COUNT are the number of messages that we
     have seen that have been signed by this key / encryption to this
     key.