Home GnuPG
Diffusion GnuPG 345794cfe671

gpg: Fix mixed invocation with --trusted-keys and --no-options.

Description

gpg: Fix mixed invocation with --trusted-keys and --no-options.

* g10/trustdb.c: Move a function and some definitions around.
(user_utk_list): Rename to trusted_key_list.  Change all users.
(any_trusted_key_seen): New.
(tdb_register_trusted_key): Set it here.  Handle the new value "none".
(verify_own_keys): Do not delete a trusted key from the trustdb if a
trusted-key option was not used.

Details

Provenance
wernerAuthored on Mar 4 2024, 2:56 PM
Parents
rG36a3550bffd2: wks: Add option --realclean to gpg-wks-client.
Branches
Unknown
Tags
Unknown
Tasks
T7025: --trusted-key and --no-options mismatch