git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Combining APPLE_COMMON_CRYPTO=1 and NO_OPENSSL=1 produces unexpected result

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 15, 2016, 18:52 UTC
Message-ID
<xmqqfuxyisjp.fsf@gitster.mtv.corp.google.com>
In-Reply-To
<20160102234923.GA14424@gmail.com>
David Aguilar <davvid@gmail.com> writes:
Show 28 quoted lines
> I think the best long-term solution would be to abandon the
> CommonCrypto backend, if possible.  There's not a strong reason
> for its existence.  It always seemed kinda hacky, and bolted-on.
> ...
>> A few questions we should be asking Apple users are:
>> 
>>  - Is there a strong-enough reason why those who do not want to use
>>    SSL should be able to choose the SHA-1 implementation available
>>    from CommonCrypto over block-sha1?
>
> IMO, no.
>
>>  - Is CommonCrypto SHA-1 a better implementation than block-sha1?
>
> I do not believe this to be true.
>
> My gut feeling is that we cannot rely on the long-term stability
> and availability of Apple's APIs.  Block-sha1 works fine on
> the current Apple hardware and I suspect that it (or openssl)
> will continue to work fine in the future.
> ...
>> If people do not care, we can leave things as they are.  It would
>> seem mysterious to use block-sha1 when we are not using CommonCrypto
>> for SSL (i.e. NO_OPENSSL), and otherwise CommonCrypto SHA-1, and
>> would invite a puzzlement we saw in this thread, though.
>
> I'm curious to see what others think about dropping CommonCrypto.
> It seems like a good choice from a maintenance POV.

Judging by a week-long silence, it seems nobody seems to have much to say on this issue. Let me summon the git_osx_installer maintainer to hear from somebody who know a lot better than me about things around OS X.

Thanks.
Previous: David AguilarNext: Eric Sunshine
Message 5 of 6 in “Combining APPLE_COMMON_CRYPTO=1 and NO_OPENSSL=1 produces unexpected result”
  1. Jack NagelNov 25, 2015
  2. Eric SunshineDec 23, 2015
  3. Junio C HamanoDec 28, 2015
  4. David AguilarJan 2, 2016
  5. Junio C HamanoJan 15, 2016
  6. Eric SunshineJan 15, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.