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

Use tlsv1 with PhantomJS #14

Closed
erwan opened this issue Oct 20, 2014 · 7 comments
Closed

Use tlsv1 with PhantomJS #14

erwan opened this issue Oct 20, 2014 · 7 comments

Comments

@erwan
Copy link
Contributor

erwan commented Oct 20, 2014

PhantomJS uses SSLv3 by default, but because of the POODLE exploit this is massively removed from projects.

ariya/phantomjs#12655

It is possible to workaround by passing "--ssl-protocol=tlsv1" to PhantomJS.

Maybe gulp-qunit could either include this parameter, or make it an option?

@erwan
Copy link
Contributor Author

erwan commented Oct 23, 2014

This appears to be fixed in PhantomJS 1.9.8 (tlsv1 is now the default), so just bumping the dependency should be enough.

@jonkemp
Copy link
Owner

jonkemp commented Oct 23, 2014

Ok, if I bump the dependency, do you still want to include your pull request?

@erwan
Copy link
Contributor Author

erwan commented Oct 23, 2014

Well, first you need to wait for the NPM wrapper to include the latest PhantomJS release:
https://github.com/Medium/phantomjs

As soon as it's all upgraded I will no longer need it, so I don't mind if you don't include the pull request.

It depends if you think it can be useful for other PhantomJS options or not:
http://phantomjs.org/api/command-line.html

@jonkemp
Copy link
Owner

jonkemp commented Oct 23, 2014

According to that the version of the package is in line with what PhantomJS version is being used. It's currently 1.9.11.

https://github.com/Medium/phantomjs#versioning

@erwan
Copy link
Contributor Author

erwan commented Oct 24, 2014

Actually the versioning of the npm wrapper is a bit confusing, but version 1.9.11 of the NPM wrapper released one week ago includes PhantomJS 1.9.7:
https://github.com/Medium/phantomjs/tree/v1.9.11

The latest PhantomJS version is 1.9.8, released yesterday:
https://github.com/ariya/phantomjs/releases

@jonkemp
Copy link
Owner

jonkemp commented Oct 24, 2014

Ok I created an issue for this over there. But i'll probably accept your patch anyway. Thanks!

@erwan
Copy link
Contributor Author

erwan commented Oct 24, 2014

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants