{"thread":{"id":"39014","subject":"[Feature REQ]Add CURLOPT_SSL_CIPHER_LIST to git for allowing custom cipher usages","startedAt":"2015-04-06T12:27:53Z","lastAt":"2015-04-07T10:42:15Z","messageCount":2,"participants":["Steven Huang","Kevin D"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"259059","messageId":"20150406122753.GA29626@desktop.luxing.im","threadId":"39014","inReplyTo":null,"subject":"[Feature REQ]Add CURLOPT_SSL_CIPHER_LIST to git for allowing custom cipher usages","fromName":"Steven Huang","fromEmail":"steven@accsc.im","sentAt":"2015-04-06T12:27:53Z","receivedAt":"2015-04-06T12:27:53Z","isPatch":false,"sender":{"key":"steven@accsc.im","avatar":null},"body":"Hi,\n\n    We know git uses cURL to grab https repositories from the Internet. Nowadays\n    the SSL-enabled git repos are getting more and more, especially self-hosted\n    ones.\n\n    Some of the websites including those enabled by CloudFlare, however, does\n    not support common encryption ciphers provided by cURL. For example,\n    TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 will not be support by default in\n    both cURL or git, and it is not a common cipher, Debian/RHEL does not even\n    support it by default (but Fedora does, maybe others, didn't test).\n\n    Is it possible to add this feature (this opt is set by calling by curl\n    --cipher cipher_name) to git, allowing custom cipher usage?\n\n    Thank you very much.\n\n-- \nLuxing Huang\n"},{"id":"259122","messageId":"20150407104215.GD9387@vps892.directvps.nl","threadId":"39014","inReplyTo":"20150406122753.GA29626@desktop.luxing.im","subject":"Re: [Feature REQ]Add CURLOPT_SSL_CIPHER_LIST to git for allowing custom cipher usages","fromName":"Kevin D","fromEmail":"me@ikke.info","sentAt":"2015-04-07T10:42:15Z","receivedAt":"2015-04-07T10:42:15Z","isPatch":false,"sender":{"key":"me@ikke.info","avatar":"https://avatars.githubusercontent.com/u/135698?v=4"},"body":"On Mon, Apr 06, 2015 at 09:27:53AM -0300, Steven Huang wrote:\n> Hi,\n> \n>     We know git uses cURL to grab https repositories from the Internet. Nowadays\n>     the SSL-enabled git repos are getting more and more, especially self-hosted\n>     ones.\n> \n>     Some of the websites including those enabled by CloudFlare, however, does\n>     not support common encryption ciphers provided by cURL. For example,\n>     TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 will not be support by default in\n>     both cURL or git, and it is not a common cipher, Debian/RHEL does not even\n>     support it by default (but Fedora does, maybe others, didn't test).\n> \n>     Is it possible to add this feature (this opt is set by calling by curl\n>     --cipher cipher_name) to git, allowing custom cipher usage?\n> \n>     Thank you very much.\n> \n\ncurl through git will honor settings in ~/.curlrc. So you can just add\nthe cipher to your ~/.curlrc, and it should work.\n"}]}