Skip to content

Conversation

@bnoordhuis
Copy link
Member

@bnoordhuisbnoordhuis added crypto Issues and PRs related to the crypto subsystem. test Issues and PRs related to the tests. labels Nov 2, 2015
Copy link
Contributor

Choose a reason for hiding this comment

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

Since we are doing this, can we include Infinity and NaN?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

I added tests for negative infinity and nan. I left out positive infinity because I'm not even sure what it would mean to want keys of infinite size.

Copy link
Contributor

Choose a reason for hiding this comment

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

I left out positive infinity because I'm not even sure what it would mean to want keys of infinite size.

Infinite quantum entropy?

@bnoordhuis
Copy link
MemberAuthor

@thefourtheye
Copy link
Contributor

LGTM

Check that trying to use a < 1024 bits DH key throws an exception. parallel/test-tls-dhe tests this as well but it feels incongruous not to do it here when both tests have similar logic for 1024/2048 bits keys. PR-URL: nodejs#3629 Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Check that tls.connect() fails in the expected way when passing in invalid minDHSize options. PR-URL: nodejs#3629 Reviewed-By: Sakthipriyan Vairamani <[email protected]>
@bnoordhuisbnoordhuis deleted the more-mindhsize-tests branch November 3, 2015 10:48
@bnoordhuisbnoordhuis merged commit 82022a7 into nodejs:masterNov 3, 2015
@Fishrock123Fishrock123 mentioned this pull request Nov 6, 2015
bnoordhuis added a commit that referenced this pull request Nov 7, 2015
Check that trying to use a < 1024 bits DH key throws an exception. parallel/test-tls-dhe tests this as well but it feels incongruous not to do it here when both tests have similar logic for 1024/2048 bits keys. PR-URL: #3629 Reviewed-By: Sakthipriyan Vairamani <[email protected]>
bnoordhuis added a commit that referenced this pull request Nov 7, 2015
Check that tls.connect() fails in the expected way when passing in invalid minDHSize options. PR-URL: #3629 Reviewed-By: Sakthipriyan Vairamani <[email protected]>
@Fishrock123Fishrock123 mentioned this pull request Nov 11, 2015
@MylesBorins
Copy link
Contributor

This should not land if f72e178 from #1831 does not land

@rvaggrvagg mentioned this pull request Dec 17, 2015
@jasnell
Copy link
Member

@nodejs/lts ... please weigh in on this one... this LGTM for v4.4

@MylesBorins
Copy link
Contributor

it is worth noting that this relies on a semver major change from #1831

@rvagg
Copy link
Member

yeah, this is not for v4.x cause minDHSize is a v5 thing, updating labels

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cryptoIssues and PRs related to the crypto subsystem.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@bnoordhuis@thefourtheye@MylesBorins@jasnell@rvagg@Fishrock123