Skip to content

Conversation

@larabr
Copy link
Collaborator

@larabr larabr commented Sep 11, 2023

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.

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`.
@larabr larabr requested a review from twiss September 11, 2023 18:33
Co-authored-by: Daniel Huigens <[email protected]>
@larabr larabr merged commit 9fa4e5c into openpgpjs:v6 Oct 19, 2023
larabr added a commit that referenced this pull request Oct 20, 2023
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`.
larabr added a commit that referenced this pull request Oct 24, 2023
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`.
larabr added a commit that referenced this pull request Oct 25, 2023
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`.
larabr added a commit that referenced this pull request Apr 19, 2024
…Protect`

The logic was updated in github.com//pull/1678 .
The affected tests were still successful thanks to the default config.
larabr added a commit that referenced this pull request May 2, 2024
…Protect`

The logic was updated in github.com//pull/1678 .
The tests worked anyway thanks to the config option matching the (monkey patched)
keys' feature flags, which are the deciding factor for whether to use AEAD.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants