Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jun 23, 2025

This PR adds documentation for the .NET 10 Preview 6 breaking change where OpenSSL cryptographic primitives are no longer supported on macOS.

Changes Made

  • New breaking change document: docs/core/compatibility/cryptography/10.0/openssl-macos-unsupported.md

    • Documents the behavioral change affecting OpenSSL-specific classes
    • Provides migration guidance for affected APIs
    • Follows the standard breaking change document template
  • Updated index: Added entry to docs/core/compatibility/10.0.md in the Cryptography section

  • Updated TOC: Added navigation entry to docs/core/compatibility/toc.yml

Affected APIs

The following APIs now throw PlatformNotSupportedException on macOS:

  • System.Security.Cryptography.AesCcm (all constructors)
  • System.Security.Cryptography.DSAOpenSsl (all constructors)
  • System.Security.Cryptography.ECDiffieHellmanOpenSsl (all constructors)
  • System.Security.Cryptography.ECDsaOpenSsl (all constructors)
  • System.Security.Cryptography.RSAOpenSsl (all constructors)
  • System.Security.Cryptography.SafeEvpPKeyHandle (entire class)

Migration Guidance

The documentation provides clear migration paths:

  • Use factory methods like RSA.Create() instead of new RSAOpenSsl()
  • Replace AesCcm with AesGcm where possible

Fixes #46789.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.


Internal previews

📄 File 🔗 Preview link
docs/core/compatibility/10.0.md docs/core/compatibility/10.0
docs/core/compatibility/cryptography/10.0/openssl-macos-unsupported.md docs/core/compatibility/cryptography/10.0/openssl-macos-unsupported
docs/core/compatibility/toc.yml docs/core/compatibility/toc

Copilot AI changed the title [WIP] [Breaking change]: .NET 10 Preview 6 drops support for OpenSSL Cryptographic Primitives on macOS Add breaking change documentation for OpenSSL cryptographic primitives on macOS Jun 23, 2025
Copilot finished work on behalf of gewarren June 23, 2025 13:34
Copilot AI requested a review from gewarren June 23, 2025 13:34
@gewarren gewarren requested a review from vcsjones June 23, 2025 14:05
@gewarren gewarren marked this pull request as ready for review June 24, 2025 17:08
@gewarren gewarren requested a review from a team as a code owner June 24, 2025 17:08
Copilot AI requested a review from vcsjones June 24, 2025 21:15
Copilot finished work on behalf of vcsjones June 24, 2025 21:15
@gewarren gewarren enabled auto-merge (squash) June 27, 2025 17:46
@gewarren gewarren merged commit 8ecf6d2 into main Jun 30, 2025
10 checks passed
@gewarren gewarren deleted the copilot/fix-46789 branch June 30, 2025 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Breaking change]: .NET 10 Preview 6 drops support for OpenSSL Cryptographic Primitives on macOS

3 participants