Skip to content

Add breaking change documentation for OpenSSL cryptographic primitives on macOS #46924

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Copilot
Copy link
Contributor

@Copilot 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

…r .NET 10 Preview 6

Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
@Copilot 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 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
@@ -52,6 +52,7 @@ If you're migrating an app to .NET 10, the breaking changes listed here might af

| Title | Type of change | Introduced version |
|-------|-------------------|--------------------|
| [OpenSSL cryptographic primitives not supported on macOS](cryptography/10.0/openssl-macos-unsupported.md) | Behavioral change | Preview 6 |
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feels like a verb is missing here.

Suggested change
| [OpenSSL cryptographic primitives not supported on macOS](cryptography/10.0/openssl-macos-unsupported.md) | Behavioral change | Preview 6 |
| [OpenSSL cryptographic primitives aren't supported on macOS](cryptography/10.0/openssl-macos-unsupported.md) | Behavioral change | Preview 6 |

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in commit 765dca5. Changed "OpenSSL cryptographic primitives not supported on macOS" to "OpenSSL cryptographic primitives aren't supported on macOS" to add the missing verb.

Co-authored-by: vcsjones <361677+vcsjones@users.noreply.github.com>
@Copilot 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
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
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy