Repository navigation
Conversation
|
curl-winssl may not work on Windows <= XP: curl/curl@7475c47 And lacks TLS-SRP, HTTP2, and HTTPS-proxy features: So maybe we should leave it disabled by default. |
Git for Windows does not support XP any longer since v2.10.1...
I agree. |
dscho
left a comment
There was a problem hiding this comment.
I never thought about bundling the winssl files in git-extra... interesting idea. My main gripe with this: winssl should be coupled with the version of mingw-w64-curl, not of git-extra...
... actually, I take that back. I would like to include the winssl binaries only in the installer, not in PortableGit or anywhere else (because there is no easy way in that case to configure anything). Instead, I would like to suggest including the files in the same way as And I agree with @dra27 that a separate page would be nice... It is definitely more of a hassle to add, I agree. See 0f1aba2 for an example how to add a full new page. |
|
OK, I agree, having a separate page will be better. I spend an hour on this each morning, so something will probably be ready on Friday. |
|
See the issue backing this PR for a nice dialog wireframe. @dscho For MSI, I would create a feature. The user's feature choice would dictate which files get copied (and to where). Does InnoSetup provide a similar ability? This way, all the files are included in the installer, but depending on the user's choice, either one set of files or the other will actually be installed. |
|
OK, I agree, having a separate page will be better. I spend an hour on this each morning, so something will probably be ready on Friday.
Awesome! Thank you.
|
make-file-list.sh: install mingw-w64-curl-winssl-bin and verify that it has the same version as mingw-w64-curl. The version check protects us from shipping installer with outdated curl version (winssl or openssl). Files from the winssl-bin package are not listed by the script in order not to include them into portable Git version. The files are included into installer with dontcopy flag and the code overwrites default curl binaries with the extracted winssl ones. DestName parameter is specified to avoid collision with default curl.exe and libcurl-4.dll files (ExtractTemporaryFile uses only file name without file path). Separate page "Choosing HTTPS implementation" is added to the installer after discusssion: git-for-windows/git#301 Signed-off-by: Dmitry Oksenchuk <[email protected]>
|
I've made minor changes to the code and tested 64-installer in the following cases:
When OpenSSL version is installed, Git respects I haven't tested 32-bit installer because I haven't found a way how build it on a 64-bit system. Even in mingw32 shell I think the code is ready for review and merge, so I'm removing the [WIP] prefix. |
This topic branch introduces Secure Channel support, based on #135 The idea is that we ship two versions of cURL: one backed by OpenSSL that uses the familiar ca-bundle.crt for certificates, and another one backed by Windows' own Secure Channel component that uses the certificates in the Windows Certificate Store. The advantage of using the Windows Certificate Store is that the certificate management is much, much easier in a corporate setting: certificates can be distributed via Active Directory Domain Services. By default, the OpenSSL variant is used, for backwards-compatibility. This addresses git-for-windows/git#301 at long last. Signed-off-by: Johannes Schindelin <[email protected]>
|
Oh crap. I must have rebased a little bit too eagerly and re-committed this patch as 1315b8c. Sorry about that! In short, though: thank you for your excellent contribution, it makes a huge difference! |

Implementation of approach suggested in git-for-windows/git#301 (comment)
Works as expected on Windows 7 64 bit.
Things to be done/disscussed:
dontcopywith curl-winssl files and overwrite installed curl-openssl