mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-11 03:25:05 -05:00
fix bug with bad verifying master keys
This commit is contained in:
parent
2946d442e5
commit
36bc0ae676
@ -150,11 +150,11 @@ public class ProviderHelper {
|
|||||||
if (data != null) {
|
if (data != null) {
|
||||||
try {
|
try {
|
||||||
result.put(masterKeyId,
|
result.put(masterKeyId,
|
||||||
UncachedKeyRing.decodePublicFromData(data).getPublicKey());
|
UncachedKeyRing.decodeFromData(data).getPublicKey());
|
||||||
} catch(PgpGeneralException e) {
|
} catch(PgpGeneralException e) {
|
||||||
Log.e(Constants.TAG, "Error parsing keyring, skipping.");
|
Log.e(Constants.TAG, "Error parsing keyring, skipping " + masterKeyId, e);
|
||||||
} catch(IOException e) {
|
} catch(IOException e) {
|
||||||
Log.e(Constants.TAG, "IO error, skipping keyring");
|
Log.e(Constants.TAG, "IO error, skipping keyring" + masterKeyId, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} while (cursor.moveToNext());
|
} while (cursor.moveToNext());
|
||||||
|
Loading…
Reference in New Issue
Block a user