mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-25 08:28:50 -05:00
Merge pull request #859 from timbray/master
Fix construction of algorithmID in Keybase result lists
This commit is contained in:
commit
3defd194aa
@ -76,10 +76,10 @@ public class KeybaseKeyserver extends Keyserver {
|
|||||||
// store extra info, so we can query for the keybase id directly
|
// store extra info, so we can query for the keybase id directly
|
||||||
entry.setExtraData(username);
|
entry.setExtraData(username);
|
||||||
|
|
||||||
final int algorithmId = match.getAlgorithmId();
|
|
||||||
entry.setAlgorithm(PgpKeyHelper.getAlgorithmInfo(algorithmId, null, null));
|
|
||||||
final int bitStrength = match.getBitStrength();
|
final int bitStrength = match.getBitStrength();
|
||||||
entry.setBitStrength(bitStrength);
|
entry.setBitStrength(bitStrength);
|
||||||
|
final int algorithmId = match.getAlgorithmId();
|
||||||
|
entry.setAlgorithm(PgpKeyHelper.getAlgorithmInfo(algorithmId, bitStrength, null));
|
||||||
|
|
||||||
ArrayList<String> userIds = new ArrayList<String>();
|
ArrayList<String> userIds = new ArrayList<String>();
|
||||||
String name = fullName + " <keybase.io/" + username + ">";
|
String name = fullName + " <keybase.io/" + username + ">";
|
||||||
|
Loading…
Reference in New Issue
Block a user