File tree 4 files changed +8
-8
lines changed
4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 27
27
defaults write org.gpgtools.common DebugLog -bool YES|NO
28
28
29
29
30
- * Disable OpenPGP for reading messages. *
31
- defaults write org.gpgtools.gpgmail DisableOpenPGPForReading -bool YES|NO
30
+ * Disable or enable OpenPGP for reading messages. *
31
+ defaults write org.gpgtools.gpgmail UseOpenPGPForReading -bool YES|NO
32
32
33
33
34
34
* FOR DEBUGGING ONLY: Hides all signature attachments, even if they fail to verify. *
Original file line number Diff line number Diff line change 14
14
AttachKeyToOutgoingMessages = NO;
15
15
AllowSymmetricEncryption = NO;
16
16
ShowAccountNameForKeysOfSameAddress = NO;
17
- DoNotEncryptToSelf = NO ;
17
+ EncryptToSelf = YES ;
18
18
19
19
/* Viewing */
20
- DisableOpenPGPForReading = NO ;
20
+ UseOpenPGPForReading = YES ;
21
21
HideAllSignatureAttachments = NO;
22
22
CreatePreviewSnippets = NO;
23
23
Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ - (BOOL)shouldBePGPProcessed {
438
438
// return NO;
439
439
440
440
// OpenPGP is disabled for reading? Return false.
441
- if ([[GPGOptions sharedOptions ] boolForKey: @" DisableOpenPGPForReading " ])
441
+ if (! [[GPGOptions sharedOptions ] boolForKey: @" UseOpenPGPForReading " ])
442
442
return NO ;
443
443
444
444
// Message was actively selected by the user? PGP process message.
Original file line number Diff line number Diff line change @@ -1951,7 +1951,7 @@ - (id)MANewEncryptedPartWithData:(NSData *)data recipients:(id)recipients encryp
1951
1951
GPGKey *senderPublicKey = nil ;
1952
1952
1953
1953
// Split the recipients in normal and bcc recipients.
1954
- BOOL doNotEncryptToSelf = [[GPGOptions sharedOptions ] boolForKey: @" DoNotEncryptToSelf " ];
1954
+ BOOL encryptToSelf = [[GPGOptions sharedOptions ] boolForKey: @" EncryptToSelf " ];
1955
1955
NSMutableArray *normalRecipients = [NSMutableArray arrayWithCapacity: 1 ];
1956
1956
NSMutableArray *bccRecipients = [NSMutableArray arrayWithCapacity: 1 ];
1957
1957
@@ -1960,7 +1960,7 @@ - (id)MANewEncryptedPartWithData:(NSData *)data recipients:(id)recipients encryp
1960
1960
if ([recipientType isEqualTo: @" bcc" ]) {
1961
1961
[bccRecipients addObject: recipient];
1962
1962
} else {
1963
- // If DoNotEncryptToSelf is enabled , don't add the sender to the recipients.
1963
+ // If encryptToSelf is disabled , don't add the sender to the recipients.
1964
1964
// Of course this has the effect that the sent mails can't be read by the sender,
1965
1965
// but that's exactly what this option is for.
1966
1966
if ([recipientType isEqualToString: @" from" ]) {
@@ -1975,7 +1975,7 @@ - (id)MANewEncryptedPartWithData:(NSData *)data recipients:(id)recipients encryp
1975
1975
}
1976
1976
}
1977
1977
1978
- if (doNotEncryptToSelf )
1978
+ if (!encryptToSelf )
1979
1979
continue ;
1980
1980
1981
1981
// In order to fix a problem where a random key matching an address
You can’t perform that action at this time.
0 commit comments