Skip to content

MD5 deprecation in CommonCrypto #1259

@terwanerik

Description

@terwanerik

What platform/OS are you using?

macOS 10.15 'Catalina'

Which version of the SDK?

1.7.206

What compiler are you using? what version?

AppleClang 11.0.0.11000033

What are your CMake arguments?

cmake -D BUILD_ONLY="s3" -D STATIC_LINKING=1 -D CMAKE_BUILD_TYPE=Release -G Xcode

CMake runs fine, building the project (make) fails.

Can you provide a TRACE level log? (sanitize any sensitive information)

'CC_MD5' is deprecated: first deprecated in macOS 10.15 - This function is cryptographically broken and should not be used in security contexts. Clients should migrate to SHA256 (or stronger).

'CC_MD5_Init' is deprecated: first deprecated in macOS 10.15 - This function is cryptographically broken and should not be used in security contexts. Clients should migrate to SHA256 (or stronger).

'CC_MD5_Update' is deprecated: first deprecated in macOS 10.15 - This function is cryptographically broken and should not be used in security contexts. Clients should migrate to SHA256 (or stronger).

'CC_MD5_Final' is deprecated: first deprecated in macOS 10.15 - This function is cryptographically broken and should not be used in security contexts. Clients should migrate to SHA256 (or stronger).

Building with OpenSSL instead of CommonCrypto

Building with OpenSSL works (using CMake flag -D ENABLE_OPENSSL_ENCRYPTION=1), would be nice to have this as an automatic fallback when >= macOS 10.5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions