-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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: Updates the OpenSSL 'list-message-digest-algorithms' to the newer 'list digest-algorithms' #20400
doc: Updates the OpenSSL 'list-message-digest-algorithms' to the newer 'list digest-algorithms' #20400
Conversation
…er `list digest-algorithms`. Closes: nodejs#20385
list-message-digest-algorithms
to the newer list digest-algorithms
doc/api/crypto.md
Outdated
@@ -1585,7 +1585,7 @@ behavior. | |||
|
|||
The `algorithm` is dependent on the available algorithms supported by the | |||
version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc. | |||
On recent releases of OpenSSL, `openssl list-message-digest-algorithms` will | |||
On recent releases of OpenSSL, `openssl list digest-algorithms` ( `openssl list-message-digest-algorithms` for older versions of OpenSSL ) will |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: we have a linter rule that requires wrapping long lines at 80 characters.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the comment. Running make lint
didn't show any errors for me. 👍🏻
Made the change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you. If I recall correctly, make lint
only lints code files and code fragments in the docs, not the doc formatting.
@RichAyotte thanks for pointing it out. Somehow I missed that in the doc. 🤦♂️ |
🎉🎉🎉🎉 CI completed. Any other changes or can we close this ? |
As per our rules, we need to wait a bit) |
Node.js Collaborators, please, add 👍 here to approve fast-tracking. |
@vsemozhetbyt didn't know about that. This the first time I've read something like this for an OSS project. I can see the benefits of this, in not hurrying things up and really pushing for quality. Kudos! 👍🏻 |
If you have some time to read, there is our contributing guide start point :) |
doc/api/crypto.md
Outdated
@@ -1585,7 +1585,8 @@ behavior. | |||
|
|||
The `algorithm` is dependent on the available algorithms supported by the | |||
version of OpenSSL on the platform. Examples are `'sha256'`, `'sha512'`, etc. | |||
On recent releases of OpenSSL, `openssl list-message-digest-algorithms` will | |||
On recent releases of OpenSSL, `openssl list -digest-algorithms` ( | |||
`openssl list-message-digest-algorithms` for older versions of OpenSSL ) will |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would you be so kind and remove the whitespace in the beginning and end of the bracket? And move the opening bracket to the second line, so it is nicer to read.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done @BridgeAR.
@BridgeAR @vsemozhetbyt Anything more to do for this ? |
cc @nodejs/crypto Can we have one LGTM for this change? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
openssl list-cipher-algorithms
also needs to be changed to openssl list -cipher-algorithms
.
Please submit an new PR.
Sorry I have landed before the last commit: 6a24c0c Can you please open another PR for the last commit? |
@vsemozhetbyt I'll do that. |
Thank you! |
Closes: #20385