Home GnuPG
Diffusion GnuPG 027b81b35fe3

gpg: Only print out TOFU statistics for conflicts in interactive mode
027b81b35fe3Unpublished

Unpublished Commit ยท Learn More

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

Description

gpg: Only print out TOFU statistics for conflicts in interactive mode

* g10/tofu.c (get_trust): Add arguments POLICYP and CONFLICT_SETP.  If
they are not NULL, return the policy and conflict set (if there is
one), respectively.  Update callers.  If MAY_ASK is FALSE, don't print
out the statistics.
(tofu_register_encryption): If there is a conflict and we haven't yet
printed the statistics about the conflicting bindings, do so now.
(tofu_get_validity): Likewise.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>
  • GnuPG-bug-id: T2914

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Feb 2 2017, 1:24 PM
Parents
rG74268180e5a3: gpg: Add newline to output.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rG027b81b35fe3: gpg: Only print out TOFU statistics for conflicts in interactive mode (authored by Neal H. Walfield <neal@g10code.com>).Feb 2 2017, 1:26 PM
neal mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:11 PM
neal mentioned this in Unknown Object (Maniphest Task).Mar 27 2017, 5:34 PM