Bug#466930: hkp search+import fails on keyids of more than 4 bytes
> I don't have a onak server running, so no easy way to do any debugging, but
> maybe we can walk it thru together?
>
Mmm ok you won, I didn't want to install the 243Mb of build dependencies ;-)
subkey is the full string and section "key" means all the right part
so we've to get another section, the left of ", created"
Here is a patch, it works with both short and long keyid servers.
--- keyservers.cpp.orig 2008-02-21 22:10:47.000000000 +0100
+++ keyservers.cpp 2008-02-22 00:50:16.000000000 +0100
@@ -315,8 +315,8 @@
if (subkey.find(" key ")!=-1 &&
subkey.at(0).isDigit ())
{
QString kid=subkey.section(" key ",1,1);
+ kid=kid.section(", created",0,0);
kid=kid.stripWhiteSpace();
- kid=kid.left(8);
kitem->setText(3,kid);
QString creation=subkey.section("created",1,1);
if (creation.startsWith(":"))
creation=creation.right(creation.length()-1);
Reply to: