encrypt to signing key in openkeychain ui
This commit is contained in:
parent
93caae1342
commit
4a4e325bca
|
@ -649,6 +649,9 @@ public class EncryptFilesFragment
|
|||
|
||||
data.setEncryptionMasterKeyIds(encryptionKeyIds);
|
||||
data.setSignatureMasterKeyId(signingKeyId);
|
||||
if (signingKeyId != Constants.key.none) {
|
||||
data.setAdditionalEncryptId(signingKeyId);
|
||||
}
|
||||
} else {
|
||||
Passphrase passphrase = modeFragment.getSymmetricPassphrase();
|
||||
if (passphrase == null) {
|
||||
|
|
|
@ -264,6 +264,9 @@ public class EncryptTextFragment
|
|||
|
||||
data.setEncryptionMasterKeyIds(encryptionKeyIds);
|
||||
data.setSignatureMasterKeyId(signingKeyId);
|
||||
if (signingKeyId != Constants.key.none) {
|
||||
data.setAdditionalEncryptId(signingKeyId);
|
||||
}
|
||||
} else {
|
||||
Passphrase passphrase = modeFragment.getSymmetricPassphrase();
|
||||
if (passphrase == null) {
|
||||
|
|
Loading…
Reference in a new issue