diff options
author | Werner Koch <wk@gnupg.org> | 2024-03-04 14:56:16 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2024-03-04 14:58:45 +0100 |
commit | 345794cfe671c66f32fb63bb37bd41b19517359f (patch) | |
tree | 7f091aa9e940f35e21461a0d75114b9625323e0a /doc | |
parent | wks: Add option --realclean to gpg-wks-client. (diff) | |
download | gnupg2-345794cfe671c66f32fb63bb37bd41b19517359f.tar.xz gnupg2-345794cfe671c66f32fb63bb37bd41b19517359f.zip |
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.
--
GnuPG-bug-id: 7025
Diffstat (limited to 'doc')
-rw-r--r-- | doc/gpg.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/gpg.texi b/doc/gpg.texi index 26e0ebdcd..1d1c38cd9 100644 --- a/doc/gpg.texi +++ b/doc/gpg.texi @@ -1776,7 +1776,9 @@ useful if you don't want to keep your secret keys (or one of them) online but still want to be able to check the validity of a given recipient's or signator's key. If the given key is not locally available but an LDAP keyserver is configured the missing key is -imported from that server. +imported from that server. The value "none" is explicitly allowed to +distinguish between the use of any trusted-key option and no use of +this option at all (e.g. due to the @option{--no-options} option). @item --add-desig-revoker [sensitive:]@var{fingerprint} @opindex add-desig-revoker |