-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Code Cleanup: Remove OSX 10.14 compatibility code #60138
Comments
Tagging subscribers to this area: @bartonjs, @vcsjones, @krwq, @GrabYourPitchforks Issue Details10.14 looks to have hit implicit End of Life, since it has gone two months without a security update. Assuming that .NET 7 changes the minimum macOS to 10.15, we can remove 10.14-specific compat code, like runtime/src/libraries/Common/src/System/Security/Cryptography/RSASecurityTransforms.macOS.cs Lines 76 to 93 in bcfa532
There may be other code that can be removed.
|
runtime/src/libraries/Native/Unix/System.Security.Cryptography.Native.Apple/pal_ecc.c Lines 89 to 94 in 2c2d6df
|
One thing to be mindful of is the shared code with iOS / iPad OS. We support much older iOS versions that prevented a lot of cleanup, the last time I looked. |
True, true. But of the two things I've linked in so far, I think they're both "macOS-only"... i.e. Mojave's ECC size was changed to align with the size reported on iOS; and iOS only has the data keys, not the keychain keys, so there's no legacy import for that (and the file is in a "we're different between macOS and iOS here", anyways) |
Everything else I can identify requires bumping the minimum iOS version to 11, while Maui still supports iOS 10.
|
@bartonjs I don't think there is anything else we can do here, especially given how far back we support iOS. Should we close this, or are you aware of anything else that could use some cleanup? |
I think we can close this out. All identified places have been cleaned up, even the iOS 10 ones since we bumped out iOS minimum to iOS 11. We can open new issues if we identify more opportunities to remove legacy code. |
10.14 looks to have hit implicit End of Life, since it has gone two months without a security update.
Assuming that .NET 7 changes the minimum macOS to 10.15, we can remove 10.14-specific compat code, like
runtime/src/libraries/Common/src/System/Security/Cryptography/RSASecurityTransforms.macOS.cs
Lines 76 to 93 in bcfa532
There may be other code that can be removed.
The text was updated successfully, but these errors were encountered: