Home GnuPG
Diffusion GnuPG 4cc724639c01

gpg: Fix adding the list of ultimate trusted keys.

Description

gpg: Fix adding the list of ultimate trusted keys.

* g10/keygen.c (do_generate_keypair): Remove call to
register_trusted_keyid for updating user_utk_list.
* g10/trust.c (register_trusted_keyid): Remove.
(update_ownertrust): Add call to tdb_update_utk.
* g10/trustdb.c (tdb_register_trusted_keyid): Make it internal
function by adding "static" qualifier.
Replace calls of register_trusted_keyid to tdb_register_trusted_keyid.
(tdb_update_utk): New.
* g10/trustdb.h (tdb_update_utk): New.

Backport of master commit of:
4aeeaa65ad09fa72ee21c5597b1ce6255ec7dfa8

  • GnuPG-bug-id: T5742
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Jan 17 2022, 5:58 AM
Parents
rGf16c535eee91: gpgconf: Add command aliases -L -K -R.
Branches
Unknown
Tags
Unknown
Tasks
T5742: Apparent regressions between 2.2.32 and 2.2.33 of GnuPG