Skip to content
This repository has been archived by the owner on Jan 26, 2025. It is now read-only.

38635282: BigNum support in CommonCrypto #19604

Open
openradar-mirror opened this issue Apr 9, 2018 · 0 comments
Open

38635282: BigNum support in CommonCrypto #19604

openradar-mirror opened this issue Apr 9, 2018 · 0 comments

Comments

@openradar-mirror
Copy link

Description

I'm contacting you as one of libgit2's developers. Here's a more detailed explanation of what's involved : libgit2/objective-git#648

In short, libgit2 uses libssh2 its the ssh support, and libssh2 support currently has no support for CommonCrypto, which makes it a mess to use on iOS (since we need to compile our own OpenSSL). Someone started to work on a CommonCrypto backend for libssh2, but since it's crypto, we need BigNums, and the CommonBigNum.h header is marked as "SPI", with the following comment :

/*

  • This is an SPI - it isn't intended to be generally used. If you
  • intend to use this we strongly urge you to talk to someone in the
  • Information Security Group to see if there isn't an alternative
  • set of functions to implement your cryptographic needs.
    */

So, I'd like to have a more precise answer with regards to that comment, more precisely what's meant by "an alternative set of functions", as well as the obvious "does it mean it cannot be used on iOS because it's private API" ?

Product Version: N/A
Created: 2018-04-09T21:07:10.657710
Originated: 2018-03-19T22:33:00
Open Radar Link: http://www.openradar.me/38635282

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant