mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-02-27 13:33:23 +00:00
Determine whether AEAD should be used for encryption solely based the encryption key preferences. Previously, the config flag was also used to control the behaviour, since AEAD messages were not standardised nor widely supported. To generate keys that declare AEAD in their preferences, use `generateKey` with `config.aeadProtect = true`.