git_osx_installer icon indicating copy to clipboard operation
git_osx_installer copied to clipboard

Last snow-leopard installer is for git 2.3.5 - can we have a newer one please?

Open jonathan1055 opened this issue 6 years ago • 3 comments

Hi Tim, Thanks for making this installer, it really helped me (and many others I am sure).

I am running Mac os 10.8 mountain lion and have been using the system-installed git 1.8.5.2 (Apple Git-48) But now I am getting errors linking to github because they no longer support TLSv1.0 so I need to upgrade. The latest snow-leopard installer is at git 2.3.5 and I have installed this and it works. However TLS/SSL version configuration options are not supported until git 2.6 as far as I can tell. So having [http] sslVersion=tlsv1.2 in my git config seems to be ignored.

Do you have any plans to make a snow-leopard installer for git 2.6 or later? I have tried downloading the git source and doing my own make, configure, install ... but I failed in several places. Your installer worked perfectly. I'd be happy to help or test or assist in any way I can.

Thanks Jonathan

jonathan1055 avatar Mar 05 '18 19:03 jonathan1055

An update for old Mac would help me too. (Running 10.7 Lion on 2008 MacBook)

Or if there's some setting I can change to push commits to GitHub again, I would appreciate it.

This is the error that it's giving, if it helps:

$ git push
fatal: unable to access 'https://github.com/DFgraphics/GemSet.git/': error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

Edit: I found something that seems to indicate that GitHub requires TLS v1.2 instead of v1.0 now. source: https://github.com/autopkg/autopkg/issues/408

jecowa avatar Mar 10 '18 04:03 jecowa

Hi jecowa, Yes that is exactly right. Github requires TLSv1.2 - I have precisely this problem myself. Here is what I have discovered:

First I updated OpenSSL because 0.9.8zg came with my mac, but this does not support TLSV1.1 or 1.2. I now have OpenSSL 1.1.0g. openSSL version -a confirms this.

Secondly the Git config where you specify SSLversion=tls1.2 is not available before Git 2.6. I tried to make my own updated installer via https://github.com/paladox/git_osx_installer/releases/tag/2.11.0 I got quite a good way, modifying the required source, but failed at the point when I did not have brew installed. If you do have brew I can let you know the details of what I had to change in those files.

Thirdly, I have found out via curl -V that even though I have OpenSSL 1.1.0 my version of Curl is still using the built-in 0.9.8zg, so when I try curl --tlsv1.2 https://github.com/something I get "curl: (35) Unsupported SSL protocol version"

So now I need to figure out how to update curl. Is it a new download, or do I re-compile or re-build specifying the new OpenSSL

We will get this sorted, I am sure Jonathan

jonathan1055 avatar Mar 10 '18 09:03 jonathan1055

I don't know if brew will help, but I have it installed on both a MacBook running Lion and an iMac running Snow Leopard. I am interested in trying to compile it if you could tell me what to do. The iMac probably has more dev stuff on it like clang.

jecowa avatar Mar 10 '18 16:03 jecowa