Repository navigation
Update openssl command to list digest algos in docs #20385
Copy link
Copy link
Closed
Labels
cryptoIssues and PRs related to the crypto subsystem.Issues and PRs related to the crypto subsystem.docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.opensslIssues and PRs related to the OpenSSL dependency.Issues and PRs related to the OpenSSL dependency.
Description
Activity
I think we might want to list both? I don’t think we can assume that the global
opensslCLI for a user will match Node’s openssl version.- addedcryptoIssues and PRs related to the crypto subsystem.Issues and PRs related to the crypto subsystem.docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.opensslIssues and PRs related to the OpenSSL dependency.Issues and PRs related to the OpenSSL dependency.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.
on Apr 28, 2018 Hey I'd like to make a PR for this. I hope the following text for the doc works -
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 digest-algorithms ( openssl list-message-digest-algorithms for older versions of OpenSSL ) will display the available digest algorithms.
@RichAyotte Shouldn't the new command be - (note the missing
'-'before digest)openssl list digest-algorithms- added a commit that references this issue
on Apr 29, 2018 @shobhitchittora the dash is required.
- added a commit that references this issue
on May 4, 2018 - added a commit that references this issue
on May 6, 2018 - added 4 commits that reference this issue
on May 8, 2018 8 remaining items
- added a commit that references this issue
on Jul 27, 2026
Metadata
Metadata
Assignees
Labels
cryptoIssues and PRs related to the crypto subsystem.Issues and PRs related to the crypto subsystem.docIssues and PRs related to Node.js documentation.Issues and PRs related to Node.js documentation.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.opensslIssues and PRs related to the OpenSSL dependency.Issues and PRs related to the OpenSSL dependency.
Documentation update in https://nodejs.org/api/crypto.html#crypto_crypto_createhash_algorithm_options
Replace the openssl command
with
Tested with: