We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7733dc commit 63e3da1Copy full SHA for 63e3da1
openpgp/v2/write.go
@@ -594,8 +594,8 @@ func encrypt(
594
encryptKeys := make([]Key, len(to)+len(toHidden))
595
596
config := params.Config
597
- // AEAD is used only if config enables it and every key supports it
598
- aeadSupported := config.AEAD() != nil
+ // AEAD is used if every key supports it
+ aeadSupported := true
599
600
var intendedRecipients []*packet.Recipient
601
// Intended Recipient Fingerprint subpacket SHOULD be used when creating a signed and encrypted message
0 commit comments