[Pkg-gnupg-maint] Bug#574915: still a problem with HTTP 501 response

Gunnar Wolf gwolf at gwolf.org
Wed May 5 17:07:30 UTC 2010


Daniel Kahn Gillmor dijo [Tue, May 04, 2010 at 06:06:41PM -0400]:
> keyring.debian.org now returns 501 if sent a "--search" request, but gpg
> still says:
> 
>  gpg: key "dkg" not found on keyserver.

Umh, but I do not believe there is much we can do - This seems to be a
problem with how the client reports it. 

As a result of:

$ gpg --keyserver keyring.debian.org --search dkg
gpg: searching for "dkg" from hkp server keyring.debian.org
gpg: key "dkg" not found on keyserver

The following conversation took place:

======================================================================
GET /pks/lookup?op=index&options=mr&search=dkg HTTP/1.1
Host: keyring.debian.org:11371
Accept: */*
Pragma: no-cache
Cache-Control: no-cache

HTTP/1.1 501 not implemented (only "get" command available)
Date: Wed, 05 May 2010 17:04:35 GMT
Server: Apache
Vary: Accept-Encoding
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=ISO-8859-1

1e2
<!DOCTYPE html
.PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
<title>Public Key Server -- Error</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
</head>
<body>
<h1>Public Key Server -- Error</h1><p>Invalid query.  Only requests of the form "op=get&search=0x&lt;id&gt;"
are supported.
</p>
</body>
</html>
======================================================================

So, maybe you should reassign this bug to gpg as it reports "not found
on keyserver" when the explicit answer from the server was "I don't
know how to search"?

-- 
Gunnar Wolf • gwolf at gwolf.org • (+52-55)5623-0154 / 1451-2244





More information about the Pkg-gnupg-maint mailing list