Home GnuPG
Diffusion GnuPG 6052c1470919

g10: Change tofu_register & tofu_get_validity to process multiple uids.
6052c1470919Unpublished

Unpublished Commit ยท Learn More

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

Description

g10: Change tofu_register & tofu_get_validity to process multiple uids.

* g10/tofu.c (tofu_register): Take a list of user ids, not a single
user id.  Only register the bindings, don't compute the trust.  Thus,
change return type to an int and remove the may_ask parameter.  Update
callers.
(tofu_get_validity): Take a list of user ids, not a single user id.
Update callers.  Observe signatures made by expired user ids, but
don't include them in the trust calculation.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Aug 29 2016, 4:16 PM
Parents
rG33e97813d729: g10: Support nested transactions on the TOFU DB.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rG6052c1470919: g10: Change tofu_register & tofu_get_validity to process multiple uids. (authored by Neal H. Walfield <neal@g10code.com>).Aug 30 2016, 4:06 PM