More changes to PgpSignEncrypt

This commit is contained in:
Dominik Schürmann
2014-04-12 20:33:25 +02:00
parent a65a9ac5f0
commit 44a7bda7dc
3 changed files with 48 additions and 37 deletions

View File

@@ -330,6 +330,11 @@ public class KeychainIntentService extends IntentService
.signaturePassphrase(
PassphraseCacheService.getCachedPassphrase(this, signatureKeyId));
// this assumes that the bytes are cleartext (valid for current implementation!)
if (target == TARGET_BYTES) {
builder.cleartextInput(true);
}
builder.build().execute();
outStream.close();