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

doc: Minor typo in crypto.generateKeyPairSync() documentation #33186

Closed
DaemonBeast opened this issue Apr 28, 2020 · 0 comments
Closed

doc: Minor typo in crypto.generateKeyPairSync() documentation #33186

DaemonBeast opened this issue Apr 28, 2020 · 0 comments

Comments

@DaemonBeast
Copy link

In the crypto.generateKeyPairSync(type, options) section of the Crypto module, there is a minor typo. It is located just above the code block within the following line:

When encoding public keys, it is recommended to use 'spki'. When encoding private keys, it is recommended to use 'pks8' with a strong passphrase, and to keep the passphrase confidential.

'pks8' should actually be 'pkcs8'.

@Trott Trott transferred this issue from nodejs/nodejs.org May 1, 2020
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 a pull request may close this issue.

1 participant