1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-02-01 16:33:02 +01:00
Werner Koch 23d8609f4b
gpg: Do not return "Legacy Key" from lookup if a key is expired.
* g10/getkey.c (lookup): Map GPG_ERR_LEGACY_KEY.
--

If an expired key is directly followed by a legacy key in the keyring,
the lookup function incorrectly returned "legacy key" instead of
"unusable key".  We fix it by handling not found identical to a legacy
key if the last finish lookup failed.

Signed-off-by: Werner Koch <wk@gnupg.org>
2015-07-29 16:11:17 +02:00
..
2014-07-23 14:35:22 +02:00
2014-10-31 14:21:34 +01:00
2015-04-06 13:07:09 +02:00
2015-04-06 13:07:09 +02:00
2007-07-04 19:49:40 +00:00
2014-11-13 12:01:42 +01:00
2015-05-01 13:58:18 +09:00
2015-02-04 09:15:34 +01:00
2015-02-04 09:15:34 +01:00
2015-04-23 15:52:39 +02:00
2015-07-08 15:05:06 +09:00
2015-06-30 11:55:17 +02:00
2015-07-08 15:05:06 +09:00
2015-07-08 15:05:06 +09:00
2015-05-15 13:20:52 +02:00
2015-05-08 16:08:57 +02:00
2014-11-19 10:47:57 +01:00
2015-04-06 13:07:09 +02:00
2015-04-06 13:07:09 +02:00
2015-06-30 11:55:17 +02:00
2008-12-12 08:54:50 +00:00
2015-04-06 13:07:09 +02:00
2014-01-29 17:45:05 +01:00