-
Notifications
You must be signed in to change notification settings - Fork 6k
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
base: main
Are you sure you want to change the base?
Conversation
…r .NET 10 Preview 6 Co-authored-by: gewarren <24882762+gewarren@users.noreply.github.com>
docs/core/compatibility/10.0.md
Outdated
@@ -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 | |
There was a problem hiding this comment.
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.
| [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 | |
There was a problem hiding this comment.
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>
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
Updated index: Added entry to
docs/core/compatibility/10.0.md
in the Cryptography sectionUpdated 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:
RSA.Create()
instead ofnew RSAOpenSsl()
AesCcm
withAesGcm
where possibleFixes #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