Home GnuPG
Diffusion GnuPG e7fc6e3bf0eb

dirmngr: Forbid redirects from .onion to clearnet URIs.

Description

dirmngr: Forbid redirects from .onion to clearnet URIs.

* dirmngr/ks-engine-hkp.c (send_request): Forbid redirects from .onion
to clearnet URIs.
* dirmngr/ks-engine-http.c (ks_http_fetch): Likewise.

This protects users from misconfigured .onion services.

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