Home GnuPG
Diffusion GnuPG 8cd920f6aa20

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 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
rGf50c543326c2: agent: Allow simple KEYINFO command when restricted.
Branches
Unknown
Tags
Unknown
Tasks
T7025: --trusted-key and --no-options mismatch