Home GnuPG
Diffusion GnuPG 4a2c210b75d4

g10: Use total days, not total messages to compute TOFU validity
4a2c210b75d4Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

g10: Use total days, not total messages to compute TOFU validity

* g10/tofu.c (write_stats_status): Use the number of days with
signatures / encryptions to compute the validity, not the total number
of signatures / encryptions.
(BASIC_TRUST_THRESHOLD): Adjust given the new semantics.
(FULL_TRUST_THRESHOLD): Likewise.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Dec 16 2016, 2:49 PM
Parents
rG94f6b9010d2e: g10: Extend TOFU_STATS to emit <sign-days> and <encyrption-days>
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rG4a2c210b75d4: g10: Use total days, not total messages to compute TOFU validity (authored by Neal H. Walfield <neal@g10code.com>).Dec 16 2016, 2:51 PM