Home GnuPG
Diffusion GnuPG ae1889320b82

gpg: Extend TRUST_foo status lines with the trust model.
ae1889320b82Unpublished

Unpublished Commit · Learn More

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

Description

gpg: Extend TRUST_foo status lines with the trust model.

* g10/trustdb.h (TRUST_FLAG_TOFU_BASED): New.
* g10/trustdb.c (trust_model_string): Lowercase the strings.  Add arg
"model" and change callers to call with OPT.TRUST_MODEL.
* g10/tofu.c (tofu_wot_trust_combine): Set TRUST_FLAG_TOFU_BASED.
* g10/pkclist.c (write_trust_status): New.
(check_signatures_trust): Call new function.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on May 2 2016, 7:10 PM
Parents
rG5cef6118580f: gpg: Improve line wrapping for a tofu message.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rGae1889320b82: gpg: Extend TRUST_foo status lines with the trust model. (authored by Werner Koch <wk@gnupg.org>).May 2 2016, 7:10 PM