Skip to content

crypto: add rsa-pss keygen parameters

This PR deprecates (documentation-only deprecation with --pending-deprecation) undocumented API for RSA-PSS key generation parameters that specify the RSASSA-PSS-params sequence and replaces them with options aligned with asymmetricKeyDetails property names.

The update is so that the option names and their values match the ones exposed via asymmetricKeyDetails from #39851. See https://github.com/nodejs/node/pull/39851#issuecomment-903732658 and https://github.com/nodejs/node/pull/39851#issuecomment-907749171

It is semver-major because despite it being undocumented before it might be in use in by users.

Edit: We will runtime deprecate the undocumented ones via a followup PR, this is now a semver-minor as it is not breaking potential existing use of the undocumented API.

Merge request reports

Loading