use new key database for encryption and decryption

This commit is contained in:
Thialfihar
2010-05-26 23:40:12 +00:00
parent fa99a70a49
commit 5fb8cb4d5e
8 changed files with 90 additions and 85 deletions

View File

@@ -468,6 +468,7 @@ public class DecryptActivity extends BaseActivity {
if (mSignedOnly) {
data = Apg.verifyText(this, in, out, this);
} else {
// TODO: check the pass phrase, may be null?
data = Apg.decrypt(this, in, out, size, Apg.getCachedPassPhrase(getSecretKeyId()),
this, mAssumeSymmetricEncryption);
}