Skip to content

#2301 Unable to set minimum TLS version #2304

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

Merged
merged 1 commit into from
Mar 13, 2022
Merged

Conversation

alexburley
Copy link

#2301

Since Node 9 and before don't support min/max version these won't be set and the tests won't fail for those versions.

Node default TLS version is set to 1.2 for tests as Node 10 has not enabled support for 1.3 by default.

Tested against mysql 5.5 and mysql 8 servers

@alexburley

This comment was marked as resolved.

@dougwilson

This comment was marked as resolved.

Copy link
Member

@dougwilson dougwilson left a comment

Choose a reason for hiding this comment

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

Awesome job! I just saw a couple things in tests I noted here. Please note that nothing here to me is at a level where I won't do anything until you do something; I will liekly work on the changes in here this weekend if you don't get to them first. But if you can get to them earlier, it's that much easier & faster for me to get landed ❤️

@dougwilson dougwilson self-assigned this Mar 3, 2020
@alexburley
Copy link
Author

@dougwilson Thx for review 👍 Making some ammendments now, not sure if I understand what you mean about how i'm generating the test SSL config

@wobushiguojing

This comment was marked as spam.

@alexburley alexburley requested a review from dougwilson March 5, 2020 18:05
@alexburley
Copy link
Author

alexburley commented Mar 12, 2020

@dougwilson Any luck? Sorry to keep badgering, I just want to make sure I can update our service and get it running on Node12 before I forget.

@alexburley alexburley requested a review from dougwilson March 17, 2020 13:32
@alexburley
Copy link
Author

@dougwilson Any update on when this can be merged?

@antonisa-proto
Copy link

Hello,
Can anyone review this PR @alexburley @dougwilson ? It seems that a lot of people have the same problem and this PR is going to solve it!

@dougwilson
Copy link
Member

Sorry this fell off my radar. Thanks for the ping I will push it forward tonight

@rathboma
Copy link

rathboma commented Jul 23, 2020

Just found this -- excited to see the work done already!

It has come up as an issue with our mysql integration in Beekeeper Studio. Think it's the cause of beekeeper-studio/beekeeper-studio#254

@dougwilson thanks so much for helping to get this merged. @alexburley thanks for doing the work!

@BrandonNoad

This comment was marked as spam.

@BrandonNoad

This comment was marked as spam.

@Kalininator

This comment was marked as spam.

@dougwilson dougwilson force-pushed the master branch 3 times, most recently from 76b4b8f to 564f65a Compare March 13, 2022 06:38
Copy link
Member

@dougwilson dougwilson left a comment

Choose a reason for hiding this comment

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

Apologies for letting this languish. I have rebased this, adjusted the tests a bit, and eve found there was a race condition, which is why the original tests in the PR had a behavior difference between Node.js 10.x and 11.x+, which is fixed now as well.

@dougwilson dougwilson merged commit dc9c152 into mysqljs:master Mar 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

7 participants