Re: SChannel support in Git for Windows
- From
- Konstantin Khomoutov <kostix+git@007spb.ru>
- Date
- Jan 15, 2016, 16:47 UTC
- Message-ID
- <20160115194746.abcb4b7dab4653d222e0362c@domain007.com>
- In-Reply-To
- <CA+1xWarcXz4RdgXd8p-43sQ5UeRAwXmrsU_JVqwewmro7rz2Gw@mail.gmail.com>
On Fri, 15 Jan 2016 11:11:58 -0500 Robert Labrie <robert.labrie@gmail.com> wrote:
Show 13 quoted lines
> You are correct, SChannel in NT 5.x is limited, but all those versions > are officially out of support. > > When you're part of a Windows ecosystem, those root certs get pushed > into the local store by a GPO (usually), and you don't have to think > about it. That's the only reason I'm pushing. > > Sounds like libcurl can't make it a run time consideration, and git > (understandably) doesn't want to worry about SChannel limitations in > very old versions of Windows. > > Does git use libcurl for everything? I wonder if I could just drop my > own libraries with WinHTTP support?
I'd say you could fork the Git for Windows's SDK [1], hack it to build curl with the configuration you need and then create your own installer. You'll need to rebase your patch each time a new GfW release will come out, but the patch should be small enough IMO.
1. https://github.com/git-for-windows/build-extra/releases/latest