Skip to content

Conversation

@larabr
Copy link
Collaborator

@larabr larabr commented Feb 1, 2024

Fix #1608: the requirements of config.minRSABits, rejectPublicKeyAlgorithms and rejectCurves
are now applied to the primary key, aside from the selected subkey. This is a breaking change.

The motivation is that the subkeys are certified by the primary key, but if the latter is
weak, arbitrary subkeys could potentially be added.

Note that the change does not affect decryption, to allow decrypting older messages.

@larabr larabr requested a review from twiss February 1, 2024 13:50
@larabr larabr force-pushed the v6-reject-insecure-primary-key branch from a85644e to 5b8e94c Compare February 2, 2024 11:22
@larabr larabr requested a review from twiss February 2, 2024 11:22
…ng/verifying/signing using subkeys

Breaking change: the requirements of `config.minRSABits`, `rejectPublicKeyAlgorithms` and `rejectCurves`
are now applied to the primary key, aside from the selected subkey.

The motivation is that the subkeys are certified by the primary key, but if the latter is
weak, arbitrary subkeys could potentially be added.

Note that the change does not affect decryption, to allow decrypting older messages.
@larabr larabr force-pushed the v6-reject-insecure-primary-key branch from 5b8e94c to 81d2e8c Compare February 2, 2024 11:48
@larabr larabr merged commit 22c2682 into openpgpjs:v6 Feb 2, 2024
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