Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is Apple Deprecating OpenSSL in MacOS 10.7 (Lion)? [closed]

Apple has marked most (but not all) of the OpenSSL API as "deprecated" in MacOS 10.7. Has Apple made any statements explaining why they are moving from OpenSSL to Common Crypto?

like image 224
vy32 Avatar asked Sep 13 '11 18:09

vy32


3 Answers

Because OpenSSL doesn’t offer API compatibility between versions

This means that Apple can't provide security updates without breaking existing apps.

http://rentzsch.tumblr.com/post/33696323211/wherein-i-write-apples-technote-about-openssl-on-os-x

like image 191
Nick Dowell Avatar answered Oct 17 '22 05:10

Nick Dowell


Apple is migrating from OpenSSL to Common Crypto (which Apple develops).

Some docs: http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man3/CC_crypto.3cc.html

Info on WHY Apple is doing this: http://adcdownload.apple.com/wwdc_2011/adc_on_itunes__wwdc11_sessions__pdf/212_nextgeneration_cryptographic_services.pdf

If the above link fails (it probably will), here are navigation instructions:

  • Logon to http://developer.apple.com
  • Scroll to bottom, click on 'Development Videos'
  • On the next page, click 'Learn more' under WWDC 2011
  • Scroll down about half-way (or search) until you see 'Next Generation Cryptographic Services', and click it
  • You have now reached the buried treasure, download the 'Presentation Slides'
like image 22
joet3ch Avatar answered Oct 17 '22 05:10

joet3ch


The dylib openssl is deprecated because of binary compatibility issues across versions (eg: causes problems like Why does the OpenSSL test suite fail on MacOS X? ).

See joet3ch's answer for what Apple suggests to do about it.

However, you're free/encouraged to get openssl from openssl.org and link statically.

like image 22
Tony Lee Avatar answered Oct 17 '22 07:10

Tony Lee