1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +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
..
2007-10-25 09:06:21 +00:00
2007-10-25 09:06:21 +00:00
2010-06-07 13:33:02 +00:00
2007-10-25 09:06:21 +00:00
2006-10-02 11:54:35 +00:00
2010-05-07 13:13:56 +00:00
2010-05-07 13:13:56 +00:00
2010-10-14 16:34:31 +00:00
2014-03-17 18:14:23 +01:00
2007-10-25 09:06:21 +00:00
2007-10-25 09:06:21 +00:00
2014-08-18 12:55:54 +02:00
2010-10-14 16:34:31 +00:00
2010-10-14 16:36:47 +00:00
2014-02-10 10:41:48 +01:00
2010-10-14 16:34:31 +00:00
2010-10-14 16:34:31 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2006-08-21 20:20:23 +00:00
2007-10-25 09:06:21 +00:00