Fix construction of algorithmID in Keybase result lists

This commit is contained in:
Tim Bray 2014-09-15 15:11:04 -07:00
parent 9dc22ef510
commit 018ca6abad

View File

@ -76,10 +76,10 @@ public class KeybaseKeyserver extends Keyserver {
// store extra info, so we can query for the keybase id directly
entry.setExtraData(username);
final int algorithmId = match.getAlgorithmId();
entry.setAlgorithm(PgpKeyHelper.getAlgorithmInfo(algorithmId, null, null));
final int bitStrength = match.getBitStrength();
entry.setBitStrength(bitStrength);
final int algorithmId = match.getAlgorithmId();
entry.setAlgorithm(PgpKeyHelper.getAlgorithmInfo(algorithmId, bitStrength, null));
ArrayList<String> userIds = new ArrayList<String>();
String name = fullName + " <keybase.io/" + username + ">";