Home GnuPG
Diffusion GnuPG ceec31751cc0

gpg: Validate the trustdb after the import of a trusted key.

Description

gpg: Validate the trustdb after the import of a trusted key.

* g10/import.c (import_one_real): Rename non_self to non_self_or_utk.
If not set after chk_self_sigs check whether the imported key is an
ultimately trusted key.

The revalidation mark was only set if the imported key had a new key
signature. This is in general correct but not if the imported key is
a trusted key.

Details

Provenance
wernerAuthored on Sep 25 2024, 2:31 PM
Parents
rGce54266d6670: gpg: Remove useless variable in validate_keys.
Branches
Unknown
Tags
Unknown
Tasks
T7200: Trustdb not updated on import of extended certificate