Home GnuPG
Diffusion GnuPG b231959728a0

dirmngr: Honor http keyserver URLs.

Description

dirmngr: Honor http keyserver URLs.

* dirmngr/http.c (parse_uri): Keep an unmodified copy of the URI.
* dirmngr/http.h (struct parsed_uri_s): New field 'original'.
* dirmngr/ks-action.c (ks_action_get): Properly handle http and https
URLs.

If a key has a http or https URL as preferred keyserver, fetch the key
from there. Previously, dirmngr unconditionally interpreted these
URLs as hkp servers.

  • GnuPG-bug-id: T2924
  • Signed-off-by: Justus Winter <justus@g10code.com>

Details

Provenance
justusAuthored on Jul 18 2017, 12:53 PM
Parents
rGebb35ed7110d: dirmngr: Fix memory leak.
Branches
Unknown
Tags
Unknown
Tasks
T2924: HTTP(S) preferred key servers always treated as HKP