Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generateForwardingMaterial: set forwarding flag on encryption subkeys #184

Merged
merged 2 commits into from
Sep 6, 2023

Conversation

larabr
Copy link
Collaborator

@larabr larabr commented Sep 6, 2023

A specific flag needs to be set for forwarding subkeys instead of the standard EtEr ones. In fact, encrypting to them directly is not allowed.

Also, setting config.allowForwardedMessages is now required to decrypt (this was previously not enforced due to a bug in OpenPGP.js)

A specific flag needs to be set for forwarding subkeys instead of the
standard EtEr ones. In fact, encrypting to them directly is not allowed.

Also, setting `config.allowForwardedMessages` is now required to decrypt
(this was previously not enforced due to a bug in OpenPGP.js)
@larabr larabr requested a review from twiss September 6, 2023 13:12
package.json Outdated Show resolved Hide resolved
@larabr larabr requested a review from twiss September 6, 2023 14:58
@larabr larabr merged commit 1d2e75f into ProtonMail:main Sep 6, 2023
1 check passed
larabr added a commit to larabr/pmcrypto that referenced this pull request Feb 20, 2024
…ys (ProtonMail#184)

A specific flag needs to be set for forwarding subkeys instead of the
standard EtEr ones. In fact, encrypting to them directly is not allowed.

Also, setting `config.allowForwardedMessages` is now required to decrypt
(this was previously not enforced due to a bug in OpenPGP.js)
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