# [Feature REQ]Add CURLOPT_SSL_CIPHER_LIST to git for allowing custom cipher usages

2 messages from 2015-04-06 to 2015-04-07. Participants: Steven Huang, Kevin D.
Thread: https://gitlist.dev/t/39014

## Steven Huang, 2015-04-06 12:27

Subject: [Feature REQ]Add CURLOPT_SSL_CIPHER_LIST to git for allowing custom cipher usages
Message-ID: <20150406122753.GA29626@desktop.luxing.im>
URL: https://gitlist.dev/e/20150406122753.GA29626%40desktop.luxing.im

```
Hi,

    We know git uses cURL to grab https repositories from the Internet. Nowadays
    the SSL-enabled git repos are getting more and more, especially self-hosted
    ones.

    Some of the websites including those enabled by CloudFlare, however, does
    not support common encryption ciphers provided by cURL. For example,
    TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 will not be support by default in
    both cURL or git, and it is not a common cipher, Debian/RHEL does not even
    support it by default (but Fedora does, maybe others, didn't test).

    Is it possible to add this feature (this opt is set by calling by curl
    --cipher cipher_name) to git, allowing custom cipher usage?

    Thank you very much.

-- 
Luxing Huang

```

## Kevin D, 2015-04-07 10:42

Subject: Re: [Feature REQ]Add CURLOPT_SSL_CIPHER_LIST to git for allowing custom cipher usages
Message-ID: <20150407104215.GD9387@vps892.directvps.nl>
URL: https://gitlist.dev/e/20150407104215.GD9387%40vps892.directvps.nl
In-Reply-To: <20150406122753.GA29626@desktop.luxing.im>

```
On Mon, Apr 06, 2015 at 09:27:53AM -0300, Steven Huang wrote:
> Hi,
> 
>     We know git uses cURL to grab https repositories from the Internet. Nowadays
>     the SSL-enabled git repos are getting more and more, especially self-hosted
>     ones.
> 
>     Some of the websites including those enabled by CloudFlare, however, does
>     not support common encryption ciphers provided by cURL. For example,
>     TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 will not be support by default in
>     both cURL or git, and it is not a common cipher, Debian/RHEL does not even
>     support it by default (but Fedora does, maybe others, didn't test).
> 
>     Is it possible to add this feature (this opt is set by calling by curl
>     --cipher cipher_name) to git, allowing custom cipher usage?
> 
>     Thank you very much.
> 

curl through git will honor settings in ~/.curlrc. So you can just add
the cipher to your ~/.curlrc, and it should work.

```
