aboutsummaryrefslogtreecommitdiffstats
path: root/common/sysutils.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2023-09-06 10:09:55 +0000
committerWerner Koch <[email protected]>2023-09-06 10:12:47 +0000
commita02f3cc4e870bee97dfa54ba665d3db2721cdeb7 (patch)
tree7f4d834df342e6cf85182b260796e3bdc310eca2 /common/sysutils.c
parentdirmngr: Allow conf files to disable default keyservers. (diff)
downloadgnupg-a02f3cc4e870bee97dfa54ba665d3db2721cdeb7.tar.gz
gnupg-a02f3cc4e870bee97dfa54ba665d3db2721cdeb7.zip
gpg: Fix validity of re-imported keys.
* g10/trustdb.c (tdb_clear_ownertrusts): Detect stale validity records. -- GnuPG-bug-id: 6399 This problem was introduced by an actually very useful patch 2002-12-13 David Shaw <[email protected]> [...] * import.c (import_keys_internal): Used here so we don't rebuild the trustdb if it is still clean. (import_one, chk_self_sigs): Only mark trustdb dirty if the key that is being imported has any sigs other than self-sigs. Suggested by Adrian von Bidder. [the last part] The bug exhibited itself only after signing a key, deleting that key and then re-importing the original non-signed key.
Diffstat (limited to 'common/sysutils.c')
0 files changed, 0 insertions, 0 deletions