mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-30 12:32:17 -05:00
Fix cleartext signatures internally
This commit is contained in:
parent
d11d3933bc
commit
6c6201f129
@ -455,6 +455,7 @@ public class KeychainIntentService extends IntentService implements Progressable
|
|||||||
this, new ProviderHelper(this), this, inputData, outStream
|
this, new ProviderHelper(this), this, inputData, outStream
|
||||||
);
|
);
|
||||||
builder.setEnableAsciiArmorOutput(useAsciiArmor)
|
builder.setEnableAsciiArmorOutput(useAsciiArmor)
|
||||||
|
.setCleartextSignature(true)
|
||||||
.setVersionHeader(PgpHelper.getVersionForHeader(this))
|
.setVersionHeader(PgpHelper.getVersionForHeader(this))
|
||||||
.setCompressionId(compressionId)
|
.setCompressionId(compressionId)
|
||||||
.setSymmetricEncryptionAlgorithm(
|
.setSymmetricEncryptionAlgorithm(
|
||||||
@ -492,9 +493,7 @@ public class KeychainIntentService extends IntentService implements Progressable
|
|||||||
outStream.close();
|
outStream.close();
|
||||||
|
|
||||||
/* Output */
|
/* Output */
|
||||||
|
|
||||||
finalizeEncryptOutputStream(data, resultData, outStream);
|
finalizeEncryptOutputStream(data, resultData, outStream);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Log.logDebugBundle(resultData, "resultData");
|
Log.logDebugBundle(resultData, "resultData");
|
||||||
|
Loading…
Reference in New Issue
Block a user