fix encrypt/decrypt classes

This commit is contained in:
Vincent Breitmoser committed 2014-09-17 14:32:14 +02:00
1 parent 27cc92cbef
commit a3e7406b3d
2 files changed
+190 -18

No files matched your search

@@ -643,9 +643,6 @@ public class PgpDecryptVerify {
return new DecryptVerifyResult(DecryptVerifyResult.RESULT_ERROR, log);
}
} else {
// no integrity check
Log.d(Constants.TAG, "Encrypted data was not integrity protected! MDC packet is missing!");
// If no valid signature is present:
// Handle missing integrity protection like failed integrity protection!
// The MDC packet can be stripped by an attacker!