1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00
Werner Koch cf8d89b0ce
gpg: Print better diagnostics for keyserver operations.
* g10/armor.c (parse_key_failed_line): New.
(check_input): Watch out for gpgkeys_ error lines.
* g10/filter.h (armor_filter_context_t): Add field key_failed_code.
* g10/import.c (import): Add arg r_gpgkeys_err.
(import_keys_internal): Ditto.
(import_keys_stream): Ditto.
* g10/keyserver.c (keyserver_errstr): New.
(keyserver_spawn): Detect "KEY " lines while sending.  Get gpgkeys_err
while receiving keys.
(keyserver_work): Add kludge for better error messages.
--

GnuPG-bug-id: 1832

Note that these changes can be backported to 1.4 but they don't make
sense for 2.1 due to the removal of the keyserver helpers.  The error
reporting could be improved even more but given that this is an old
GnuPG branch it is not justified to put too much effort into it.

Signed-off-by: Werner Koch <wk@gnupg.org>

[dkg: rebased to STABLE-BRANCH-1-4]
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2015-02-23 10:52:37 +01:00
..
2010-09-23 08:15:45 +00:00
2007-10-23 10:48:09 +00:00
2009-09-02 15:02:01 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2014-08-06 18:33:21 +02:00
2009-12-15 11:07:43 +00:00
2009-09-02 17:30:53 +00:00
2007-10-23 10:48:09 +00:00
2013-07-12 17:26:55 +09:00
2007-10-23 10:48:09 +00:00
2014-06-23 14:57:32 +02:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2011-02-23 15:13:40 +01:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2011-08-09 10:54:22 +02:00
2005-10-05 16:58:50 +00:00
2009-06-24 14:01:20 +00:00
2013-07-12 17:26:55 +09:00
2009-05-11 09:37:25 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00
2007-10-23 10:48:09 +00:00