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

Included reference to 'constant time' in crypto.timingSafeEqual descr… #16604

Closed
wants to merge 1 commit into from
Closed

Conversation

mithunsasidharan
Copy link
Contributor

Included reference to 'constant time' in crypto.timingSafeEqual description

Fixes : #16504

@nodejs-github-bot nodejs-github-bot added crypto Issues and PRs related to the crypto subsystem. doc Issues and PRs related to the documentations. labels Oct 30, 2017
@@ -1969,6 +1969,7 @@ added: v6.6.0
- `a` {Buffer | TypedArray | DataView}
- `b` {Buffer | TypedArray | DataView}

This function is based on constant time algorithm.
Copy link
Member

Choose a reason for hiding this comment

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

Nit: based on a constant-time algorithm, or based on constant-time comparisons would be more grammatically correct..

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@joyeecheung : agree.. let me make the correction to based on a constant-time algorithm

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@joyeecheung : I've made the change. Please review. Thanks.

Copy link
Member

@joyeecheung joyeecheung left a comment

Choose a reason for hiding this comment

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

Commit message should be formatted according to the guidelines while landing..

…description

The Node website would score higher on a Google search and the API would be more discoverable if it used the words "constant time" in its description.

Fixes: #16604
@mithunsasidharan
Copy link
Contributor Author

@joyeecheung : Thanks for pointing out the commit message format. I've fixed that. Kindly have a look now. Thank you.

@joyeecheung
Copy link
Member

Linter CI: https://ci.nodejs.org/job/node-test-linter/13181/

@joyeecheung
Copy link
Member

Landed in 841e305, thanks!

joyeecheung pushed a commit that referenced this pull request Nov 2, 2017
Included reference to 'constant time' in
crypto.timingSafeEqual description.

The Node website would score higher on a Google search
and the API would be more discoverable if it used the words
"constant time" in its description.

PR-URL: #16604
Fixes: #16504
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@mithunsasidharan
Copy link
Contributor Author

@joyeecheung : good to merge ?

@gibfahn
Copy link
Member

gibfahn commented Nov 2, 2017

@joyeecheung : good to merge ?

@mithunsasidharan This has already landed, if you look at 841e305 you'll see it's already on Node master. Github just doesn't show it as merged because the commit was rebased.

Thanks for your contribution 🎉 !

@gibfahn gibfahn closed this Nov 2, 2017
@mithunsasidharan
Copy link
Contributor Author

@gibfahn @joyeecheung : Thanks much !

cjihrig pushed a commit to cjihrig/node that referenced this pull request Nov 6, 2017
Included reference to 'constant time' in
crypto.timingSafeEqual description.

The Node website would score higher on a Google search
and the API would be more discoverable if it used the words
"constant time" in its description.

PR-URL: nodejs#16604
Fixes: nodejs#16504
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@cjihrig cjihrig mentioned this pull request Nov 6, 2017
gibfahn pushed a commit that referenced this pull request Nov 14, 2017
Included reference to 'constant time' in
crypto.timingSafeEqual description.

The Node website would score higher on a Google search
and the API would be more discoverable if it used the words
"constant time" in its description.

PR-URL: #16604
Fixes: #16504
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Nov 14, 2017
Included reference to 'constant time' in
crypto.timingSafeEqual description.

The Node website would score higher on a Google search
and the API would be more discoverable if it used the words
"constant time" in its description.

PR-URL: #16604
Fixes: #16504
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
@MylesBorins MylesBorins mentioned this pull request Nov 21, 2017
@gibfahn gibfahn mentioned this pull request Nov 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crypto Issues and PRs related to the crypto subsystem. doc Issues and PRs related to the documentations.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants