corecrypto is not open source

Originator:sherriffethan
Number:rdar://32695305 Date Originated:Saturday 10th June 2017, 08:28 PM
Status:Open Resolved:
Product:macOS + SDK Product Version:macOS 10.12.4
Classification:Other Reproducible:Always
 
Summary:
The "corecrypto" project provides the low-level routines for performing cryptographic operations on macOS and Darwin, in the form of kernel extensions and user space libraries. Important projects such as commonCrypto and coreTLS which provide libraries which get reexported into libSystem.B.dylib also depend on corecrypto, and cannot be used without it.
The source to corecrypto is public, however it is not provided under a suitable open-source license. From the corecrypto license:
    "Apple grants you, for a period of ninety (90) days from the date you download the Apple Software [the corecrypto project, kernel extensions, and libraries], a limited, non-exclusive, non-sublicensable license under Apple’s copyrights in the Apple Software to make a reasonable number of copies of, compile, and run the Apple Software internally within your organization only on devices and computers you own or control, for the sole purpose of verifying the security characteristics and correct functioning of the Apple Software...".
This license prevents groups such as PureDarwin from using corecrypto, and by extension CommonCrypto and coreTLS (which are both depend on it).

Steps to Reproduce:
Visit https://opensource.apple.com/source/corecrypto/ or https://developer.apple.com/security and try to download corecrypto.

Expected Results:
The core crypto sources should be provided with a suitable open-source license (preferably one approved by the open-source initiative (https://opensource.org).

Observed Results:
The source code for corecrypto and any binaries compiled from it are not licensed for redistribution.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!