fix encrypt/decrypt classes

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

View File

@@ -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!