aboutsummaryrefslogtreecommitdiffstats
path: root/g10/gpg.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2015-11-13 15:09:01 +0000
committerWerner Koch <[email protected]>2015-11-13 15:09:30 +0000
commit7de8376430625c1f6f3a58ae16276deca8ff6a82 (patch)
treebfd54102034ea5c436a2c1222ee9e5bd15941f5d /g10/gpg.h
parentgpg: Fix regression in --locate-keys (in 2.1.9). (diff)
downloadgnupg-7de8376430625c1f6f3a58ae16276deca8ff6a82.tar.gz
gnupg-7de8376430625c1f6f3a58ae16276deca8ff6a82.zip
gpg: Make trusted-key override for Tofu robust against swapped tofu.db.
* g10/tofu.c (get_trust): For the UTK check lookup the key by fingerprint. -- Extracting the keyid form the fingerprint is not a good idea because that only works for v4 keys. It is also better to first read the key and then extract the keyid from the actual available key. The entire trusted-key stuff should be reworked to make use of fingerprints. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/gpg.h')
0 files changed, 0 insertions, 0 deletions