This repository has been archived by the owner on Oct 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 127
Strict SSL is not correctly passed #91
Comments
I'm having the same issue. I instrumented
Perhaps this is an issue with npm? |
I believe this is related to #75 |
@ngoldman, yes, and a duplicate of #67. npm does not appear to set Boolean env flags to false, only to
produces:
While,
produces:
|
npm does not set the environment value at all on my system (Windows 7, Node 4.2.4, npm 3.5.3). Please see my comment here: #75 (comment) |
Merged
I just opened #97 to fix this once and for all. Hopefully someone can review and merge it soon. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
strict-ssl is disabled in npm config
However this is not passed to electron-download as you are reading only the environment variable (
process.env.npm_config_strict_ssl
).But even
SET npm_config_strict_ssl=0
does not work. Environment variables are always a string (at least on Windows) and electron-download is explicitly checking for a boolean (opts.strictSSL === false
).Update: After reading the commit message from 880efd8, I'm not sure about my analysis. However, I'm getting an SSL error on install:
The text was updated successfully, but these errors were encountered: