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

fix(node/crypto): support promisify on generateKeyPair #26913

Merged
merged 2 commits into from
Nov 19, 2024

Conversation

marvinhagemeister
Copy link
Contributor

Calling promisify(generateKeyPair) didn't work as expected. It requires a custom promisify implementation.

This was easy to fix thanks to the excellent debugging investigation in #26910

Fixes #26910

Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@marvinhagemeister marvinhagemeister merged commit df1d363 into main Nov 19, 2024
17 checks passed
@marvinhagemeister marvinhagemeister deleted the promisify-generateKeyPair branch November 19, 2024 00:39
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.

node:crypto generateKeyPair() is missing promisify argument metadata
2 participants