Home GnuPG
Diffusion GnuPG a0aea092647c

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 Wed, Sep 25, 2:31 PM
Parents
rGc59eeda3c429: gpg: Remove useless variable in validate_keys.
Branches
Unknown
Tags
Unknown
Tasks
T7200: Trustdb not updated on import of extended certificate