mirror of
https://github.com/moparisthebest/open-keychain
synced 2025-01-11 21:48:17 -05:00
tidy up IntentService
This commit is contained in:
parent
4c693b4509
commit
18ed828608
@ -748,8 +748,8 @@ public class KeychainIntentService extends IntentService
|
|||||||
KeybaseKeyServer server = new KeybaseKeyServer();
|
KeybaseKeyServer server = new KeybaseKeyServer();
|
||||||
for (ImportKeysListEntry entry : entries) {
|
for (ImportKeysListEntry entry : entries) {
|
||||||
// the keybase handle is in userId(1)
|
// the keybase handle is in userId(1)
|
||||||
String username = entry.getUserIds().get(1);
|
String keybaseID = entry.getUserIds().get(1);
|
||||||
byte[] downloadedKeyBytes = server.get(username).getBytes();
|
byte[] downloadedKeyBytes = server.get(keybaseID).getBytes();
|
||||||
|
|
||||||
// create PGPKeyRing object based on downloaded armored key
|
// create PGPKeyRing object based on downloaded armored key
|
||||||
PGPKeyRing downloadedKey = null;
|
PGPKeyRing downloadedKey = null;
|
||||||
|
Loading…
Reference in New Issue
Block a user