-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
add proxy support for --verify #170
add proxy support for --verify #170
Conversation
After doing some research, I suppose, adding a polyfill (safer-buffer including an eslint rule to prevent new usage fo the deprecated api) will be the better option, than to introduce the known vulnerability. And since gulp just added node 10 to the CI matrices, it would probably also be a good idea to make sure, this runs on node 10, as well. @phated, @sttk: If you have any input / thougts on this, they are very much appreciated! |
Trying to update to the latest version of https-proxy-agent fails on node 0.10 / 0.12, because "const" is used in agent-base. Error message
So, I suppose, polyfilling is not the way to go here. |
9ed644f
to
11ba91f
Compare
11ba91f
to
33f62b0
Compare
After some more trying, I was able to make it run on node 0.10 / 0.12: master...chewiebug:feature/add-proxy-support-for-verify-polyfills Drawbacks
|
So, my current bottom line is
So, this pull request contains the second option. @phated, @sttk I think, I need your opinion here. Any input is very much appreciated. |
33f62b0
to
af9a3e5
Compare
With our new website design, the blacklist no longer exists and we don't know if we are bringing it back, so I'm just going to close this. |
Thank you for informing me!
|
I would like to use "gulp --verify" behind a proxy server. The current implementation does not seem to be able to support a proxy configuration. Using the hints given in #166, I used https-proxy-agent and configuration via .gulp.* to achieve proxy support.
Note: To maintain backwards compatibility to node 0.10.x and 0.12.x, I have used https-proxy-agent:1.0.0 instead of the latest version (2.2.1). According to https://hackerone.com/reports/319532, the 1.0.0 version contains a vulnerability, which is only fixed with 2.2.0.
Does this look ok to you?