aboutsummaryrefslogtreecommitdiffstats
path: root/g10/parse-packet.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-10-13 12:01:29 +0000
committerWerner Koch <[email protected]>2014-10-13 12:01:29 +0000
commitc60814a5ce13932d933b363abc0c60c12783ae2f (patch)
tree1594d9af20b30d60627208212ca0f66c1314e92b /g10/parse-packet.c
parenttests: Add sample keys with colliding long keu ids. (diff)
downloadgnupg-c60814a5ce13932d933b363abc0c60c12783ae2f.tar.gz
gnupg-c60814a5ce13932d933b363abc0c60c12783ae2f.zip
gpg: Allow importing keys with duplicated long key ids.
* g10/keydb.c (keydb_handle): Add field no_caching. (keyblock_cache): Repalce field kid by fpr. (keydb_disable_caching): New. (keydb_search): Use the fingerprint as cache index. * g10/import.c (import_one): Use the fingerprint and not the kid to lookup the key. Call keydb_disable_caching beofre re-searching for update. * tests/openpgp/import.test: Add a test case. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions