added initial support for HKP key servers, allowing searching and key import
Update issue 9 Can search a key server now, touch a result to import the key. Still needs better error handling and some Intents to import keys based on key ID. Also still need key server preferences.
This commit is contained in:
1 parent
b3a63beffc
commit
6e9146c91a
18 files changed
+624
-19
No files matched your search
@@ -141,14 +141,8 @@ public class KeyEditor extends LinearLayout implements Editor, OnClickListener {
|
||||
}
|
||||
|
||||
mAlgorithm.setText(Apg.getAlgorithmInfo(key));
|
||||
String keyId1Str = Long.toHexString((key.getKeyID() >> 32) & 0xffffffffL);
|
||||
while (keyId1Str.length() < 8) {
|
||||
keyId1Str = "0" + keyId1Str;
|
||||
}
|
||||
String keyId2Str = Long.toHexString(key.getKeyID() & 0xffffffffL);
|
||||
while (keyId2Str.length() < 8) {
|
||||
keyId2Str = "0" + keyId2Str;
|
||||
}
|
||||
String keyId1Str = Apg.getFingerPrint(key.getKeyID());
|
||||
String keyId2Str = Apg.getFingerPrint(key.getKeyID() >> 32);
|
||||
mKeyId.setText(keyId1Str + " " + keyId2Str);
|
||||
|
||||
Vector<Choice> choices = new Vector<Choice>();
|
||||
|
||||
Reference in new issue
Block a user