Skip to content

crypto: add keyObject.asymmetricKeyDetails for asymmetric keys#36188

Closed
panva wants to merge 4 commits intonodejs:masterfrom
panva:keyobject-details
Closed

crypto: add keyObject.asymmetricKeyDetails for asymmetric keys#36188
panva wants to merge 4 commits intonodejs:masterfrom
panva:keyobject-details

Conversation

@panva
Copy link
Copy Markdown
Member

@panva panva commented Nov 20, 2020

This API exposes key details. It is conceptually different from the
previously discussed keyObject.fields property since it does not give
access to information that could compromise the security of the key, and
the obtained information cannot be used to uniquely identify a key.

The intended purpose is to determine "security properties" of keys, e.g.
to generate a new key pair with the same parameters, or to decide
whether a key is secure enough.

This replaces and closes #30045

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author ready PRs that have at least one approval, no pending requests for changes, and a CI started. crypto Issues and PRs related to the crypto subsystem. semver-minor PRs that contain new features and should be released in the next minor version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants