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

@@ -175,6 +175,10 @@ public class OpenPgpService extends RemoteService {
.signatureForceV3(false)
.signatureMasterKeyId(accSettings.getKeyId())
.signaturePassphrase(passphrase);
// TODO: currently always assume cleartext input, no sign-only of binary currently!
builder.cleartextInput(true);
builder.build().execute();
} finally {
is.close();