{"action":"opened","issue":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/3687","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/3687/labels{/name}","comments_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/3687/comments","events_url":"https://api.github.com/repos/lionheart/openradar-mirror/issues/3687/events","html_url":"https://github.com/lionheart/openradar-mirror/issues/3687","id":100382949,"number":3687,"title":"16704478: CommonCrypto lacks Diffie-Hellman implementation. Make CommonCrypto CommonDH.h header public.","user":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/classification:enhancement","name":"classification:enhancement","color":"207de5"},{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/reproducible:always","name":"reproducible:always","color":"5319e7"},{"url":"https://api.github.com/repos/lionheart/openradar-mirror/labels/status:open","name":"status:open","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/4","html_url":"https://github.com/lionheart/openradar-mirror/milestones/iOS%20SDK","labels_url":"https://api.github.com/repos/lionheart/openradar-mirror/milestones/4/labels","id":1237418,"number":4,"title":"iOS SDK","description":null,"creator":{"login":"openradar-mirror","id":13605213,"avatar_url":"https://avatars.githubusercontent.com/u/13605213?v=3","gravatar_id":"","url":"https://api.github.com/users/openradar-mirror","html_url":"https://github.com/openradar-mirror","followers_url":"https://api.github.com/users/openradar-mirror/followers","following_url":"https://api.github.com/users/openradar-mirror/following{/other_user}","gists_url":"https://api.github.com/users/openradar-mirror/gists{/gist_id}","starred_url":"https://api.github.com/users/openradar-mirror/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openradar-mirror/subscriptions","organizations_url":"https://api.github.com/users/openradar-mirror/orgs","repos_url":"https://api.github.com/users/openradar-mirror/repos","events_url":"https://api.github.com/users/openradar-mirror/events{/privacy}","received_events_url":"https://api.github.com/users/openradar-mirror/received_events","type":"User","site_admin":false},"open_issues":591,"closed_issues":0,"state":"open","created_at":"2015-08-03T02:08:31Z","updated_at":"2015-08-11T19:01:21Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-08-11T19:01:21Z","updated_at":"2015-08-11T19:01:21Z","closed_at":null,"body":"#### Description\n\nSummary:\nCommonCrypto currently lacks a way to generate encryption keys using Diffie-Hellman.\n\nThe only available option is to include a statically linked 3rd party library like OpenSSL to be able to generate keys using Diffie-Hellman or to do BigNum math on iOS.\n\nTaking a look at Apple’s open source implementation of CommonCrypto (http://www.opensource.apple.com/source/CommonCrypto/CommonCrypto-60049/include/) you can find further headers not yet made public in the official iOS and OS X SDKs.\nHeaders like CommonDH.h include functions to generate keys using the mentioned algorithms. The annotations behind the CCDH* functions tells us, that the functions were included starting with iOS 5.0 (and OS X 10.8) but were never made public.\n\nSteps to Reproduce:\nLook at the public CommonCrypto headers included in the iOS SDK.\n\nExpected Results:\nThe public CommonCrypto headers shipped with the iOS (and OS X) SDK include CommonDH with the CCDH* functions.\n\nActual Results:\nNo functions to generate keys using Diffie-Hellman can be found in the public CommonCrypto headers.\n\nRegression:\n-\n\nNotes:\n-\n\n-\nProduct Version: 7.1\nCreated: 2014-04-23T21:32:44.604608\nOriginated: 2014-04-23T23:32:00\nOpen Radar Link: http://www.openradar.me/16704478"}}