mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-12-25 00:18:51 -05:00
parent
456aa00e2a
commit
ac080b21ef
@ -280,10 +280,10 @@ public class HkpKeyserver extends Keyserver {
|
|||||||
entry.setQuery(query);
|
entry.setQuery(query);
|
||||||
entry.setOrigin(getUrlPrefix() + mHost + ":" + mPort);
|
entry.setOrigin(getUrlPrefix() + mHost + ":" + mPort);
|
||||||
|
|
||||||
entry.setBitStrength(Integer.parseInt(matcher.group(3)));
|
int bitSize = Integer.parseInt(matcher.group(3));
|
||||||
|
entry.setBitStrength(bitSize);
|
||||||
final int algorithmId = Integer.decode(matcher.group(2));
|
int algorithmId = Integer.decode(matcher.group(2));
|
||||||
entry.setAlgorithm(PgpKeyHelper.getAlgorithmInfo(algorithmId, null, null));
|
entry.setAlgorithm(PgpKeyHelper.getAlgorithmInfo(algorithmId, bitSize, null));
|
||||||
|
|
||||||
// group 1 contains the full fingerprint (v4) or the long key id if available
|
// group 1 contains the full fingerprint (v4) or the long key id if available
|
||||||
// see http://bit.ly/1d4bxbk and http://bit.ly/1gD1wwr
|
// see http://bit.ly/1d4bxbk and http://bit.ly/1gD1wwr
|
||||||
|
Loading…
Reference in New Issue
Block a user