mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-11 03:25:05 -05:00
Download from origin during ACTION_DOWNLOAD_AND_IMPORT_KEYS
This commit is contained in:
parent
8e5767f967
commit
be490307f9
@ -796,10 +796,11 @@ public class KeychainIntentService extends IntentService
|
||||
ArrayList<ImportKeysListEntry> entries = data.getParcelableArrayList(DOWNLOAD_KEY_LIST);
|
||||
String keyServer = data.getString(DOWNLOAD_KEY_SERVER);
|
||||
|
||||
// this downloads the keys and places them into the ImportKeysListEntry entries
|
||||
HkpKeyserver server = new HkpKeyserver(keyServer);
|
||||
|
||||
for (ImportKeysListEntry entry : entries) {
|
||||
|
||||
// this downloads the keys and places them into the ImportKeysListEntry entries
|
||||
HkpKeyserver server = new HkpKeyserver(entry.getOrigin() != null ? entry.getOrigin() : keyServer);
|
||||
|
||||
// if available use complete fingerprint for get request
|
||||
byte[] downloadedKeyBytes;
|
||||
if (entry.getFingerprintHex() != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user