use setEncryptToSigner for asymmetric encryption

(tested and works, closes #569)
This commit is contained in:
Vincent Breitmoser
2014-05-08 15:31:03 +02:00
parent 5a1120e791
commit 9c5c013538
3 changed files with 1 additions and 5 deletions

View File

@@ -324,6 +324,7 @@ public class KeychainIntentService extends IntentService
.setEncryptionMasterKeyIds(encryptionKeyIds)
.setSymmetricPassphrase(symmetricPassphrase)
.setSignatureMasterKeyId(signatureKeyId)
.setEncryptToSigner(true)
.setSignatureHashAlgorithm(
Preferences.getPreferences(this).getDefaultHashAlgorithm())
.setSignaturePassphrase(