Fix key id and fingerprint handling, use full key ids

This commit is contained in:
Dominik Schürmann committed 2014-03-09 01:49:25 +01:00
1 parent 8dc7a72331
commit 5b255a263f
10 files changed
+78 -88

No files matched your search

@@ -226,7 +226,7 @@ public class HkpKeyServer extends KeyServer {
HttpClient client = new DefaultHttpClient();
try {
HttpGet get = new HttpGet("http://" + mHost + ":" + mPort
+ "/pks/lookup?op=get&search=0x" + PgpKeyHelper.convertKeyToHex(keyId));
+ "/pks/lookup?op=get&search=0x" + PgpKeyHelper.convertKeyIdToHex(keyId));
HttpResponse response = client.execute(get);
if (response.getStatusLine().getStatusCode() != HttpStatus.SC_OK) {