GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add caveats section in the doc of crypto by shigeki · Pull Request #3479 · nodejs/node

Conversation

@shigeki

@shigeki shigeki commented Oct 22, 2015

Copy link
Copy Markdown
Contributor

This is originally from nodejs/node-v0.x-archive#25564.

This adds caveats section in the crypto api documentation to notify users of the risks of weak algorithms and small keys and revises examples to use safe ones.

Fix: #3406

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Shigeki Ohtsu and others added 5 commits October 22, 2015 11:06
Shigeki Ohtsu
doc: add caveats of algs and key size in crypto
e4ef21e
Add description of user responsibility in the choice of cypto
algorithms and its key length. Some of recommendations for the safer
use are also described.
@thinred Shigeki Ohtsu
change "more than" to "at least"
875f6ab
@thinred Shigeki Ohtsu
update getDiffieHellman docs
3db5f4f
Shigeki Ohtsu
docs: remove md5 and sha1 in crypto example
bbe1076
@thinred Shigeki Ohtsu
sha1 -> sha265
220a635
jasnell
jasnell reviewed Oct 22, 2015
View reviewed changes
Comment thread doc/api/crypto.markdown Outdated

@jasnell jasnell Oct 22, 2015

Copy link
Copy Markdown
Member

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.

"... that are considered to be too weak for safe use."

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jasnell

jasnell commented Oct 22, 2015

Copy link
Copy Markdown
Member

Looks good in general but a few nits.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Shigeki Ohtsu
revise the doc according to jasnell's comments
a152cd9
@shigeki

shigeki commented Oct 22, 2015

Copy link
Copy Markdown
Contributor Author

@jasnell Thanks. I revised the doc and add a commit.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@brendanashworth brendanashworth added crypto Issues and PRs related to the crypto subsystem. doc Issues and PRs related to Node.js documentation. labels Oct 22, 2015
jasnell
jasnell reviewed Oct 22, 2015
View reviewed changes
Comment thread doc/api/crypto.markdown Outdated

@jasnell jasnell Oct 22, 2015

Copy link
Copy Markdown
Member

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.

"And the API also allows the use of ciphers and hashes with a" (replace to with the)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@jasnell

jasnell commented Oct 22, 2015

Copy link
Copy Markdown
Member

Thank you @shigeki ... just a few more I promise ;-). It's great that these recommendations are being updated!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jasnell jasnell added the lts-watch-v4.x label Oct 22, 2015
Shigeki Ohtsu
revise the doc according to 2nd jasnell's comments
db5b6e2
@shigeki

shigeki commented Oct 22, 2015

Copy link
Copy Markdown
Contributor Author

@jasnell Thanks for reviewing. It is very helpful for me to correct my English. I appreciate that. The additional fix was made in db5b6e2. Commits will be squashed later.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jasnell

jasnell commented Oct 22, 2015

Copy link
Copy Markdown
Member

LGTM! Thanks @shigeki !

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jasnell

jasnell commented Oct 22, 2015

Copy link
Copy Markdown
Member

@indutny ... any feedback before I land?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jasnell

jasnell commented Oct 28, 2015

Copy link
Copy Markdown
Member

@indutny ... ping?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

shigeki pushed a commit that referenced this pull request Nov 5, 2015
Shigeki Ohtsu @jasnell
doc: add caveats of algs and key size in crypto
017fc5b
Add description of user responsibility in the choice of cypto
algorithms and its key length. Some of recommendations for the safer
use are also described.

PR-URL: #3479
Reviewed-By: James M Snell <[email protected]>
@jasnell

jasnell commented Nov 5, 2015

Copy link
Copy Markdown
Member

Landed in 017fc5b

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@jasnell jasnell closed this Nov 5, 2015
@Fishrock123 Fishrock123 mentioned this pull request Nov 6, 2015
Release proposal: v5.1.0 #3700
Closed
shigeki pushed a commit that referenced this pull request Nov 7, 2015
Shigeki Ohtsu @rvagg
doc: add caveats of algs and key size in crypto
44f779b
Add description of user responsibility in the choice of cypto
algorithms and its key length. Some of recommendations for the safer
use are also described.

PR-URL: #3479
Reviewed-By: James M Snell <[email protected]>
@Fishrock123 Fishrock123 mentioned this pull request Nov 11, 2015
Propose v5.1.0 #3736
Merged
shigeki pushed a commit that referenced this pull request Nov 16, 2015
Shigeki Ohtsu Myles Borins
doc: add caveats of algs and key size in crypto
4a94c0a
Add description of user responsibility in the choice of cypto
algorithms and its key length. Some of recommendations for the safer
use are also described.

PR-URL: #3479
Reviewed-By: James M Snell <[email protected]>
@MylesBorins

MylesBorins commented Nov 16, 2015

Copy link
Copy Markdown
Contributor

landed in lts-v4.x-staging as 4a94c0a

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@MylesBorins MylesBorins added lts-landed-on-v4.x and removed lts-watch-v4.x labels Nov 16, 2015
@rvagg rvagg mentioned this pull request Nov 17, 2015
v4.2.2+1 commit candidates nodejs/Release#57
Closed
shigeki pushed a commit that referenced this pull request Dec 4, 2015
Shigeki Ohtsu @rvagg
doc: add caveats of algs and key size in crypto
28474ef
Add description of user responsibility in the choice of cypto
algorithms and its key length. Some of recommendations for the safer
use are also described.

PR-URL: #3479
Reviewed-By: James M Snell <[email protected]>
@MylesBorins MylesBorins added land-on-v4.x and removed lts-landed-on-v4.x labels Dec 17, 2015
@jasnell jasnell mentioned this pull request Dec 17, 2015
Release 4.2.4 Planning #4321
Closed
shigeki pushed a commit that referenced this pull request Dec 17, 2015
Shigeki Ohtsu @jasnell
doc: add caveats of algs and key size in crypto
d1b5833
Add description of user responsibility in the choice of cypto
algorithms and its key length. Some of recommendations for the safer
use are also described.

PR-URL: #3479
Reviewed-By: James M Snell <[email protected]>
shigeki pushed a commit that referenced this pull request Dec 23, 2015
Shigeki Ohtsu @jasnell
doc: add caveats of algs and key size in crypto
b213559
Add description of user responsibility in the choice of cypto
algorithms and its key length. Some of recommendations for the safer
use are also described.

PR-URL: #3479
Reviewed-By: James M Snell <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

crypto Issues and PRs related to the crypto subsystem. doc Issues and PRs related to Node.js documentation.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@shigeki @jasnell @MylesBorins @brendanashworth @thinred
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.