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

Merged
merged 5 commits into from
Jun 30, 2025

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