Werner Koch
9f586700ec
gpg,sm: Simplify keyserver spec parsing.
...
* common/keyserver.h: Remove.
* sm/gpgsm.h (struct keyserver_spec): Remove.
(opt): Change keyserver to a strlist_t.
* sm/gpgsm.c (keyserver_list_free): Remove.
(parse_keyserver_line): Remove.
(main): Store keyserver in an strlist.
* sm/call-dirmngr.c (prepare_dirmngr): Adjust for the strlist. Avoid
an ambiguity in dirmngr by adding a prefix if needed.
* g10/options.h (struct keyserver_spec): Move definition from
keyserver.h to here. Remove most fields.
* g10/keyserver.c (free_keyserver_spec): Adjust.
(cmp_keyserver_spec): Adjust.
(parse_keyserver_uri): Simplify.
(keyidlist): Remove fakev3 arg which does not make any sense because
we don't even support v3 keys.
--
We now rely on the dirmngr to parse the keyserver specs. Thus a bad
specification will not be caught immediately. However, even before
that dirmngr had stricter tests.
Signed-off-by: Werner Koch <wk@gnupg.org>
2021-05-26 14:30:17 +02:00
..
2018-03-23 08:37:14 +01:00
2017-05-11 18:12:37 +02:00
2020-12-21 17:24:34 +01:00
2020-12-04 12:12:20 +01:00
2018-02-14 12:21:44 +01:00
2018-08-28 16:47:38 +02:00
2018-02-14 12:21:44 +01:00
2020-03-27 21:20:13 +01:00
2016-11-05 12:02:19 +01:00
2017-05-10 11:13:12 +09:00
2016-11-05 12:02:19 +01:00
2017-04-28 10:06:33 +09:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2015-10-28 10:20:17 +01:00
2017-04-28 10:06:33 +09:00
2015-04-24 16:42:28 +02:00
2016-11-05 12:02:19 +01:00
2021-04-01 13:21:33 +02:00
2021-01-28 16:01:53 +01:00
2016-11-05 12:02:19 +01:00
2021-03-02 19:11:53 +01:00
2021-03-02 19:11:53 +01:00
2017-02-24 13:48:28 +01:00
2011-02-04 12:57:53 +01:00
2021-05-03 19:05:14 +02:00
2020-10-21 20:49:18 +02:00
2016-11-05 12:02:19 +01:00
2017-04-28 10:06:33 +09:00
2017-04-28 10:06:33 +09:00
2016-11-05 12:02:19 +01:00
2011-02-04 12:57:53 +01:00
2016-11-05 12:02:19 +01:00
2014-03-12 18:35:36 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2020-11-03 19:31:12 +01:00
2016-11-05 12:02:19 +01:00
2013-05-07 21:35:48 +02:00
2016-11-05 12:02:19 +01:00
2020-10-21 21:09:38 +02:00
2020-11-04 16:25:57 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2015-11-17 12:50:22 +01:00
2020-12-04 12:12:20 +01:00
2017-04-28 10:06:33 +09:00
2020-10-23 10:02:25 +02:00
2020-02-10 16:37:34 +01:00
2015-12-14 16:21:19 +01:00
2020-02-17 11:38:23 +01:00
2017-02-16 17:21:05 +01:00
2017-03-07 10:42:46 +09:00
2020-05-12 18:51:47 +02:00
2020-05-12 18:51:47 +02:00
2021-05-26 14:30:17 +02:00
2016-11-05 12:02:19 +01:00
2018-07-29 18:39:32 +02:00
2018-07-29 18:39:32 +02:00
2017-02-21 13:11:46 -05:00
2016-11-05 12:02:19 +01:00
2018-05-02 19:03:07 +02:00
2018-12-05 08:23:57 +01:00
2018-12-05 08:23:57 +01:00
2020-10-23 11:15:59 +02:00
2016-11-05 12:02:19 +01:00
2011-02-04 12:57:53 +01:00
2011-02-04 12:57:53 +01:00
2019-04-16 13:27:44 +09:00
2021-05-20 14:52:08 +02:00
2016-11-05 12:02:19 +01:00
2021-04-29 12:37:04 +02:00
2021-04-29 12:57:00 +02:00
2021-04-29 12:37:04 +02:00
2020-04-15 15:31:56 +02:00
2016-03-02 14:27:30 +01:00
2017-04-28 10:06:33 +09:00
2016-11-05 12:02:19 +01:00
2019-02-11 10:59:34 +01:00
2019-02-11 10:59:34 +01:00
2020-08-12 09:28:20 +02:00
2016-11-05 12:02:19 +01:00
2017-02-21 13:11:46 -05:00
2021-05-17 18:26:34 +02:00
2018-03-23 08:37:14 +01:00
2016-11-05 12:02:19 +01:00
2018-10-24 20:30:17 +02:00
2017-04-28 10:06:33 +09:00
2018-09-06 11:46:20 +09:00
2017-05-24 17:01:48 +02:00
2016-11-05 12:02:19 +01:00
2020-11-09 11:53:33 +01:00
2020-08-22 14:22:01 +02:00
2020-08-20 15:53:06 +02:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2021-01-11 14:26:27 +01:00
2021-01-11 14:26:27 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2020-10-21 21:10:27 +02:00
2016-11-05 12:02:19 +01:00
2020-10-21 20:49:18 +02:00
2017-01-12 10:39:19 +01:00
2016-11-05 12:02:19 +01:00
2017-01-02 13:29:18 +01:00
2016-11-05 12:02:19 +01:00
2018-07-29 18:39:32 +02:00
2016-11-05 12:02:19 +01:00
2019-01-29 20:17:29 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2017-04-28 10:06:33 +09:00
2021-04-29 12:31:14 +02:00
2017-05-24 17:07:13 +02:00
2017-07-17 15:53:16 +02:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2016-11-05 12:02:19 +01:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2016-11-05 12:02:19 +01:00
2021-04-29 12:25:46 +02:00
2021-04-29 10:38:29 +02:00
2017-02-21 13:11:46 -05:00
2017-01-17 10:19:06 +01:00
2017-02-24 13:48:28 +01:00
2019-05-27 11:41:35 +02:00
2016-11-05 12:02:19 +01:00
2020-11-27 17:46:29 +01:00
2017-02-24 13:48:28 +01:00
2021-05-17 18:26:34 +02:00
2016-11-05 12:02:19 +01:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2021-01-11 18:40:45 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2017-02-21 13:11:46 -05:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00