fix bug with bad verifying master keys

This commit is contained in:
Vincent Breitmoser 2014-06-04 21:35:13 +02:00
parent 2946d442e5
commit 36bc0ae676

View File

@ -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());