When requesting a key through a proxy, GnuPG (common/http.c line 1651) does not provide
a Host: header with the request. This missing header causes some keyservers (e.g.
keyserver.ubuntu.com) to return a 400 Bad Request instead of the key. Issuing the same
request without a proxy does provide a Host: header (common/http.c line 1671) and the
request is satisfied.
Description
Description
Event Timeline
Comment Actions
This is no longer an issue with gnupg master:
% socat - tcp-listen:11371
GET /pks/lookup?op=index&options=mr&search=foobr HTTP/1.0
Host: localhost:11371
Connection: close
Via: 1.0 tinyproxy (tinyproxy/1.8.3)
Pragma: no-cache
Cache-Control: no-cache
Feel free to reopen with more specific information.