Environment: Fedora 15 x64 (yes, we are moving away from it), git 1.7.11.1.
We're hitting a problem with git clone which fails on an https repository because the cipher that's used by the Git server isn't enabled by default on the client.
We managed to replicate the problem with plain "curl -v" (curl 7.21.3, but git seems to be using its own copy):
curl -v https://git.repo.com
(the internal server name was replaced) fails like Git, but:
curl --cipher rsa_rc4_128_sha -v https://git.repo.com
succeeds.
The question now is how can we pass such a flag to libcurl which is used by Git. So far I haven't found such a way (google'd about libcurl, git, looked at Git's and libcurl's sources).
No, the option to specify the list of ciphers to libcurl is called CURLOPT_SSL_CIPHER_LIST but is not used by git.
You would need to modify the git source code to introduce this feature. Shouldn't be too hard and possibly you can convince the git project to accept this change for the future!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With