Home GnuPG
Diffusion GnuPG 8ae3946d28c4

gpg: Don't store formatting fingerprints in the TOFU DB.
8ae3946d28c4Unpublished

Unpublished Commit ยท Learn More

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

Description

gpg: Don't store formatting fingerprints in the TOFU DB.

* g10/tofu.c (fingerprint_pp): Split this function into...
(fingerprint_str): ... this function...
(fingerprint_format): ... and this function.
(record_binding): Store the unformatted fingerprint in the DB.  Only
use the formatting fingerprint when displaying a message to the user.
(get_trust): Likewise.
(show_statistics): Likewise.
(tofu_register): Likewise.
(tofu_get_validity): Likewise.
(tofu_set_policy): Likewise.
(tofu_get_policy): Likewise.
  • Signed-off-by: Neal H. Walfield <neal@g10code.com>

Details

Provenance
Neal H. Walfield <neal@g10code.com>Authored on Nov 3 2015, 3:43 PM
Parents
rG06f3eadb2298: g10: notify a user when importing stub is skipped.
Branches
Unknown
Tags
Unknown

Event Timeline

Neal H. Walfield <neal@g10code.com> committed rG8ae3946d28c4: gpg: Don't store formatting fingerprints in the TOFU DB. (authored by Neal H. Walfield <neal@g10code.com>).Nov 3 2015, 4:32 PM