1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-01 16:33:02 +01:00
Werner Koch c60814a5ce 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 <wk@gnupg.org>
2014-10-13 14:01:29 +02:00
..
2014-07-23 14:35:22 +02:00
2014-01-31 14:35:49 +01:00
2007-07-04 19:49:40 +00:00
2014-10-10 15:29:42 +02:00
2013-11-15 15:49:34 +01:00
2014-08-14 15:21:21 +02:00
2014-10-09 08:17:32 +02:00
2008-12-12 08:54:50 +00:00
2014-03-06 16:23:10 +09:00
2014-01-29 17:45:05 +01:00