git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Feature REQ]Add CURLOPT_SSL_CIPHER_LIST to git for allowing custom cipher usages
@ 2015-04-06 12:27 Steven Huang
  2015-04-07 10:42 ` Kevin D
  0 siblings, 1 reply; 2+ messages in thread
From: Steven Huang @ 2015-04-06 12:27 UTC (permalink / raw)
  To: git

[-- Attachment #1: Type: text/plain, Size: 760 bytes --]

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Feature REQ]Add CURLOPT_SSL_CIPHER_LIST to git for allowing custom cipher usages
  2015-04-06 12:27 [Feature REQ]Add CURLOPT_SSL_CIPHER_LIST to git for allowing custom cipher usages Steven Huang
@ 2015-04-07 10:42 ` Kevin D
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin D @ 2015-04-07 10:42 UTC (permalink / raw)
  To: Steven Huang; +Cc: git

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-04-07 10:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-06 12:27 [Feature REQ]Add CURLOPT_SSL_CIPHER_LIST to git for allowing custom cipher usages Steven Huang
2015-04-07 10:42 ` Kevin D

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).